Skip to main content
Mallory
HighCISA KEVExploited in the wildPublic exploit

EternalBlue SMBv1 Remote Code Execution in Microsoft Windows

IdentifiersCVE-2017-0144CWE-119Also known aseternalbluems17_010ms17_010_(eternalblue)

CVE-2017-0144 is a remote code execution vulnerability in the SMBv1 server implementation in Microsoft Windows, addressed by Microsoft in MS17-010 and widely known as EternalBlue. Affected platforms include Windows Vista SP2; Windows Server 2008 SP2 and R2 SP1; Windows 7 SP1; Windows 8.1; Windows Server 2012 Gold and R2; Windows RT 8.1; Windows 10 Gold, 1511, and 1607; and Windows Server 2016. Microsoft’s description states that remote attackers can execute arbitrary code by sending crafted SMB packets to a vulnerable SMBv1 server. Supporting technical analysis in the provided content attributes exploitation to flaws in SMBv1 processing within srv.sys, including a wrong-casting bug during OS/2 FEA to NT FEA conversion that leads to a non-paged pool overflow, transaction parsing behavior that enables the size confusion needed to trigger the overflow, and session setup behavior used for non-paged pool grooming. Exploitation can corrupt adjacent srvnet structures and MDL metadata in kernel memory and ultimately redirect execution to attacker-controlled shellcode.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, 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 against vulnerable Windows systems over SMB. The exploit executes with kernel-level privileges, giving the attacker full control of the target host. In practice, this enabled wormable propagation and large-scale compromise, as demonstrated by WannaCry and NotPetya/Petya-related activity. Impact includes complete system takeover, malware deployment, lateral movement, persistence installation, ransomware or wiper execution, and disruption of enterprise operations.

Mitigation

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

If immediate patching is not possible, disable SMBv1 and restrict SMB access, especially TCP port 445, using host-based and network firewalls. Prevent direct SMB exposure to the internet. Segment networks to limit lateral movement between workstations and servers. Restrict null session access and unnecessary administrative shares where operationally feasible. Monitor for anomalous SMB traffic, exploitation attempts, and signs of worm-like propagation. These measures reduce exposure but do not replace patching.

Remediation

Patch, then assume compromise.

Apply Microsoft security update MS17-010 for all affected systems. Upgrade or retire unsupported Windows versions where possible. Disable SMBv1 if it is not strictly required. Verify that all internet-exposed and internally reachable SMB services are patched, including legacy and embedded systems that may have been missed by normal patch cycles. Conduct vulnerability scanning and asset inventory validation to confirm remediation coverage.
PUBLIC EXPLOITS

Exploits

4 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (27 hidden).

VALID 4 / 31 TOTALView more in app
EternalBlue-Exploit-DemonstrationMaturityPoCFrameworkmetasploitVerified exploit

This 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.

dannic145Disclosed Apr 22, 2026markdownrubynetworkfile
autoblueMaturityPoCVerified exploit

The 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.

AtithKhawasDisclosed Dec 30, 2024bashnetwork
BlueDoorMaturityPoCVerified exploit

This 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.

sethwhyDisclosed Dec 21, 2024pythonassemblynetwork
eternalblueMaturityPoCVerified exploit

This 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.

kimocoderDisclosed Jun 2, 2019pythonnetwork
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
Microsoft CorporationWindowsoperating_system
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

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

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, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence21

Every observed campaign linking this CVE to a named adversary.

Associated malware149

Malware families riding this exploit, with evidence and IOCs.

Detection signatures2

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity4

Community discussion across Reddit, Mastodon, and other social sources.