CVE-2026-21513 Splunk · SPL

Detect CVE-2026-21513 — Microsoft MSHTML Framework Protection Mechanism Failure in Splunk

Detects exploitation of CVE-2026-21513, a protection mechanism failure (CWE-693) in the Microsoft MSHTML framework on Windows. This KEV-listed vulnerability allows attackers to bypass security controls implemented in MSHTML, potentially enabling code execution via crafted web content processed by Internet Explorer compatibility components, Microsoft Office documents embedding web content, or applications using the WebBrowser control. Active exploitation has been confirmed by CISA.

MITRE ATT&CK

Tactic
Initial Access Execution Defense Evasion

SPL Detection Query

Splunk (SPL)
spl
index=windows sourcetype IN ("XmlWinEventLog:Microsoft-Windows-Sysmon/Operational", "WinEventLog:Security")
| eval parent_lower=lower(ParentImage)
| eval image_lower=lower(Image)
| where (
    (EventCode=1 AND
     (match(parent_lower, "(winword|excel|powerpnt|outlook|mspub|msaccess|onenote|visio)\\.exe") AND
      match(image_lower, "(cmd|powershell|wscript|cscript|mshta|rundll32|regsvr32)\\.exe")))
    OR
    (EventCode=7 AND
     match(lower(ImageLoaded), "(mshtml|ieframe|jscript9?|vbscript)\\.dll") AND
     match(parent_lower, "(winword|excel|powerpnt|outlook|mspub|msaccess)\\.exe"))
    OR
    (EventCode=3 AND
     match(image_lower, "(mshta|dllhost)\\.exe") AND
     NOT match(DestinationIp, "^(10\\.|172\\.(1[6-9]|2[0-9]|3[01])\\.|192\.168\\.)")
    )
  )
| eval alert_type=case(
    EventCode=1, "MSHTML_ChildProcess",
    EventCode=7, "MSHTML_DLLLoad",
    EventCode=3, "MSHTML_NetworkCallback",
    true(), "Unknown"
  )
| stats count AS event_count, values(alert_type) AS alert_types, values(CommandLine) AS commands, dc(alert_type) AS distinct_types
  BY host, user, ParentImage, Image, _time
| where event_count >= 1
| sort -event_count
high severity medium confidence

Detects MSHTML exploitation indicators via Sysmon events: child process spawning from Office apps (Event 1), suspicious MSHTML DLL loads (Event 7), and external network connections from MSHTML hosts (Event 3). Aggregates by host and user for triage.

Data Sources

SysmonWindows Security Event LogWindows Application Event Log

Required Sourcetypes

XmlWinEventLog:Microsoft-Windows-Sysmon/OperationalWinEventLog:Security

False Positives & Tuning

  • Legitimate Office macros that invoke scripting engines for business automation
  • Help documentation systems that render HTML content via MSHTML in Office applications
  • Third-party Office add-ins performing web lookups through embedded browser controls
  • IT support tools using remote desktop or screen capture utilities that trigger similar patterns

Other platforms for CVE-2026-21513


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 1MSHTML MkNode Method Invocation via mshta.exe

    Expected signal: Sysmon Event ID 1 showing mshta.exe spawning cmd.exe; Sysmon Event ID 7 showing mshtml.dll and vbscript.dll loaded by mshta.exe; Process creation events in Windows Security Log (Event ID 4688)

  2. Test 2Office Document Spawning Scripting Engine via MSHTML

    Expected signal: Process creation events showing WINWORD.EXE as parent of cmd.exe or powershell.exe; MSHTML DLL load events in Sysmon EventID 7 for the Office process; Network events if payload attempts callback

  3. Test 3rundll32.exe MSHTML Script Execution via ieframe.dll

    Expected signal: Sysmon Event ID 1 for rundll32.exe execution; Event ID 7 showing ieframe.dll and mshtml.dll loaded by rundll32.exe; Any network connections initiated by the rundll32.exe process to external hosts

  4. Test 4PowerShell WebBrowser COM Object MSHTML Load

    Expected signal: PowerShell process creation event; mshtml.dll loaded into powershell.exe process space (Sysmon Event ID 7); Potential network connection if URL is replaced with live payload URL

Unlock Pro Content

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

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections