Safeguard
Vulnerability Analysis

WannaCry (2017): How EternalBlue and MS17-010 Enabled a Global Ransomware Worm

A factual retrospective on the May 2017 WannaCry ransomware outbreak, which spread using the EternalBlue exploit for the SMBv1 vulnerability patched as MS17-010.

Safeguard Research Team
2 min read

WannaCry (2017): How EternalBlue and MS17-010 Enabled a Global Ransomware Worm

Summary

WannaCry was a ransomware worm that spread rapidly starting May 12, 2017, infecting an estimated 200,000+ computers across 150 countries within days, including systems at the UK's NHS, Spain's Telefonica, and FedEx.

Technical Root Cause

WannaCry propagated using EternalBlue, an exploit for CVE-2017-0144, a vulnerability in Microsoft's SMBv1 protocol implementation (CWE-119, improper buffer restriction). EternalBlue was developed by the NSA and leaked by the Shadow Brokers group in April 2017, roughly a month after Microsoft had already shipped a patch (MS17-010) in March 2017. The worm combined EternalBlue for propagation with the DoublePulsar backdoor for persistence, and encrypted victim files, demanding Bitcoin ransom payments.

Why It Spread So Fast

Because it was a self-propagating worm exploiting an unauthenticated remote vulnerability in a commonly-enabled protocol (SMBv1), WannaCry could spread laterally across networks without any user interaction, unlike typical phishing-delivered ransomware. Organizations that had not applied the MS17-010 patch, despite it being available for roughly two months, were vulnerable.

OWASP / CWE Mapping

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
  • OWASP A06:2021: Vulnerable and Outdated Components (unpatched systems)

Lasting Impact

WannaCry is frequently cited in patch-management discussions as a case where a known, patched vulnerability caused massive damage purely due to slow patch adoption. It significantly increased enterprise investment in vulnerability management and network segmentation to limit lateral movement from a single compromised host.

How Safeguard Helps

Safeguard's vulnerability management and risk scoring can flag unpatched systems against known-exploited vulnerability lists (like CISA's KEV catalog), helping prioritize patches for vulnerabilities with active exploitation in the wild.

References

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.