Detect Microsoft Office Security Feature Bypass (CVE-2026-21509) in IBM QRadar
Detects exploitation of CVE-2026-21509, a security feature bypass vulnerability in Microsoft Office classified under CWE-807 (Reliance on Untrusted Inputs in a Security Decision). This vulnerability is actively exploited in the wild (CISA KEV) and allows attackers to bypass security controls within Office applications, potentially enabling malicious document execution without expected security warnings or Protected View enforcement.
MITRE ATT&CK
- Tactic
- Initial Access Defense Evasion
QRadar Detection Query
SELECT
DATEFORMAT(starttime, 'YYYY-MM-dd HH:mm:ss') AS event_time,
logsourcename(logsourceid) AS log_source,
username,
"ParentProcessName",
"ProcessName",
"CommandLine",
sourceip,
destinationip
FROM events
WHERE
LOGSOURCETYPENAME(devicetype) IN ('Microsoft Windows Security Event Log', 'Sysmon')
AND (
("ParentProcessName" ILIKE '%WINWORD.EXE%'
OR "ParentProcessName" ILIKE '%EXCEL.EXE%'
OR "ParentProcessName" ILIKE '%POWERPNT.EXE%'
OR "ParentProcessName" ILIKE '%OUTLOOK.EXE%'
OR "ParentProcessName" ILIKE '%ONENOTE.EXE%')
)
AND (
"ProcessName" ILIKE '%cmd.exe%'
OR "ProcessName" ILIKE '%powershell.exe%'
OR "ProcessName" ILIKE '%wscript.exe%'
OR "ProcessName" ILIKE '%cscript.exe%'
OR "ProcessName" ILIKE '%mshta.exe%'
OR "ProcessName" ILIKE '%rundll32.exe%'
OR "ProcessName" ILIKE '%regsvr32.exe%'
OR "ProcessName" ILIKE '%certutil.exe%'
)
AND LOGSOURCETIME(starttime) > NOW() - 24 HOURS
ORDER BY starttime DESC
LIMIT 500 QRadar AQL query detecting Microsoft Office processes spawning known LOLBin and scripting engine child processes, which may indicate CVE-2026-21509 security feature bypass exploitation.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate administrative scripts launched via Office macros in managed environments
- Business process automation using Office interop with PowerShell backends
- Security tools performing Office document scanning via command-line utilities
- Developer workstations running Office automation tests
Other platforms for CVE-2026-21509
Testing Methodology
Validate this detection against 3 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 1Office Protected View Bypass via Registry Modification
Expected signal: Registry write events (Sysmon EventID 13) targeting HKCU\Software\Microsoft\Office\16.0\Word\Security with values DisableProtectedView and VBAWarnings modified
- Test 2Office Spawning PowerShell Child Process
Expected signal: Sysmon EventID 1 / Windows EventID 4688 showing WINWORD.EXE as ParentImage and powershell.exe as child Image with encoded or suspicious command-line arguments
- Test 3Office Dropping Executable to Temp Directory
Expected signal: Sysmon EventID 11 (FileCreate) showing an .exe file written to %TEMP% by an Office-related initiating process; DeviceFileEvents in MDE with InitiatingProcessFileName matching an Office executable
Unlock Pro Content
Get the full detection package for CVE-2026-21509 including response playbook, investigation guide, and atomic red team tests.