Join our Newsletter — 33% off our NHI Course
Home› Guides› EternalBlue (MS17-010): What Happened and the Lessons That…
Guide Vulnerability Management

EternalBlue (MS17-010): What Happened and the Lessons That Still Apply

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 13 min read
On this page

EternalBlue showed that one unpatched legacy protocol can turn a two-month patching delay into a global outage. The exploit targeted flaws in Microsoft's SMBv1 server that Microsoft had fixed in bulletin MS17-010 on 14 March 2017, yet the WannaCry and NotPetya outbreaks of May and June 2017 still reached hospitals, shipping lines and manufacturers around the world. This guide profiles the vulnerability, the timeline from patch to leak to outbreak, the official government attributions, and the exposure checks and SMBv1 removal work that still matter in 2026. It is written for security practitioners and students, and it is defensive only: there are no exploit details here. For the wider programme around it, see the Vulnerability Management Guide.

Key takeaways

  • MS17-010 fixed six CVEs in the Windows SMBv1 server (CVE-2017-0143 to CVE-2017-0148), five rated Critical for remote code execution, all reachable without authentication.
  • The patch came first: Microsoft shipped the fix on 14 March 2017, a month before the exploits leaked and two months before WannaCry, so the damage came from unapplied updates and unsupported systems.
  • All six CVEs are in the CISA KEV catalogue with known ransomware use, so they remain priority findings in any scan that still turns them up.
  • Attribution comes from governments: the UK NCSC assessed WannaCry as highly likely the work of North Korean actors known as the Lazarus Group, and NotPetya as almost certainly the work of the Russian military.
  • The lasting fix is removing SMBv1, not just patching it: audit for SMBv1 clients, remove the feature, and block SMB at network boundaries and between workstations.

What EternalBlue is

EternalBlue is the name given to an exploit for the Windows SMBv1 server that was published in April 2017 as part of a leak of offensive tooling by a group calling itself the Shadow Brokers. Microsoft's Security Response Center analysed the release and stated on 15 April 2017 that EternalBlue, along with EternalChampion, EternalRomance and EternalSynergy, was addressed by MS17-010. Three other exploits in the same release (EnglishmanDentist, EsteemAudit and ExplodingCan) did not reproduce on supported platforms, according to the same analysis.

The flaws sit in how the SMBv1 server handles specially crafted packets. The MS17-010 bulletin states that an unauthenticated attacker could typically exploit them by sending such packets to a targeted SMBv1 server. That combination, no credentials and a service that listens on TCP 445 across most Windows estates, is what made the exploit suitable for self-propagating malware.

Profile itemDetail
NameEternalBlue (related exploits: EternalChampion, EternalRomance, EternalSynergy)
Microsoft bulletinMS17-010, Security Update for Microsoft Windows SMB Server (KB 4013389)
Bulletin date14 March 2017
CVE IDsCVE-2017-0143, CVE-2017-0144, CVE-2017-0145, CVE-2017-0146, CVE-2017-0147, CVE-2017-0148
ComponentSMBv1 server, Windows Vista to Windows 10 1607 and Windows Server 2008 to 2016 (supported releases at the time)
SeverityCritical (CVE-2017-0147, information disclosure, rated Important)
Network exposureSMB on TCP 445; NetBIOS on TCP 139 and UDP 137-138
CISA KEV statusAll six listed, with known ransomware campaign use (added between November 2021 and May 2022)
Public leakApril 2017 (Shadow Brokers release; Microsoft analysis 15 April 2017)
Notable useWannaCry (12 May 2017), NotPetya (27 June 2017)

MS17-010 and the CVEs it fixed

MS17-010 is a single update that closes six SMBv1 server vulnerabilities. Microsoft's bulletin states none were publicly disclosed or known to be exploited at publication, which is why many organisations treated it as routine Patch Tuesday work. Scanners and advisories often refer to the whole bulletin rather than one CVE, so a "MS17-010 missing" finding means any of the six.

