CVE-2023-36725
📋 TL;DR
This Windows kernel vulnerability allows an authenticated attacker to execute arbitrary code with SYSTEM privileges by exploiting improper access control. It affects Windows 10, Windows 11, and Windows Server systems. Attackers must already have local access to the target system.
💻 Affected Systems
- Windows 10
- Windows 11
- Windows Server 2016
- Windows Server 2019
- Windows Server 2022
📦 What is this software?
Windows 10 1809 by Microsoft
Windows 10 21h2 by Microsoft
Windows 10 22h2 by Microsoft
Windows 11 21h2 by Microsoft
Windows 11 22h2 by Microsoft
⚠️ Risk & Real-World Impact
Worst Case
Complete system compromise with SYSTEM privileges, enabling installation of persistent malware, credential theft, lateral movement, and disabling of security controls.
Likely Case
Local privilege escalation from a standard user account to SYSTEM, allowing attackers to bypass security restrictions and maintain persistence.
If Mitigated
Limited impact if proper patch management and least privilege principles are enforced, though local access could still lead to privilege escalation.
🎯 Exploit Status
Requires authenticated local access. Exploitation involves kernel-level manipulation which requires technical expertise.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: October 10, 2023 security updates (KB5031356 for Windows 10, KB5031354 for Windows 11, etc.)
Vendor Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36725
Restart Required: Yes
Instructions:
1. Apply October 2023 Windows security updates via Windows Update. 2. For enterprise environments, deploy updates through WSUS or Microsoft Endpoint Configuration Manager. 3. Restart systems after update installation.
🔧 Temporary Workarounds
Restrict local user access
windowsLimit local user accounts and enforce least privilege to reduce attack surface
Enable Windows Defender Application Control
windowsRestrict execution of unauthorized code to prevent exploitation
🧯 If You Can't Patch
- Implement strict access controls and limit local administrative privileges
- Monitor for suspicious process creation and privilege escalation attempts
🔍 How to Verify
Check if Vulnerable:
Check Windows version and compare with patched versions. Systems without October 2023 security updates are vulnerable.
Check Version:
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
Verify Fix Applied:
Verify that October 2023 security updates (KB5031356, KB5031354, or equivalent) are installed via 'winver' or 'systeminfo' command.
📡 Detection & Monitoring
Log Indicators:
- Unexpected process creation with SYSTEM privileges
- Kernel-mode driver loading events
- Security log Event ID 4688 with elevated privileges
Network Indicators:
- No network indicators - local exploitation only
SIEM Query:
EventID=4688 AND NewProcessName contains 'cmd.exe' OR 'powershell.exe' AND SubjectUserName!=SYSTEM AND TokenElevationType=%%1938