Detect CVE-2026-21513 — Microsoft MSHTML Framework Protection Mechanism Failure in IBM QRadar
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
QRadar Detection Query
SELECT
DATEFORMAT(starttime, 'YYYY-MM-dd HH:mm:ss') AS event_time,
logsourcename(logsourceid) AS log_source,
username,
"sourceip",
QIDNAME(qid) AS event_name,
"Process Name" AS process_name,
"Parent Process Name" AS parent_process,
"Command" AS command_line
FROM events
WHERE
LOGSOURCETYPENAME(devicetype) IN ('Microsoft Windows Security Event Log', 'Sysmon')
AND (
(
"Parent Process Name" IMATCHES '(?i)(winword|excel|powerpnt|outlook|mspub|msaccess|onenote)\.exe'
AND "Process Name" IMATCHES '(?i)(cmd|powershell|wscript|cscript|mshta|rundll32|regsvr32)\.exe'
)
OR (
"Process Name" IMATCHES '(?i)(mshta|dllhost)\.exe'
AND NOT INCIDR('10.0.0.0/8', destinationip)
AND NOT INCIDR('172.16.0.0/12', destinationip)
AND NOT INCIDR('192.168.0.0/16', destinationip)
)
)
AND starttime > NOW() - 24 HOURS
ORDER BY starttime DESC
LIMIT 500 QRadar AQL query detecting MSHTML exploitation patterns: Office applications spawning scripting engines and MSHTML-linked processes making external network connections. Covers the primary exploitation vector for CVE-2026-21513.
Data Sources
Required Tables
False Positives & Tuning
- Business automation scripts invoked from Office macros for legitimate workflow purposes
- Help desk remote tools that temporarily load scripting components in Office context
- Security scanning or DLP solutions that hook Office application process trees
- Scheduled tasks that use Office automation COM interfaces
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.
- 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)
- 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
- 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
- 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.