Skip to navigation

Threat reportVulnerabilityTL-2026-4875

CVE-2024-30085 Windows cldflt.sys Heap Overflow - Public Exploitation Techniques (PreviousMode and PPL Bypass Editions)

highMONITORING

A heap-based buffer overflow (CWE-122) in the Windows Cloud Files Mini-Filter Driver (cldflt.sys) lets a local, low-privileged user corrupt adjacent kernel pool memory and escalate to SYSTEM. Patched by Microsoft in June 2024, the bug was privately weaponized at TyphoonPWN 2024 as part of a VMware Workstation Guest-to-Host escape chain, then released as public PoC code by STAR Labs in December 2024 and a Metasploit module in 2025. First disclosed .

Key facts

IdentifiersTL-2026-4875, CVE-2024-30085, CVE-2025-62221
SeverityHIGH
CVSS7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
First disclosed
Exploitation statusLinked CVE exploited in the wild; Listed in CISA KEV: CVE-2025-62221 (added )
EPSSCVE-2024-30085: 14.3% (96.6th percentile); CVE-2025-62221: 2.5% (84.7th percentile)
Affected productsMicrosoft Windows Cloud Files Mini Filter Driver (cldflt.sys)
Weaknesses (CWE)CWE-122
ToolsIDA Pro / Hex-Rays decompiler, Metasploit Framework (exploit/windows/local/cve_2024_30085_cloud_files)
MITRE ATT&CK techniquesT1003.001 OS Credential Dumping: LSASS Memory, T1057 Process Discovery, T1068 Exploitation for Privilege Escalation, T1106 Native API, T1134 Access Token Manipulation, T1134.001 Access Token Manipulation: Token Impersonation/Theft, T1211 Exploitation for Stealth, T1587.004 Develop Capabilities: Exploits, T1588.005 Exploits, T1588.006 Vulnerabilities, T1611 Escape to Host, T1685 Disable or Modify Tools
MotivationUNKNOWN
Target sectorsall sectors running windows endpoints and servers
Target regionsGlobal
Detection rules9 (1 shown free)
Sources9 cited sources

Detection coverage

As of 2026-10-31, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4875 across Splunk SPL, Microsoft KQL and Sigma, covering 30 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: CVE-2024-30085 cldflt.sys LPE - SYSTEM Process Spawned from User-Writable Path

Detects the observable result of a successful CVE-2024-30085 (cldflt.sys HsmIBitmapNORMALOpen heap overflow) exploit, covering the STAR Labs PoC, the Metasploit cve_2024_30085_cloud_files module and the PreviousMode/PPL-bypass editions. It fires on a SYSTEM-integrity process whose parent runs as a non-SYSTEM user from Users, ProgramData or Temp paths, or whose own image sits in such a path. The kernel-side WNF/ALPC/PipeAttribute corruption is not logged, so this behaviour-first rule keys on the token elevation that follows it.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1068, T1134.001
  • Data sources: sysmon
  • Severity: high
  • Confidence: high

Splunk SPL

index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 IntegrityLevel=System earliest=-24h
```CVE-2024-30085 cldflt.sys LPE: SYSTEM-integrity process spawned from or running out of a user-writable path```
| fillnull value="unknown" ParentUser
| where NOT match(ParentUser,"(?i)(SYSTEM|LOCAL SERVICE|NETWORK SERVICE)$")
| where match(ParentImage,"(?i)^[a-z]:.(Users|ProgramData|Windows.Temp|PerfLogs).") OR match(Image,"(?i)^[a-z]:.(Users|ProgramData|Windows.Temp|PerfLogs).")
| stats count min(_time) as first_seen values(CommandLine) as child_cmdline by host ParentImage ParentUser Image User
| eval first_seen=strftime(first_seen,"%Y-%m-%d %H:%M:%S")
| table first_seen host ParentUser ParentImage User Image child_cmdline count

Microsoft KQL

let userpath = @"(?i)^[a-z]:.(Users|ProgramData|Windows.Temp|PerfLogs).";
DeviceProcessEvents
| where Timestamp > ago(24h)
| where ProcessIntegrityLevel =~ "System" and AccountName =~ "system"
| where InitiatingProcessAccountName !in~ ("system", "local service", "network service")
| where InitiatingProcessFolderPath matches regex userpath or FolderPath matches regex userpath
| project Timestamp, DeviceName, InitiatingProcessAccountName, InitiatingProcessFolderPath, InitiatingProcessCommandLine, FolderPath, FileName, ProcessCommandLine

Sigma

