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.
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
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
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
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
- “A request for /modules/x.php/core/x.php ends in /core/x.php” www.stepsecurity.io
- “The request GET /modules/<file>.php/core/x.php returned 200 and ran the PHP” www.stepsecurity.io
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
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
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
www.ampcuscyber.comwww.bleepingcomputer.comSee 26/11 with its edition →
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.
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
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
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
- “w3wp.exe” www.cyberkendra.com
www.cyberkendra.comthehackernews.comSee 25/11 with its edition →
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
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*))
}
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
- “RECON_PREPROCESSOR” www.forescout.com
- “RECON_FROM_FABRIC” www.forescout.com
- “ReconPreProcessor” www.forescout.com
- “ReconJavaService” www.forescout.com
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
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
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
- “POST request to” www.forescout.com
- “/workspace” www.forescout.com
- “zipimport?isAsync” www.forescout.com
- “The threat actor then uploaded two JAR files, which we named FabricShell and FabricShadow” www.forescout.com
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
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
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
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
- “/app_84304470%2Ephp” cloud.google.com
- “mangoapi.php” cloud.google.com
- “/uidchanarge” cloud.google.com
- “In the intrusion detailed in their report , the group got in through CVE-2026-102764, a zero-day in BeyondTrust Remote Support.” www.helpnetsecurity.com
cloud.google.comwww.helpnetsecurity.comSee 21/11 with its edition →
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 →
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
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
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
- “launching the TSGA malware (/tmp/CPconfigdaemon) in the background” research.checkpoint.com
- “nohup /tmp/CPconfigdaemon >/tmp/.bd.log 2>&1 & printf started” research.checkpoint.com
- “relaunches under the name slot_CPconfigdaemon in the boot persistence directory” research.checkpoint.com
- “an embedded shared library that it writes to /lib/libcpfwcommon.so” research.checkpoint.com
- “Uploaded files are saved to the fixed path /tmp/.up.tpl” research.checkpoint.com
- “printf <base64 Webshell> | base64 -d > <templates>/zz<random>.tpl” research.checkpoint.com
13/11 YARA TSGA / TSProxy, destroy_v6 wiper and zz*.tpl webshell (Check Point)Check Point Security Gateways: PHP2Shell then CVE-2026-123039, webshells, TSGA backdoor and a wiper high T1505.003 T1485 T1090
import "hash"
rule TB_20261113_CheckPoint_TSGA_TSProxy
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-13"
reference = "https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/"
description = "TSGA backdoor (slot_CPconfigdaemon) and its embedded TSProxy library seen on Check Point gateways after PHP2Shell"
status = "experimental"
strings:
$s1 = "slot_CPconfigdaemon" ascii
$s2 = "libcpfwcommon.so" ascii
$s3 = "/tmp/.p_sock" ascii
condition:
uint32(0) == 0x464c457f and filesize < 20MB and
(2 of ($s*) or
hash.sha256(0, filesize) == "4171b521fa6441382aa2fa014a08e18ff9a6e0ab6096c9144072bf46b37a2ec8" or
hash.sha256(0, filesize) == "d7549671c7189979f0624ec52dad9ea6a707d23146e3585ab8f8c4720eca0c63")
}
rule TB_20261113_CheckPoint_destroy_v6_wiper
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-13"
reference = "https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/"
description = "destroy_v6 Linux wiper dropping DREAM_ANNEXATION.txt notes, deployed on ESXi after the Check Point gateway intrusion"
status = "experimental"
strings:
$note = "DREAM_ANNEXATION.txt" ascii
condition:
uint32(0) == 0x464c457f and filesize < 20MB and
($note or hash.sha256(0, filesize) == "c7d9477309fac6c638a1128442056a242de086996add8cb49cd6496c36003237")
}
rule TB_20261113_CheckPoint_tpl_webshell
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-13"
reference = "https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/"
description = "Expanded zz*.tpl PHP webshell of the Mobile Access portal: hardcoded key and fixed upload path"
status = "experimental"
strings:
$key = "zz2026" ascii
$up = "/tmp/.up.tpl" ascii
condition:
filesize < 200KB and (($key and $up) or
hash.sha256(0, filesize) == "edb3e92eb7bda7413a09edcc4b1ba3cbed4bcdf42808a8abce63b6e4c3fda2b3")
}
Three rules on the files described by Check Point Research: TSGA binary and TSProxy library, destroy_v6 wiper writing DREAM_ANNEXATION.txt, .tpl webshell keyed zz2026; backed by the published hashes. False positives: No known legitimate file carries these strings together.
6 quotes from the sources
- “relaunches under the name slot_CPconfigdaemon in the boot persistence directory” research.checkpoint.com
- “an embedded shared library that it writes to /lib/libcpfwcommon.so” research.checkpoint.com
- “the Unix socket /tmp/.p_sock” research.checkpoint.com
- “It also writes DREAM_ANNEXATION.txt to each processed directory” research.checkpoint.com
- “The expanded shell requires the hardcoded key zz2026” research.checkpoint.com
- “Uploaded files are saved to the fixed path /tmp/.up.tpl” research.checkpoint.com
07/11 YARA cwpsrv binary bearing X-Ngx-Integrity-* headersCWPdoor: trojanised cwpsrv turns Control Web Panel into a passive backdoor high T1505.003 T1554
rule TB_20261107_CWPdoor_cwpsrv_integrity
{
meta:
author = "Threat Brief (tlpclear.fr)"
date = "2026-11-07"
reference = "https://thehackernews.com/2026/11/hackers-hide-linux-backdoor-in-control.html"
description = "Trojanised cwpsrv binary (CWPdoor): X-Ngx-Integrity-* headers and ngx_http_integrity_helper socket"
status = "experimental"
strings:
$h1 = "X-Ngx-Integrity-Time" ascii
$h2 = "X-Ngx-Integrity-Data" ascii
$h3 = "X-Ngx-Integrity-Sig" ascii
$s1 = "ngx_http_integrity_helper" ascii
condition:
uint32(0) == 0x464c457f and filesize < 30MB and (2 of ($h*) or ($s1 and 1 of ($h*)))
}
Trigger strings for the backdoor described by QiAnXin XLab, to be scanned on /usr/local/cwpsrv/bin/cwpsrv and cwpsrv.prev-* files. False positives: None known.
thehackernews.comwww.bleepingcomputer.comSee 07/11 with its edition →
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 →
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
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
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.
www.prophetsecurity.aiwww.trellix.comSee 02/11 with its edition →
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
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
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.
www.elastic.cowww.prophetsecurity.aiSee 01/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 →