Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2017-0147: Windows SMB Information Disclosure Vulnerability

Published Mar 17, 2017 · Updated 20 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.5High · v3.1
EPSS99.7%100th percentile
CISA KEVYesAdded May 24, 2022
In the wildActivePer CISA KEV
Vendors
SiemensMicrosoft Corporation
IdentifiersCVE-2017-0147CWE-200

CVE-2017-0147 is an information disclosure vulnerability in the Microsoft Windows SMBv1 server. Improper handling of specially crafted SMBv1 packets allows a remote attacker to obtain sensitive information from process memory. Affected systems 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. Microsoft addressed the vulnerability in MS17-010. Unlike the other five vulnerabilities covered by that bulletin, CVE-2017-0147 is an information disclosure flaw, not a standalone remote code execution vulnerability.

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 exposes sensitive information from the affected server's process memory, compromising confidentiality. The information obtained may support subsequent attacks, but this vulnerability alone does not establish arbitrary code execution, privilege escalation, modification of server data, or service disruption. References associating it with EternalRomance and malware propagation concern broader SMB exploitation chains and should not be interpreted as standalone execution capabilities.

Mitigation

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

Disable SMBv1 where operationally feasible and migrate required file-sharing services to SMBv2 or later. On applicable Windows versions, disable the SMB1.0/CIFS File Sharing Support feature and restart the system. Restrict inbound SMB access, particularly TCP ports 139 and 445, using host and network firewalls; prevent Internet exposure and isolate vulnerable systems from untrusted or potentially infected network segments. For affected medical devices that cannot be patched or adequately isolated, consider standalone operation only when patient safety and treatment will not be jeopardized, following vendor guidance.

Remediation

Patch, then assume compromise.

Install the applicable Microsoft MS17-010 security update or a superseding update that includes its fixes. 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 Windows 10 initial release; KB4013198 for Windows 10 version 1511; and KB4013429 for Windows 10 version 1607 and Server 2016. For affected Siemens Healthineers or Philips medical systems, obtain and deploy product-specific, vendor-tested fixes through the appropriate support channel, assessing clinical and operational impacts before installation.

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_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_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_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 CorporationWindows 10 1507operating_system
Microsoft CorporationWindows 10 1511operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 7operating_system
Microsoft CorporationWindows 8.1operating_system
Microsoft CorporationWindows Rt 8.1operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Vistaoperating_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
FAQ

Frequently asked questions

Is CVE-2017-0147 exploited in the wild?
Yes. As of Nov 2, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on May 24, 2022.
Is there a public exploit for CVE-2017-0147?
Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2017-0147, the earliest disclosed Mar 14, 2017.
Is there a patch for CVE-2017-0147?
Install the applicable Microsoft MS17-010 security update or a superseding update that includes its fixes. 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 Windows 10 initial release; KB4013198 for Windows 10 version 1511; and KB4013429 for Windows 10 version 1607 and Server 2016.
What products are affected by CVE-2017-0147?
Microsoft Corporation Windows 7, Microsoft Corporation Windows 8.1, Microsoft Corporation Windows Rt 8.1, Microsoft Corporation Windows Server 2008, Microsoft Corporation Windows Server 2012, and 13 more.
How severe is CVE-2017-0147?
CVE-2017-0147 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 99.7% (100th percentile) as of Nov 2, 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 evidence3Every report linking this CVE to a named adversary.
Associated malware15Malware 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.