Detection rules · Sigma, Cortex XQL, YARA

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.

13 rules over 8 days · technique T1190 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
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
tb-2026-11-28-fichier-wp-media-php-crit-sous-wp-content-wp-rocket-cortex-x.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed Cortex XDR endpoint telemetry (xdr_data) on the WordPress web server Licence DRL 1.1

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
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
tb-2026-11-27-fichier-php-crit-sous-un-dossier-modules-par-apache-drupal-c.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed Cortex XDR endpoint telemetry (xdr_data) on the Drupal web server Licence DRL 1.1

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 Unsigned JWT With alg none Sent to a Web ApplicationAgentic attack frameworks: Cortex XQL pack high T1190 T1606.001
tb-pack-agentic-frameworks-jwt-non-sign-alg-none-envoy-une-application-web.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · Behaviours shared by the frameworks · Unsigned JWT With alg none Sent to a Web Application · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| datamodel
| filter (xdm.network.http.url contains "eyJhbGciOiJub25lI" or xdm.network.http.url contains "eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lI" or xdm.network.http.url contains "eyJhbGciOiJOb25lI" or xdm.network.http.url contains "eyJhbGciOiJOT05FI" or xdm.network.http.url contains "eyJhbGciOiJub25lIiwidHlwIjoiSldUIn0." or xdm.network.http.url contains "eyJ0eXAiOiJKV1QiLCJhbGciOiJub25lIn0.")
| 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
xql: reviewed, not executed datamodel Licence DRL 1.1

Detects a JSON Web Token whose header decodes to alg none, sent in a query string. ARTEX sprays the same unsigned token across dozens of SSO paths to test for signature bypass. An alg none token has no legitimate use against a production SSO route. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Security scanners testing for JWT signature bypass.

26/11 XQL Attack Agent Write Test on a Container RegistryAgentic attack frameworks: Cortex XQL pack high T1190 T1525
tb-pack-agentic-frameworks-test-d-criture-d-un-agent-d-attaque-sur-un-registre-de-conte.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · Behaviours shared by the frameworks · Attack Agent Write Test on a Container Registry · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| datamodel
| filter (xdm.network.http.method = "PUT" and xdm.network.http.url ~= "^/v2/" and xdm.network.http.url contains "/manifests/") and ( (xdm.network.http.url contains "writecheck" or xdm.network.http.url contains "write-check" or xdm.network.http.url contains "push-probe" or xdm.network.http.url contains "push-poc" or xdm.network.http.url contains "push-test" or xdm.network.http.url contains "pwned" or xdm.network.http.url contains "hijack-canary" or xdm.network.http.url contains "regscan-probe" or xdm.network.http.url contains "probe-write-test" or xdm.network.http.url contains "/gh0st/" or xdm.network.http.url contains "/gh0st-" or xdm.network.http.url contains "/fsociety/" or xdm.network.http.url contains "/csai-" or xdm.network.http.url contains "/cyberstrike-probe" or xdm.network.http.url contains "/xalgorix-") or xdm.network.http.url ~= "/(artex[-_](i\d|probe|push|poc|rce|test|exploit|retest)|ptx-i\d|hermes-h\d)" )
| 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
xql: reviewed, not executed datamodel Licence DRL 1.1

Detects an image pushed to a container registry under a repository named after an attack agent or a write test: artex-i<issue id>, hermes-h<id>-writecheck, csai-push-probe, xalgorix-pwn, the gh0st/ and fsociety/ namespaces, or names that hold writecheck, push-probe or pwned. Agents that find a registry open to pushes prove it by pushing a small image, and they name it after themselves. Open registries on the internet carry these names by the hundred. A push can be followed by a poisoned copy of one of your own images, so check what else that source pushed. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Security teams testing their own registry ; A project of your own with one of these words in its name.

