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.

5 rules over 4 days · technique T1505.003 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
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
20/11 XQL A1. Web or database service spawns a shell or download tool (Linux)ARTEX: Cortex XQL pack medium T1059.004 T1505.003
tb-pack-artex-a1-service-web-ou-base-de-donn-es-qui-lance-un-shell-ou-un-o.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed xdr_data Licence DRL 1.1

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
tb-pack-artex-a2-service-web-ou-base-de-donn-es-qui-lance-un-shell-ou-un-o.xqlXSIAM correlation rule
BIOC
Download XQL query
// 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
xql: reviewed, not executed xdr_data Licence DRL 1.1

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.

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
tb-2026-11-05-shell-ou-t-l-chargeur-lanc-par-php.xqlXSIAM correlation ruleDownload XQL query
// 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
xql: reviewed, not executed xdr_data (PROCESS) Licence DRL 1.1

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).