Skip to content
skopnix
← Cortex XDR detections

Cortex XDR · CVE exploitation

Java web stack: Java application server spawned a shell or download tool

Correlation
set the rule's MITRE tactic to TA0002 and technique to T1059.004
severity
medium
confidence
55/100
generated
20 Nov 2026
Linked CVE
CVE-2026-114938

A Java process (java, javaw, Tomcat's service wrapper) started a shell, script interpreter or download tool. On an internet-facing application server that is the usual first step after remote code execution in the server or in the application it hosts. Not specific to one bug: it fires on code execution through the Java web stack by any route. Attached to the 1 CVE in this stack that skopnix reported in the last 30 days, newest CVE-2026-114938.

False-positive notes

Needs a Java process as the PARENT and a shell / interpreter / downloader as the child. Parents whose command line names Jenkins, TeamCity, Bamboo, Gradle, Maven, sbt or an IDE are excluded in Sigma and XQL (the QRadar version cannot see the parent command line, so it is louder). Any Java app that shells out still matches: run it on application servers, not build hosts, and hunt a week before alerting.

References

dataset = xdr_data| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START| filter (lowercase(actor_process_image_name) in ("java", "java.exe", "javaw.exe") or lowercase(actor_process_image_name) ~= "^tomcat[0-9]*w?(.exe)?$") and (lowercase(action_process_image_name) in ("sh", "bash", "dash", "zsh", "ksh", "busybox", "curl", "wget", "nc", "ncat", "netcat", "socat", "perl", "cmd.exe", "powershell.exe", "pwsh.exe", "certutil.exe", "bitsadmin.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "wscript.exe", "cscript.exe") or lowercase(action_process_image_name) ~= "^python[0-9.]*$") and not (lowercase(actor_process_command_line) contains "jenkins" or lowercase(actor_process_command_line) contains "teamcity" or lowercase(actor_process_command_line) contains "bamboo" or lowercase(actor_process_command_line) contains "gradle" or lowercase(actor_process_command_line) contains "maven" or lowercase(actor_process_command_line) contains "plexus-classworlds" or lowercase(actor_process_command_line) contains "sbt-launch" or lowercase(actor_process_command_line) contains "intellij" or lowercase(actor_process_command_line) contains "eclipse")| fields _time, agent_hostname, actor_effective_username, action_process_image_name, action_process_image_command_line, actor_process_image_name, causality_actor_process_image_name| sort desc _time

skopnix-cortex-cve-stack-java-web-server-shell-732432a7.xql

How to deploy on Cortex XDR

Step 1
Paste the XQL into Incident Response > Investigation > Query Builder > XQL Search.
Step 2
To alert, save it as a Correlation Rule and set the MITRE tactic and technique printed with the rule.
Step 3
Schedule it on the interval you hunt at; keep the fields stage for the alert's columns.
Check
CVE rules read PAN-OS URL logs (panw_ngfw_url_raw), which need the NGFW integration and, for HTTPS, decryption.