Without naming the United States as the source of the malware, the report by Kaspersky Lab said one of the programs has elements in common with the so-called Stuxnet worm, which the New York Times and Washington Post have said was developed by the US and Israeli governments to disrupt Iranian nuclear facilities.
Speaking to journalists, Foreign Ministry spokeswoman Marzieh Afkham suggested countries affected should talk about fighting the malware.
A news website for the country's parliament quoted Mohammad Reza Mohseni Sani, the head of parliamentary committee on internal security, as saying the US has entered in to cyber war to prove its power.
"They collect information from every possible area," he said.
Also Read
Iran in the past has accused the US and Israel of directing a campaign against its nuclear program that included the abduction of its scientists, sale of faulty equipment and planting Stuxnet, which briefly brought Iran's uranium enrichment activity to a halt in 2010.
Kaspersky researchers said some of the spyware difficult to detect and virtually impossible to remove, and it could gain access to vital codes, such as the keys to deciphering encrypted files.
Kaspersky said it found signs the malware infected computers in more than 30 countries, with the heaviest concentrations in Iran, Russia, Pakistan, Afghanistan and China.