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.

9 rules over 9 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
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
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 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
21/11 SIGMA Requests to Armory Castle webshell or tunnel paths on BeyondTrust RSVMware vCenter: CVE-2026-123890 in KEV, Mandiant details the Armory Castle chain from a BeyondTrust zero-day high T1190 T1505.003 T1572
tb-2026-11-21-requ-tes-vers-les-chemins-du-webshell-ou-du-tunnel-d-armory-.ymlDownload Sigma rule
title: Requests to Armory Castle webshell or tunnel paths on BeyondTrust Remote Support
id: ad88a9de-a753-4791-80d8-3c5c69b47c95
status: experimental
description: Detects HTTP requests to the staging webshell, the SAWFLY webshell (mangoapi.php) or the BARECLAW WebSocket endpoint (/uidchanarge) that Armory Castle used on BeyondTrust Remote Support appliances after exploiting CVE-2026-102764, the entry point of its vCenter campaign.
references:
  - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-beyondtrust
  - https://www.helpnetsecurity.com/2026/11/20/vmware-vcenter-zero-day-cve-2026-123890-exploited/
author: Threat Brief (tlpclear.fr)
date: 2026-11-21
tags:
  - attack.initial-access
  - attack.t1190
  - attack.persistence
  - attack.t1505.003
  - attack.command-and-control
  - attack.t1572
  - cve.2026-102764
logsource:
  category: webserver
detection:
  selection:
    cs-uri-stem|contains:
      - '/app_84304470'
      - '/mangoapi.php'
      - '/uidchanarge'
  condition: selection
falsepositives:
  - Unlikely; the BARECLAW WebSocket path is configurable, so its absence does not clear an appliance
level: high
sigma: parsed and converted (splunk, lucene) reverse proxy, WAF or web logs Licence DRL 1.1

HTTP requests to the staging webshell, the SAWFLY webshell (mangoapi.php) or the BARECLAW WebSocket endpoint (/uidchanarge) planted by Armory Castle on BeyondTrust Remote Support after CVE-2026-102764, the initial access of the vCenter campaign. False positives: Unlikely; the WebSocket path is configurable, so no match does not clear an appliance.

4 quotes from the sources
13/11 SIGMA TSGA launch or .tpl webshell staging on a Check Point gatewayCheck Point Security Gateways: PHP2Shell then CVE-2026-123039, webshells, TSGA backdoor and a wiper high T1505.003 T1543 T1068
tb-2026-11-13-lancement-de-tsga-ou-d-p-t-de-webshell-tpl-sur-une-passerell.ymlDownload Sigma rule
title: Check Point gateway TSGA backdoor launch or PHP webshell staging
id: 2cd5c101-eb50-4e34-a3a1-7e5586147df3
status: experimental
description: Detects process command lines seen after PHP2Shell and CVE-2026-123039 exploitation on Check Point Mobile Access gateways, TSGA backdoor launch from /tmp, TSProxy library drop and zz*.tpl webshell staging.
references:
  - https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/
author: Threat Brief (tlpclear.fr)
date: 2026-11-13
tags:
  - attack.persistence
  - attack.t1505.003
  - attack.t1543
  - cve.2026-123039
logsource:
  product: linux
  category: process_creation
detection:
  selection_img:
    Image|endswith:
      - '/tmp/CPconfigdaemon'
      - '/slot_CPconfigdaemon'
  selection_cmd:
    CommandLine|contains:
      - '/tmp/CPconfigdaemon'
      - '/tmp/.bd.log'
      - '/tmp/.up.tpl'
      - '/lib/libcpfwcommon.so'
  selection_webshell:
    CommandLine|contains|all:
      - 'base64 -d'
      - '/zz'
      - '.tpl'
  condition: 1 of selection_*
falsepositives:
  - Unlikely on a gateway, the paths are not used by legitimate Check Point components according to the source
  - Administrator writing a portal template named zz*.tpl from base64
level: high
sigma: parsed and converted (splunk, lucene) linux process_creation (passerelle Gaia) Licence DRL 1.1

Command lines observed by Check Point Research after PHP2Shell and CVE-2026-123039: launch of /tmp/CPconfigdaemon, /tmp/.bd.log output, /lib/libcpfwcommon.so drop and base64-decoded zz*.tpl webshells. False positives: Unlikely on a gateway: these paths are not used by legitimate components according to the source ; Administrator writing a zz*.tpl portal template from base64.

6 quotes from the sources
02/11 SIGMA php-cgi.exe spawning cmd, PowerShell or certutilPHP2Shell: root on PAN-OS firewalls with exposed management interface, and new unpatched PHP RCE high T1190 T1505.003 T1059.001 T1059.003
tb-2026-11-02-php-cgi-exe-lan-ant-cmd-powershell-ou-certutil.ymlDownload Sigma rule
title: cmd or PowerShell spawned by php-cgi.exe (PHP2Shell)
id: ba48f153-1434-44be-a611-de4cdde132f3
status: experimental
description: php-cgi.exe or php.exe spawning cmd.exe, powershell.exe or certutil.exe, pattern observed following PHP2Shell exploitation on IIS.
references:
  - https://www.prophetsecurity.ai/blog/php2shell
  - https://www.trellix.com/blogs/research/php2shell-key-info-on-cve-2026-109618-and-cve-2026-109619/
author: Threat Brief (tlpclear.fr)
date: 2026-11-02
tags:
  - attack.initial-access
  - attack.t1190
  - attack.persistence
  - attack.t1505.003
  - cve.2026-109618
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    ParentImage|endswith:
      - '\php-cgi.exe'
      - '\php.exe'
    Image|endswith:
      - '\cmd.exe'
      - '\powershell.exe'
      - '\pwsh.exe'
      - '\certutil.exe'
  condition: selection
falsepositives:
  - Administrative PHP scripts spawning system commands (scheduled tasks, CLI tools)
level: high
sigma: parsed and converted (splunk, lucene) windows process_creation Licence DRL 1.1

PHP2Shell post-exploitation under IIS (Prophet case: php-cgi.exe spawning cmd.exe under IUSR after a WerFault crash). False positives: Administrative PHP scripts executing commands.

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
tb-2026-11-01-php-fpm-php-cgi-apache-lan-ant-sh-avec-curl-wget-ou-dev-tcp.ymlDownload Sigma rule
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
sigma: parsed and converted (splunk, lucene) linux process_creation Licence DRL 1.1

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.