title: CVE-2024-30085 SYSTEM Process Spawned from User-Writable Path
id: 4c1b7e0a-5d2f-4a8e-9b13-7a6f0c2d4875
status: experimental
description: Detects a SYSTEM-integrity process launched by a non-SYSTEM parent in a user-writable directory, the post-exploitation signature of cldflt.sys CVE-2024-30085 local privilege escalation
references:
    - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-30085
    - https://starlabs.sg/blog/2024/12-all-i-want-for-christmas-is-a-cve-2024-30085-exploit/
author: Threadlinqs Team
date: 2026/10/31
tags:
    - attack.privilege-escalation
    - attack.t1068
    - attack.t1134.001
    - cve.2024.30085
logsource:
    category: process_creation
    product: windows
detection:
    selection_sys:
        IntegrityLevel: 'System'
    selection_path:
        - ParentImage|contains:
            - '\Users\'
            - '\ProgramData\'
            - '\Windows\Temp\'
        - Image|contains:
            - '\Users\'
            - '\ProgramData\'
            - '\Windows\Temp\'
    filter_system_parent:
        ParentUser|contains:
            - 'SYSTEM'
            - 'LOCAL SERVICE'
            - 'NETWORK SERVICE'
    condition: selection_sys and selection_path and not filter_system_parent
falsepositives:
    - Software installers or updaters that legitimately elevate to SYSTEM from a user profile path
    - Remote-support and EDR tooling staged in ProgramData
level: high

Known false positives:

  • Software deployment tools (SCCM, Intune, Chocolatey) running from ProgramData
  • Vendor updaters elevating to SYSTEM via a service from a Users path

Tuning notes: Allow-list sanctioned deployment agents by exact Image/ParentImage path or hash. Requires Sysmon 13.30+ for ParentUser; older builds fall back to 'unknown' and will over-alert. Baseline for one week before paging.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple)
  • CVE-2024-30085 Public Exploit Tooling Artifacts (STAR Labs PoC / Metasploit Module) · unlock with TL Creds
  • CVE-2024-30085 PPL-Bypass Edition - LSASS Dump Command Lines and Dump Files · unlock with TL Creds
  • CVE-2024-30085 TyphoonPWN Chain - Host Shell or LOLBin Spawned by vmware-vmx.exe · unlock with TL Creds
  • CVE-2024-30085 Failed Exploitation - Kernel Pool Corruption Bugcheck ([indicator]) · unlock with TL Creds
  • CVE-2024-30085 PPL-Bypass Companion - LSA Protection or Credential Guard Disabled in Registry · unlock with TL Creds
  • CVE-2024-30085 Token Abuse - SeDebugPrivilege Enabled by User-Path Process · unlock with TL Creds
  • CVE-2024-30085 PPL-Bypass Edition - MiniDumpWriteDump Access to LSASS · unlock with TL Creds
  • CVE-2024-30085 PPL-Bypass Prep - LSASS Process Discovery via Command Line · unlock with TL Creds

Indicators of compromise

As of 2026-10-31, Threadlinqs Intelligence tracks 30 indicators of compromise for TL-2026-4875.

30 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

In April 2026, researcher Alexandre Borges published a 106-page technical deep-dive (ER series article 09) detailing two new exploitation chains built on the same bug: a 'PreviousMode' variant that flips the kernel thread's addressing mode via WNF/ALPC/pipe-attribute corruption, and a 'PPL Bypass' variant that additionally strips Protected Process Light (PPL) protection from LSASS to dump credentials.

CVE-2024-30085 is a heap buffer overflow in the `HsmIBitmapNORMALOpen` routine of cldflt.sys, the Windows Cloud Files Mini-Filter Driver that backs OneDrive/cloud-placeholder file semantics. The function allocates a fixed 0x1000-byte paged-pool buffer to hold an `_HSM_DATA` reparse-point structure supplied via a crafted reparse tag, but does not validate that the attacker-controlled `Length` field (up to 0xFFFF) fits the allocation before calling `memcpy`, allowing up to roughly 0xEFFF bytes of controlled overflow into adjacent paged-pool allocations. Microsoft's fix (shipped in the June 2024 Patch Tuesday update, KB5039211) adds an explicit `cmp r14d, 0x1000` bounds check before the copy.

