Cortex XDR · CVE exploitation
Node.js stack: Node.js 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
- 14 Nov 2026
- Linked CVE
- CVE-2023-22621 · CVE-2026-111497 · CVE-2026-126187 · CVE-2026-44267 · CVE-2026-92934
A node process started a shell or a download tool. In production that is rare; after RCE in a Node web framework it is the first thing an attacker does (crypto-miner and botnet droppers were seen this way after React2Shell). Not specific to one bug: it fires on code execution through the Node.js stack by any route. Attached to the 5 CVEs in this stack that skopnix reported in the last 30 days, newest CVE-2026-126187, CVE-2026-111497, CVE-2026-92934.
False-positive notes
Needs node as the PARENT and a shell / downloader as the child. Children whose command line names npm, npx, yarn, pnpm, git or node-gyp are excluded. Meant for servers: on developer machines it is noise even with the exclusions.
References
dataset = xdr_data| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START| filter lowercase(actor_process_image_name) in ("node", "node.exe") and lowercase(action_process_image_name) in ("sh", "bash", "dash", "zsh", "busybox", "curl", "wget", "nc", "ncat", "socat", "cmd.exe", "powershell.exe", "pwsh.exe", "certutil.exe", "bitsadmin.exe", "mshta.exe") and not (lowercase(action_process_image_command_line) contains "npm" or lowercase(action_process_image_command_line) contains "npx" or lowercase(action_process_image_command_line) contains "yarn" or lowercase(action_process_image_command_line) contains "pnpm" or lowercase(action_process_image_command_line) contains "git " or lowercase(action_process_image_command_line) contains "node-gyp")| 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 _timeskopnix-cortex-cve-stack-nodejs-node-shell-6dd29454.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.