Several experts monitoring the situation have linked the infections to vulnerabilities released by a group known as The Shadow Brokers, which recently claimed to have dumped hacking tools stolen from the US National Security Agency (NSA).
A patch for the vulnerability was released by Microsoft in March, but many systems may not have had the update installed.
Microsoft said on Friday its engineers had added detection and protection against WannaCrypt. The company was providing assistance to customers, it added.
Some security researchers have pointed out that the infections seem to be deployed via a worm – a program that spreads by itself between computers.
‘Turn off PCs’
A number of Spanish firms were among the apparent victims elsewhere in Europe.
Telecoms giant Telefonica said in a statement that it was aware of a “cybersecurity incident” but that clients and services had not been affected.
Power firm Iberdrola and utility provider Gas Natural were also reported to have suffered from the outbreak.
There were reports that staff at the firms were told to turn off their computers.
At least one local authority in Sweden also appears to have been a victim.
“We have around 70 computers that have had a dangerous code installed,” the mayor of Timra, a town to the north of Stockholm, told the Reuters news agency.
Explaining the global ransomware outbreak
Unlike many other malicious programs, this one has the ability to move around a network by itself. Most others rely on humans to spread by tricking them into clicking on an attachment harbouring the attack code.
By contrast, once WannaCry is inside an organisation it will hunt down vulnerable machines and infect them too. This perhaps explains why its impact is so public – because large numbers of machines at each victim organisation are being compromised.
In Italy, one user shared images appearing to show a university computer lab with machines locked by the same program.
Bitcoin wallets seemingly associated with the ransomware were reported to have started filling up with cash.
Another firm that confirmed it had been caught out was delivery company FedEx, though it did not clarify in which territories it had been hit.
“Like many other companies, FedEx is experiencing interference with some of our Windows-based systems caused by malware,” it said in a statement.
“We are implementing remediation steps as quickly as possible.”
Portugal Telecom also confirmed it was struck: “But none of our services were affected,” a spokeswoman told Reuters.
And a spokesman for Megafon, the second largest mobile phone network in Russia confirmed some of its computers had been infected also.
“This is a major cyber attack, impacting organisations across Europe at a scale I’ve never seen before,” said security architect Kevin Beaumont.
According to security firm Check Point, the version of the ransomware that appeared today is a new variant.
“Even so, it’s spreading fast,” said Aatish Pattni, head of threat prevention for northern Europe.