Windows SMBv1 Remote Code Execution Vulnerability
CVE-2017-0143 is a remote code execution vulnerability in the SMBv1 server implementation in multiple Microsoft Windows versions, including 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/1607, and Windows Server 2016. Microsoft describes the issue as allowing remote attackers to execute arbitrary code via crafted SMB packets. Supporting content further characterizes the flaw as a type confusion vulnerability between SMB WriteAndX and Transaction requests. It was exploited by NSA-linked tooling including EternalRomance and EternalSynergy, and was part of the broader MS17-010 SMBv1 vulnerability set.
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.
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.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
3 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (8 hidden).
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.
This repository provides a Python-based exploit for the MS17-010 vulnerability (CVE-2017-0143), also known as EternalRomance/EternalSynergy, targeting Microsoft Windows systems via the SMB protocol (port 445). The exploit consists of several files: 'send_and_execute.py' (main exploit script), 'checker.py' (vulnerability and named pipe checker), 'mysmb.py' (SMB protocol extensions for exploitation), and a README.md with detailed usage instructions. The exploit allows an attacker to upload and execute an arbitrary payload (such as a reverse shell) on a vulnerable Windows machine by exploiting the SMB service. The attacker must provide a payload executable (e.g., generated with msfvenom) and can use the included scripts to check for vulnerability and execute the attack. The exploit supports a wide range of Windows versions (from Windows 2000 up to Windows 10/2016) and leverages named pipes (e.g., browser, spoolss, netlogon, lsarpc, samr) for exploitation. The repository is operational and provides all necessary components for successful exploitation, assuming the target is vulnerable and accessible over the network.
This repository contains a Python3 exploit for MS17-010 (CVE-2017-0143), a critical vulnerability in Microsoft Windows SMBv1. The main file, 'exploit.py', implements the exploit logic, targeting a wide range of Windows versions from Windows 2000 through Windows 10 and Windows Server 2016. The exploit leverages the same bug as the NSA's 'EternalRomance' and 'EternalSynergy' exploits, manipulating SMB transactions and session security contexts to achieve remote code execution as SYSTEM. The exploit is highly reliable on Windows 7 and later, with additional logic to minimize the risk of crashing the target. The 'mysmb.py' file provides SMB protocol extensions and helper classes, including a minimal SMB server for post-exploitation. The exploit requires network access to the target's SMB service (typically on TCP port 445 or 139) and can provide a remote shell upon success. The repository is operational and suitable for real-world exploitation of unpatched systems.
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.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Windows SMBv1 remote code execution vulnerability (part of the MS17-010 set) referenced as heavily exploited and associated with ransomware outbreaks.
A remote code execution vulnerability in Microsoft Windows SMBv1 server that allows remote attackers to execute arbitrary code via crafted packets.
A Microsoft Windows Server Message Block (SMB) remote code execution zero-day used to execute attacker-controlled code on Windows systems over the network without user interaction, enabling high-privilege (kernel-level) compromise.
An SMB vulnerability involving type confusion between WriteAndX and Transaction requests, used by EternalRomance and EternalSynergy.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.