LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2017-0145: Microsoft SMBv1 Remote Code Execution Vulnerability

RBRecent Breaches Vulnerability Intelligence·Feb 10, 2022
Critical⚠ Actively exploited (CISA KEV)Ransomware-linked
Critical
Severity
Active
CISA KEV
Yes
Ransomware use
Aug 10, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2017-0145 to its Known Exploited Vulnerabilities catalog on Feb 10, 2022, with a federal patch deadline of Aug 10, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately. Ransomware crews are known to exploit this flaw.

The SMBv1 server in multiple Microsoft Windows versions allows remote attackers to execute arbitrary code via crafted packets.

CVE-2017-0145 is a remote code execution vulnerability in the Microsoft SMBv1 server. It allows remote attackers to run arbitrary code by sending crafted packets to a system that still has SMBv1 enabled. Because SMBv1 is a network file-sharing protocol present on many Windows hosts, successful abuse can give an attacker a foothold on the machine without valid credentials. Public reporting links this vulnerability to ransomware campaigns, so unpatched systems remain a high-priority risk for IT and security teams.

How it works

The underlying weakness is CWE-20 (Improper Input Validation). The SMBv1 server does not adequately validate certain fields in incoming packets. An attacker who can reach the SMBv1 service over the network can craft packets that trigger the flaw and cause the server process to execute attacker-controlled code in the context of the service. No authentication is required for the initial packet exchange in the classic attack pattern for this class of SMB flaw. Exact packet structure and exploitation mechanics are not detailed here; defenders should treat any unsolicited SMBv1 traffic as suspicious and confirm technical specifics against the vendor advisory.

Am I affected? How to find it in your systems

Microsoft SMBv1 has historically shipped with multiple Windows client and server versions. It is commonly found on file servers, domain controllers, legacy workstations, and appliances that still expose SMB for compatibility. Inventory steps:

Telemetry signs of exploitation attempts include unusual SMBv1 negotiation traffic, crashes or restarts of the Server service, unexpected child processes spawned by system processes that handle SMB, and lateral-movement patterns immediately after SMB connections from untrusted sources. Correlate these with EDR, Windows Event Logs, and network flow data.

How to remediate

Patch first. Apply the security updates Microsoft released for this vulnerability, following the vendor’s instructions exactly. After patching:

CISA’s required action is simply to apply updates per vendor instructions; treat that as the minimum bar.

If you can't patch immediately

Until the vendor update can be deployed, reduce exposure with compensating controls:

These measures lower likelihood and impact but do not replace the official patch.

If your data may have been exposed

Actively exploited vulnerabilities of this type are frequently used as initial access for ransomware and data theft. If you have evidence of exploitation or cannot rule it out, treat the incident as a potential breach: isolate affected hosts, preserve forensic images, reset credentials that may have been exposed, and begin containment and eradication. As a quick additional check, you can run a free exposure scan of your email addresses against known breach data sets to see whether related credentials have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedMicrosoft · SMBv1
WeaknessCWE-20
Added to CISA KEVFeb 10, 2022
Federal patch deadlineAug 10, 2022
Known ransomware useYes
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities