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.
24/11 SIGMA BONESAW, SAWSNAKE or BEARBONES run from /tmp, or gdb driven by /tmp/gdb_fileVMware vCenter: Mandiant attributes the CVE-2026-123890 zero-day to ARMORY CASTLE, with SAML key theft and Golden SAML high T1059.004 T1606.002 T1003
title: ARMORY CASTLE tooling executed from /tmp on vCenter (BONESAW, SAWSNAKE, BEARBONES)
id: d5e59c83-9b7b-437c-9860-b2aeb7edab6c
status: experimental
description: Detects execution of /tmp/123 (BONESAW), /tmp/sss (SAWSNAKE) or /tmp/dbr (BEARBONES), or gdb run with --command=/tmp/gdb_file, as described by Mandiant for the CVE-2026-123890 intrusions.
references:
- https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-vsphere
author: Threat Brief (tlpclear.fr)
date: 2026-11-24
tags:
- attack.execution
- attack.t1059.004
- attack.credential-access
- attack.t1606.002
- cve.2026-123890
logsource:
product: linux
category: process_creation
detection:
selection_tools:
Image:
- '/tmp/123'
- '/tmp/sss'
- '/tmp/dbr'
selection_gdb:
CommandLine|contains: '--command=/tmp/gdb_file'
condition: selection_tools or selection_gdb
falsepositives:
- Legitimate binary dropped in /tmp under one of these names (rare)
- gdb debugging session using a command file with the same name
level: high
Process started from /tmp/123, /tmp/sss or /tmp/dbr, or gdb with --command=/tmp/gdb_file, on a vCenter appliance: the ARMORY CASTLE chain described by Mandiant (SAML key theft, Golden SAML, backdoor). False positives: legitimate binary dropped under one of these names in /tmp (rare) ; gdb debugging with a command file of the same name.
4 quotes from the sources
- “Tracked as BONESAW, /tmp/123 is a remote exploitation utility written in Golang” cloud.google.com
- “staged and deployed an additional utility /tmp/sss tracked as SAWSNAKE” cloud.google.com
- “leveraged an additional backdoor /tmp/dbr tracked as BEARBONES.” cloud.google.com
- “/usr/bin/gdb -pid 113757 --command=/tmp/gdb_file” cloud.google.com
23/11 SIGMA Process disguised as crond -i /tmp/.log or nc reverse shell to the GoodCloud attacker infrastructureGL.iNet: a GoodCloud platform flaw was used to plant backdoors and root reverse shells on routers and KVM devices high T1036.005 T1059.004 T1571
title: GL.iNet GoodCloud implant disguised as crond or nc reverse shell to attacker infrastructure
id: 15572306-27c5-4a2d-9dbf-abb73cdb8d8c
status: experimental
description: Detects the GL.iNet GoodCloud malware process disguised as "crond -i /tmp/.log" (IOC published by GL.iNet) and nc reverse shells to the attacker addresses reported on compromised GL.iNet routers and KVM devices.
references:
- https://www.bleepingcomputer.com/news/security/hackers-exploit-glinet-cloud-flaw-to-infect-routers-kvm-devices/
author: Threat Brief (tlpclear.fr)
date: 2026-11-23
tags:
- attack.persistence
- attack.defense-evasion
- attack.t1036.005
- attack.command-and-control
- attack.t1059.004
logsource:
product: linux
category: process_creation
detection:
selection_masquerade:
CommandLine|contains: 'crond -i /tmp/.log'
selection_nc_image:
Image|endswith: '/nc'
selection_nc_ip:
CommandLine|contains:
- '170.39.226.219'
- '66.245.219.252'
- '65.20.71.131'
condition: selection_masquerade or (selection_nc_image and selection_nc_ip)
falsepositives:
- None expected; process telemetry from OpenWrt based devices requires auditd or an equivalent collector
level: high
Malicious process disguised as "crond -i /tmp/.log", the indicator published by GL.iNet, or an nc reverse shell to the addresses seen on compromised routers and KVM devices. False positives: None expected; requires process telemetry (auditd or equivalent) from the OpenWrt based devices.
2 quotes from the sources
- “The installer includes functionality to disguise the malicious process as crond -i /tmp/.log” www.bleepingcomputer.com
- “The reverse shells used the Linux nc utility to create outbound connections” www.bleepingcomputer.com
19/11 SIGMA Shell spawned by an NGINX worker (NGINX2Root)NGINX2Root: eleven NGINX CVEs including two unauthenticated HTTP/2 RCEs, F5 fixes of 18 November, no exploitation observed high T1190 T1059.004
title: Shell or download tool spawned by an NGINX worker process
id: 44b89321-1f2d-4283-80e5-c8418c12238f
status: experimental
description: Detects a shell or download tool whose parent is an NGINX worker process, a post-exploitation sign for the NGINX2Root HTTP/2 RCEs (CVE-2026-123007, CVE-2026-123633).
references:
- https://www.wiz.io/blog/nginx-http2-rce-vulnerabilities
- https://cert.europa.eu/publications/security-advisories/2026-022/
author: Threat Brief (tlpclear.fr)
date: 2026-11-19
tags:
- attack.initial-access
- attack.t1190
- attack.execution
- attack.t1059.004
- cve.2026-123007
logsource:
product: linux
category: process_creation
detection:
selection_parent:
ParentCommandLine|contains: 'worker process'
ParentImage|endswith: '/nginx'
selection_child:
Image|endswith:
- '/sh'
- '/bash'
- '/dash'
- '/curl'
- '/wget'
- '/python3'
- '/perl'
condition: selection_parent and selection_child
falsepositives:
- Rare: modules or scripts that legitimately make NGINX workers fork helper commands (some Lua or Perl modules)
level: high
Shell or download tool whose parent is an NGINX worker process: a sign of code execution after exploitation of the NGINX2Root HTTP/2 RCEs. Wiz and CERT-EU advise watching for commands launched by NGINX. 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
18/11 SIGMA Shell metacharacters in the username parameter of login.lua, cleanout.lua or api.lua (XWEB EVO)Copeland (Dixell) XWEB EVO: end-of-support refrigeration controllers exploited through command injection and a backdoor, no fix high T1190 T1059.004
title: Shell metacharacters in the username parameter of XWEB EVO login.lua, cleanout.lua or api.lua (CVE-2026-124002)
id: ab8e3f18-7a92-45ab-b4f3-3274097254be
status: experimental
description: Detects requests to login.lua, cleanout.lua or api.lua on a Copeland (Dixell) XWEB EVO controller whose query string carries a username parameter with shell metacharacters, the pre-authentication root command injection CVE-2026-124002 targeted by attempts observed on 17 November 2026. Only effective where the parameter is logged in the URI; POST bodies need a WAF or full request logging.
references:
- https://buttondown.com/exploit-bulletin/archive/the-exploit-bulletin-tuesday-november-17-2026-3/
author: Threat Brief (tlpclear.fr)
date: 2026-11-18
tags:
- attack.initial-access
- attack.t1190
- attack.execution
- attack.t1059.004
- cve.2026-124002
logsource:
category: webserver
detection:
selection_page:
cs-uri-stem|endswith:
- '/login.lua'
- '/cleanout.lua'
- '/api.lua'
selection_param:
cs-uri-query|contains: 'username'
selection_meta:
cs-uri-query|contains:
- ';'
- '|'
- '`'
- '$('
- '%3B'
- '%7C'
- '%60'
condition: all of selection_*
falsepositives:
- Authorised vulnerability scans of refrigeration supervisors
level: high
Request to login.lua, cleanout.lua or api.lua whose username parameter carries shell metacharacters: pre-auth root command injection CVE-2026-124002, targeted by attempts on 17 November. Complements the 17/11 xwconsole.cgi rule (another CVE); only sees parameters logged in the URI. False positives: authorised vulnerability scans of refrigeration supervisors.
2 quotes from the sources
- “Shell metacharacters in the username field of login.lua, cleanout.lua or api.lua reach the OS before the password check” buttondown.com
- “whose username parameter contains shell metacharacters (semicolons, pipes, backticks, $())” buttondown.com
17/11 SIGMA Request to xwconsole.cgi with an sh parameter (XWEB EVO)Copeland and Dixell XWEB EVO: root command injection CVE-2026-124010, exploitation attempts caught by honeypots high T1190 T1059.004
title: Copeland XWEB EVO xwconsole.cgi request with an sh parameter (CVE-2026-124010)
id: 9c3a0d62-08c0-4cfa-a67c-546c2333fd3e
status: experimental
description: Detects web requests to the setuid-root CGI xwconsole.cgi carrying an sh parameter, the unauthenticated root command injection in Copeland and Dixell XWEB EVO before 5.6.2 probed by VulnCheck honeypots on 13 and 14 November 2026.
references:
- https://buttondown.com/exploit-bulletin/archive/the-exploit-bulletin-monday-november-16-2026-1/
- https://www.vulncheck.com/advisories/dixell-copeland-xweb-evo-unauthenticated-command-injection-via-xwconsole-cgi
author: Threat Brief (tlpclear.fr)
date: 2026-11-17
tags:
- attack.initial-access
- attack.t1190
- attack.execution
- attack.t1059.004
- cve.2026-124010
logsource:
category: webserver
detection:
selection:
cs-uri-stem|contains: '/xwconsole.cgi'
cs-uri-query|contains: 'sh='
condition: selection
falsepositives:
- Authorised vulnerability scans of refrigeration supervisors
level: high
Web request to the setuid-root CGI xwconsole.cgi carrying the sh parameter, passed as is to popen(): an exploitation attempt of CVE-2026-124010 against an XWEB EVO refrigeration supervisor older than 5.6.2. False positives: authorised vulnerability scans of refrigeration supervisors.
2 quotes from the sources
- “requests to xwconsole.cgi, particularly those carrying an sh parameter” buttondown.com
- “passes the sh parameter unsanitized to popen()” buttondown.com
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 →
04/11 SIGMA Node-RED bot dropper (/dev/shm/.b, /tmp/.kworker)Node-RED CVE-2026-58115: Unauthenticated RCE exploited to deploy a Linux bot high T1059.004 T1105
title: Node-RED CVE-2026-58115 bot dropper (/dev/shm/.b, /tmp/.kworker paths)
id: 6f089b6a-d19a-422c-ab71-22829f7a7472
status: experimental
description: Linux command line containing paths, payload names, or servers of the dropper observed by VulnCheck following Node-RED exploitation (CVE-2026-58115).
references:
- https://www.vulncheck.com/blog/exploitation-targeting-node-red
- https://www.helpnetsecurity.com/2026/11/03/node-red-cve-2026-58115-exploitation/
author: Threat Brief (tlpclear.fr)
date: 2026-11-04
tags:
- attack.execution
- attack.t1059.004
- attack.t1105
- cve.2026-58115
logsource:
product: linux
category: process_creation
detection:
selection_paths:
CommandLine|contains:
- '/dev/shm/.b'
- '/tmp/.kworker'
- 'bot-linux-amd64'
- '.sys_update'
selection_ioc:
CommandLine|contains:
- '85.215.73.250'
- '45.194.90.57'
condition: 1 of selection_*
falsepositives:
- Unlikely; legitimate tool using /dev/shm/.b
level: high
Paths, payload names, and servers of the dropper described by VulnCheck in a Linux command line. False positives: Unlikely.
www.vulncheck.comwww.helpnetsecurity.comSee 04/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.
01/11 SIGMA php-fpm/php-cgi/apache spawning sh with curl, wget or /dev/tcpPHP2Shell: PAN-OS management interface exploitation, root via Fragnesia high T1190 T1505.003 T1059.004
title: Suspicious shell spawned by a PHP worker (PHP2Shell)
id: 62e0bd11-c170-44f7-8cfc-0629bdd8be32
status: experimental
description: Child shell of php-fpm, php-cgi, lsphp, frankenphp, httpd or apache2 with download, reverse shell or base64 decoding, PHP2Shell post-exploitation.
references:
- https://www.elastic.co/es/security-labs/threat-command/php2shell-php-rce-detection
- https://www.prophetsecurity.ai/blog/php2shell
author: Threat Brief (tlpclear.fr)
date: 2026-11-01
tags:
- attack.initial-access
- attack.t1190
- attack.persistence
- attack.t1505.003
- cve.2026-109618
logsource:
product: linux
category: process_creation
detection:
selection_parent:
ParentImage|endswith:
- '/php-fpm'
- '/php-cgi'
- '/lsphp'
- '/frankenphp'
- '/httpd'
- '/apache2'
selection_parent_fpm:
ParentImage|contains: '/php-fpm'
selection_shell:
Image|endswith:
- '/sh'
- '/bash'
- '/dash'
- '/zsh'
- '/ksh'
selection_cmd:
CommandLine|contains:
- 'curl '
- 'wget '
- '/dev/tcp/'
- 'base64 -d'
- '/etc/shadow'
condition: (selection_parent or selection_parent_fpm) and selection_shell and selection_cmd
falsepositives:
- PHP applications calling curl or wget via a shell (updates, imports)
level: high
PHP2Shell post-exploitation on Linux, including appliances: child shell of a PHP worker with download or reverse shell. False positives: PHP applications calling curl via a shell.
www.elastic.cowww.prophetsecurity.aiSee 01/11 with its edition →
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 →