Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2017-0146: Microsoft Windows SMBv1 Transaction Race Condition Remote Code Execution

Published Mar 17, 2017 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS89.9%100th percentile
CISA KEVYesAdded Mar 25, 2022
In the wildActivePer CISA KEV
Vendors
SiemensMicrosoft Corporation
IdentifiersCVE-2017-0146CWE-362

CVE-2017-0146 is a race condition involving Transaction requests in the Microsoft Windows SMBv1 server that permits remote arbitrary code execution through specially crafted packets. EternalChampion and EternalSynergy exploit this vulnerability. Affected releases include Windows Vista SP2, Windows 7 SP1, Windows 8.1, Windows RT 8.1, Windows 10 initial release and versions 1511 and 1607, Windows Server 2008 SP2 and 2008 R2 SP1, Windows Server 2012 and 2012 R2, and Windows Server 2016. Public exploit implementations can overwrite SMB connection session structures to establish administrator-level access and subsequently execute payloads. Microsoft addressed the vulnerability in security bulletin MS17-010.

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.

An unauthenticated remote attacker can execute arbitrary code on an affected SMBv1 server, compromising system confidentiality, integrity, and availability. Documented exploit implementations achieve administrator/SYSTEM-level execution through SMB session manipulation. On affected Siemens Healthineers systems, exploitation can potentially disrupt ultrasound imaging or image review.

Mitigation

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

Disable SMBv1 where operationally feasible. Restrict SMB and NetBIOS exposure with firewalls, particularly TCP ports 139 and 445, and isolate vulnerable devices from potentially infected systems and business networks. Avoid Internet exposure. For affected Siemens medical devices, vendor guidance additionally recommends restricting TCP port 3389. If isolation is impossible, operate devices disconnected from the network only when patient safety and treatment will not be jeopardized, and reconnect after remediation. Assess clinical and operational impacts before implementing controls, and maintain backups and restoration procedures.

Remediation

Patch, then assume compromise.

Apply the applicable Microsoft MS17-010 security update: KB4012598 for Windows Vista SP2 and Windows Server 2008 SP2; KB4012212 or KB4012215 for Windows 7 SP1 and Windows Server 2008 R2 SP1; KB4012213 or KB4012216 for Windows 8.1 and Windows Server 2012 R2; KB4012214 or KB4012217 for Windows Server 2012; KB4012216 for Windows RT 8.1; KB4012606 for the initial Windows 10 release; KB4013198 for Windows 10 version 1511; and KB4013429 for Windows 10 version 1607 and Windows Server 2016. For affected medical devices, obtain and install vendor-approved product-specific fixes through Siemens Healthineers customer support or tested patches through Philips support channels, as applicable.

Public exploits

Exploits

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

View more in app →
ms17_010_psexec.rbThis repository contains a single Metasploit module: 'ms17_010_psexec.rb', which weaponizes the MS17-010 vulnerabilities (EternalRomance, EternalSynergy, EternalChampion) to achieve remote code execution on vulnerable Windows systems via SMB. The exploit leverages a write-what-where primitive to escalate privileges and then executes a payload using various methods (PowerShell, native executable upload, or MOF upload). The module is highly configurable, allowing the attacker to specify the target share, payload type, and advanced options such as service filename and PowerShell path. The exploit is operational and weaponized, supporting customizable payloads and reliable exploitation. The main attack vector is network-based, targeting SMB services on Windows systems. Notable fingerprintable endpoints include the default ADMIN$ share and the PowerShell executable path. The module is part of the Metasploit framework and is intended for use by penetration testers and red teamers to test for and exploit MS17-010 vulnerabilities.Disclosed Mar 14, 2017 · Framework: metasploit · ruby · networkWeaponizedms17_010_command.rbThis repository contains a single Metasploit auxiliary module (ms17_010_command.rb) that exploits the MS17-010 vulnerabilities (EternalRomance, EternalSynergy, EternalChampion) in the SMB protocol on Windows systems. The module leverages a write-what-where primitive to escalate privileges to Administrator and then executes arbitrary commands on the target via SMB, using the psexec technique. The exploit requires a writable SMB share (default 'C$'), valid credentials, and access to the SMB service (default port 445). The module is operational and allows the user to specify any command to execute on the remote host, with output returned to the attacker. The code is written in Ruby and is designed to be used within the Metasploit framework. No hardcoded IPs or domains are present, but the exploit targets Windows systems accessible over the network via SMB.Disclosed Mar 14, 2017 · Framework: metasploit · ruby · networkWeaponizedms17_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 · fileWeaponized
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-0146 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 25, 2022.
Is there a public exploit for CVE-2017-0146?
Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2017-0146, the earliest disclosed Mar 14, 2017.
Is there a patch for CVE-2017-0146?
Apply the applicable Microsoft MS17-010 security update: KB4012598 for Windows Vista SP2 and Windows Server 2008 SP2; KB4012212 or KB4012215 for Windows 7 SP1 and Windows Server 2008 R2 SP1; KB4012213 or KB4012216 for Windows 8.1 and Windows Server 2012 R2; KB4012214 or KB4012217 for Windows Server 2012; KB4012216 for Windows RT 8.1; KB4012606 for the initial Windows 10 release; KB4013198 for Windows 10 version 1511; and KB4013429 for Windows 10 version 1607 and Windows Server 2016. For affected medical devices, obtain and install vendor-approved product-specific fixes through Siemens Healthineers customer support or tested patches through Philips support channels, as applicable.
What products are affected by CVE-2017-0146?
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-0146?
CVE-2017-0146 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 89.9% (100th percentile) as of Oct 16, 2026.
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 evidence1Every report linking this CVE to a named adversary.
Associated malware10Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.