LIVE: New phishing campaigns targeting mobile users β€”View latest threats β†’

Back to Threats
CriticalπŸ” Ransomware

WannaCry: The Ransomware That Hit Hospitals

WannaCry ransomware exploited the NSA's EternalBlue SMB flaw to infect 200,000 computers across 150 countries in 2017, shutting down the UK NHS in hours.

Published: 10 May 2026Last updated: 15 January 2026

What Is This Threat?

WannaCry is a ransomware worm that combined file encryption with a self-spreading mechanism to cause one of the most damaging cyberattacks in history. Unlike traditional ransomware that requires a victim to click something, WannaCry automatically spread across networks by exploiting a vulnerability in Windows β€” meaning it could infect every unpatched computer in a hospital, factory, or office without any human interaction.

How It Worked

The Exploit:

WannaCry used EternalBlue (CVE-2017-0144), a hacking tool developed by the US National Security Agency (NSA) that was stolen and leaked by the Shadow Brokers group in April 2017. EternalBlue exploited a critical flaw in Windows' SMB (Server Message Block) file-sharing protocol.

Microsoft had released a patch (MS17-010) two months before the WannaCry attack, in March 2017. Organizations that had not applied it were completely vulnerable.

The Attack (12 May 2017):

  • WannaCry scanned the internet for Windows machines with port 445 (SMB) exposed.
  • It exploited EternalBlue to gain access without any user interaction.
  • It installed a backdoor (DoublePulsar, also an NSA tool), then dropped the ransomware payload.
  • All files were encrypted with AES-128. A ransom of $300–$600 in Bitcoin was demanded with a 3-day deadline.
  • Within hours, WannaCry spread laterally across internal networks, encrypting every reachable machine.
  • The Kill Switch:

    Security researcher Marcus Hutchins (MalwareTech), then 22 years old, noticed the malware checked a specific unregistered domain before running. He registered the domain for $10.69 β€” this accidentally activated a kill switch built into the malware, slowing the spread dramatically. Without this, the damage would have been far worse.

    Real-World Impact

  • UK National Health Service (NHS): 80 of 236 NHS trusts were infected. An estimated 19,000 medical appointments were cancelled, including cancer treatments and surgeries. Ambulances were diverted. Total cost: estimated Β£92 million.
  • Deutsche Bahn (Germany): Departure boards and ticket machines displayed ransom messages instead of train information.
  • TelefΓ³nica (Spain): Major internal systems disrupted; staff told to shut down computers.
  • Renault (France): Production at several factories halted.
  • Russian Ministry of Internal Affairs: Over 1,000 computers affected.
  • Total global damage: Estimated $4–8 billion across 150 countries.
  • Attribution: The US, UK, and Australian governments formally attributed WannaCry to North Korea's Lazarus Group in December 2017. The motive was financial β€” North Korea uses cybercrime to circumvent sanctions.

    Still Active: WannaCry variants without the kill switch continue to infect unpatched Windows XP and Windows 7 systems today. Organizations running legacy systems remain at risk.

    Why It Matters Today

    WannaCry demonstrated three hard lessons that remain relevant:

  • Unpatched systems are weapons waiting to be used against you. The patch was available for 2 months.
  • One unpatched machine can bring down an entire network. Hospitals had to turn away patients.
  • Nation-state cyberweapons end up in criminal hands. EternalBlue was an NSA tool used against civilian infrastructure.
  • Red Flags / Warning Signs

  • Files suddenly renamed with .WCRY or .WNCRY extension.
  • A ransom note appears on screen demanding Bitcoin payment.
  • Multiple computers on a network go offline simultaneously.
  • Windows Event Logs show mass SMB connection attempts from internal IPs.
  • How to Protect Yourself

    • Apply Windows security updates immediately β€” WannaCry exploited a patch that had been available for 2 months; patch Tuesday updates should never be skipped
    • Disable SMBv1 on all Windows systems β€” it is a legacy protocol with no modern use case and is the entry point WannaCry exploited
    • Segment your network so that ransomware cannot spread laterally from one infected machine to all others
    • Maintain offline or air-gapped backups that ransomware cannot reach β€” test restores regularly
    • Upgrade or isolate legacy operating systems (Windows XP, Windows 7) that no longer receive security updates

    What to Do If Affected

    1. 1.Isolate infected machines immediately by disconnecting from the network (ethernet and Wi-Fi) to stop lateral spread
    2. 2.Do not pay the ransom β€” payment does not guarantee file recovery, funds criminal organizations, and the WannaCry payment infrastructure is now defunct anyway
    3. 3.Report to your national cybersecurity authority (Austria: cert.at, Germany: BSI, Ukraine: CERT-UA)
    4. 4.Restore files from clean offline backups after fully wiping and reinstalling affected systems
    5. 5.After recovery, apply all outstanding patches, disable SMBv1, and conduct a full network audit to find how the initial infection occurred
    #WannaCry#ransomware#EternalBlue#NSA#NHS#North Korea#SMB#Windows