Detect Microsoft Office Security Feature Bypass (CVE-2026-21509) in Sumo Logic CSE
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
Sumo Detection Query
_sourceCategory=windows/sysmon OR _sourceCategory=windows/security
| json field=_raw "EventID", "Image", "ParentImage", "CommandLine", "ParentCommandLine", "User", "Computer" nodrop
| where ParentImage matches /(?i)(WINWORD|EXCEL|POWERPNT|OUTLOOK|MSPUB|ONENOTE)\.EXE$/
| where Image matches /(?i)(cmd|powershell|wscript|cscript|mshta|rundll32|regsvr32|certutil|bitsadmin)\.exe$/
| eval cve = "CVE-2026-21509"
| eval technique = "Office Security Feature Bypass"
| eval risk = if(Image matches /(?i)(powershell|mshta|wscript)\.exe$/, "HIGH", "MEDIUM")
| count by _time, Computer, User, ParentImage, Image, CommandLine, cve, technique, risk
| sort by _time desc Sumo Logic query detecting Microsoft Office parent processes spawning suspicious child processes indicative of CVE-2026-21509 security feature bypass exploitation.
Data Sources
Required Tables
False Positives & Tuning
- Approved Office macros triggering PowerShell for business report generation
- IT operations using Office COM automation with cmd.exe for deployment tasks
- Document scanning workflows that invoke certutil for certificate validation
- Software build pipelines that test Office document generation
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.