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.
28/11 XQL wp-media-*.php file written under wp-content (WP Rocket, Cortex XDR)WP Rocket: unauthenticated RCE CVE-2026-125812 exploited since 25 November, tens of thousands of attempts a day high T1190 T1505.003
// Threat Brief 2026-11-28 · WP Rocket CVE-2026-125812 · experimental // PHP file named wp-media-*.php written under wp-content (payload planted through the rocket_beacon endpoint) config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.FILE and action_file_path contains "wp-content/" and action_file_name ~= "^wp-media-.*\.php$" | fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_name
Creation of a wp-media-*.php file under wp-content on a WordPress server: a vulnerable WP Rocket downloads remote content and saves it as a PHP file. Single-event query, BIOC-ready. False positives: a legitimate plugin or theme deploying a file named wp-media-*.php.
4 quotes from the sources
- “wp-media-*.php” patchstack.com
- “wp-content/wp-rocket-config/” patchstack.com
- “wp-content/uploads/” patchstack.com
- “and save it as a PHP file.” patchstack.com
27/11 XQL .php file written under a modules directory by Apache (Drupal, Cortex XDR)Drupal: a second installer flaw exploited, the Fail2Install fix was not enough on sites in an incomplete installation state high T1505.003 T1190
// Threat Brief 2026-11-27 · Drupal CVE-2026-132165 / CVE-2026-136716 · experimental
// .php file written under a modules directory by the web server (SQLite database file planted through the installer)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE and action_file_path contains "/modules/" and action_file_name ~= "\.php$" and actor_process_image_name in ("apache2", "httpd")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_name
Creation of a .php file under a /modules/ directory by the Apache process: this is how the reopened installer plants a SQLite database named .php (e.g. web/modules/x.php) that holds PHP code. Complements the 20/11 query on settings.php. False positives: module installed or updated from the Drupal web interface (Update Manager).
2 quotes from the sources
- “give a database file path that ends in .php inside the web root, such as web/modules/x.php” www.stepsecurity.io
- “from Apache workers whose database connection was refused mid-page” www.stepsecurity.io
26/11 XQL CyberStrikeAI Webshell OS Probe CommandAgentic attack frameworks: Cortex XQL pack high T1082 T1505.003
// Threat Brief · CyberStrikeAI · CyberStrikeAI Webshell OS Probe Command · 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 action_process_image_command_line contains ":OSPROBE_" | 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 command CyberStrikeAI's webshell manager runs on every new webshell, "echo :OSPROBE_%OS%:END", which shows up as a shell started by the web server process. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized tests with CyberStrikeAI.
26/11 XQL CyberStrikeAI Webshell Manager User Agent or OS Probe in Web LogsAgentic attack frameworks: Cortex XQL pack high T1505.003
// Threat Brief · CyberStrikeAI · CyberStrikeAI Webshell Manager User Agent or OS Probe in Web Logs · experimental (adapted from ThreatDefence, MIT) config case_sensitive = false | datamodel | filter (xdm.source.user_agent contains "CyberStrikeAI-WebShell/" or (xdm.network.http.url contains "OSPROBE_" or xdm.network.http.url contains "OSPROBE%5F")) | fields _time, xdm.source.ipv4, xdm.source.user_agent, xdm.network.http.method, xdm.network.http.domain, xdm.network.http.url, xdm.network.http.response_code
Detects requests from CyberStrikeAI's webshell manager to a planted webshell: its hard-coded user agent, or the "echo :OSPROBE_%OS%:END" command it sends in the cmd parameter (visible in GET mode). Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized tests with CyberStrikeAI.
23/11 XQL FabricShadow recon output or recon_svc.jar written on the Quantum Fabric host (Cortex XDR)BankWeaver: Forescout describes Java web shells dropped on Temenos Quantum Fabric deployments left open to anonymous access high T1505.003 T1082
// Threat Brief 2026-11-23 · BankWeaver (Temenos Quantum Fabric) · experimental // FabricShadow recon output or recon_svc.jar written on the middleware host config case_sensitive = false | dataset = xdr_data | filter event_type = ENUM.FILE | filter action_file_path contains "/tmp/.recon_out" or action_file_name = "recon_svc.jar" | fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_name
Write of /tmp/.recon_out or recon_svc.jar, local traces of the FabricShadow tool that Forescout recommends hunting for. False positives: None expected outside a reproduction by a security team.
2 quotes from the sources
- “/tmp/.recon_out” www.forescout.com
- “recon_svc.jar” www.forescout.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.
20/11 XQL A2. Web or database service spawns a shell or system tool (Windows)ARTEX: Cortex XQL pack medium T1059.001 T1059.003 T1505.003
// Threat Brief · ARTEX · A2 · web or database service spawns a shell or system tool (Windows) · experimental
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and agent_os_type = ENUM.AGENT_OS_WINDOWS
| filter actor_process_image_name in ("w3wp.exe", "httpd.exe", "tomcat.exe", "java.exe", "node.exe", "php-cgi.exe", "sqlservr.exe", "mysqld.exe")
| filter action_process_image_name in ("cmd.exe", "powershell.exe", "pwsh.exe", "curl.exe", "certutil.exe", "bitsadmin.exe", "whoami.exe", "tasklist.exe")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, action_process_image_name, action_process_image_command_line
Same behaviour as A1 on Windows: IIS, Tomcat, Node, PHP or a database starting cmd, PowerShell, certutil or whoami. Adapted from ThreatDefence rules (MIT licence). False positives: Business applications that call system tools: baseline each server.
20/11 XQL A5. ARTEX intrusion files: JSP web shells, probe files and working folderARTEX: Cortex XQL pack critical T1505.003 T1059
// Threat Brief · ARTEX · A5 · ARTEX JSP web shells and probe files · experimental
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE
| filter action_file_name in ("cl1217.jsp", "f1219a.jsp", "z1219.jsp", "zzartx0000.php") or action_file_name ~= "^artex-probe-" or action_file_path ~= "programdata.artx5v."
| fields _time, agent_hostname, actor_process_image_name, actor_process_command_line, action_file_path, action_file_sha256
JSP web shells written through MySQL log redirection, artex-probe- files and the artx5v folder. Adapted from ThreatDefence rules (MIT licence). False positives: Authorised red team exercises using ARTEX.
github.comcloud.google.comwww.crowdstrike.comthreatdefence.comSee the pack →
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 →
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 →