CVE-2024-38193 is a use-after-free vulnerability in the Windows Ancillary Function Driver for WinSock, which provides kernel-mode support for the Windows socket interface. It affects Windows 10 and Windows 11 version 23H2 and earlier. Local exploitation yields an increment primitive that can be developed into kernel memory read/write access. Observed exploits modified the current thread's KTHREAD PreviousMode field to bypass kernel-mode checks in memory-access system calls. Lazarus exploited the vulnerability as a zero-day to deploy FudModule v3.0.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a local privilege escalation exploit for CVE-2024-38193, targeting the Windows AFD (Ancillary Function Driver) kernel component. The exploit is implemented in C++ and consists of two main code files: 'poc.cpp' and 'poc.h'. The code interacts directly with Windows kernel objects and system calls, including custom usage of NtCreateFile, NtDeviceIoControlFile, and other NT APIs. The exploit crafts and manipulates AFD endpoints (\\Device\\Afd\\Endpoint) and named pipes to achieve arbitrary kernel read/write primitives. It then leverages these primitives to steal the SYSTEM process token, resulting in privilege escalation. The exploit is operational and tested on Windows 11 Pro 23H2 (build 22631.3447). No network or remote attack vector is present; the exploit must be run locally. The repository includes Visual Studio project files and build artifacts, but the core exploit logic resides in the C++ source files.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
24 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A previously exploited AFD.sys vulnerability referenced as another earlier Lazarus privilege-escalation path for deploying FudModule.
A separate earlier AFD.sys use-after-free vulnerability previously linked to Lazarus’s FudModule rootkit, mentioned here as historical context and comparison to the new exploit.
A previously exploited AFD.sys use-after-free vulnerability mentioned as an earlier flaw linked to Lazarus deployment of FudModule.
A previously exploited afd.sys zero-day reportedly used by Lazarus, mentioned as historical context.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.