Malaysian police said they have detained a suspected Islamic State member who confessed to plotting a suicide attack in the country.

National police chief Khalid Abu Bakar says the 28-year-old Malaysian was detained Friday at a monorail station in Kuala Lumpur. Khalid says the man confessed he planned to blow himself up in an attack after receiving orders from members of the Islamic State group in Syria.

Khalid said in a statement Saturday that the man also had hung Islamic State flags in several Malaysian states to oppose the government's crackdown on the militant group within the country.