CVE-2023-28229

7.0 HIGH

📋 TL;DR

This vulnerability in Windows CNG Key Isolation Service allows attackers to elevate privileges from a low-privileged user account to SYSTEM level. It affects Windows systems where the CNG service is running, primarily impacting enterprise environments with multiple user accounts.

💻 Affected Systems

Products:
  • Windows CNG Key Isolation Service
Versions: Windows 10, Windows 11, Windows Server 2016, Windows Server 2019, Windows Server 2022
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Affects systems with CNG service running, which is default on most Windows installations.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

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

🟠

Likely Case

Local privilege escalation allowing attackers to bypass security controls, access sensitive data, and move laterally within networks.

🟢

If Mitigated

Limited impact if proper patch management and least privilege principles are enforced, though still a significant security risk.

🌐 Internet-Facing: LOW - This is primarily a local privilege escalation vulnerability requiring initial access to the system.
🏢 Internal Only: HIGH - Once an attacker gains initial access (even as low-privileged user), they can exploit this to gain full system control.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: CONFIRMED
Unauthenticated Exploit: ✅ No
Complexity: LOW

Microsoft has confirmed exploitation in the wild. Requires local access to exploit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: April 2023 security updates (KB5025221 for Windows 10, KB5025239 for Windows 11, etc.)

Vendor Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-28229

Restart Required: Yes

Instructions:

1. Apply April 2023 Windows security updates via Windows Update. 2. For enterprise: Deploy through WSUS or Microsoft Endpoint Configuration Manager. 3. Restart affected systems after patch installation.

🔧 Temporary Workarounds

Disable CNG Key Isolation Service

windows

Temporarily disable the vulnerable service to prevent exploitation (may break cryptographic functionality)

sc config KeyIso start= disabled
sc stop KeyIso

🧯 If You Can't Patch

  • Implement strict least privilege access controls to limit initial access vectors
  • Monitor for suspicious process creation and privilege escalation attempts

🔍 How to Verify

Check if Vulnerable:

Check Windows version and patch level. Vulnerable if running affected Windows versions without April 2023 security updates.

Check Version:

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

Verify Fix Applied:

Verify April 2023 security updates are installed via 'systeminfo' command or Windows Update history.

📡 Detection & Monitoring

Log Indicators:

  • Event ID 4688 with parent process KeyIso.exe
  • Unexpected SYSTEM privilege escalation from low-privileged accounts

Network Indicators:

  • Not network exploitable - focus on host-based detection

SIEM Query:

Process creation where parent_process_name contains 'KeyIso.exe' AND new_process_integrity_level = 'System'

🔗 References

📤 Share & Export