CVEBulletin titleSeverityKEV date added
CVE-2017-0143Windows SMB Remote Code Execution VulnerabilityCritical3 Nov 2021
CVE-2017-0144Windows SMB Remote Code Execution VulnerabilityCritical10 Feb 2022
CVE-2017-0145Windows SMB Remote Code Execution VulnerabilityCritical10 Feb 2022
CVE-2017-0146Windows SMB Remote Code Execution VulnerabilityCritical25 Mar 2022
CVE-2017-0147Windows SMB Information Disclosure VulnerabilityImportant24 May 2022
CVE-2017-0148Windows SMB Remote Code Execution VulnerabilityCritical6 Apr 2022

The bulletin lists separate KB articles per platform, which is what you check for in inventory and patch reports:

  • Vista SP2 and Server 2008 SP2: KB 4012598.
  • Windows 7 SP1 and Server 2008 R2 SP1: KB 4012212 (Security Only) or KB 4012215 (Monthly Rollup).
  • Windows 8.1 and Server 2012 R2: KB 4012213 or KB 4012216.
  • Server 2012: KB 4012214 or KB 4012217.
  • Windows 10: KB 4012606 (original release), KB 4013198 (1511), KB 4013429 (1607 and Server 2016).

Later cumulative updates supersede these, so a modern supported system that is current on cumulative updates is covered. The real exposure in 2026 is systems that are not: unsupported operating systems, embedded Windows in devices, and images rebuilt from old media. To read the advisory fields in detail, see the How to Read a CVE Advisory Guide.

Leak and weaponisation

The sequence matters because it is the clearest public example of the gap between a patch being available and a patch being applied.

DateEventSource
14 Mar 2017Microsoft publishes MS17-010, Critical, no known exploitationMicrosoft bulletin
Apr 2017Shadow Brokers release includes EternalBlue and related exploitsMSRC
14 Apr 2017Earliest date CISA gives for the backdoor in M.E.Doc's development environment, later used for NotPetyaCISA TA17-181A
15 Apr 2017MSRC confirms the SMB exploits are fixed by MS17-010MSRC
12 May 2017WannaCry released worldwide; CISA posts indicators the same dayNAO, CISA TA17-132A
13 May 2017Microsoft releases patches for out-of-support Windows XP, Windows 8 and Server 2003CISA TA17-132A
27 Jun 2017NotPetya spreads, delivered through M.E.Doc tax softwareCISA TA17-181A
1 Jul 2017CISA issues alert TA17-181A on the Petya (NotPetya) variantCISA
19 Dec 2017UK attributes WannaCry to North Korean actors (Lazarus Group)UK FCDO / NCSC
15 Feb 2018UK attributes NotPetya to the Russian militaryUK FCDO / NCSC
7 Jun 2018CISA revises its WannaCry alert to add the US government attribution to the North Korean governmentCISA TA17-132A

The out-of-band XP and Server 2003 patches were unusual: those platforms were already out of support. Relying on that happening again is not a plan. Unsupported systems need isolation or replacement, as covered in the Legacy Application Security guide.

WannaCry and NotPetya

Both outbreaks used the SMBv1 flaws to spread, but they differed in purpose, entry and blast radius. The table summarises what official sources state.

