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.

11 rules over 5 days · technique T1505.003 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
28/11 SIGMA wp-media-*.php file requested under wp-content (WP Rocket CVE-2026-125812)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-appel-sous-wp-content-wp-rocket-cve-202.ymlDownload Sigma rule
title: WP Rocket CVE-2026-125812 planted wp-media-*.php file requested under wp-content
id: c20522aa-b53d-4b4b-960a-d32a9a70c677
status: experimental
description: Request to a PHP file whose name starts with wp-media- under wp-content, the file name pattern Patchstack reports for payloads planted through the WP Rocket rocket_beacon endpoint (CVE-2026-125812). Updating the plugin does not remove these files.
references:
  - https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/
author: Threat Brief (tlpclear.fr)
date: 2026-11-28
tags:
  - attack.initial-access
  - attack.t1190
  - attack.persistence
  - attack.t1505.003
  - cve.2026-125812
logsource:
  category: webserver
detection:
  selection:
    cs-uri-stem|contains|all:
      - 'wp-content/'
      - '/wp-media-'
    cs-uri-stem|endswith: '.php'
  filter_not_found:
    sc-status: 404
  condition: selection and not filter_not_found
falsepositives:
  - A legitimate plugin or theme file named wp-media-*.php (none known in WP Rocket itself)
level: high
sigma: parsed and converted (splunk, lucene) web server or reverse proxy access logs in front of WordPress Licence DRL 1.1

Request to a PHP file named wp-media-*.php under wp-content, the pattern Patchstack reports for payloads planted through the rocket_beacon endpoint. Updating the plugin does not remove these files. False positives: a legitimate plugin or theme file named wp-media-*.php.

4 quotes from the sources
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
27/11 SIGMA Planted PHP file run through the .htaccess bypass /modules/<file>.php/core/x.php (Drupal)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-plant-ex-cut-par-le-contournement-htaccess-modul.ymlDownload Sigma rule
title: Drupal planted PHP file executed through the .htaccess core path bypass (/modules/<file>.php/core/x.php)
id: 0afb1e89-f2d2-4046-b6e0-44b270634d72
status: experimental
description: Request whose path contains /modules/ followed by a .php file and /core/, the trick described by StepSecurity to run a PHP file planted in web/modules despite the stock Drupal .htaccess. The fixed releases do not change this rule, so it still applies after the Fail2Install (CVE-2026-132165) and CVE-2026-136716 patches.
references:
  - https://www.stepsecurity.io/blog/fail2install-cve-2026-132165
author: Threat Brief (tlpclear.fr)
date: 2026-11-27
tags:
  - attack.persistence
  - attack.t1505.003
  - attack.initial-access
  - attack.t1190
  - cve.2026-132165
  - cve.2026-136716
logsource:
  category: webserver
detection:
  selection:
    cs-uri-stem|contains|all:
      - '/modules/'
      - '.php/core/'
  filter_blocked:
    sc-status:
      - 403
      - 404
  condition: selection and not filter_blocked
falsepositives:
  - Security scanners or internal tests reproducing the StepSecurity check
level: high
sigma: parsed and converted (splunk, lucene) Apache or reverse proxy access logs in front of Drupal Licence DRL 1.1

Successful request to a /modules/<file>.php/core/... path, the trick described by StepSecurity to run a PHP file planted in web/modules despite the Drupal .htaccess. New compared with the 20/11 rule: the fixed releases leave the .htaccess rule unchanged. False positives: scanners or internal tests reproducing the StepSecurity check.

2 quotes from the sources
26/11 SIGMA Access to the /unauth/php/change_password.php webshell (PAN-OS)PAN-OS: Palo Alto Networks confirms Fragnesia exploited in a chain with PHP2Shell, fixes for 10.2 through 12.2 high T1505.003 T1190
tb-2026-11-26-acc-s-au-webshell-unauth-php-change-password-php-pan-os.ymlDownload Sigma rule
title: Request to the PAN-OS webshell path /unauth/php/change_password.php (Fragnesia and PHP2Shell)
id: dd52461c-ecf3-44f8-9e76-f11eb39fec6d
status: experimental
description: Request to /unauth/php/change_password.php, the 103-byte PHP webshell planted on PAN-OS management interfaces compromised through the PHP2Shell (CVE-2026-109618, CVE-2026-109619) and Fragnesia (CVE-2026-46300) chain.
references:
  - https://www.ampcuscyber.com/shadowopsintel/fragnesia-cve-2026-46300-chained-with-php2shell-in-active-root-access-attacks
  - https://www.bleepingcomputer.com/news/security/palo-alto-networks-warns-of-fragnesia-flaw-exploited-in-pan-os-attacks/
author: Threat Brief (tlpclear.fr)
date: 2026-11-26
tags:
  - attack.persistence
  - attack.t1505.003
  - attack.initial-access
  - attack.t1190
  - cve.2026-46300
  - cve.2026-109618
logsource:
  category: webserver
detection:
  selection:
    cs-uri-stem|contains: '/unauth/php/change_password.php'
  condition: selection
falsepositives:
  - Security scanners or internal compromise checks requesting the path
level: high
sigma: parsed and converted (splunk, lucene) web logs or reverse proxy in front of the PAN-OS management interface Licence DRL 1.1

Request to /unauth/php/change_password.php, the 103-byte PHP webshell planted on PAN-OS management interfaces compromised through the PHP2Shell and Fragnesia chain (Ampcus). False positives: scanners or internal compromise checks requesting the path.

2 quotes from the sources
  • “It planted a 103 byte PHP webshell at /unauth/php/change_password.php,” www.ampcuscyber.com
  • “check every PAN-OS device for the webshell /unauth/php/change_password.php and remove it.” www.ampcuscyber.com
