The cyber attack is believed to have been developed by using a leaked code from the United States National Security Agency.
Mr Martin, who leads the National Cyber Security Centre - part of GCHQ - said "thousands of organisations and individuals in dozens of countries" had been hit by the attack.
Britain's opposition Labour Party said the attack on English hospitals showed the need to place cyber security at the heart of government policy.
Doctors reported seeing computers go down "one by one" as the "ransomware" took hold on Friday, locking machines and demanding money to release the data. While cyber security firm Kaspersky Lab said that at least 45,000 computers in 74 countries were affected by the "ransomware", another security firm Avast put the tally at 57,000 systems across 99 countries.
The unprecedented attack plunged the health service into chaos, forcing hospitals to cancel and delay treatment.
Trump congratulates Macron on winning French presidential election
His rivals will now be motivated to keep Mr Macron from making further gains during the two-round parliamentary election. Valls", Jean-Paul Delevoye, who chooses Macron's party's candidates, told Europe 1 radio on Wednesday.
The US Department of Homeland Security said late on Friday that it was aware of reports of the ransomware, was sharing information with domestic and foreign partners and was ready to lend technical support. Portugal Telecom and Telefonica Argentina both said they were also targeted.
Still, only a small number of US-headquartered organisations were hit because the hackers appear to have begun the campaign by targeting organisations in Europe, said Vikram Thakur, research manager with security software maker Symantec.
Microsoft said it was pushing out automatic Windows updates to defend clients from WannaCry.
Authorities in Britain have been braced for cyber attacks in the run-up to the vote, as happened during last year's USA election and on the eve of the French vote.
The demand is for a payment of $300 (£230) in virtual currency Bitcoin to unlock the files.
Today's Brokerage Rating: Gigamon Inc. (GIMO), Pernix Therapeutics Holdings, Inc. (PTX)
Stock exchanged hands with the total volume of 2.89 Million shares, as contrast to its average volume of 2.80 Million shares. These analysts and investment firms use various valuation methods to decide a price target for a stock.
Hospitals across England reported the cyber attack was causing huge problems to their services and the public in areas affected were being advised to only seek medical care for emergencies. The interior ministry said on its website that about 1,000 computers had been infected but it had localized the virus.
She told BBC Radio 4's Today programme the virus had not been targeted at the NHS, saying the attack "feels random in terms of where it's gone to and where it's been opened".
'Seeing a large telco like Telefonica get hit is going to get everybody anxious.
"It certainly caused a meltdown in their [hospitals'] email servers, crashed computers and then a message came up with a threat of a ransom, that all the files will be deleted permanently if the payment was not made", Al Jazeera's Sonia Gallego, reporting from the United Kingdom capital, London, said.
The organisations affected in Scotland are NHS Borders, NHS Dumfries and Galloway, NHS Fife, NHS Forth Valley, NHS Lanarkshire, NHS Greater Glasgow and Clyde, NHS Tayside, NHS Western Isles, NHS Highlands, NHS Grampian, NHS Ayrshire and Arran and the Scottish Ambulance Service.
William McGirt and Mackenzie Hughes Tied for Lead at Players Championship
Garcia celebrates his hole in one. "It could have been really good today, but ended up just being OK", Johnson said. Johnson horse-shoed his birdie putt on the next hole, and did it again on the short par-4 12th.
FedEx said it was experiencing issues with some of its Windows systems in relation to the attack.
- GNC Holdings Inc (GNC) Shares Up 3.4% on Strong Earnings
- Trump says he did not ask Comey for his loyalty
- Trending Stocks Janus Capital Group Inc (NYSE:JNS), Teladoc Inc(NYSE:TDOC)
- TherapeuticsMD Inc (NYSEMKT:TXMD) & DDR Corp (NYSE:DDR)
- Sir Alex Ferguson right-hand man absolutely destroys Everton striker Lukaku
- No escape: SC orders Lalu to stand trial in fodder scam cases
- Island focus: Bali Police probe the death of Oz man
- Glencore PLC (GLEN) Rating Reiterated by Liberum Capital
- NBA Executive Thinks James Harden Might Have Been Concussed Vs. Spurs
- 3 adjustments to make in Game 6 — Washington Wizards