CVE-2023-36424 Elastic Security · Elastic

Detect CVE-2023-36424 - Microsoft Windows Out-of-Bounds Read Exploitation in Elastic Security

Detects exploitation attempts of CVE-2023-36424, a Microsoft Windows out-of-bounds read vulnerability (CWE-125) listed in CISA's Known Exploited Vulnerabilities catalog. Out-of-bounds read vulnerabilities in Windows kernel or system components can be leveraged for privilege escalation, information disclosure, or as a stepping stone in exploit chains. This detection monitors for anomalous process behavior, crash artifacts, and privilege escalation patterns consistent with exploitation of this class of vulnerability.

MITRE ATT&CK

Tactic
Privilege Escalation Credential Access Execution

Elastic Detection Query

Elastic Security (Elastic)
eql
sequence by host.name with maxspan=10m
  [process where event.action == "start" and
   (process.name : "werfault.exe" or process.parent.name : "werfault.exe") and
   not user.name : ("*$", "SYSTEM", "LOCAL SERVICE", "NETWORK SERVICE")]
  [any where event.action in ("access_violation", "privilege_escalation") or
   (event.code == "4672" and not user.name : "*$") or
   (event.code == "4688" and process.name : ("cmd.exe", "powershell.exe", "mshta.exe"))]
high severity medium confidence

Elastic EQL sequence detection correlating Windows Error Reporting process starts with subsequent privilege events or suspicious child process spawning, which may indicate exploitation of CVE-2023-36424.

Data Sources

Windows Security Event LogElastic Endpoint

Required Tables

logs-endpoint.events.process-*logs-windows.security-*

False Positives & Tuning

  • Legitimate werfault.exe invocations following unrelated application crashes
  • Administrative scripts that launch PowerShell after crash handling routines
  • Security tools that intentionally trigger controlled crashes for testing purposes
  • Software update processes that briefly spawn shells during patching workflows

Other platforms for CVE-2023-36424


Testing Methodology

Validate this detection against 4 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.

  1. Test 1Simulate Out-of-Bounds Read Crash via Malformed Input

    Expected signal: Windows Event ID 1000 (Application Error) and 1001 (WER) in Application log; WerFault.exe process launch visible in Sysmon Event ID 1; crash dump file created in %LOCALAPPDATA%\CrashDumps

  2. Test 2Privilege Escalation Simulation Following Crash Artifact

    Expected signal: Windows Event ID 4672 (Special Privileges Assigned) in Security log; Process creation events in Sysmon for cmd.exe and powershell.exe; elevated process token in DeviceProcessEvents

  3. Test 3Memory Dump Creation Mimicking Exploit Artifact

    Expected signal: Sysmon Event ID 11 (FileCreate) for .dmp file in CrashDumps directory; DeviceFileEvents entry for the dump file creation; rundll32.exe process creation with comsvcs.dll MiniDump arguments in process telemetry

  4. Test 4WerFault.exe Manual Invocation Simulation

    Expected signal: Sysmon Event ID 1 showing WerFault.exe launched by PowerShell (non-standard parent); DeviceProcessEvents with FileName=werfault.exe and InitiatingProcessFileName=powershell.exe; potential Event ID 1001 in Application log

Unlock Pro Content

Get the full detection package for CVE-2023-36424 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections