Skip to main content
Mallory
HighCISA KEVExploited in the wildPublic exploit

Windows SMBv1 Remote Code Execution Vulnerability

IdentifiersCVE-2017-0143CWE-843

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.

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 allows unauthenticated remote code execution against a vulnerable SMBv1 server. The content indicates attackers can achieve execution with kernel-level or SYSTEM/Admin-equivalent privileges, without user interaction, by sending crafted packets to the target SMB service. This level of access enables full compromise of the affected host and has been associated with large-scale wormable malware and ransomware activity, including WannaCry-related exploitation of SMB over TCP/445.

Mitigation

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

If immediate patching is not possible, disable SMBv1 where operationally feasible, restrict or block inbound SMB access—especially TCP port 445—using host and network firewalls, and segment networks to limit lateral movement. Reduce internet exposure of SMB services, monitor for exploitation attempts against SMB, and prioritize identification of vulnerable hosts through vulnerability scanning. Defense-in-depth measures such as segmentation and deny-by-default firewalling are also supported by the provided context.

Remediation

Patch, then assume compromise.

Apply Microsoft security updates addressing MS17-010 on all affected systems. The provided content explicitly states that systems patched with Microsoft bulletin MS17-010 are protected. Organizations should update affected Microsoft products with the latest security patches and retire or upgrade unsupported/end-of-life Windows versions where patching is not sustainable.
PUBLIC EXPLOITS

Exploits

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

VALID 3 / 11 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
MS17-010_CVE-2017-0143MaturityPoCVerified exploit

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.

h3x0v3rl0rdDisclosed Jul 8, 2021pythonnetwork
MS17-010MaturityPoCVerified exploit

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.

h3x0v3rl0rdDisclosed Mar 12, 2025pythonnetwork
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
Phillips 66Intellispace Portalapplication
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 evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware11

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 activity

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