Windows Kernel TOCTOU Race Condition Elevation of Privilege
CVE-2024-30088 is a Windows Kernel elevation of privilege vulnerability in ntoskrnl.exe caused by a double-fetch / time-of-check time-of-use race condition. The available technical analysis attributes the bug to TokenAccessInformation handling via NtQueryInformationToken, where kernel code ultimately reaches AuthzBasepCopyoutInternalSecurityAttributes. In the vulnerable path, a user-controlled UNICODE_STRING-related pointer is validated and later reused, allowing a racing thread to swap the Buffer pointer between check and copy operations. This creates a partial kernel write primitive. Public reporting and proof-of-concept material indicate the primitive can be used to overwrite token privilege data, including enabling SeDebugPrivilege, to escalate from Medium Integrity to SYSTEM. Additional analysis describes chaining the bug from a Chrome renderer sandbox by first modifying a kernel security descriptor used in restricted-caller checks, then using the resulting access to recover token addresses and complete privilege escalation.
Are you exposed to this one?
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.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
6 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository is a compact Visual Studio C++ proof-of-concept for CVE-2024-30088, adapted specifically for non-interactive execution environments such as WinRM. The repo contains a solution file, one main source file (poc/main.cpp), one helper header (poc/ex.h), and standard Visual Studio project metadata. README.md explains that the original exploit was modified to avoid interactive cmd.exe usage, replacing visible console creation with hidden execution and adding synchronous waiting and verbose logging. The exploit is a local privilege escalation PoC targeting Microsoft Windows. In main.cpp, it opens the current process token, uses helper logic from ex.h to recover the kernel pointer associated with that token via NtQuerySystemInformation(SystemExtendedHandleInformation), and then repeatedly calls NtQueryInformationToken while a racing thread corrupts fields in the token security attributes structure. The goal is to win a race condition and subsequently obtain a powerful handle to winlogon.exe, a SYSTEM process. Once successful, the code uses CreateProcessFromHandle in ex.h to create a new process with the privileged process handle set as the parent process attribute, effectively launching a child process as SYSTEM. The final stage is operational rather than generic: it hardcodes execution of PowerShell with the command to start C:\temp\shellz.exe. The process is created with EXTENDED_STARTUPINFO_PRESENT | CREATE_NO_WINDOW, making it suitable for WinRM or other headless sessions. This is not a scanner or detector; it is a real exploit PoC with a built-in payload launcher. There are no network endpoints or remote C2 indicators in the code. The main fingerprintable artifacts are local Windows paths, native API usage, and the explicit targeting of winlogon.exe as the privileged parent process.
This repository contains a local privilege escalation proof-of-concept (POC) exploit for Microsoft Windows, targeting a Time-of-check Time-of-use (TOCTOU) race condition (CWE-367) in token handling. The main exploit logic is implemented in 'main.cpp', with supporting functions in 'ex.h'. The exploit works by racing the system's token information retrieval and manipulation, ultimately obtaining a handle to the SYSTEM process (winlogon.exe) and spawning a SYSTEM-level command prompt (cmd.exe). The Visual Studio project files (.sln, .vcxproj, etc.) are present to facilitate building the exploit. The exploit requires local code execution and does not target any network endpoints. Its primary capability is privilege escalation from a regular user to SYSTEM on Windows platforms.
This repository contains a Python proof-of-concept (PoC) exploit for CVE-2024-30088, a local privilege escalation vulnerability affecting the Microsoft Windows kernel. The main file, CVE-2024-30088.py, uses the ctypes library to interact with low-level Windows APIs, mimicking the behavior of a typical C/C++ kernel exploit. The exploit attempts to obtain a handle to the winlogon.exe process, manipulates kernel memory via a race condition, and ultimately spawns a SYSTEM-level command prompt (cmd.exe). The README.md provides context, explaining that this is a technical exercise and warning that the Python implementation may be unstable compared to the original C++ exploit. The exploit is local-only, requiring code execution on the target system, and does not involve any network endpoints. The structure is straightforward: one Python exploit file and a README. The exploit demonstrates advanced process and memory manipulation techniques in Python, but is primarily for educational and demonstration purposes.
This repository implements a kernel exploit for Xbox SystemOS (CVE-2024-30088), targeting Xbox One and Xbox Series consoles running specific kernel versions. The exploit chain is initiated via the Game Script UWP application, with payloads delivered either through a full-trust file explorer or a USB keyboard simulator. The main exploit code (in C) leverages a race condition and a CPU side channel to achieve kernel code execution, ultimately elevating privileges to SYSTEM. Post-exploitation, the code can spawn a reverse shell (cmd.exe) or inject an SSH server into a privileged process, providing the attacker with full control over the console. The exploit requires the attacker to listen on TCP port 7070 for incoming connections from the compromised console. The repository is well-structured, with clear separation between the exploit logic, post-exploitation payloads, and supporting artifacts. It is operational and provides a working SYSTEM shell or arbitrary code execution on vulnerable Xbox consoles.
This repository contains a working local privilege escalation exploit for CVE-2024-30088, a race condition in the Windows kernel's AuthzBasepCopyoutInternalSecurityAttributes function. The exploit is implemented in C++ and consists of two main code files: 'poc/main.cpp' (the exploit logic) and 'poc/ex.h' (helper functions for process and handle manipulation). The exploit works by racing the kernel's copying of security attribute structures, allowing an attacker to achieve an arbitrary write in kernel memory. The exploit then targets the winlogon.exe process to obtain a SYSTEM token and spawns a SYSTEM-level command prompt (cmd.exe). The repository includes Visual Studio project files for building the exploit. No network endpoints are involved; the attack vector is purely local. The exploit is operational and demonstrates a full privilege escalation chain on unpatched Windows systems.
This repository is a proof-of-concept (PoC) exploit for CVE-2024-30088, a local privilege escalation vulnerability in Microsoft Windows 10 x64. The vulnerability exists in the NtQueryInformationToken function, specifically due to improper locking in the AuthzBasepCopyoutInternalSecurityAttributes function, which can be exploited via a race condition. The exploit is implemented in C++ and consists of two main code files: 'poc/main.cpp' (the main exploit logic) and 'poc/ex.h' (helper functions and structures). The exploit works by racing the kernel to manipulate token security attributes, ultimately obtaining a handle to the SYSTEM process (winlogon.exe) and using it to spawn a SYSTEM-level command prompt (cmd.exe). The exploit requires local code execution and patience, as the race condition may take several attempts to win. The repository includes Visual Studio project files for building the PoC. No network or remote attack vectors are present; this is a purely local privilege escalation exploit.
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.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Windows Kernel vulnerability referenced as previously exploited in Iran-affiliated threat campaigns and listed in CISA KEV.
A privilege escalation vulnerability explicitly cited as exploited by APT34/OilRig in campaigns targeting governmental organizations in the UAE and Gulf region.
A Microsoft Windows Kernel TOCTOU race condition vulnerability whose CISA KEV knownRansomwareCampaignUse field flipped from Unknown to Known (evidence of ransomware campaign use).
Unknown (referenced as a Windows local exploit module name in Metasploit; no vulnerability details are provided in the content).
The version that knows your environment.
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.