26/11 XQL HexStrike User Agent or XSS Probe in Web LogsAgentic attack frameworks: Cortex XQL pack high T1190 T1595.002
tb-pack-agentic-frameworks-user-agent-hexstrike-ou-sonde-xss-dans-les-journaux-web.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · HexStrike · HexStrike User Agent or XSS Probe in Web Logs · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| datamodel
| filter ((xdm.source.user_agent contains "HexStrike-HTTP-Framework/" or xdm.source.user_agent contains "HexStrike-BrowserAgent/" or xdm.source.user_agent contains "Mozilla/5.0 (Compatible Exploit)") or xdm.network.http.url contains "hexstrikeXSSTest123")
| 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
xql: reviewed, not executed datamodel Licence DRL 1.1

Detects HexStrike's hard-coded user agents and the <hexstrikeXSSTest123> reflection probe its browser agent submits. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized tests with HexStrike.

26/11 XQL RedAmon User Agent or Canary in Web LogsAgentic attack frameworks: Cortex XQL pack high T1190 T1595.002
tb-pack-agentic-frameworks-user-agent-ou-canari-redamon-dans-les-journaux-web.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · RedAmon · RedAmon User Agent or Canary in Web Logs · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| datamodel
| filter (xdm.source.user_agent contains "RedAmon" or (xdm.network.http.url contains "rEdAm0n1337XsS" or xdm.network.http.url contains "rdmncb=cb") or xdm.network.http.referrer contains "rEdAm0n1337XsS")
| 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
xql: reviewed, not executed datamodel Licence DRL 1.1

Detects RedAmon's self-naming user agents (RedAmon-AISurfaceRecon/1.0, RedAmon-CachePoison/1.0 and the "compatible; RedAmon" strings), the XSS canary rEdAm0n1337XsS its agent is told to use in every parameter, and the rdmncb cache buster of its cache poisoning tests. All are defaults of the published code. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized tests with RedAmon.

26/11 XQL Xalgorix Verifier Marker or Canary in Web LogsAgentic attack frameworks: Cortex XQL pack high T1190 T1595.002
tb-pack-agentic-frameworks-marqueur-de-v-rification-ou-canari-xalgorix-dans-les-journau.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · Xalgorix · Xalgorix Verifier Marker or Canary in Web Logs · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| datamodel
| filter ((xdm.network.http.url contains "xalgorix-nonexistent-" or xdm.network.http.url contains "xalgorix-missing-") or xdm.network.http.url contains "XALG0R1XTEST" or xdm.source.user_agent ~= "^xalgorix")
| 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
xql: reviewed, not executed datamodel Licence DRL 1.1

Detects the paths Xalgorix's verifier requests when it confirms a finding (<path>-xalgorix-nonexistent-<id> for access control, xalgorix-missing-<id> before a path traversal), the reflection canary XALG0R1XTEST from its system prompt, and its own user agents. The verifier strings are in the code; the canary is an example the model may vary. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Authorized tests with Xalgorix.

22/11 XQL sitecustomize.py written by 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 high T1546.018 T1190
tb-2026-11-22-sitecustomize-py-crit-par-le-service-monai-label-cortex-xdr.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief 2026-11-22 · MONAI Label CVE-2026-133968 · experimental
// sitecustomize.py written by the MONAI Label service (Cairn reverse shell persistence)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE and action_file_name = "sitecustomize.py"
| filter causality_actor_process_command_line contains "monailabel"
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, causality_actor_process_command_line, action_file_path
xql: reviewed, not executed xdr_data Licence DRL 1.1

sitecustomize.py, loaded by Python at every start, written under the monailabel service: the Python reverse shell persistence planted by the Cairn agents through CVE-2026-133968. False positives: Installing or upgrading Python packages from the MONAI Label environment (pip run by the service account).

2 quotes from the sources
  • “The agents wrote a Python reverse shell to sitecustomize.py, a file Python loads automatically on startup” securityaffairs.com
  • “MONAI Label (monailabel) <= 0.8.5” buttondown.com
