CVE-2024-38144

8.8 HIGH

📋 TL;DR

This vulnerability allows attackers to gain SYSTEM-level privileges on Windows systems by exploiting an integer overflow in the Kernel Streaming WOW Thunk Service Driver. It affects Windows systems where this driver is present and enabled, primarily impacting servers and workstations running vulnerable Windows versions.

💻 Affected Systems

Products:
  • Windows
Versions: Windows 10, Windows 11, Windows Server 2019, Windows Server 2022
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Affects systems with the Kernel Streaming WOW Thunk Service Driver enabled (typically present by default).

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with SYSTEM privileges, enabling installation of malware, data theft, lateral movement, and persistence mechanisms.

🟠

Likely Case

Local privilege escalation from a lower-privileged user account to SYSTEM, enabling attackers to bypass security controls and maintain persistence.

🟢

If Mitigated

Limited impact if proper access controls, least privilege principles, and endpoint protection are in place to detect and block exploitation attempts.

🌐 Internet-Facing: LOW - Requires local access or ability to execute code on the target system first.
🏢 Internal Only: HIGH - Significant risk for internal systems where attackers could gain initial access through other means and then escalate privileges.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Requires local access and ability to execute code with some privileges. Exploitation involves triggering an integer overflow condition.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: July 2024 security updates (KB5040442 for Windows 10, KB5040437 for Windows 11, etc.)

Vendor Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-38144

Restart Required: Yes

Instructions:

1. Apply July 2024 Windows security updates via Windows Update. 2. For enterprise environments, deploy through WSUS or Microsoft Endpoint Configuration Manager. 3. Restart systems after patch installation.

🔧 Temporary Workarounds

Disable Kernel Streaming WOW Thunk Service Driver

windows

Disables the vulnerable driver component if not required for system functionality.

sc config ks.sys start= disabled
sc stop ks.sys

🧯 If You Can't Patch

  • Implement strict access controls and least privilege principles to limit local user privileges.
  • Deploy endpoint detection and response (EDR) solutions to monitor for privilege escalation attempts.

🔍 How to Verify

Check if Vulnerable:

Check Windows version and patch level via winver or systeminfo command. Vulnerable if running affected Windows versions without July 2024 security updates.

Check Version:

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

Verify Fix Applied:

Verify July 2024 security updates are installed via Settings > Windows Update > Update history or using 'wmic qfe list' command.

📡 Detection & Monitoring

Log Indicators:

  • Event ID 4697 (Service installation) for ks.sys driver
  • Unexpected privilege escalation events in security logs

Network Indicators:

  • Not network exploitable - focus on host-based detection

SIEM Query:

EventID=4697 AND ServiceFileName="*ks.sys*" OR ProcessName="*ks*" AND PrivilegeChange

🔗 References

📤 Share & Export