The computing giant said software vulnerabilities hoarded by governments had caused “widespread damage”, the BBC reported.
A statement from Microsoft President and Chief Legal Officer Brad Smith on Sunday criticized the way governments store up information about security flaws in computer systems.
US intelligence identified the latest virus attack last week exploits a flaw in a version of Microsoft Windows.
BBC report said that many firms have had experts working over the weekend to prevent new infections. The virus took control of users’ files and demanded $300 payments to restore access.
Experts have warned, the spread of the virus slowed over the weekend but the respite might only be brief. More than 200,000 computers have been affected so far all over the world.
“An equivalent scenario with conventional weapons would be the US military having some of its Tomahawk missiles stolen.”
“The governments of the world should treat this attack as a wake-up call.” The Microsoft President added.
Microsoft said it had released a Windows security update in March to tackle the problem involved in the latest attack, but many users were yet to run it.
“As cybercriminals changed more complex, there is simply no way for consumers to protect themselves against threats unless they update their systems,” BBC quoted Smith as saying.