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.)
Get the latest election news, live updates and election schedule for Lok Sabha Elections 2019 on ndtv.com/elections. Like us on Facebook or follow us on Twitter and Instagram for updates from each of the 543 parliamentary seats for the 2019 Indian general elections.