Changes to WannaCry ransomware attack
TechWritereditor · 3 Dec 2026, 04:51 · “Expanded with more content and sources”
+ added − removed compared with the version of 2 Dec 2026, 16:01
Fact box
Date: 12 May 2017 (began)
Type: [[Ransomware]] worm
Removed: Spread through: Windows SMB flaw (“EternalBlue”)
Removed: Affected: Computers in about 150 countries, including the NHS
Added: Spread through: Windows SMBv1 flaw (patched by MS17-010)
Added: Affected: About 300,000 computers in 150 countries, including the NHS
Stopped by: A “kill switch” web domain registered by a researcher
Added: Attributed to: Lazarus Group (North Korea), per UK and US governments
Article
Removed: The **WannaCry ransomware attack** was a global cyberattack that began on **12 May 2017**. A form of **[[ransomware]]** called WannaCry encrypted files on infected computers and demanded payment in [[Bitcoin]].[^2]
Added: The **WannaCry ransomware attack** was a worldwide cyberattack that began on 12 May 2017. A piece of [[ransomware]] called WannaCry locked files on infected computers running [[Microsoft Windows]] and demanded a ransom in [[Bitcoin]] to unlock them.[^1] The UK government later said it had hit about 300,000 computers in 150 countries.[^2]
Removed: ## How it spread
Added: ## Background
Removed: Unlike most ransomware, WannaCry spread on its own from computer to computer by exploiting a flaw in the file-sharing system of older, unpatched versions of [[Microsoft Windows]]. Microsoft had released a security update for the flaw two months earlier.[^2]
Added: WannaCry took advantage of a weakness in Server Message Block version 1 (SMBv1), the part of Windows that lets computers share files and printers over a network.[^3] Microsoft had already fixed the flaw in a security update, MS17-010, released on 14 March 2017, roughly two months before the attack. The update covered Windows versions from Vista and Server 2008 up to Windows 10.[^4]
Added: Many machines had not installed the fix. Microsoft said the attack used exploits taken from tools stolen from the US National Security Agency, a theft that had been reported publicly earlier in 2017.[^5]
Added:
Added: ## How the attack worked
Added:
Added: - **Self-spreading:** Because it exploited the SMBv1 flaw, WannaCry could move across networks on its own, reaching unpatched computers without anyone opening an email or clicking a link.[^3]
Added: - **Encryption and ransom:** Once on a computer, it scrambled the user's files with [[encryption]] and showed a demand for about US$300 in Bitcoin, which rose to $600 if victims waited, with the threat that files would be destroyed.[^1]
Added: - **Advice not to pay:** The US Cybersecurity and Infrastructure Security Agency (CISA) urged victims not to pay, warning that payment did not guarantee their files would come back, and told organisations to apply the patch.[^3]
Added:
## Impact
Removed: The attack affected organisations in many countries. In the United Kingdom it disrupted at least a third of hospital trusts in the National Health Service; thousands of appointments and operations were cancelled.[^1] According to the UK National Audit Office, the affected NHS organisations had not applied the available patches or managed their firewalls well enough.[^1]
Added: Victims included hospitals, carmakers, delivery firms and telecoms companies. Reported targets included FedEx, the French carmaker Renault, Spain's largest telecoms operator and a hospital in Ontario, Canada.[^1]
Removed: ## How it was stopped
Added: The United Kingdom's National Health Service (NHS) was among the worst affected. The UK National Audit Office (NAO) found that at least 81 of the 236 hospital trusts in England were disrupted, along with 603 other NHS bodies, including 595 GP practices.[^6] NHS England recorded 6,912 cancelled appointments and estimated that the true total was more than 19,000.[^6]
Removed: The spread slowed after a security researcher registered a web domain written into the malware, which acted as a “kill switch”.[^1]
Added: The NAO concluded that the infected NHS organisations were running unpatched or unsupported Windows systems, and that better management of internet-facing firewalls would also have protected them. It added that the Department of Health had been warned about the risk a year earlier, had no formal way to check whether local organisations followed security alerts, and did not know how much the disruption cost. According to the department, NHS England and the National Crime Agency, no NHS organisation paid the ransom.[^6]
Added: ## Kill switch and response
Added:
Added: The outbreak was slowed by a "kill switch" written into the malware. WannaCry checked whether an unregistered web address existed and only ran if it did not. Marcus Hutchins, a 22-year-old British researcher at the security firm Kryptos Logic who wrote online as "MalwareTech", registered the domain while studying the malware, without knowing it would halt the attack.[^7] A colleague, Jamie Hankins, then confirmed how the check worked. TechCrunch reported that the kill switch prevented around a million infections in two days.[^7] The NAO said the kill switch stopped WannaCry locking devices and limited further harm to the NHS.[^6]
Added:
Added: Microsoft also issued an emergency fix for older, unsupported systems, including Windows XP, on the day of the attack.[^1][^5] The company used the incident to call for a "Digital Geneva Convention" that would require governments to report software flaws to vendors rather than stockpile them, comparing the NSA leak to the theft of Tomahawk missiles.[^5]
Added:
Added: ## Attribution
Added:
Added: On 19 December 2017 the UK Foreign Office minister Lord Ahmad of Wimbledon said the National Cyber Security Centre (NCSC) judged it "highly likely" that the North Korean hacking group known as the Lazarus Group was behind WannaCry.[^2]
Added:
Added: In September 2018 the US Department of Justice unsealed a criminal complaint against Park Jin Hyok, a North Korean programmer who had worked for Chosun Expo Joint Venture, a company the department said was affiliated with North Korean military intelligence. He was charged with conspiracy to commit computer fraud and wire fraud. Prosecutors linked him to WannaCry, the 2014 hack of Sony Pictures and the 2016 theft of $81 million from Bangladesh Bank.[^8]
Added:
## See also
- [[Ransomware]]
- [[Microsoft Windows]]
Added: - [[Encryption]]
Added: - [[Morris worm]]
Sources
Removed: Investigation: WannaCry cyber attack and the NHS | https://www.nao.org.uk/reports/investigation-wannacry-cyber-attack-and-the-nhs/ | UK National Audit Office | 2017-10-27
Added: WannaCry ransomware: What you need to know | https://www.cbc.ca/news/science/wannacry-ransonware-attack-1.4115239 | CBC News
Added: Foreign Office Minister condemns North Korean actor for WannaCry attacks | https://www.gov.uk/government/news/foreign-office-minister-condemns-north-korean-actor-for-wannacry-attacks | UK Foreign & Commonwealth Office | 2017-12-19
Multiple ransomware infections reported | https://www.cisa.gov/news-events/alerts/2017/05/12/multiple-ransomware-infections-reported | CISA | 2017-05-12
Added: MS17-010: Security update for Windows SMB Server: March 14, 2017 | https://support.microsoft.com/en-us/help/4013389/ | Microsoft | 2017-03-14
Added: The need for urgent collective action to keep people safe online: Lessons from last week's cyberattack | https://blogs.microsoft.com/on-the-issues/2017/05/14/need-urgent-collective-action-keep-people-safe-online-lessons-last-weeks-cyberattack/ | Microsoft | 2017-05-14
Added: Investigation: WannaCry cyber attack and the NHS | https://www.nao.org.uk/reports/investigation-wannacry-cyber-attack-and-the-nhs/ | UK National Audit Office | 2017-10-27
Added: The sinkhole that saved the internet | https://techcrunch.com/2019/07/08/the-wannacry-sinkhole/ | TechCrunch | 2019-07-08
Added: North Korean regime-backed programmer charged with conspiracy to conduct multiple cyber attacks and intrusions | https://www.justice.gov/archives/opa/pr/north-korean-regime-backed-programmer-charged-conspiracy-conduct-multiple-cyber-attacks-and | US Department of Justice | 2018-09-06