All rules, every day
The catalogue of Threat Brief rules since day one: filter by format, period, level or ATT&CK technique, open a rule to read its code, and download the selection as one file.
26/11 XQL Cairn Agent Worker or Dispatcher Command LineAgentic attack frameworks: Cortex XQL pack high T1059.004
// Threat Brief · Cairn · Cairn Agent Worker or Dispatcher Command Line · experimental (adapted from ThreatDefence, MIT) config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START | filter agent_os_type = ENUM.AGENT_OS_LINUX | filter (action_process_image_command_line contains "model_provider=\"cairn\"" or action_process_image_command_line contains "model_providers.cairn.base_url" or action_process_image_command_line contains "--provider cairn" or action_process_image_command_line contains "/tmp/cairn-pi/" or action_process_image_command_line contains "/tmp/cairn-prompts/" or action_process_image_command_line contains "cairn dispatch --config" or action_process_image_command_line contains "cairn-dispatch-" or action_process_image_command_line contains "cairn-worker-container") | fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line
Detects command lines that only Cairn produces: the Codex worker's model_provider="cairn" override, the Pi worker's --provider cairn and /tmp/cairn-pi/ agent folder, the dispatcher and server entry points, and the cairn-dispatch- worker containers. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized red team use of Cairn.
26/11 XQL PentAGI Agent Command WrapperAgentic attack frameworks: Cortex XQL pack high T1059.004
// Threat Brief · PentAGI · PentAGI Agent Command Wrapper · experimental (adapted from ThreatDefence, MIT) config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START | filter agent_os_type = ENUM.AGENT_OS_LINUX | filter (action_process_image_command_line contains "trap \"\" HUP" and action_process_image_command_line contains "/proc/self/oom_score_adj" and action_process_image_command_line contains "exec sh -c \"$0\"") | fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line
Detects the shell wrapper PentAGI puts around every agent command in its Kali worker container: it ignores hangups, raises the process's oom_score_adj by one to mark the flow, then runs the command with exec sh -c "$0". Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized red team use of PentAGI.
26/11 XQL HexStrike Server or MCP Client ProcessAgentic attack frameworks: Cortex XQL pack high T1059.004
// Threat Brief · HexStrike · HexStrike Server or MCP Client Process · experimental (adapted from ThreatDefence, MIT) config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START | filter agent_os_type = ENUM.AGENT_OS_LINUX | filter ((action_process_image_command_line contains "hexstrike_server.py" or action_process_image_command_line contains "hexstrike_mcp.py") or actor_process_command_line contains "hexstrike_server.py") | fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line
Detects the HexStrike tool server, its MCP client, and tools started by the server. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized red team use of HexStrike.
26/11 XQL Xalgorix Agent on a HostAgentic attack frameworks: Cortex XQL pack medium T1059.004
// Threat Brief · Xalgorix · Xalgorix Agent on a Host · experimental (adapted from ThreatDefence, MIT) config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START | filter agent_os_type = ENUM.AGENT_OS_LINUX | filter (action_process_image_path ~= "/xalgorix$" or (action_process_image_command_line contains "XALGORIX_WORKSPACE=" or action_process_image_command_line contains "__xalgorix_resolve_path" or action_process_image_command_line contains "xalgorix-scan-init" or action_process_image_command_line contains "xalgord/xalgorix" or action_process_image_command_line contains "xalgorix --web")) | fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line
Detects Xalgorix running: the binary or its container image, and the shell wrapper it puts in front of every command the agent runs (export XALGORIX_WORKSPACE=..., the __xalgorix_resolve_path function, and xalgorix-scan-init when it runs as root). Xalgorix is an autonomous penetration testing agent that needs no approval for tool calls. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Bug bounty hunters and security teams running Xalgorix.
22/11 XQL Shell started under the MONAI Label service (Cortex XDR)MONAI Label: CVE-2026-133968 published, pre-auth path traversal to RCE exploited since September by the Cairn AI agents medium T1059.004 T1190
// Threat Brief 2026-11-22 · MONAI Label CVE-2026-133968 · experimental
// Shell started under the MONAI Label service
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter causality_actor_process_command_line contains "monailabel"
| filter action_process_image_name in ("sh", "bash", "dash", "zsh")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_command_line, causality_actor_process_command_line
Start of sh, bash, dash or zsh whose causality chain leads to a monailabel process: an unexpected process after exploitation of CVE-2026-133968. False positives: Custom MONAI Label apps or training scripts that call shell commands.
2 quotes from the sources
- “MONAI Label (monailabel) <= 0.8.5” buttondown.com
- “unusual processes spawned by the MONAI Label service” buttondown.com
buttondown.comsecurityaffairs.comSee 22/11 with its edition →
20/11 XQL Shell or network tool spawned by Puppet Server (Cortex XDR)Perforce Puppet: CVE-2026-115731 exploited, in KEV with a 1 December deadline medium T1190 T1059.004
// Threat Brief 2026-11-20 · Perforce Puppet CVE-2026-115731 · experimental
// Shell or download tool started by the Puppet Server JVM (service account puppet or pe-puppet)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter actor_effective_username contains "puppet" and actor_process_image_name = "java" and action_process_image_name in ("sh", "bash", "dash", "curl", "wget", "python3", "perl")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line
Shell or download tool launched by the java process of a puppet account: likely code execution through CVE-2026-115731 on Puppet Server. False positives: ENC or policy-based autosign scripts ; Custom report processors.
2 quotes from the sources
- “Code execution as puppet gives access to the CA signing key.” www.helpnetsecurity.com
- “look for unexpected processes, files or outbound connections tied to the Puppet Server service user” www.helpnetsecurity.com
20/11 XQL A1. Web or database service spawns a shell or download tool (Linux)ARTEX: Cortex XQL pack medium T1059.004 T1505.003
// Threat Brief · ARTEX · A1 · web or database service spawns a shell or downloader (Linux) · experimental
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and agent_os_type = ENUM.AGENT_OS_LINUX
| filter actor_process_image_name in ("nginx", "httpd", "apache2", "java", "node", "mysqld", "mariadbd", "postgres") or actor_process_image_name ~= "^php-fpm"
| filter action_process_image_name in ("sh", "bash", "dash", "curl", "wget", "nc", "ncat", "socat", "busybox")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line
After exploiting a web application, ARTEX agents run discovery and pull tooling from the service process in short bursts. Adapted from ThreatDefence rules (MIT licence). False positives: Applications that run shell scripts by design: exclude by host or command line.
19/11 XQL Shell spawned by an NGINX worker (NGINX2Root, Cortex XDR)NGINX2Root: eleven NGINX CVEs including two unauthenticated HTTP/2 RCEs, F5 fixes of 18 November, no exploitation observed high T1190 T1059.004
// Threat Brief 2026-11-19 · NGINX2Root (CVE-2026-123007, CVE-2026-123633) · experimental
// Shell or download tool started by an NGINX worker process (post-exploitation sign)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter actor_process_image_name = "nginx" and actor_process_command_line contains "worker process"
| filter action_process_image_name in ("sh", "bash", "dash", "curl", "wget", "python3", "perl")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line
Same behaviour on Cortex XDR / XSIAM telemetry: a shell or download process started by an NGINX worker. Suitable as a BIOC. False positives: Modules (Lua, Perl) that legitimately make NGINX workers run helper commands.
3 quotes from the sources
- “Investigate unexpected NGINX worker crashes or commands launched by NGINX” www.wiz.io
- “worker process … exited on signal” cert.europa.eu
- “Further checks in the process creation logs are necessary” cert.europa.eu
15/11 XQL Shell or network tool started by the Crawl4AI serviceCrawl4AI: pre-auth RCE CVE-2026-53753 enters the VulnCheck KEV, fixed in 0.8.7 since June medium T1190 T1059.004
// Threat Brief 2026-11-15 · Crawl4AI CVE-2026-53753 · experimental
// Shell or download tool started by the Crawl4AI service process
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter actor_process_command_line contains "crawl4ai" or causality_actor_process_command_line contains "crawl4ai"
| filter action_process_image_name in ("sh", "bash", "dash", "curl", "wget", "nc")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line
Process start of a shell or download tool whose parent or causality command line names crawl4ai: the follow-up advised by the bulletin after a POST /crawl. Coverage depends on crawl4ai appearing in the service command line. False positives: Legitimate crawl4ai scripts or container health checks calling a shell.
1 quote from the sources
- “inspect the host for unexpected processes or outbound connections spawned by the crawl4ai service” buttondown.com
10/11 XQL Shell or network tool spawned by the nable account on N-centralAble2Shell: 33 N-able N-central vulnerabilities published with PoCs medium T1190 T1059.004
// Threat Brief 2026-11-10 · Able2Shell (N-able N-central) · experimental
// Command execution under the nable account following the XXE chain, requires an agent on the N-central server
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter actor_effective_username = "nable"
| filter action_process_image_name in ("sh", "bash", "dash", "curl", "wget", "nc", "ncat", "python", "python3", "perl", "sudo", "su")
| comp count() as nb, values(action_process_image_command_line) as cmds by agent_hostname, actor_process_image_name, action_process_image_name
| sort desc nb
Unauthenticated XXE chain leads to command execution under the nable user, then privilege escalation to root. Only applies if a Cortex XDR agent is running on the on-prem N-central server. False positives: appliance maintenance scripts executed under nable ; N-able hotfix being applied.
09/11 XQL wget or curl spawned by sshd to port 8000SSHole (CVE-2026-123158): SANS ISC quantifies scans and publishes sources medium T1105 T1059.004
// Threat Brief 2026-11-09 · SSHole (CVE-2026-123158) · experimental
// Download via wget or curl spawned from an sshd session to port 8000 or targeting a bot.x86_64 payload
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter causality_actor_process_image_name = "sshd"
| filter action_process_image_name in ("wget", "curl")
| filter action_process_image_command_line contains ":8000/" or action_process_image_command_line contains "/bot.x86_64"
| fields _time, agent_hostname, actor_effective_username, action_process_image_name, action_process_image_command_line
Bot download immediately following SSH login, matching scripts observed by SANS ISC (port 8000, bot.x86_64 file). False positives: administrative scripts run over SSH that download from an internal server on port 8000.
isc.sans.eduwww.helpnetsecurity.comSee 09/11 with its edition →
07/11 XQL cwpsrv.prev-*, child shell of cwpsrv or traffic to 136.0.141.71CWPdoor: trojanised cwpsrv turns Control Web Panel into a passive backdoor high T1505.003 T1059.004
// Threat Brief 2026-11-07 · CWPdoor (trojanised cwpsrv) · experimental
// cwpsrv.prev-* backup, cwpsrv shell children, or traffic to XLab staging IP
config case_sensitive = false
| dataset = xdr_data
| filter (event_type = ENUM.FILE and action_file_path contains "/usr/local/cwpsrv/bin/cwpsrv.prev-") or (event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START and actor_process_image_name = "cwpsrv" and action_process_image_name in ("sh", "bash", "curl", "wget", "python3")) or (event_type = ENUM.NETWORK and action_remote_ip = "136.0.141.71")
| fields _time, agent_hostname, event_type, actor_process_image_name, actor_process_command_line, action_process_image_command_line, action_file_path, action_remote_ip
CWPdoor host artefacts: cwpsrv.prev-* backup, unexpected cwpsrv children, and traffic to published staging IP. False positives: Legitimate CWP update creating a backup.
thehackernews.comwww.bleepingcomputer.comSee 07/11 with its edition →
05/11 XQL Shell or downloader spawned by PHPWordPress Core CVE-2026-119977: RCE during the update window, added to KEV on 06/11 medium T1505.003 T1059.004
// Threat Brief 2026-11-05 · WordPress CVE-2026-119977 · experimental
// Shell or downloader spawned by PHP (php-fpm, php): possible follow-up to an RCE during update
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter actor_process_image_name contains "php"
| filter action_process_image_name in ("sh", "bash", "dash", "curl", "wget")
| comp count() as nb, values(action_process_image_command_line) as cmds by agent_hostname, actor_process_image_name, actor_effective_username
| sort desc nb
Post-exploitation sh, curl, or wget spawned by php-fpm (lead provided by the publisher and Wordfence); aggregated by host for hunting. False positives: PHP applications legitimately executing system commands (backups, cron).
www.wordfence.comwww.picussecurity.comSee 05/11 with its edition →
04/11 XQL Shell spawned by node decoding base64 or downloadingNode-RED CVE-2026-58115: Unauthenticated RCE exploited to deploy a Linux bot high T1059.004 T1105 T1140
// Threat Brief 2026-11-04 · Node-RED CVE-2026-58115 · experimental
// Shell spawned by node decoding base64 or downloading a payload (exec node)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter actor_process_image_name in ("node", "node-red")
| filter action_process_image_name in ("sh", "bash", "dash", "wget", "curl")
| filter action_process_image_command_line contains "base64 -d" or action_process_image_command_line contains "/dev/shm/" or action_process_image_command_line contains "setsid"
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line
exec node used in exploitation: node launches sh, wget, or curl with base64 -d, /dev/shm, or setsid. False positives: Legitimate flows calling shell scripts.
31/10 XQL Suspicious shell spawned by a PHP workerPHP2Shell (CVE-2026-109618/109619): root on PAN-OS firewalls high T1190 T1505.003 T1059.004
// Threat Brief 2026-10-31 · PHP2Shell (CVE-2026-109618/109619) · experimental
// Shell spawned by a PHP worker or web server with download, reverse shell, or decoding activity
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter actor_process_image_name in ("php-fpm", "php-cgi", "lsphp", "frankenphp", "httpd", "apache2") or actor_process_image_name ~= "^php-fpm"
| filter action_process_image_name in ("sh", "bash", "dash", "zsh", "ksh")
| filter action_process_image_command_line contains "curl" or action_process_image_command_line contains "wget" or action_process_image_command_line contains "/dev/tcp" or action_process_image_command_line contains "base64 -d" or action_process_image_command_line contains "/etc/shadow"
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, action_process_image_name, action_process_image_command_line
| sort desc _time
PHP2Shell post-exploitation: shell child of php-fpm, php-cgi, lsphp, or Apache with curl, wget, /dev/tcp, or base64 -d (Elastic and Unit 42 logic). False positives: PHP applications legitimately calling curl via a shell ; mail() via sendmail.
www.elastic.counit42.paloaltonetworks.comSee 31/10 with its edition →