CVE DatabaseCVE-2017-0145
한국어 권고문 →
CVE-2017-01458.8/HIGHCISA KEV

Microsoft Windows SMBv1 Remote Code Execution Vulnerability (CVE-2017-0145, EternalBlue/DoublePulsar)

⚡ Jump to Patch
Affected Vendors
microsoft
Affected Components
windows, windows_server
Published Date
2017-03-17
CVSS v3.1
8.8
HIGH
EPSS (30d)
89.8%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Legacy Windows operating systems including Windows Vista, 7, 8.1, 10, and Windows Server 2008, 2012, 2016 with SMBv1 enabled

Impact

Unauthenticated remote attackers can execute arbitrary code with SYSTEM/kernel privileges by sending specially crafted SMBv1 packets, leading to complete system compromise

Mitigation

Immediately apply the Microsoft MS17-010 security patch and completely disable the legacy SMBv1 protocol across the enterprise network

Affected Products & Version Scope

Windows Vista SP2, Windows 7 SP1, Windows 8.1, Windows 10 (Gold, 1511, 1607), Windows Server 2008 SP2/R2 SP1, Windows Server 2012 Gold/R2, Windows Server 2016

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

The primary remediation is applying the MS17-010 security update. For legacy systems, verify the installation of the corresponding hotfix using the following PowerShell command:

powershell
# Check if MS17-010 related hotfixes are installed
Get-HotFix | Where-Object { $_.HotFixID -match 'KB4012212|KB4012215|KB4013389|KB4012598' }

2. Temporary Workaround & Hardening Configuration

If patching cannot be immediately performed, disable SMBv1 entirely and block SMB traffic at the network perimeter.

powershell
# Disable SMBv1 protocol immediately via PowerShell (requires reboot)
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol -NoRestart

# Disable SMBv1 Server via Registry
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters' -Name 'SMB1' -Value 0 -Force
bash
# Block inbound SMB traffic (TCP 445) at the firewall level
# (Linux iptables example to block transit traffic to vulnerable hosts)
iptables -A FORWARD -p tcp --dport 445 -j DROP

3. Log Audit & IoC Verification Commands

Use the following script to audit the status of SMBv1 across your endpoints to identify exposure.

powershell
# Audit script to check if SMBv1 is enabled
$smb1Status = Get-SmbServerConfiguration | Select-Object -ExpandProperty EnableSMB1Protocol
if ($smb1Status -eq $true) {
    Write-Warning 'SMBv1 is active. This host is highly vulnerable to MS17-010 exploits!'
} else {
    Write-Output 'SMBv1 is disabled. Hardening verified.'
}
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
SentinelOne Singularity AI EDR
Disable SMBv1 immediately across all systems and restrict inbound TCP port 445 at the network perimeter to prevent lateral movement.

Block Kernel Privilege Escalation & Ransomware Payloads Before You Can Reboot

Protect unpatched Windows, Linux, and macOS workloads against in-memory exploitation and lateral movement with autonomous EDR.

100% MITRE ATT&CK Detection · 1-Click Rollback

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2017-0145) is a critical remote code execution (RCE) flaw in the legacy Server Message Block v1 (SMBv1) protocol implementation in Microsoft Windows. The root cause lies in the improper handling of specially crafted SMBv1 transaction requests. The SMBv1 server fails to properly validate the buffer size and offset parameters of incoming packets, leading to a buffer overflow and kernel memory corruption.

2. Exploitation Mechanics & Attack Scenario

An attacker exploits this vulnerability by sending malformed SMBv1 packets to a target system listening on TCP port 445. These packets trigger an out-of-bounds write in the Windows kernel pool memory. Once memory corruption is achieved, the attacker can inject and execute shellcode with kernel-level privileges (SYSTEM) without authentication. This specific vulnerability was famously weaponized by the Shadow Brokers under the codename 'EternalBlue' and paired with the 'DoublePulsar' payload injector to orchestrate global ransomware campaigns like WannaCry and NotPetya.

3. Infrastructure & Business Impact

With its inclusion in the CISA KEV catalog and an EPSS score of 0.8985, this vulnerability represents an extreme threat vector. Successful exploitation allows immediate, unauthenticated remote takeover of the target host. In an enterprise environment, this enables rapid lateral movement, domain-wide compromise, massive ransomware deployment, and catastrophic business disruption.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2017-0145)

FAQ

Q1. How critical is CVE-2017-0145 and is it actively exploited in the wild?

CVE-2017-0145 is rated CVSS 8.8 (HIGH) with a 30-day EPSS exploitation probability of 89.8%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2017-0145?

Primary impacted vendors include microsoft across windows, windows_server. Scope summary: Windows Vista SP2, Windows 7 SP1, Windows 8.1, Windows 10 (Gold, 1511, 1607), Windows Server 2008 SP2/R2 SP1, Windows Server 2012 Gold/R2, Windows Server 2016

Q3. What temporary mitigations or workarounds exist for CVE-2017-0145 before patching?

[Mitigation] Immediately apply the Microsoft MS17-010 security patch and completely disable the legacy SMBv1 protocol across the enterprise network Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2017-0145

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (microsoft)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2017-0145 Microsoft Windows SMBv1 Remote Code Execution Vulnerability (CVE-2017-0145, EternalBlue/DoublePulsar) (CVSS 8.8) - Patch & Workaround | CVE Pulse