AspectWannaCry (May 2017)NotPetya (June 2017)
SpreadSelf-propagating worm exploiting MS17-010 over SMBv1Credential theft with a modified Mimikatz, then PsExec and WMIC; plus EternalBlue and EternalRomance against unpatched hosts
Initial entryExposed SMB services reachable from other infected networksBackdoored update of M.E.Doc, a Ukrainian tax accounting product
Presented asRansomwareRansomware, though the UK assessed its main purpose as disruption
Official attributionUK NCSC: highly likely North Korean actors known as the Lazarus Group; US government: North Korean governmentUK NCSC: almost certainly the Russian military
Reported scaleAbout 300,000 computers in 150 countries (UK government); in England at least 81 of 236 NHS trusts and 603 primary care and other NHS organisations affected (NAO)Primary targets Ukrainian financial, energy and government sectors; spread indiscriminately to European and Russian businesses (UK government)
ATT&CK techniquesT1210 Exploitation of Remote Services, T1486 Data Encrypted for ImpactT1195.002 Compromise Software Supply Chain, T1003.001 LSASS Memory, T1047 Windows Management Instrumentation, T1569.002 Service Execution, T1210

Two lessons stand out. First, the National Audit Office found that the infected NHS organisations had unpatched or unsupported Windows systems, and NHS Digital told the NAO that relatively simple actions, such as managing internet-facing firewalls, would have protected them whether or not they had patched. Second, NotPetya showed that patching alone was not enough: once it had harvested administrator credentials it moved to fully patched machines using legitimate admin tools. That is an identity problem as much as a vulnerability one, covered in the Credential Dumping Guide and the Lateral Movement Guide. Actor background is in the Lazarus Group Threat Actor Profile and the Sandworm Threat Actor Profile.

Detection and exposure checks

In 2026 the job is mainly proving absence: that no host is missing the fix, that SMBv1 is gone, and that SMB is not reachable where it should not be. Use authorised tooling only.

  1. Patch state: run an authenticated vulnerability scan and confirm the MS17-010 check (or the six CVEs) returns clean across all Windows assets, including servers outside the domain, OT engineering workstations and appliances built on embedded Windows.
  2. SMBv1 server state: query Get-SmbServerConfiguration for EnableSMB1Protocol and Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol for the installed feature, at scale through your endpoint management tool.
  3. SMBv1 use: before removal, enable AuditSmb1Access; each SMBv1 client connection then writes event ID 3000 to the Microsoft-Windows-SMBServer/Audit log. Forward it to the SIEM and list the clients.
  4. Internet exposure: confirm from an external attack surface scan that TCP 445 and 139 are not reachable on any public address you own, including cloud instances.
  5. East-west traffic: review firewall or flow logs for workstation-to-workstation TCP 445. Normal estates have very little; a spike from one host to many is a worm or lateral movement signal.
  6. Detection content: keep IDS and EDR signatures for MS17-010 exploitation enabled; alerts on these in 2026 usually mean an old commodity worm or a penetration test, and both warrant follow-up.
MetricTargetWhy
Windows assets missing MS17-010 (or superseding update)0KEV listed with known ransomware use
Hosts with SMBv1 feature installed0, or a named exception registerRemoval beats patching for a deprecated protocol
Event 3000 sources per weekFalling to 0Shows remaining SMBv1 dependencies
Public IPs with TCP 445 open0Primary WannaCry entry route
Unsupported Windows systems not isolated0No future fixes for these

Lasting legacy: SMBv1 and patch discipline

Microsoft's current documentation states that SMBv1 is not installed by default in any edition of Windows 11 or in Windows Server 2019 through 2025, and that Windows 10 installs it by default only in Home and Pro. Old images, upgrades from older builds and devices such as scanners and NAS units still keep it alive. The protocol hardening detail (dialects, signing, encryption, NTLM) lives in the SMB Protocol Security and Signing Guide; the removal sequence below is the EternalBlue-specific part.

  1. Inventory: list every host with SMBv1 enabled and every device that only speaks SMBv1. Check Microsoft's SMB1 Product Clearinghouse for known dependent products.
  2. Audit: enable AuditSmb1Access on file servers for at least one full business cycle, including month-end and quarter-end jobs, and collect event 3000.
  3. Fix dependencies: update or replace the clients that appear. Microsoft recommends updating them rather than re-enabling SMBv1.
  4. Pilot removal: on a pilot ring, run Set-SmbServerConfiguration -EnableSMB1Protocol $false (no restart) and then remove the feature with Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol (restarts the computer).
  5. Broad rollout: push through your endpoint management or Group Policy in rings, monitoring help desk tickets for failed scans, file shares and printers.
  6. Rollback: re-enable per host only, with an exception record, owner and expiry; never re-enable estate-wide. Isolate any host that must keep SMBv1.
  7. Block at the network: block TCP 445, TCP 139 and UDP 137-138 at internet and site boundaries, and block workstation-to-workstation SMB with host firewalls, as CISA advised in TA17-181A. See the Network Segmentation Guide.

