Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-38245 Overview
CVE-2024-38245 is an elevation of privilege vulnerability in the Microsoft Windows Kernel Streaming Service Driver. The flaw affects a broad range of Windows client and server versions, from Windows Server 2008 through Windows 11 24H2 and Windows Server 2022 23H2. A local, authenticated attacker who successfully exploits the vulnerability can elevate privileges to SYSTEM, gaining full control over the affected host. Microsoft classifies the root cause under [CWE-20: Improper Input Validation]. The issue was published on September 10, 2024, as part of Microsoft's Patch Tuesday release.
Critical Impact
Local attackers with low privileges can escalate to SYSTEM-level access, compromising confidentiality, integrity, and availability of the Windows host.
Affected Products
- Microsoft Windows 10 (1507, 1607, 1809, 21H2, 22H2) and Windows 11 (21H2, 22H2, 23H2, 24H2)
- Microsoft Windows Server 2008 SP2, Server 2008 R2, Server 2012, and Server 2012 R2
- Microsoft Windows Server 2016, 2019, 2022, and Server 2022 23H2
Discovery Timeline
- 2024-09-10 - CVE-2024-38245 assigned and published to NVD
- 2024-09-10 - Microsoft releases security patch via September 2024 Patch Tuesday
- 2026-08-10 - Last updated in NVD database
Technical Details for CVE-2024-38245
Vulnerability Analysis
The vulnerability resides in the Windows Kernel Streaming Service Driver (ks.sys), a kernel-mode component that handles audio, video, and other streaming data between user-mode applications and hardware drivers. Microsoft categorizes the defect as [CWE-20: Improper Input Validation]. An authenticated local user can send crafted input to the driver through its exposed IOCTL interface and trigger behavior that leads to privilege elevation.
Successful exploitation yields execution in kernel context, which translates to SYSTEM privileges in user space. The attacker gains the ability to install programs, view, change, or delete data, and create new accounts with full user rights. Microsoft classifies the attack complexity as low and does not require user interaction beyond the attacker's own session.
Root Cause
The root cause is improper validation of input passed to the Kernel Streaming Service Driver. Kernel Streaming components historically expose a wide IOCTL surface, and insufficient checks on caller-supplied data allow a local process to drive the driver into an unsafe state. The EPSS probability sits at 0.874%, reflecting modest predicted exploitation activity but a non-trivial local attack surface.
Attack Vector
Exploitation requires local access and valid credentials on the target system. An attacker opens a handle to a Kernel Streaming device object and issues crafted IOCTL requests. Because the driver executes in Ring 0, flaws in parameter validation translate directly into kernel-mode primitives usable for privilege escalation. Remote exploitation is not possible without a prior foothold, making this vulnerability typically chained after initial access via phishing, malicious documents, or supply-chain intrusions.
No public proof-of-concept exploit has been published, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Technical specifics are described in prose because no verified exploit code is available in public references.
Detection Methods for CVE-2024-38245
Indicators of Compromise
- Unexpected processes spawning as NT AUTHORITY\SYSTEM from parent processes running under standard user accounts.
- Loading or interaction with ks.sys from non-media applications or recently dropped binaries.
- New services, scheduled tasks, or local administrator accounts created shortly after a user-mode process accessed kernel streaming device objects.
Detection Strategies
- Monitor for anomalous DeviceIoControl calls targeting Kernel Streaming device paths such as \\.\KsEnumerator or related \Device\KSENUM* objects from unusual processes.
- Alert on process token elevation events where a non-privileged parent spawns a SYSTEM-level child without a legitimate elevation path.
- Correlate Windows Event ID 4688 (process creation) with suspicious driver interactions and subsequent privilege changes.
Monitoring Recommendations
- Enable kernel-mode auditing and Sysmon with configurations that capture driver load events (Event ID 6) and process access events (Event ID 10).
- Baseline normal callers of Kernel Streaming APIs on each endpoint fleet and flag deviations.
- Centralize endpoint telemetry in a SIEM or data lake and hunt for sequential patterns of local user activity followed by SYSTEM-context command execution.
How to Mitigate CVE-2024-38245
Immediate Actions Required
- Apply the September 2024 Microsoft security updates to all affected Windows client and server versions without delay.
- Prioritize patching on multi-user systems, Remote Desktop Session Hosts, and VDI infrastructure where local-only exploitation is most relevant.
- Enforce the principle of least privilege and remove unnecessary local accounts to reduce the pool of authenticated users who could launch an exploit.
Patch Information
Microsoft released fixes for CVE-2024-38245 through the September 2024 Patch Tuesday cumulative updates. Administrators should consult the Microsoft CVE-2024-38245 Update Guide for the specific KB article and build numbers corresponding to each supported Windows version.
Workarounds
- No official Microsoft workaround is published; patching is the supported remediation path.
- Restrict interactive and remote logon rights on sensitive systems to limit which users can execute local code.
- Deploy application control policies such as Windows Defender Application Control (WDAC) or AppLocker to block execution of untrusted binaries that could stage a local privilege escalation.
# Verify the September 2024 cumulative update is installed (PowerShell)
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 10
# Confirm the Kernel Streaming driver version
Get-Item C:\Windows\System32\drivers\ks.sys | Select-Object Name, VersionInfo
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

