The group plotted to "carry out terrorist operations in Tehran and some other important cities," the ministry said in a statement on its website.
"They published pictures in cyberspace threatening the honourable nation of Iran with revenge and murder."
It said the attacks were due to take place last week during the Qadr festival and on Jerusalem Day, held each year in solidarity with the Palestinians.
A large number of weapons and ammunition were confiscated, the ministry added.
Its Revolutionary Guards said on Sunday they had fought off three attempts by "terrorist groups" to infiltrate from neighbouring Iraq in recent days, leaving several dead.
(Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed.)
Follow NDTV for latest election news and live coverage of assembly elections 2019 in Maharashtra and Haryana.
Subscribe to our YouTube channel, like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.