Myanmar faces a growing danger of attacks by foreign supporters of the Islamic State group recruited from Southeast Asian networks in support of persecuted Muslim Rohingyas, Malaysia's top counterterrorism official has said.

Malaysian authorities have detained a suspected IS follower planning to go to Myanmar to carry out attacks, the head of the Malaysian police counterterrorism division, Ayob Khan Mydin Pitchay, said in an interview.

The suspect, an Indonesian whom he did not identify, was detained in Malaysia last month. The suspect was scheduled to be charged on Wednesday for possession of materials linked to terrorist groups, which carries a seven-year jail term or fine, Ayob Khan said.