The gang entered the house at Lisanally Villas at around 2.35am on Sunday and attacked the men inside.
They received injuries which are not said to be life threatening.
Anyone with information on the incident is asked to contact PSNI.
Join Our WhatsApp
Don't miss a headline with a daily round-up as well as major breaking news. Message 'News' to 07938050001.