26/11 XQL CyberStrikeAI Webshell OS Probe CommandAgentic attack frameworks: Cortex XQL pack high T1082 T1505.003
tb-pack-agentic-frameworks-commande-de-sonde-os-du-webshell-cyberstrikeai.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed xdr_data Licence DRL 1.1

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
tb-pack-agentic-frameworks-user-agent-ou-sonde-os-du-gestionnaire-de-webshell-cyberstri.xqlXSIAM correlation ruleDownload XQL query
// 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
xql: reviewed, not executed datamodel Licence DRL 1.1

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.

25/11 SIGMA cmd.exe or powershell.exe spawned by w3wp.exe (Idunno.AntiCsrf)Idunno.AntiCsrf: an ASP.NET library abandoned in 2008 exploited for RCE, KEV deadline Thursday medium T1190 T1505.003 T1059.001
tb-2026-11-25-cmd-exe-ou-powershell-exe-lanc-par-w3wp-exe-idunno-anticsrf.ymlDownload Sigma rule
title: cmd.exe or powershell.exe spawned by the IIS worker w3wp.exe (Idunno.AntiCsrf CVE-2026-131914)
id: f0177ba4-4994-45e0-8820-3c5b9c10190b
status: experimental
description: Command shell launched by w3wp.exe, the post-exploitation trace recommended for hunting after exploitation of the Idunno.AntiCsrf deserialization flaw (CVE-2026-131914) in ASP.NET applications.
references:
  - https://www.cyberkendra.com/2026/11/cve-2026-131914-idunno-anticsrf-rce-exploited.html
author: Threat Brief (tlpclear.fr)
date: 2026-11-25
tags:
  - attack.initial-access
  - attack.t1190
  - attack.persistence
  - attack.t1505.003
  - attack.execution
  - attack.t1059.001
  - cve.2026-131914
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    ParentImage|endswith: '\w3wp.exe'
    Image|endswith:
      - '\cmd.exe'
      - '\powershell.exe'
  condition: selection
falsepositives:
  - Web applications that legitimately call cmd.exe or PowerShell (maintenance scripts, report generation)
level: medium
sigma: parsed and converted (splunk, lucene) Windows process creation (Sysmon 1, EDR) Licence DRL 1.1

Shell started by the IIS worker process, the hunting lead given after exploitation of the Idunno.AntiCsrf deserialization flaw CVE-2026-131914. False positives: web applications that legitimately call cmd.exe or PowerShell.

1 quote from the sources
23/11 YARA Java class of the FabricShadow reconnaissance tool (BankWeaver)BankWeaver: Forescout describes Java web shells dropped on Temenos Quantum Fabric deployments left open to anonymous access high T1505.003 T1082
tb-2026-11-23-classe-java-de-l-outil-de-reconnaissance-fabricshadow-bankwe.yarDownload YARA rule
rule TB_20261123_BankWeaver_FabricShadow_class
{
    meta:
        author = "Threat Brief (tlpclear.fr)"
        date = "2026-11-23"
        reference = "https://www.forescout.com/blog/bankweaver-campaign-abuses-digital-banking-middleware-to-deploy-web-shells/"
        description = "FabricShadow reconnaissance service (BankWeaver) in a Java class file: RECON_* output markers and ReconPreProcessor or ReconJavaService names"
        status = "experimental"
    strings:
        $m1 = "RECON_PREPROCESSOR" ascii
        $m2 = "RECON_FROM_FABRIC" ascii
        $n1 = "ReconPreProcessor" ascii
        $n2 = "ReconJavaService" ascii
    condition:
        uint32be(0) == 0xCAFEBABE and filesize < 2MB and (any of ($m*)) and (any of ($n*))
}
yara: compiled Java .class file Licence DRL 1.1

Class file carrying FabricShadow's RECON_* markers and ReconPreProcessor or ReconJavaService names; run it on extracted JARs (a JAR is compressed). False positives: None known.

4 quotes from the sources
23/11 SIGMA Application import through /workspace zipimport on Quantum Fabric (BankWeaver)BankWeaver: Forescout describes Java web shells dropped on Temenos Quantum Fabric deployments left open to anonymous access medium T1190 T1505.003
tb-2026-11-23-import-d-application-par-workspace-zipimport-sur-quantum-fab.ymlDownload Sigma rule
title: Application import through /workspace zipimport on Temenos Quantum Fabric (BankWeaver)
id: 453ccde1-8c5e-410e-9370-87214bdba3de
status: experimental
description: Detects POST requests to the Quantum Fabric /workspace endpoint with a zipimport query, the path BankWeaver actors abused on anonymously accessible deployments to upload the FabricShell and FabricShadow JAR files.
references:
  - https://www.forescout.com/blog/bankweaver-campaign-abuses-digital-banking-middleware-to-deploy-web-shells/
author: Threat Brief (tlpclear.fr)
date: 2026-11-23
tags:
  - attack.initial-access
  - attack.t1190
  - attack.persistence
  - attack.t1505.003
logsource:
  category: webserver
detection:
  selection:
    cs-method: 'POST'
    cs-uri-stem|contains: '/workspace'
    cs-uri-query|contains: 'zipimport'
  condition: selection
falsepositives:
  - Legitimate application imports by Quantum Fabric administrators; check the source address and the account
level: medium
sigma: parsed and converted (splunk, lucene) reverse proxy or web logs Licence DRL 1.1

POST request to /workspace with zipimport, the path BankWeaver used on anonymously accessible deployments to upload the FabricShell and FabricShadow JAR files. False positives: Legitimate application imports by Quantum Fabric administrators; check the source address and the account.

4 quotes from the sources
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
tb-2026-11-23-sortie-de-reconnaissance-fabricshadow-ou-recon-svc-jar-crit-.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed xdr_data Licence DRL 1.1

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