Iran’s minister of communications and information technology says some of the country’s databases have come under cyber attacks, but notes that almost all targeted routers have been salvaged.

“These kinds of attacks are an opportunity to correct the problems,”  Mohammad Javad Azari Jahromi wrote on his Twitter account on Friday night.

He also said that initial investigations indicate the settings of switching software have been attacked.

Last year, a ransomeware, known as “WannaCry,” struck computers in dozens of countries, including Iran, prompting Cyber Police to urge that affected systems be cut off networks.

The Washington Post reported in June 2012 that the US National Security Agency (NSA), its spy service CIA, and Israel’s military had worked together to use a malware, known as Stuxnet, against Iran’s nuclear facilities a year earlier.