Skip to main content
Vulnerability Database/CVE-2024-38187

CVE-2024-38187: Windows 10 1607 Privilege Escalation Flaw

CVE-2024-38187 is a privilege escalation vulnerability in Windows 10 1607 Kernel-Mode Driver that enables attackers to gain elevated system privileges. This article covers the technical details, affected versions, and mitigation.

Published:

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-38187 Overview

CVE-2024-38187 is an elevation of privilege vulnerability in the Windows Kernel-Mode Driver. The flaw affects supported versions of Windows 10, Windows 11, and Windows Server (2016 through 2022 23H2). An authenticated local attacker can exploit the vulnerability to gain elevated privileges on the affected system. The weakness maps to [CWE-822: Untrusted Pointer Dereference], indicating the kernel driver dereferences a pointer whose value is influenced by user-mode input. Microsoft published the advisory on August 13, 2024 as part of the monthly security update cycle.

Critical Impact

Successful exploitation grants kernel-level privileges, allowing attackers to execute code in SYSTEM context, disable security tooling, and establish persistence on compromised Windows hosts.

Affected Products

  • Microsoft Windows 10 (1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (21H2, 22H2, 23H2)
  • Microsoft Windows Server 2016, 2019, 2022, and 2022 23H2

Discovery Timeline

  • 2024-08-13 - CVE-2024-38187 published to NVD
  • 2024-08-13 - Microsoft releases security patch via August 2024 Patch Tuesday
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-38187

Vulnerability Analysis

The vulnerability resides in a Windows Kernel-Mode Driver component shipped with every supported Windows release. According to Microsoft's advisory and the associated Talos Intelligence report (TALOS-2024-1969), the issue allows a local, authenticated attacker to escalate privileges to SYSTEM. The CWE-822 classification indicates the driver dereferences an untrusted pointer sourced from user-mode without sufficient validation. Exploitation requires low privileges and no user interaction, making the vulnerability well-suited for the post-compromise phase of an intrusion. An attacker who already holds a standard user token can chain this flaw with initial-access techniques to achieve full kernel execution.

Root Cause

The root cause is an untrusted pointer dereference inside a kernel-mode driver routine reachable from user space. When the driver processes a crafted input structure, it treats an attacker-controlled value as a valid kernel pointer and performs read or write operations against it. Because the dereference occurs at Ring 0, memory corruption directly translates into kernel object manipulation.

Attack Vector

The attack vector is local. The attacker executes a crafted program on the target host, issues an IOCTL or system call that reaches the vulnerable kernel driver interface, and supplies a malformed pointer or structure. The driver dereferences the attacker-controlled pointer and performs a privileged operation that the attacker uses to overwrite kernel structures or token data, resulting in elevation to NT AUTHORITY\SYSTEM.

No public proof-of-concept exploit is listed in the NVD data at publication time. Technical specifics are documented in the Talos Intelligence TALOS-2024-1969 Report.

Detection Methods for CVE-2024-38187

Indicators of Compromise

  • Unexpected processes spawning child processes under NT AUTHORITY\SYSTEM from a standard user session.
  • Loading or interaction with the vulnerable kernel driver by non-administrative processes immediately before privilege changes.
  • Bugcheck events (0x0000003B, 0x0000007E, or 0x00000050) correlated with user-mode activity, indicating failed exploitation attempts.

Detection Strategies

  • Hunt for processes created with elevated tokens that were spawned by medium-integrity parents without a legitimate elevation path (UAC, service control).
  • Correlate Windows Error Reporting (WER) crash telemetry with suspicious binaries recently executed by the same user.
  • Review Sysmon Event ID 1 and 10 records for anomalous handle access to \Device\ objects exposed by kernel drivers.

Monitoring Recommendations

  • Enable kernel driver load auditing (Audit Kernel Object) and Driver Code Integrity events on all endpoints.
  • Centralize Windows Security, System, and Sysmon logs in a SIEM for cross-host correlation of privilege escalation patterns.
  • Monitor for creation of new services or scheduled tasks within seconds of unexplained token elevation events.

How to Mitigate CVE-2024-38187

Immediate Actions Required

  • Apply the August 2024 Microsoft security update to all affected Windows 10, Windows 11, and Windows Server systems.
  • Prioritize patching on multi-user systems, Remote Desktop Session Hosts, and virtual desktop infrastructure where local accounts are most prevalent.
  • Audit administrative accounts and remove unnecessary local logon rights on servers and workstations.

Patch Information

Microsoft addressed CVE-2024-38187 in the August 13, 2024 Patch Tuesday release. Refer to the Microsoft CVE-2024-38187 Advisory for the complete list of KB articles mapped to each Windows build. Apply the cumulative update that corresponds to the specific OS version and architecture deployed in the environment.

Workarounds

  • No official vendor workaround exists; patching is the supported remediation.
  • Enforce least-privilege policies and application allow-listing (Windows Defender Application Control or AppLocker) to limit which binaries can reach the vulnerable driver interface.
  • Enable Hypervisor-Protected Code Integrity (HVCI) and Virtualization-Based Security (VBS) to raise the cost of kernel exploitation on supported hardware.
bash
# Verify installed updates on a Windows host
wmic qfe list brief /format:table

# PowerShell equivalent
Get-HotFix | Sort-Object -Property InstalledOn -Descending | Select-Object -First 20

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.