Decision guidance: where a system cannot be patched or have SMBv1 removed (medical devices, OT, vendor-locked appliances), segment it so that only named hosts can reach its SMB service, and record a compensating control. Small organisations should start with the internet boundary and endpoint feature removal, which give most of the benefit with little effort; large estates need the audit phase because legacy dependencies are near certain. Treat KEV listing as a fixed deadline rather than a risk score, as described in the CISA KEV Catalogue Guide.

Where identity fits

NotPetya's fastest spread came from stolen administrator credentials, not the exploit. Shared local administrator passwords and standing domain admin sessions on workstations let it jump to patched hosts. Unique local admin passwords (Windows LAPS), tiered admin accounts and restricting where privileged accounts log on close that path, and service accounts used by backup and patch tools need the same scrutiny.

Framework mapping

FrameworkReferenceRelevance
NIST CSF 2.0ID.AM-01, ID.RA-01, PR.PS-01, PR.PS-02, DE.CM-01Inventory, vulnerability identification, configuration, software maintenance, network monitoring
NIST SP 800-53 Rev 5SI-2 Flaw Remediation, RA-5 Vulnerability Monitoring and Scanning, CM-7 Least Functionality, CM-8 System Component InventoryPatch, scan, remove unneeded protocols, know your assets
CIS Controls v8.1Control 7 Continuous Vulnerability Management; Control 4 Secure ConfigurationPatch cadence and disabling unnecessary services
MITRE ATT&CK v20T1210, T1021.002, T1486, T1195.002, T1003.001Techniques seen in WannaCry and NotPetya
CISA KEVCVE-2017-0143 to CVE-2017-0148Mandatory remediation for US federal agencies; prioritisation signal for everyone

Common failure patterns

  • Treating "no known exploitation" as low urgency: MS17-010 was published with no known exploitation and was weaponised within two months.
  • Unsupported systems left on flat networks: the NAO tied the NHS infections to unpatched or unsupported Windows. Isolation is the minimum where replacement is not possible.
  • Patching but leaving SMBv1 enabled: it keeps the attack surface for the next flaw and for downgrade attacks.
  • Assuming patched means safe: NotPetya used harvested credentials and admin tools to reach patched machines.
  • Exposed TCP 445: SMB reachable from the internet or partner networks turned single infections into outbreaks.
  • Re-enabling SMBv1 estate-wide for one old device: fix or isolate the device instead.

Practitioner checklist

  • Confirm zero Windows assets missing MS17-010 or a superseding cumulative update, including non-domain and OT hosts.
  • Track the six CVEs as KEV items with a fixed remediation deadline.
  • Enable SMBv1 auditing (event ID 3000) and resolve every client it reveals.
  • Remove the SMB1Protocol feature across the estate, with a per-host exception register.
  • Block TCP 445, TCP 139 and UDP 137-138 at internet and site boundaries.
  • Block workstation-to-workstation SMB with host firewall rules.
  • Isolate or replace every unsupported Windows system.
  • Deploy Windows LAPS and restrict where privileged accounts can log on.
  • Keep offline, tested backups, as both CISA alerts advise.

Standards and references

Related NHI Mgmt Group resources: Vulnerability Management Guide · SMB Protocol Security and Signing Guide · Ransomware Prevention Guide · Patch Management Guide

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.