20/11 XQL B1. ARTEX user agents in web, proxy, cloud and identity logsARTEX: Cortex XQL pack high T1595.002 T1190 T1078.004
tb-pack-artex-b1-user-agents-artex-dans-les-journaux-web-proxy-cloud-et-id.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · ARTEX · B1 · ARTEX user agents in modeled web, proxy, cloud and identity logs · experimental
config case_sensitive = false
| datamodel dataset in (amazon_aws_raw, msft_azure_ad_raw, okta_sso_raw)
| filter xdm.source.user_agent ~= "artex-(?:readonly|pentest|audit|verify|spawn|enrich)/|artex-worker/|artex-i21861-canary|artex-authorized-pentest|mozilla/5[.]0 (?:artex|[(]artex[)])|artexverify/|artex/1[.]0|scopeweaver|spa-api-recon"
| fields _time, xdm.source.ipv4, xdm.source.user_agent, xdm.source.user.username, xdm.event.operation, xdm.network.http.url
xql: reviewed, not executed datamodel Licence DRL 1.1

15 user agents naming ARTEX or its variants (ScopeWeaver, spa-api-recon). Add your WAF and proxy datasets to the list; dataset names to check on your tenant. Adapted from ThreatDefence rules (MIT licence). False positives: Authorised red team exercises using ARTEX.

20/11 XQL B2. ARTEX probe artifacts in requested URLsARTEX: Cortex XQL pack high T1595.002 T1190 T1606.001
tb-pack-artex-b2-artefacts-de-sonde-artex-dans-les-url.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · ARTEX · B2 · ARTEX probe artifacts in requested URLs · experimental
config case_sensitive = false
| datamodel dataset in (amazon_aws_raw, msft_azure_ad_raw, okta_sso_raw)
| filter xdm.network.http.url ~= "/zzz-nonexistent-xyz123|zzz_nonexistent_abc[.]txt|notexist-xyz|artex_write_probe|artx_persist_ok|artex_control_marker_zz9q|artex-probe-|eyjhbgcioijub25lin0[.]|eyjhbgcioijub25liiwidhlwijoislduin0[.]|eyj0exaioijkv1qilcjhbgcioijub25lin0[.]|code=aaaa&state=notvalidb64"
| fields _time, xdm.source.ipv4, xdm.source.user_agent, xdm.network.http.url
xql: reviewed, not executed datamodel Licence DRL 1.1

Placeholder paths, write markers, alg:none JWTs and the OAuth callback probe. Add your WAF, proxy and web server datasets. Adapted from ThreatDefence rules (MIT licence). False positives: Vulnerability scanners testing alg:none.

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
tb-2026-11-19-shell-lanc-par-un-worker-nginx-nginx2root-cortex-xdr.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed xdr_data Licence DRL 1.1

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
13/11 XQL xvd persistence or XMRig miner on the N-central applianceN-able N-central: 4EverAble2Shell and Agent2Shell exploited hours after PoC release, including against patched servers high T1543.002 T1496 T1190
tb-2026-11-13-persistance-xvd-ou-mineur-xmrig-sur-l-appliance-n-central.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief 2026-11-13 · nable-4everable2shell · experimental
// 4EverAble2Shell follow-on: xvd persistence files or service, XMRig miner on the N-central appliance
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 "/tmp/.xvd" or action_process_image_command_line contains "xvd.service" or action_process_image_name contains "xmrig"
| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line, action_process_image_sha256
xql: reviewed, not executed xdr_data (Linux processes) Licence DRL 1.1

New compared with the nable rules of 10 and 12/11: artefacts reported by Huntback after 4EverAble2Shell (/tmp/.xvd or /var/tmp/.xvd files, xvd.service) and the XMRig miner. False positives: Legitimate XMRig use on a lab host.

3 quotes from the sources
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
tb-2026-10-31-shell-suspect-enfant-d-un-worker-php.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed xdr_data Licence DRL 1.1

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.