The vulnerability was originally discovered by Alex Birnberg (SSD Secure Disclosure) together with Gwangun Jung and Junoh Lee (Theori), and patched on 2024-06-11. A private, weaponized version of the exploit was demonstrated on 2024-05-30 at the TyphoonPWN 2024 competition as one stage of a VMware Workstation Guest-to-Host escape chain. On 2024-12-19, STAR Labs (researcher Cherie-Anne Lee) published a full root-cause analysis plus public PoC source (`poc.cpp`/`poc.h`) via the SSD Secure Disclosure GitHub (`star-sg/CVE`), followed by a detailed blog write-up on 2024-12-24 ('All I Want for Christmas is a CVE-2024-30085 Exploit'). The STAR Labs chain uses the initial overflow to corrupt an adjacent `_WNF_STATE_DATA` object and leak a kernel pointer through an ALPC handle table, then triggers a second WNF overflow to corrupt a `PipeAttribute` structure, which is forged in user space to obtain arbitrary kernel read and, via crafted `_KALPC_MESSAGE` structures, arbitrary write of token privilege fields — yielding SYSTEM privileges. The ALPC spraying approach reuses techniques published by Xu/Song/Li at Black Hat Asia 2022 and the `PipeAttribute` corruption method from Bayet/Fariello at SSTIC 2020; practical ALPC spray code from the earlier CVE-2023-36424 exploit was also referenced as a building block.

A Metasploit local-exploit module (`exploit/windows/local/cve_2024_30085_cloud_files`) targeting this same bug was folded into Rapid7's Metasploit Framework and documented in Rapid7's Metasploit wrap-up post dated 2025-03-28, making a weaponized, framework-integrated exploit broadly available to penetration testers and, potentially, attackers who obtain a foothold.

Most recently, Alexandre Borges' 'Exploiting Reversing' (ER) series continued its multi-part treatment of this CVE: article 08 (2026-03-31) was part 02, and article 09 (2026-04-28) is part 03, a 106-page document (with referenced demonstration videos) presenting two refined, end-to-end exploitation editions built on the same heap overflow primitive:

- **PreviousMode edition**: uses the WNF out-of-bounds primitive combined with ALPC and pipe-attribute corruption specifically to overwrite `_KTHREAD.PreviousMode`, tricking the kernel into treating subsequent user-mode pointers as kernel-mode addresses -- a classic Windows kernel-exploitation primitive that yields arbitrary kernel read/write and SYSTEM-level code execution without needing a full token-swap chain. - **PPL Bypass edition**: extends the PreviousMode primitive to also clear/strip the `_EPROCESS.Protection` field of a target process, defeating Protected Process Light (PPL) enforcement. With PPL stripped from LSASS, the exploit chain invokes the `MiniDumpWriteDump` API against `lsass.exe` to extract NT password hashes, Kerberos tickets, and DPAPI master keys -- turning a local privilege-escalation bug into a full credential-theft primitive. Both editions include a multi-step cleanup/restoration phase that repairs the corrupted kernel structures (WNF state data, pipe attributes, thread mode) to avoid a crash-on-exit / bugcheck that would otherwise flag the exploitation attempt.

No confirmed criminal or nation-state in-the-wild exploitation of CVE-2024-30085 itself has been publicly reported; exploitation to date is documented from a security-competition demonstration (TyphoonPWN 2024) and public research/tooling releases. Because the underlying driver (cldflt.sys) ships on all supported Windows 10/11 and Windows Server releases and the new write-ups lower the bar to building a working PPL-bypass + LSASS-dumping chain, unpatched systems remain at meaningful risk and defenders should treat this as an active detection-engineering priority.

MITRE ATT&CK techniques by tactic:

Credential Access

T1003.001 OS Credential Dumping: LSASS Memory

Discovery

T1057 Process Discovery

Privilege Escalation

T1068 Exploitation for Privilege Escalation; T1134.001 Access Token Manipulation: Token Impersonation/Theft; T1611 Escape to Host

Execution

T1106 Native API

Defense Evasion

T1134 Access Token Manipulation; T1211 Exploitation for Stealth

Resource Development

T1587.004 Develop Capabilities: Exploits; T1588.005 Exploits; T1588.006 Vulnerabilities

defense-impairment

T1685 Disable or Modify Tools

Remediation

Patches

  • KB5039211 (Microsoft June 2024 Patch Tuesday) - adds a bounds check (`cmp r14d, 0x1000`) in HsmIBitmapNORMALOpen before the vulnerable memcpy.

Immediate actions

  • Apply the June 2024 Microsoft cumulative update (KB5039211) that patches CVE-2024-30085 on all affected Windows 10, Windows 11, and Windows Server systems.
  • Verify patch status via vulnerability scanning/CMDB for any endpoints still exposing unpatched cldflt.sys builds.
  • Enable LSA Protection (RunAsPPL) and Credential Guard to raise the bar against the PPL-bypass + LSASS-dumping edition of the exploit chain.
  • Alert and investigate any unexpected handle/process access to lsass.exe combined with MiniDumpWriteDump-style API calls from non-security-tool processes.

