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.)
Election Results for Lok Sabha Election 2019 will be out on May 23. Get the latest election news and live updates on ndtv.com/elections. Catch all the action on NDTV Live. Like us on Facebook or follow us on Twitter and Instagram for news updates from each of the 543 parliamentary seats for the election 2019