Critical
CVE-2017-0144 · "EternalBlue"

EternalBlue Explained: The Windows Bug Behind WannaCry

One unpatched Windows file-sharing flaw powered two of the most destructive cyberattacks in history, WannaCry and NotPetya, hitting hospitals, shipping giants, and government agencies in a matter of hours. Here's how it worked.

Quick facts
CVE IDCVE-2017-0144
Affected softwareWindows SMBv1 (Windows Vista through Windows Server 2016, unpatched)
SeverityCVSS 8.1 (High) — wormable remote code execution
Fixed inMicrosoft security update MS17-010 (March 2017)
DisclosedMarch 14, 2017 (publicly leaked exploit April 2017)

What Happened

SMB (Server Message Block) is the protocol Windows machines use to share files and printers over a network. A flaw in how the older SMBv1 implementation handled certain crafted network packets let an attacker corrupt memory on the receiving machine and run their own code on it — with no user interaction required.

Microsoft patched this quietly in March 2017. A month later, a hacking toolkit containing a working exploit for it (codenamed EternalBlue) was leaked publicly. Within weeks, the WannaCry ransomware combined EternalBlue with self-spreading "worm" behavior: it didn't need anyone to click anything — it scanned networks for other vulnerable machines and infected them automatically.

What This Means

This is a wormable RCE — the most dangerous possible combination. "Remote code execution" means an attacker can run arbitrary commands on your machine from across a network; "wormable" means malware exploiting it can spread machine-to-machine with zero human action, the same way the Slammer and Conficker worms did in earlier decades.

Why You Should Care

EternalBlue shows the real-world cost of unpatched systems: the fix had existed for two months before WannaCry hit, but huge numbers of organizations — including parts of the UK's National Health Service — were still running unpatched, internet- or network-exposed SMB, and paid for it with encrypted files and halted operations.

What You Can Do

Real-world impact

WannaCry infected an estimated 200,000+ machines across 150 countries in days, disrupting hospitals and forcing some to turn away patients. NotPetya, which reused the same EternalBlue exploit months later, caused billions of dollars in damage to companies including shipping giant Maersk.

EternalBlue in one sentence

A patched-but-ignored Windows networking flaw, combined with self-spreading worm logic, turned a single vulnerability into one of the costliest cyberattacks ever recorded.

Explore More CVEs