CVE-2024-38193: Microsoft Windows Ancillary Function Driver for WinSock Privilege Escalation Vulnerability
Microsoft · Windows · NVD published 2024-08-13 · posted 2024-08-13 · last modified 2026-06-17
What it is
Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability
| Weakness | CWE-416 |
|---|---|
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (source: [email protected]) |
| CISA due date | 2024-09-03 (for US federal agencies under BOD; a good deadline for everyone) |
| ATT&CK tactics | Execution → Privilege Escalation |
Exploitation evidence
First exploit evidence seen: 2024-08-13 (earliest date across the sources below).
Exploited in the wild
- CISA KEV: listed since 2024-08-13. Source
Public exploit code
Exploit-DB
- EDB-52284: Microsoft Windows 11 Pro 23H2 - Ancillary Function Driver for WinSock Privilege Escalation (2025-05-09)
GitHub proof-of-concept repositories
1 public repositories from 1 accounts, first seen 2024-12-03. Most starred: killvxk/CVE-2024-38193-Nephster (61 stars), view repository.
Verify before running: public PoCs can be malicious. Read the code and only run it in an isolated lab. A PoC means exploit code is public, not that this CVE is exploited in the wild.
Sources: CISA KEV · Exploit-DB (OffSec) · nomi-sec/PoC-in-GitHub.
Defend the Chain
The attack chain for CVE-2024-38193 laid across the MITRE ATT&CK Enterprise tactics. Solid cards come from the MITRE CTID KEV mappings; dashed cards are inferred by CVERadar from the CWE or description. Correct defences are real ATT&CK mitigations for that technique.
Pick a red technique card on the board, then choose the defence that stops it.
Defend against T1203 Exploitation for Client Execution Inferred
Inferred from CWE CWE-416
How to fix it
CISA required action
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. (source: CISA KEV)
Fixed versions
- microsoft windows 10 1507: upgrade to 10.0.10240.20751 or later
- microsoft windows 10 1607: upgrade to 10.0.14393.7259 or later
- microsoft windows 10 1809: upgrade to 10.0.17763.6189 or later
- microsoft windows 10 21h2: upgrade to 10.0.19044.4780 or later
- microsoft windows 10 22h2: upgrade to 10.0.19045.4780 or later
- microsoft windows 11 21h2: upgrade to 10.0.22000.3147 or later
- microsoft windows 11 22h2: upgrade to 10.0.22621.4037 or later
- microsoft windows 11 23h2: upgrade to 10.0.22631.4037 or later
- microsoft windows 11 24h2: upgrade to 10.0.26100.1457 or later
- microsoft windows server 2012: upgrade to 6.2.9200.25031 or later
- microsoft windows server 2016: upgrade to 10.0.14393.7259 or later
- microsoft windows server 2019: upgrade to 10.0.17763.6189 or later
- microsoft windows server 2022: upgrade to 10.0.20348.2655 or later
- microsoft windows server 2022 23h2: upgrade to 10.0.25398.1085 or later
Derived from the NVD CPE configuration (versionEndExcluding / versionEndIncluding). Always confirm with the vendor advisory.
Vendor advisories and patches
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38193 (CISA KEV notes)
MITRE ATT&CK mitigations for this chain
- M1050 Exploit Protection (for T1203, T1068) : Security applications that look for behavior used during exploitation such as Windows Defender Exploit Guard (WDEG) and the Enhanced Mitigation Experience Toolkit (EMET) can be used to mitigate some exploitation behavior. Control flow integrity checking is another way to potentially identify and stop a software exploi
- M1051 Update Software (for T1203, T1068) : Perform regular software updates to mitigate exploitation risk. Keeping software up-to-date with the latest security patches helps prevent adversaries from exploiting known vulnerabilities in client software, reducing the risk of successful attacks.
- M1048 Application Isolation and Sandboxing (for T1203, T1068) : Browser sandboxes can be used to mitigate some of the impact of exploitation, but sandbox escapes may still exist. Other types of virtualization and application microsegmentation may also mitigate the impact of client-side exploitation. Risks of additional exploits and weaknesses in those systems may still exist.
- M1019 Threat Intelligence Program (for T1068) : Develop a robust cyber threat intelligence capability to determine what types and levels of threat may use software exploits and 0-days against a particular organization.
- M1038 Execution Prevention (for T1068) : Consider blocking the execution of known vulnerable drivers that adversaries may exploit to execute code in kernel mode. Validate driver block rules in audit mode to ensure stability prior to production deployment.
Detection Generic guidance
- Execution: Watch for the service process spawning shells or script interpreters (cmd.exe, powershell, sh, bash, python) via EDR process-tree rules.
- Privilege Escalation: Alert on processes gaining SYSTEM/root unexpectedly, and on exploitation crashes of privileged services.
Response checklist Generic guidance
- Inventory: find every instance of the affected product and version (include internet-facing and forgotten ones).
- Patch or mitigate per the vendor advisory; if you cannot patch, remove internet exposure or apply the vendor workaround.
- Assume compromise if the system was exposed before patching: hunt for the indicators in the advisory and review logs back to the disclosure date.
- Rotate credentials and secrets stored on or used by the affected system if compromise cannot be ruled out.