Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2017-0144: EternalBlue: Microsoft Windows SMBv1 Remote Code Execution

Published Mar 17, 2017 · Updated 2 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS8.8High · v3.1
EPSS99.2%100th percentile
CISA KEVYesAdded Feb 10, 2022
In the wildActivePer CISA KEV
Vendors
SiemensMicrosoft Corporation
IdentifiersCVE-2017-0144CWE-20
Also known aseternalbluems17_010ms17_010_(eternalblue)

CVE-2017-0144 is a remote code execution vulnerability in the Microsoft Windows SMBv1 server caused by improper handling of specially crafted requests. An unauthenticated remote attacker can exploit the vulnerability by sending crafted SMBv1 packets to an affected system. Affected releases include Windows Vista SP2; Windows 7 SP1; Windows 8.1 and RT 8.1; Windows 10 initial release, 1511, and 1607; Windows Server 2008 SP2 and 2008 R2 SP1; Windows Server 2012 and 2012 R2; and Windows Server 2016, including applicable Server Core installations. The vulnerability is exploited by EternalBlue and was used by WannaCry and NotPetya for network propagation. Microsoft addressed it in security bulletin MS17-010, released on March 14, 2017.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits unauthenticated remote code execution and can compromise system confidentiality, integrity, and availability. Attackers can deploy malware, access or modify data, and use the compromised host to attack other reachable systems. Worm-based exploitation enables rapid propagation across networks containing vulnerable SMBv1 servers. Observed downstream consequences include ransomware deployment, destructive malware execution, data loss, and significant operational disruption. Affected medical systems may also suffer disruption to clinical imaging and related services.

Mitigation

If you can’t patch tonight, do this now.

Disable SMBv1 wherever operationally feasible, using SMBv2 or SMBv3 after compatibility testing. Block Internet-originated SMB connections and restrict TCP ports 445 and 139 to necessary trusted communications. Segment or isolate unpatchable systems and prevent unnecessary workstation-to-workstation SMB access. For medical devices, coordinate isolation or standalone operation with the vendor and clinical stakeholders to avoid jeopardizing patient safety. Monitor for EternalBlue exploitation and unexpected SMB scanning, and immediately isolate compromised hosts. Maintain tested offline backups to reduce downstream ransomware and destructive-malware impact; backups do not prevent exploitation.

Remediation

Patch, then assume compromise.

Apply the operating-system-specific MS17-010 security update or a superseding update. Original updates include KB4012598 for Windows Vista SP2 and Server 2008 SP2; KB4012212 or KB4012215 for Windows 7 SP1 and Server 2008 R2 SP1; KB4012213 or KB4012216 for Windows 8.1 and Server 2012 R2; KB4012214 or KB4012217 for Server 2012; KB4012216 for Windows RT 8.1; KB4012606 for the initial Windows 10 release; KB4013198 for Windows 10 1511; and KB4013429 for Windows 10 1607 and Server 2016. Verify patch installation across all affected hosts. For embedded clinical systems, obtain and apply product-approved fixes through the vendor: Siemens Healthineers provides product-specific updates through customer support, while Philips IntelliSpace Portal deployments require vendor-tested patches and installation-specific guidance.

Public exploits

Exploits

6 exploits validated by Mallory's analysis. Hidden: 30 rejected by Mallory's analysis as not a working exploit; 7 not yet analyzed, such as Exploit-DB entries.

View more in app →
ms17_010_eternalblue.rbThis repository contains a single Metasploit module implementing the 'EternalBlue' exploit (MS17-010) targeting the SMBv1 service on various versions of Microsoft Windows. The exploit leverages a buffer overflow vulnerability in the Windows SMB kernel driver, allowing remote code execution as SYSTEM. The module is highly weaponized, supporting customizable payloads and targeting a wide range of Windows operating systems (Windows 7, 8, 8.1, 10 Pro, Server 2008 R2, Server 2012, and Embedded Standard 7). The exploit operates over the network, requiring access to TCP port 445 on the target. The code is written in Ruby and is designed to be used within the Metasploit framework, providing a user-friendly interface for payload selection and exploitation. No hardcoded IPs or domains are present; the target is specified by the user at runtime. The module also supports both anonymous and credentialed SMB sessions, increasing its flexibility and effectiveness.Disclosed Mar 14, 2017 · Framework: metasploit · ruby · networkWeaponizedsmb_doublepulsar_rce.rbThis repository contains a single Metasploit module: 'SMB DOUBLEPULSAR Remote Code Execution' (smb_doublepulsar_rce.rb). The module targets Windows systems that have been compromised with the DOUBLEPULSAR SMB implant, which is often deployed via the ETERNALBLUE exploit (MS17-010). The exploit allows an attacker to execute arbitrary Metasploit payloads (such as Meterpreter reverse shells) on the infected system by communicating with the DOUBLEPULSAR backdoor over SMB (port 445). The module also provides an option to neutralize (disable) the implant. The main endpoints involved are the SMB IPC$ share on the target and the process (default: spoolsv.exe) into which the payload is injected. The code is written in Ruby and is fully integrated into the Metasploit framework, making it a weaponized and highly customizable exploit. The module references multiple CVEs related to MS17-010 and is suitable for post-exploitation scenarios where DOUBLEPULSAR is already present on the target.Disclosed Apr 14, 2017 · Framework: metasploit · ruby · networkWeaponizedEternalBlue-Exploit-DemonstrationThis repository is a small lab/demo project built around a Metasploit exploit module and a harmless ransomware-themed batch script. Because it is part of the Metasploit framework, the main exploit file is ms17_010_eternalblue.rb, a Ruby Metasploit module implementing the EternalBlue SMB exploit against vulnerable Microsoft Windows SMBv1 targets. The module is clearly a real exploit, not just a detector: it performs SMB protocol interaction over TCP/445, supports anonymous or credentialed SMB authentication, uses the auxiliary/scanner/smb/smb_ms17_010 check module, and is designed to achieve remote kernel memory corruption leading to arbitrary code execution. The module metadata indicates support for multiple Windows versions including Windows 7, Windows Embedded Standard 7, Server 2008 R2, Windows 8/8.1, Server 2012, and some Windows 10 Pro builds, and references the MS17-010 vulnerability set (CVE-2017-0143 through CVE-2017-0148). In practical use, the README demonstrates pairing it with a windows/x64/meterpreter/reverse_tcp payload to obtain a SYSTEM-level Meterpreter session. Repository structure is simple: README.md documents a university lab exercise, exploitation workflow, post-exploitation commands, and mitigation via KB4012212; ms17_010_eternalblue.rb is the actual exploit module; wannacry64.bat is a separate Windows batch file that only simulates a WannaCry-style ransom screen. The batch file contains no encryption, persistence, propagation, or destructive logic; it displays a countdown, fake progress bar, sample filenames, and a hardcoded Bitcoin address as part of the visual demo. Overall, the repository’s purpose is educational: demonstrate exploitation of MS17-010 in an isolated lab, show post-exploitation access, and then illustrate a safe ransomware-themed payload simulation plus patch-based mitigation.dannic145 · Disclosed Apr 22, 2026 · Framework: metasploit · markdown · ruby · network · fileWeaponizedeternalblueThis repository contains three Python scripts related to the exploitation of the MS17-010 (EternalBlue) vulnerability (CVE-2017-0144) in Microsoft Windows SMBv1. The files are: 1. eternalblue_scanner.py: A scanner script that checks if a given IP address is vulnerable to MS17-010 or infected with the DoublePulsar backdoor. It crafts and sends SMB packets to the target's TCP port 445 and analyzes the responses to determine vulnerability status. 2. windows7-windows2008R2-x64.py: An exploit script targeting Windows 7 SP1 x64 and Windows 2008 R2 x64 systems. It leverages the EternalBlue vulnerability to achieve remote code execution by sending specially crafted SMB packets and injecting user-supplied shellcode into the target's memory. The script requires the attacker to provide a shellcode file and the target IP address. 3. windows8-windows2012R2-x64.py: An exploit script for Windows 8.1 x64 and Windows 2012 R2 x64 systems. It uses a similar technique as the previous script but includes additional steps to bypass security features (such as disabling the NX bit) present in newer Windows versions. It also requires a shellcode file and the target IP address. All scripts are written in Python and require network access to the target's SMB service (TCP port 445). The exploit scripts are operational and allow the attacker to execute arbitrary code on vulnerable systems. The repository does not belong to a known exploit framework and is standalone. No hardcoded IP addresses or domains are present; the target is specified at runtime.kimocoder · Disclosed Jun 2, 2019 · python · networkOperationalautoblueThe repository 'autoblue' is an automated exploit tool targeting the EternalBlue vulnerability (CVE-2017-0144) in Microsoft Windows systems. The main script, 'autoblue.sh', is a Bash script that automates the process of scanning a target IP for the MS17-010 vulnerability using Nmap and, if found vulnerable, launches the Metasploit Framework's EternalBlue exploit module. The script prompts the user for both the target and attacker's IP addresses, scans the target's port 445 for SMBv1 vulnerabilities, and, upon confirmation, executes Metasploit with a pre-configured payload (windows/x64/meterpreter/reverse_tcp) to obtain a reverse shell on the target. The script logs its actions to 'autoblue.log' and uses 'nmap_scan.log' for scan results. The repository includes a README with detailed usage instructions, prerequisites, and security considerations. The exploit is operational, automating both detection and exploitation, and is intended for use in authorized penetration testing or educational environments.AtithKhawas · Disclosed Dec 30, 2024 · bash · networkOperationalBlueDoorThis repository is a Capture The Flag (CTF) challenge simulating exploitation of the EternalBlue vulnerability (CVE-2017-0144) on Windows 7. The structure includes a web-based flag submission site (Flag-site/), detailed documentation (README.md, deployment.md, writeup.md), and a set of exploit modules (exploit-modules/) derived from public research on MS17-010. The main exploit code is in Python (eternalromance_poc2.py), demonstrating the EternalRomance technique for arbitrary read/write via SMB, and is supported by custom kernel shellcode in assembly (eternalblue_kshellcode_x64.asm) and a script for merging shellcode for different architectures (eternalblue_sc_merge.py). The exploit achieves remote code execution as SYSTEM, allowing the attacker to retrieve the flag from C:\Windows\System32\flag.txt. The repository is not a framework but provides a working proof-of-concept exploit and all necessary resources to reproduce the attack in a controlled environment. The challenge is well-documented, with clear setup and exploitation instructions, and is suitable for educational and research purposes.sethwhy · Disclosed Dec 21, 2024 · python · assembly · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationServer Message Blockapplication
SiemensAcuson P300 Firmwareoperating_system
SiemensAcuson P500 Firmwareoperating_system
SiemensAcuson Sc2000 Firmwareoperating_system
SiemensAcuson X700 Firmwareoperating_system
SiemensSyngo Sc2000 Firmwareoperating_system
SiemensTissue Preparation System Firmwareoperating_system
SiemensVersant Kpcr Molecular System Firmwareoperating_system
SiemensVersant Kpcr Sample Prep Firmwareoperating_system
FAQ

