Detect CVE-2026-21510: Microsoft Windows Shell Protection Mechanism Failure in IBM QRadar
Detects exploitation of CVE-2026-21510, a Microsoft Windows Shell protection mechanism failure (CWE-693) that allows attackers to bypass security controls enforced by the Windows Shell. This vulnerability is actively exploited in the wild (CISA KEV). Attackers may abuse this flaw to execute unauthorized code, bypass security prompts, or escalate privileges via crafted shell interactions.
MITRE ATT&CK
QRadar Detection Query
SELECT DATEFORMAT(devicetime,'yyyy-MM-dd HH:mm:ss') AS EventTime, sourceip, username, "processPath", "parentProcessPath", "commandLine", "parentCommandLine", logsourceid
FROM events
WHERE LOGSOURCETYPENAME(logsourceid) ILIKE '%Windows%'
AND CATEGORYNAME(category) ILIKE '%Process%'
AND (
(LOWER("parentProcessPath") ILIKE '%winlogon.exe' OR LOWER("parentProcessPath") ILIKE '%services.exe' OR LOWER("parentProcessPath") ILIKE '%svchost.exe' OR LOWER("parentProcessPath") ILIKE '%lsass.exe')
AND (LOWER("processPath") ILIKE '%explorer.exe' OR LOWER("processPath") ILIKE '%cmd.exe' OR LOWER("processPath") ILIKE '%powershell.exe' OR LOWER("processPath") ILIKE '%wscript.exe')
)
OR (
LOWER("processPath") ILIKE '%explorer.exe'
AND (LOWER("commandLine") ILIKE '%/factory%' OR LOWER("commandLine") ILIKE '%-embedding%')
AND LOWER("parentProcessPath") NOT ILIKE '%userinit.exe'
)
LAST 7 DAYS
ORDER BY EventTime DESC QRadar AQL query for Windows process events detecting anomalous shell spawning from privileged system processes and suspicious explorer.exe command-line arguments associated with CVE-2026-21510 shell protection bypass.
Data Sources
Required Tables
False Positives & Tuning
- Enterprise software management platforms spawning shells via Windows services
- User-initiated explorer restarts or shell replacements during desktop troubleshooting
- COM surrogate processes using /factory arguments for legitimate registered shell extensions
- Security tools performing on-demand scans that execute via svchost.exe context
Other platforms for CVE-2026-21510
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 1Simulate Shell Spawn from Winlogon Context
Expected signal: Sysmon Event ID 1: cmd.exe process with ParentImage path containing winlogon.exe or SYSTEM session identifier; Windows Security Event 4688 showing cmd.exe process creation under SYSTEM account.
- Test 2Explorer.exe Factory Flag Instantiation
Expected signal: Sysmon Event ID 1: explorer.exe process with CommandLine containing /factory and ParentImage of powershell.exe; corresponding network or registry activity from the new explorer instance.
- Test 3PowerShell Encoded Command via Shell Bypass Chain
Expected signal: Sysmon Event ID 1: powershell.exe with -EncodedCommand in CommandLine, parent cmd.exe; Sysmon Event ID 3: any outbound connection if payload includes network activity.
- Test 4Shell Bypass Followed by Discovery Commands
Expected signal: Sysmon Event IDs 1 for cmd.exe (parent: psexec/SYSTEM), then whoami.exe and ipconfig.exe as children within 30 seconds; all events share the same host identifier.
Unlock Pro Content
Get the full detection package for CVE-2026-21510 including response playbook, investigation guide, and atomic red team tests.