Vulnerabilities and exploitation
Attackers still hunting EternalBlue, the 2017 Windows SMBv1 flaw that refuses to die
CVE-2017-0144, the SMBv1 remote code execution bug behind WannaCry, sits on CISA's known-exploited list and is still being scanned for on unpatched Windows systems, nearly nine years after Microsoft shipped the fix.
A Windows file sharing flaw patched in March 2017 is still a live target, according to vendor and government records, and the reason is mundane: plenty of machines never got the update, and plenty more still have the obsolete protocol switched on. CVE-2017-0144 lets a remote attacker run arbitrary code on a vulnerable Server Message Block version 1 (SMBv1) server by sending specially crafted packets. On an unpatched host reachable on TCP port 445, that means full compromise without any user clicking anything.
The flaw is the one weaponised by EternalBlue, the exploit leaked publicly by the Shadow Brokers group on 14 April 2017, according to Huntress, and then used a month later to spread WannaCry ransomware across networks worldwide. Huntress reports that it remains a live threat in 2025 because unpatched and SMBv1-enabled systems persist, and attackers keep scanning for them as a cheap route to initial access, frequently followed by ransomware, cryptomining software or backdoors. The vulnerability has been in the Cybersecurity and Infrastructure Security Agency (CISA) Known Exploited Vulnerabilities catalog since 10 February 2022, and the Exploit Prediction Scoring System puts the chance of exploitation in the next 30 days at 99.23%, the 100th percentile.
The affected systems are the generation of Windows that was current in 2017. That list runs from Vista SP2 and Server 2008 (SP2 and R2 SP1) through Windows 7 SP1, Windows 8.1 and RT 8.1, Server 2012 in both Gold and R2 form, the earliest Windows 10 builds (Gold, 1511 and 1607) and Server 2016. Those names tend to turn up in the corners of an estate that nobody has looked at recently: a machine driving a label printer, a legacy line-of-business server, an imaging system in a clinic. The United States ICS-CERT issued advisory ICSMA-18-058-02 over the flaw, and Siemens published certification advisories ssa-701903 and ssa-966341 about its impact on its own products, which gives a sense of where this protocol tends to linger.
What to do now
- Apply the MS17-010 update or any later update that supersedes it. Microsoft published the bulletin on 14 March 2017, rated Critical for all supported Windows releases at the time, delivered through Knowledge Base article 4013389, "Security Update for Microsoft Windows SMB Server". The per-edition fixes include KB4012212 and KB4012215 for Windows 7 SP1 and Server 2008 R2 SP1, KB4012213 and KB4012216 for Windows 8.1 and Server 2012 and 2012 R2, and cumulative updates such as KB4012606, KB4013198 and KB4013429 for Windows 10 and Server 2016.
- Find out where SMBv1 is still installed. On a given host, run
Get-WindowsOptionalFeature -Online -FeatureName SMB1ProtocolorGet-SmbServerConfigurationin PowerShell. Vulnerability scanners including Nessus and Qualys have plugins that specifically check for a missing MS17-010 patch. - Turn SMBv1 off wherever nothing depends on it. In PowerShell,
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocoldoes it, followed by a restart. On Windows Server you can also uncheck "SMB 1.0/CIFS File Sharing Support" under Remove Roles and Features in Server Manager; on Windows 8.1, 10 and 11, use Control Panel, Programs and Features, Turn Windows features on or off. On Windows 7, Server 2008 R2, Vista and Server 2008, set theSMB1DWORD underHKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parametersto 0; the default of 1 leaves it enabled. Group Policy can push that same registry value across a fleet. Client-side SMBv1 is removed by usingsc.exeto drop themrxsmb10dependency from thelanmanworkstationservice. - Block SMB at the network boundary. CISA recommends blocking inbound TCP 445, UDP 137 and 138, and TCP 139 at the perimeter where patching is not possible. The same guidance warns that blocking or disabling SMB can break access to shared files, data and devices, so weigh the disruption before flipping the switch.
- If something genuinely still needs SMBv1, check Microsoft's SMB1 Product Clearinghouse, which lists partners whose products required it and the updates that removed the requirement. Microsoft's own position is to update those servers rather than reinstall SMBv1.
- Watch for the signs of exploitation: unusual SMBv1 traffic, particularly from external addresses, spikes on port 445, EternalBlue signatures firing on intrusion detection systems, and unexpected processes or scheduled tasks appearing on hosts.
For your technical team
Technical details
CVE-2017-0144 is a remote code execution flaw in the SMBv1 server, classified as CWE-20, improper input validation. It is scored critical at CVSS 8.8 with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; GitHub's advisory database carries a different CVSS v3 figure of 8.1 using AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. The National Vulnerability Database published it on 17 March 2017, and the GitHub advisory followed on 14 May 2022, last updated 22 October 2025. The bug is distinct from CVE-2017-0143, CVE-2017-0145, CVE-2017-0146 and CVE-2017-0148, though Microsoft fixed all of those plus CVE-2017-0147 in the same bulletin. The update corrects how SMBv1 handles specially crafted requests.
Public exploit code has been available for years, listed on Exploit-DB under IDs 41891, 41987, 42030 and 42031, with further advisories covering DOUBLEPULSAR payload execution and neutralisation tooling published through Packet Storm Security. The typical attack pattern is straightforward: scan for hosts with TCP 445 exposed, fire the exploit, establish access.
On the WannaCry outbreak, CISA (then US-CERT) issued Alert TA17-132A, "Indicators Associated With WannaCry Ransomware", on 12 May 2017. The alert cited open-source reports of tens of thousands of infections in over 150 countries, with cases named in Britain, Spain, France, Japan, Russia, Taiwan and the United States. The dropper installs itself as a Windows service named mssecsvc2.0 and scans local IP ranges on UDP 137 and 138 and TCP 139 and 445 looking for more SMB targets. CISA published YARA signatures and indicator files, including a dropper with hash 5bef35496fcbdbe841c82f4d1ab8b7c2. Microsoft released emergency patches for out-of-support Windows XP, Windows 8 and Windows Server 2003 on 13 May 2017. A later revision of the alert records the United States government's public attribution of WannaCry to the North Korean government on 7 June 2018.
The flaw was reported privately to Microsoft before the March 2017 patch, according to Huntress. The gap between the patch and today is nearly nine years, and the scanning has not stopped.
Share this article
On Junglewise Threat Intelligence
- Microsoft SMBv1 Remote Code Execution Vulnerability (CVE-2017-0144, critical severity, exploited in the wild)
- Microsoft Windows vulnerabilities
- Microsoft, vendor page