Frequently asked questions

Is CVE-2017-0144 exploited in the wild?
Yes. As of Nov 26, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 10, 2022.
Is there a public exploit for CVE-2017-0144?
Yes. Mallory tracks 6 public exploits or proofs of concept for CVE-2017-0144, the earliest disclosed Mar 14, 2017.
Is there a patch for CVE-2017-0144?
Apply the operating-system-specific MS17-010 security update or a superseding update. Original updates include KB4012598 for Windows Vista SP2 and Server 2008 SP2; KB4012212 or KB4012215 for Windows 7 SP1 and Server 2008 R2 SP1; KB4012213 or KB4012216 for Windows 8.1 and Server 2012 R2; KB4012214 or KB4012217 for Server 2012; KB4012216 for Windows RT 8.1; KB4012606 for the initial Windows 10 release; KB4013198 for Windows 10 1511; and KB4013429 for Windows 10 1607 and Server 2016.
What products are affected by CVE-2017-0144?
Siemens Acuson P300 Firmware, Siemens Acuson P500 Firmware, Siemens Acuson Sc2000 Firmware, Siemens Acuson X700 Firmware, Microsoft Corporation Server Message Block, and 4 more.
How severe is CVE-2017-0144?
CVE-2017-0144 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 99.2% (100th percentile) as of Nov 26, 2026.
Activity feed

Recent activity

75 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+54 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence62Every report linking this CVE to a named adversary.
Associated malware420Malware families linked to this CVE, with evidence and IOCs.
Detection signatures12YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity12Community discussion across Reddit, Mastodon, and other social sources.