Workarounds

  • No supported workaround beyond patching exists for cldflt.sys, since the driver is required for OneDrive/cloud-placeholder file functionality; where feasible, restrict or disable Cloud Files API usage on high-value hosts pending patch deployment.

Longer-term hardening

  • Deploy EDR/ETW-based kernel telemetry capable of flagging anomalous WNF state-data writes, ALPC message spraying, and pipe-attribute manipulation from user-mode processes.
  • Instrument and alert on cldflt.sys fault/bugcheck events and unusual reparse-point operations against cloud-placeholder files.
  • Maintain an accelerated patch cadence for Windows kernel-mode driver CVEs with public PoC code, given the historical pattern of competition PoCs (TyphoonPWN) becoming public exploits within months.
  • Periodically re-validate detection content against newly published exploitation research (e.g., the Exploiting Reversing ER series) for this driver family.

Affected and fixed versions

  • Microsoft — Windows Cloud Files Mini Filter Driver (cldflt.sys)
    Vulnerable versions: Windows 10 1809; Windows 10 21H2; Windows 10 22H2; Windows 11 21H2; Windows 11 22H2; Windows 11 23H2; Windows Server 2019; Windows Server 2022
    Fixed in: Windows 10 22H2 with KB5039211; All affected builds with June 2024 cumulative update or later

Timeline

Last updated · 2 updates · revalidated 2× · latest source

  • Per the ZDI Pwn2Own Vancouver 2024 Day One results, Theori (Gwangun Jung, Junoh Lee) demonstrates the cldflt.sys heap overflow in a VMware Workstation guest-to-host escape, earning 13 Master of Pwn points and $130,000. This ZDI-sourced date differs from the 2024-03-22 date recorded from ER article 08.
  • Per ER article 08, Team Theori demonstrates the underlying cldflt.sys bug at Pwn2Own Vancouver 2024 in a VMware Workstation guest-to-host escape on Windows 10 22H2 (source-reported; differs from the TyphoonPWN 2024 date already recorded).
  • A private, weaponized exploit for the cldflt.sys heap overflow is demonstrated at the TyphoonPWN 2024 competition as a stage in a VMware Workstation Guest-to-Host escape chain.
  • Microsoft publishes the CVE-2024-30085 advisory and ships a fix (KB5039211, June 2024 Patch Tuesday) adding a bounds check to HsmIBitmapNORMALOpen in cldflt.sys.
  • STAR Labs (Cherie-Anne Lee) publishes a root-cause analysis and public proof-of-concept source code (locked-ioc-3/locked-ioc-4) for CVE-2024-30085 via the star-sg/CVE GitHub repository.
  • STAR Labs publishes the detailed exploitation write-up 'All I Want for Christmas is a CVE-2024-30085 Exploit', describing the WNF/ALPC/PipeAttribute exploit chain to SYSTEM privileges.
  • CISA records an SSVC assessment for CVE-2024-30085: exploitation 'proof-of-concept available', automatable 'no', technical impact 'total'.
  • Positive Technologies (dbugs) and independent researchers publish follow-on analyses of the vulnerability's root cause and exploitation primitives.
  • Core Security publishes an independent public exploit implementation for CVE-2024-30085, alongside the Rapid7 Metasploit module, further broadening weaponized availability.
  • A Metasploit local-exploit module (exploit/windows/local/cve_2024_30085_cloud_files) targeting CVE-2024-30085 is documented in Rapid7's Metasploit wrap-up, broadening availability of a weaponized exploit.
  • RedDog Security publishes 'Elevating Privileges in Windows: Insights into CVE-2024-30085', an independent walkthrough of the WNF/ALPC exploitation mechanism.
  • Alexandre Borges publishes the first part of the Exploiting Reversing series coverage of CVE-2024-30085 exploitation.
  • ER article 08 (part 02, 91 pages) presents two chains: an improved ALPC+WNF+PipeAttribute chain corrupting I/O Ring RegBuffers, and a pure WNF+I/O Ring chain that removes the ALPC dependency.
  • Alexandre Borges publishes Exploiting Reversing (ER) series article 08 (part 02), continuing technical analysis of CVE-2024-30085 exploitation.
  • Alexandre Borges publishes ER series article 09 (part 03), a 106-page write-up presenting two new exploitation editions for CVE-2024-30085: a PreviousMode privilege-escalation chain and a PPL Bypass chain that adds LSASS credential extraction via MiniDumpWriteDump.

Update history

Sources cited

Other reports on CVE-2024-30085

Other reports on CVE-2025-62221

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 9 sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats