Threat reportVulnerabilityTL-2026-4942
CVE-2023-36802 mskssrv.sys Type Confusion LPE - Public Exploitation Write-up (StarLabs)
STAR Labs SG published a technical write-up (2026-06-24) detailing full exploitation of CVE-2023-36802, a type-confusion vulnerability in the Microsoft Streaming Service Proxy kernel driver (mskssrv.sys) affecting Windows 11 22H2 builds prior to 22621.2283. CVE-2023-36802 was originally disclosed and patched in Microsoft's September 2023 Patch Tuesday and was added to CISA's Known Exploited Vulnerabilities catalog on the same day as actively exploited. First disclosed .
Key facts
| Identifiers | TL-2026-4942, CVE-2023-36802 |
|---|---|
| Severity | HIGH |
| CVSS | 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) |
| First disclosed | |
| Exploitation status | Linked CVE exploited in the wild; Listed in CISA KEV: CVE-2023-36802 (added ) |
| EPSS | CVE-2023-36802: 27.9% (98.0th percentile) |
| Affected products | Microsoft Windows 11; Microsoft Windows 10; Microsoft Windows Server 2019; Microsoft Windows Server 2022 |
| Weaknesses (CWE) | CWE-416 |
| Malware | Windows10 |
| MITRE ATT&CK techniques | T1082 System Information Discovery, T1106 Native API, T1134 Access Token Manipulation, T1134.001 Access Token Manipulation: Token Impersonation/Theft, T1587.004 Develop Capabilities: Exploits, T1588.005 Obtain Capabilities: Exploits |
| Motivation | UNKNOWN |
| Target sectors | government administration, technology, finance, health, criticalinfrastructure, enterprise |
| Target regions | Global |
| Detection rules | 9 (1 shown free) |
| Sources | 7 cited sources |
Detection coverage
As of 2026-11-01, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-4942 across Splunk SPL, Microsoft KQL and Sigma, covering 4 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-2023-36802 mskssrv.sys LPE - SYSTEM Child Process of User-Writable-Path Parent
Detects a SYSTEM-integrity process created by a parent image running from a user-writable directory (Users, ProgramData, Windows\Temp, PerfLogs). This is the observable outcome of the CVE-2023-36802 mskssrv.sys type-confusion chain (heap grooming, NPFS corruption, arbitrary R/W, EPROCESS ActiveProcessLinks SYSTEM token theft), after which the exploit process holds the PID 4 token and spawns a SYSTEM shell or payload. Behaviour-first, so it also catches other kernel token-swap LPEs.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1068, T1134.001, T1106
- Data sources: sysmon, index=sysmon XmlWinEventLog:Microsoft-Windows-Sysmon/Operational EventCode 1, DeviceProcessEvents
- Severity: high
- Confidence: high
Splunk SPL
index=sysmon sourcetype="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=1 User="NT AUTHORITY*SYSTEM" IntegrityLevel=System ```CVE-2023-36802 token-theft outcome: SYSTEM child of a parent staged in a user-writable path```
| where match(ParentImage, "(?i)^[a-z]:.(users|programdata|windows.temp|perflogs).")
| where NOT match(ParentImage, "(?i)programdata.microsoft.(windows defender|edge)")
| where NOT match(Image, "(?i)(conhost|werfault|wermgr)[.]exe$")
| stats count min(_time) as first_seen values(Image) as child_images values(CommandLine) as child_cmdlines by Computer ParentImage ParentCommandLine
| convert ctime(first_seen)Microsoft KQL
DeviceProcessEvents
| where Timestamp > ago(24h)
| where AccountSid == "S-1-5-18"
| where InitiatingProcessFolderPath matches regex @"(?i)^[a-z]:.(users|programdata|windows.temp|perflogs)."
| where InitiatingProcessFolderPath !matches regex @"(?i)programdata.microsoft.(windows defender|edge)"
| where FileName !in~ ("conhost.exe", "werfault.exe", "wermgr.exe")
| project Timestamp, DeviceName, AccountName, FileName, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessFolderPath, InitiatingProcessCommandLine, InitiatingProcessAccountNameSigma
title: SYSTEM Process Spawned by User-Writable-Path Parent - CVE-2023-36802 Token Theft
id: 7c1d5a3e-2b4f-4e8a-9d61-3f0a8b5c2e14
status: experimental
description: Detects a SYSTEM-integrity process whose parent image runs from a user-writable directory, the post-exploitation outcome of the CVE-2023-36802 mskssrv.sys token-swap exploitation chain.
references:
- https://starlabs.sg/blog/2026/06-old-bug-harder-rules-exploiting-cve-2023-36802-without-the-usual-shortcuts/
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36802
author: Threadlinqs Team
date: 2026/11/01
tags:
- attack.privilege-escalation
- attack.t1068
- attack.t1134.001
- cve.2023-36802
logsource:
category: process_creation
product: windows
detection:
selection:
IntegrityLevel: 'System'
User|contains: 'SYSTEM'
ParentImage|contains:
- '\Users\'
- '\ProgramData\'
- '\Windows\Temp\'
- '\PerfLogs\'
filter_main_defender:
ParentImage|contains: '\ProgramData\Microsoft\Windows Defender\'
filter_main_noise:
Image|endswith:
- '\conhost.exe'
- '\WerFault.exe'
- '\wermgr.exe'
condition: selection and not 1 of filter_main_*
falsepositives:
- Software deployment agents or installers staged in ProgramData that run as SYSTEM
level: highKnown false positives:
- Endpoint management or software deployment agents (SCCM, Intune extensions, RMM tools) that stage binaries under ProgramData and execute as SYSTEM
- Vendor installers or auto-updaters launched by a SYSTEM service from a Temp or ProgramData path
Tuning notes: Allowlist known management-agent parent images by path plus signer, and baseline Computer/ParentImage pairs for 14 days before alerting. Requires Sysmon event 1 with User and IntegrityLevel fields. Raise to critical when the child is cmd.exe, powershell.exe or pwsh.exe and the parent was first seen in the last 24 hours.
- CVE-2023-36802 Microsoft Streaming Service Proxy ([indicator]) Service Start · unlock with TL Creds
- CVE-2023-36802 Post-Exploitation - SYSTEM Discovery Commands from User-Writable Parent · unlock with TL Creds
- CVE-2023-36802 Primary Token Modified to SYSTEM by Non-System Binary · unlock with TL Creds
- CVE-2023-36802 Exploit Trigger Artifacts - mskssrv Device Interface and IOCTL Strings in PowerShell · unlock with TL Creds
- CVE-2023-36802 Post-Exploitation - SYSTEM Persistence or Account Tampering from User-Writable Parent · unlock with TL Creds
- CVE-2023-36802 Microsoft Defender Exploit Detection Alert · unlock with TL Creds
- CVE-2023-36802 Post-Exploitation - SYSTEM Network/File/Registry Activity from User-Writable Image · unlock with TL Creds
- CVE-2023-36802 NPFS Heap Grooming - Named Pipe Spray from Non-System Path · unlock with TL Creds
Indicators of compromise
As of 2026-11-01, Threadlinqs Intelligence tracks 4 indicators of compromise for TL-2026-4942.
Technical analysis
The new write-up provides C trigger code and a modernized exploitation chain (heap grooming, NPFS queue corruption, arbitrary read/write, token theft) that deliberately avoids previously-documented shortcuts.
CVE-2023-36802 is a type-confusion vulnerability (tracked by NVD under CWE-416, Use-After-Free) in `mskssrv.sys`, the kernel-mode Microsoft Streaming Service Proxy driver used by the legacy Media Foundation / DirectShow streaming stack on Windows. The root cause lies in `FSRendezvousServer::FindObject()`, which looked up kernel objects across two internal object lists -- `FSContextReg` (TypeId=1, allocated with pool tag `CreG`, 0x78 bytes) and `FSStreamReg` (TypeId=2, pool tag `SreG`, 0x1D8 bytes) -- without validating that the returned object actually matched the caller-expected type. A low-privileged, unauthenticated-to-the-driver local caller could register a small `FSContextReg` object and then invoke stream-handling IOCTLs that treat it as the much larger `FSStreamReg` structure, producing an out-of-bounds read/write primitive rooted in the size mismatch (0x78 vs 0x1D8 bytes).
The vulnerability was originally disclosed and patched during Microsoft's September 2023 Patch Tuesday (KB5030211, KB5030214, KB5030217, KB5030219), was independently credited to IBM X-Force, and was added to CISA's Known Exploited Vulnerabilities (KEV) catalog the same day the advisory was published, indicating confirmed in-the-wild exploitation at disclosure. Microsoft's fix renamed the vulnerable lookup function to `FindStreamObject` and added an explicit `TypeId == 2` check before treating a looked-up object as a stream registration.
On 2026-06-24, STAR Labs SG (researcher Nguyễn Đức Hiếu, @peter_clowncs, mentored by Dang Nguyen, @MochiNishimiya) published "Old Bug, Harder Rules: Exploiting CVE-2023-36802 Without the Usual Shortcuts," a deep technical retrospective explicitly built to avoid two common post-patch crutches: `NtQuerySystemInformation()`-style kernel-address disclosure, and abuse of the `PreviousMode` field for arbitrary kernel read/write. The write-up documents, with C trigger code, a full modern exploitation chain against vulnerable build 22621.1848 (patched in 22621.2283): triggering the type confusion via a sequence of custom IOCTLs against the driver's device interface; leaking adjacent heap contents through `FSStreamReg::GetStats()` to recover a Named Pipe File System (NPFS) `Flink` pointer; grooming the Low Fragmentation Heap by spraying NPFS objects and `CreG`-tagged allocations (using `CancelIoEx()` to unlink and realign queue entries); corrupting the leaked pointer via an arbitrary-decrement primitive reached through `FSStreamReg::PublishRx()` calling `ObfDereferenceObject()` (an earlier arbitrary-write path through `FSFrameMdl::UnmapPages()` is described as unreliable and abandoned); redirecting a corrupted NPFS Data Queue Entry into attacker-controlled memory; using `PeekNamedPipe()` to obtain an arbitrary kernel read; pivoting through a leaked `ETHREAD`/`EPROCESS` pair to obtain an arbitrary kernel write via buffered I/O completion (`IofCompleteRequest()`); and finally walking `_EPROCESS.ActiveProcessLinks` to locate the SYSTEM process (PID 4) and overwrite the calling process's token pointer, yielding full `NT AUTHORITY\SYSTEM` privileges from a standard user context.
Because the underlying CVE is already patched (since September 2023) and the new publication is a research/educational retrospective rather than evidence of a fresh campaign, this threat is tracked for defenders as public, reusable exploitation tradecraft against any still-unpatched Windows 10/11 or Windows Server host, and as a reference chain (type confusion -> heap grooming -> NPFS corruption -> arbitrary R/W -> token theft) that is broadly reusable against other Windows kernel object-confusion bugs.
MITRE ATT&CK techniques by tactic:
Discovery
T1082 System Information Discovery
Execution
Privilege Escalation
T1134 Access Token Manipulation
Defense Evasion
T1134.001 Access Token Manipulation: Token Impersonation/Theft
Resource Development
T1587.004 Develop Capabilities: Exploits; T1588.005 Obtain Capabilities: Exploits
Remediation
Patches
- KB5030211 (Windows Server 2019 / Windows 10 1809) - fixed build 10.0.17763.4851
- KB5030214 (Windows 11 22H2) - fixed build 10.0.22621.2283
- KB5030217 (Windows Server 2022) - fixed build 10.0.20348.1970
- KB5030219 (Windows 10 22H2)
Immediate actions
- Verify all Windows 10, Windows 11, and Windows Server hosts have the September 2023 security updates (KB5030211, KB5030214, KB5030217, KB5030219) or later applied.
- Confirm Windows 11 22H2 systems are at build 22621.2283 or later.
- Prioritize patching for CISA Known Exploited Vulnerabilities (KEV) compliance; this CVE's federal remediation deadline (2023-10-03) has already passed and any unpatched host should be treated as overdue-critical.
- Hunt for anomalous DeviceIoControl activity against the Microsoft Streaming Service Proxy device interface and unexpected NPFS/named-pipe queue manipulation preceding SYSTEM-level token changes.
Workarounds
- No official workaround beyond applying the patch is documented by Microsoft; where patching is delayed, restrict local logon/interactive access on affected endpoints to trusted users only.
Longer-term hardening
- Disable or restrict access to legacy Media Foundation / DirectShow / Microsoft Streaming Service Proxy kernel driver interfaces on systems that do not require legacy streaming functionality.
- Deploy EDR/kernel-callback based detection for anomalous token-handle duplication and process token swaps to SYSTEM from low-integrity processes.
- Maintain a rapid patch-validation pipeline for KEV-listed local privilege escalation CVEs given their reliable weaponization against unpatched endpoints.
- Apply the principle of least privilege and local admin restriction to reduce the value of any single LPE primitive.
Affected and fixed versions
- Microsoft — Windows 11
Vulnerable versions: 22H2 build 22621.1848
Fixed in: 22H2 build 22621.2283 (KB5030214) - Microsoft — Windows 10
Vulnerable versions: Version 1809; Version 22H2
Fixed in: 10.0.17763.4851 (KB5030211); 22H2 (KB5030219) - Microsoft — Windows Server 2019
Vulnerable versions: pre-September 2023 builds
Fixed in: 10.0.17763.4851 (KB5030211) - Microsoft — Windows Server 2022
Vulnerable versions: pre-September 2023 builds
Fixed in: 10.0.20348.1970 (KB5030217)
Timeline
- CISA adds CVE-2023-36802 to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation.
- Microsoft releases fixes for affected Windows 10, Windows 11, and Windows Server builds (KB5030211, KB5030214, KB5030217, KB5030219), renaming the vulnerable FSRendezvousServer::FindObject lookup to FindStreamObject and adding a TypeId==2 validation check.
- CVE-2023-36802 publicly disclosed by Microsoft as part of September 2023 Patch Tuesday; MSRC notes the vulnerability had already been exploited in the wild at time of disclosure.
- CISA Binding Operational Directive 22-01 remediation deadline for federal civilian executive branch agencies to patch CVE-2023-36802.
- Write-up documents a novel exploitation path (arbitrary-decrement primitive via ObfDereferenceObject plus NPFS Data Queue Entry corruption) that avoids NtQuerySystemInformation-based KASLR leaks and PreviousMode abuse, both common post-patch exploitation shortcuts.
- STAR Labs SG publishes "Old Bug, Harder Rules: Exploiting CVE-2023-36802 Without the Usual Shortcuts," including C trigger code and a full modern exploitation chain for the patched vulnerability.
Sources cited
- NVD - CVE-2023-36802 Detail NVD (NIST) · Advisory · 2023-09-12
- CISA Known Exploited Vulnerabilities Catalog - CVE-2023-36802 CISA · Government advisory · 2023-09-12
- CERT-EU Security Advisory 2023-064 - Microsoft September 2023 Patch Tuesday CERT-EU · Advisory · 2023-09-12
- Old Bug, Harder Rules: Exploiting CVE-2023-36802 Without the Usual Shortcuts starlabs.sg · Research · 2026-06-24
- CVE-2023-36802 - Microsoft Streaming Service Proxy Elevation of Privilege Vulnerability Microsoft Security Response Center · Vendor report · 2023-09-12
- STAR Labs Patch Tuesday Analysis - CVE-2023-36802 (2023-09) onlyfm252.starlabs.sg · Research · 2023-09-12
- Microsoft September 2023 Patch Tuesday isc.sans.edu · Blog · 2023-09-12
Other reports on CVE-2023-36802
Previous and next in vulnerability
- lz1 LZ77 Decompression Stack Buffer Overflow — Public Exploit PoC with Full ROP Chain to Reverse Shell (STAR Labs Summer Pwnables 2025) Previous report
- Płatnik Vulnerabilities: CVE-2026-110970, CVE-2026-110971, CVE-2026-110972 (HTTP reliance, weak password encoding, client-side authentication) Next report
Drafted by the Threadlinqs research pipeline from 7 sources; published ; last updated —.