Detect Ivanti Sentry OS Command Injection Exploitation (CVE-2026-10520) in IBM QRadar
Detects exploitation attempts targeting CVE-2026-10520, an OS command injection vulnerability (CWE-78) in Ivanti Sentry. This vulnerability is actively exploited in the wild (CISA KEV) and allows unauthenticated or authenticated attackers to inject operating system commands through Ivanti Sentry's administrative or API interfaces, potentially leading to full system compromise. Ivanti Sentry acts as a gateway for enterprise mobile device management, making it a high-value target for threat actors seeking persistent access to corporate infrastructure.
MITRE ATT&CK
QRadar Detection Query
SELECT
DATEFORMAT(starttime, 'yyyy-MM-dd HH:mm:ss') AS event_time,
sourceip,
destinationip,
username,
"Process Name" AS process_name,
"Command" AS command_line,
"Parent Process Name" AS parent_process,
CASE
WHEN "Process Name" IN ('nc', 'ncat', 'netcat', 'mkfifo') THEN 'CRITICAL'
WHEN "Process Name" IN ('wget', 'curl') AND "Command" MATCHES '.*https?://[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}.*' THEN 'HIGH'
WHEN "Command" MATCHES '.*(;|&&|\|\||`|\$\().*' THEN 'HIGH'
WHEN "Process Name" IN ('id', 'whoami', 'uname') THEN 'MEDIUM'
ELSE 'LOW'
END AS risk_tier,
logsourcename(logsourceid) AS log_source
FROM events
WHERE
LOGSOURCETYPENAME(devicetype) IN ('Linux OS', 'Endpoint', 'Syslog')
AND (
("Parent Process Name" IMATCHES '.*java.*' OR "Parent Process Name" IMATCHES '.*tomcat.*' OR "Parent Process Name" IMATCHES '.*catalina.*')
AND "Process Name" IN ('sh', 'bash', 'dash', 'python', 'python3', 'perl', 'wget', 'curl', 'nc', 'ncat', 'netcat', 'chmod', 'mkfifo', 'id', 'whoami', 'uname')
)
AND CATEGORYNAME(category) IN ('Application Activity', 'Process Creation', 'Command Execution')
AND starttime > NOW() - 24 HOURS
ORDER BY starttime DESC
LIMIT 500 QRadar AQL query correlating process creation events from Java/Tomcat parent processes with OS command injection indicators to detect Ivanti Sentry exploitation. Classifies findings by risk tier for analyst triage prioritization.
Data Sources
Required Tables
False Positives & Tuning
- Automated Ivanti diagnostic routines spawning shell processes for log rotation or health checks
- IT operations teams running ad-hoc shell scripts via Sentry management console
- Patch deployment workflows triggering wget/curl calls from Java-based update services
- Third-party MDM integrations executing OS commands through the Sentry middleware layer
Other platforms for CVE-2026-10520
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 1Ivanti Sentry CVE-2026-10520 Basic Command Injection Simulation
Expected signal: EDR should record process creation event: parent=java, child=bash with arguments '-c' and 'id; whoami; uname -a; cat /etc/passwd | head -3'. Auditd should record EXECVE syscall with ppid matching java process PID. Network telemetry: no outbound connections expected in this basic test.
- Test 2Ivanti Sentry Reverse Shell Simulation via Java Parent
Expected signal: Process chain: java -> bash (args: -c, 'echo ... | nc 127.0.0.1 9999') -> nc (args: 127.0.0.1, 9999). Network connection event: nc connecting to 127.0.0.1:9999. Auditd EXECVE syscalls for bash and nc with ppid chain traceable to java.
- Test 3Ivanti Sentry Web Shell Drop Simulation
Expected signal: File creation event: /tmp/sim_sentry_webapps/cmd_sim_marker.jsp created by initiating process java (sentry_webshell_sim). Process creation event: java spawning bash to list directory contents. EDR file monitoring should record .jsp creation in simulated webapps directory with java as initiating process.
- Test 4Ivanti Sentry Credential Staging Simulation
Expected signal: Process chain: java -> bash (multiple invocations with file read and base64 encoding commands). File access events: reads of simulated credential files. File creation event: /tmp/exfil_stage.b64 created by bash initiating from java parent. Auditd EXECVE records for bash invocations with ppid traceable to java.
References (4)
- https://hub.ivanti.com/s/article/Security-Advisory-Ivanti-Sentry-CVE-2026-10520-CVE-2026-10523?language=en_US
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
- https://nvd.nist.gov/vuln/detail/CVE-2026-10520
Unlock Pro Content
Get the full detection package for CVE-2026-10520 including response playbook, investigation guide, and atomic red team tests.