{"schema_version":1,"scope":"sélection","license":"DRL 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License","status":"experimental","disclaimer":"Experimental rule, provided without warranty: test and validate in your environment before any production use; do not block on it alone.","count":17,"rules":[{"id":"c20522aa-b53d-4b4b-960a-d32a9a70c677","date":"2026-11-28","format":"sigma","title":"wp-media-*.php file requested under wp-content (WP Rocket CVE-2026-125812)","description":"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.","level":"high","attack":["T1190","T1505.003"],"references":["https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/"],"falsepositives":["a legitimate plugin or theme file named wp-media-*.php"],"content":"title: WP Rocket CVE-2026-125812 planted wp-media-*.php file requested under wp-content\nid: c20522aa-b53d-4b4b-960a-d32a9a70c677\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-28\ntags:\n  - attack.initial-access\n  - attack.t1190\n  - attack.persistence\n  - attack.t1505.003\n  - cve.2026-125812\nlogsource:\n  category: webserver\ndetection:\n  selection:\n    cs-uri-stem|contains|all:\n      - 'wp-content/'\n      - '/wp-media-'\n    cs-uri-stem|endswith: '.php'\n  filter_not_found:\n    sc-status: 404\n  condition: selection and not filter_not_found\nfalsepositives:\n  - A legitimate plugin or theme file named wp-media-*.php (none known in WP Rocket itself)\nlevel: high\n","topic":"WP Rocket: unauthenticated RCE CVE-2026-125812 exploited since 25 November, tens of thousands of attempts a day","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-28"},{"id":"6921f36a-d27e-4ea6-a892-1f8b956d02bd","date":"2026-11-28","format":"xql","title":"wp-media-*.php file written under wp-content (WP Rocket, Cortex XDR)","description":"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.","level":"high","attack":["T1190","T1505.003"],"references":["https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/"],"falsepositives":["a legitimate plugin or theme deploying a file named wp-media-*.php"],"content":"// Threat Brief 2026-11-28 · WP Rocket CVE-2026-125812 · experimental\n// PHP file named wp-media-*.php written under wp-content (payload planted through the rocket_beacon endpoint)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.FILE and action_file_path contains \"wp-content/\" and action_file_name ~= \"^wp-media-.*\\.php$\"\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_name\n","topic":"WP Rocket: unauthenticated RCE CVE-2026-125812 exploited since 25 November, tens of thousands of attempts a day","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-28"},{"id":"d0dcd4a9-8168-40ef-85aa-2a1a6116bced","date":"2026-11-27","format":"xql","title":".php file written under a modules directory by Apache (Drupal, Cortex XDR)","description":"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.","level":"high","attack":["T1505.003","T1190"],"references":["https://www.stepsecurity.io/blog/fail2install-cve-2026-132165"],"falsepositives":["module installed or updated from the Drupal web interface (Update Manager)"],"content":"// Threat Brief 2026-11-27 · Drupal CVE-2026-132165 / CVE-2026-136716 · experimental\n// .php file written under a modules directory by the web server (SQLite database file planted through the installer)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.FILE and action_file_path contains \"/modules/\" and action_file_name ~= \"\\.php$\" and actor_process_image_name in (\"apache2\", \"httpd\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_name\n","topic":"Drupal: a second installer flaw exploited, the Fail2Install fix was not enough on sites in an incomplete installation state","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-27"},{"id":"0afb1e89-f2d2-4046-b6e0-44b270634d72","date":"2026-11-27","format":"sigma","title":"Planted PHP file run through the .htaccess bypass /modules/<file>.php/core/x.php (Drupal)","description":"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.","level":"high","attack":["T1505.003","T1190"],"references":["https://www.stepsecurity.io/blog/fail2install-cve-2026-132165"],"falsepositives":["scanners or internal tests reproducing the StepSecurity check"],"content":"title: Drupal planted PHP file executed through the .htaccess core path bypass (/modules/<file>.php/core/x.php)\nid: 0afb1e89-f2d2-4046-b6e0-44b270634d72\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://www.stepsecurity.io/blog/fail2install-cve-2026-132165\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-27\ntags:\n  - attack.persistence\n  - attack.t1505.003\n  - attack.initial-access\n  - attack.t1190\n  - cve.2026-132165\n  - cve.2026-136716\nlogsource:\n  category: webserver\ndetection:\n  selection:\n    cs-uri-stem|contains|all:\n      - '/modules/'\n      - '.php/core/'\n  filter_blocked:\n    sc-status:\n      - 403\n      - 404\n  condition: selection and not filter_blocked\nfalsepositives:\n  - Security scanners or internal tests reproducing the StepSecurity check\nlevel: high\n","topic":"Drupal: a second installer flaw exploited, the Fail2Install fix was not enough on sites in an incomplete installation state","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-27"},{"id":"dd52461c-ecf3-44f8-9e76-f11eb39fec6d","date":"2026-11-26","format":"sigma","title":"Access to the /unauth/php/change_password.php webshell (PAN-OS)","description":"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).","level":"high","attack":["T1505.003","T1190"],"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/"],"falsepositives":["scanners or internal compromise checks requesting the path"],"content":"title: Request to the PAN-OS webshell path /unauth/php/change_password.php (Fragnesia and PHP2Shell)\nid: dd52461c-ecf3-44f8-9e76-f11eb39fec6d\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://www.ampcuscyber.com/shadowopsintel/fragnesia-cve-2026-46300-chained-with-php2shell-in-active-root-access-attacks\n  - https://www.bleepingcomputer.com/news/security/palo-alto-networks-warns-of-fragnesia-flaw-exploited-in-pan-os-attacks/\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-26\ntags:\n  - attack.persistence\n  - attack.t1505.003\n  - attack.initial-access\n  - attack.t1190\n  - cve.2026-46300\n  - cve.2026-109618\nlogsource:\n  category: webserver\ndetection:\n  selection:\n    cs-uri-stem|contains: '/unauth/php/change_password.php'\n  condition: selection\nfalsepositives:\n  - Security scanners or internal compromise checks requesting the path\nlevel: high\n","topic":"PAN-OS: Palo Alto Networks confirms Fragnesia exploited in a chain with PHP2Shell, fixes for 10.2 through 12.2","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-26"},{"id":"85c91c17-6196-5397-9fb5-9a2dbe7df06e","date":"2026-11-26","format":"xql","title":"CyberStrikeAI Webshell OS Probe Command","description":"Detects the command CyberStrikeAI's webshell manager runs on every new webshell, \"echo :OSPROBE_%OS%:END\", which\nshows up as a shell started by the web server process. Adapted from the ThreatDefence Sigma rule (MIT licence).","level":"high","attack":["T1082","T1505.003"],"references":["https://github.com/AIPentest/CyberStrikeAI","https://www.elastic.co/security-labs/threat-command/agentic-offensive-frameworks-detection-artex","https://github.com/ThreatDefence/agentic-attack-detections","https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/cyberstrikeai/sigma/process_creation/proc_creation_cyberstrikeai_webshell_os_probe.yml"],"falsepositives":["Authorized tests with CyberStrikeAI"],"content":"// Threat Brief · CyberStrikeAI · CyberStrikeAI Webshell OS Probe Command · experimental (adapted from ThreatDefence, MIT)\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter action_process_image_command_line contains \":OSPROBE_\"\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"},{"id":"a6fc0fa3-8951-577d-9f6a-a8c77af9ded2","date":"2026-11-26","format":"xql","title":"CyberStrikeAI Webshell Manager User Agent or OS Probe in Web Logs","description":"Detects requests from CyberStrikeAI's webshell manager to a planted webshell: its hard-coded user agent, or the\n\"echo :OSPROBE_%OS%:END\" command it sends in the cmd parameter (visible in GET mode). Adapted from the ThreatDefence Sigma rule (MIT licence).","level":"high","attack":["T1505.003"],"references":["https://github.com/AIPentest/CyberStrikeAI","https://www.elastic.co/security-labs/threat-command/agentic-offensive-frameworks-detection-artex","https://github.com/ThreatDefence/agentic-attack-detections","https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/cyberstrikeai/sigma/web/web_cyberstrikeai_webshell_manager.yml"],"falsepositives":["Authorized tests with CyberStrikeAI"],"content":"// Threat Brief · CyberStrikeAI · CyberStrikeAI Webshell Manager User Agent or OS Probe in Web Logs · experimental (adapted from ThreatDefence, MIT)\nconfig case_sensitive = false\n| datamodel\n| filter (xdm.source.user_agent contains \"CyberStrikeAI-WebShell/\" or (xdm.network.http.url contains \"OSPROBE_\" or xdm.network.http.url contains \"OSPROBE%5F\"))\n| 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\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"},{"id":"1b846768-b7ac-4b91-aac0-f3142f5ef370","date":"2026-11-23","format":"yara","title":"Java class of the FabricShadow reconnaissance tool (BankWeaver)","description":"Class file carrying FabricShadow's RECON_* markers and ReconPreProcessor or ReconJavaService names; run it on extracted JARs (a JAR is compressed).","level":"high","attack":["T1505.003","T1082"],"references":["https://www.forescout.com/blog/bankweaver-campaign-abuses-digital-banking-middleware-to-deploy-web-shells/"],"falsepositives":["None known"],"content":"rule TB_20261123_BankWeaver_FabricShadow_class\n{\n    meta:\n        author = \"Threat Brief (tlpclear.fr)\"\n        date = \"2026-11-23\"\n        reference = \"https://www.forescout.com/blog/bankweaver-campaign-abuses-digital-banking-middleware-to-deploy-web-shells/\"\n        description = \"FabricShadow reconnaissance service (BankWeaver) in a Java class file: RECON_* output markers and ReconPreProcessor or ReconJavaService names\"\n        status = \"experimental\"\n    strings:\n        $m1 = \"RECON_PREPROCESSOR\" ascii\n        $m2 = \"RECON_FROM_FABRIC\" ascii\n        $n1 = \"ReconPreProcessor\" ascii\n        $n2 = \"ReconJavaService\" ascii\n    condition:\n        uint32be(0) == 0xCAFEBABE and filesize < 2MB and (any of ($m*)) and (any of ($n*))\n}\n","topic":"BankWeaver: Forescout describes Java web shells dropped on Temenos Quantum Fabric deployments left open to anonymous access","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-23"},{"id":"08172177-5603-4080-a328-cafee24919c9","date":"2026-11-23","format":"xql","title":"FabricShadow recon output or recon_svc.jar written on the Quantum Fabric host (Cortex XDR)","description":"Write of /tmp/.recon_out or recon_svc.jar, local traces of the FabricShadow tool that Forescout recommends hunting for.","level":"high","attack":["T1505.003","T1082"],"references":["https://www.forescout.com/blog/bankweaver-campaign-abuses-digital-banking-middleware-to-deploy-web-shells/"],"falsepositives":["None expected outside a reproduction by a security team"],"content":"// Threat Brief 2026-11-23 · BankWeaver (Temenos Quantum Fabric) · experimental\n// FabricShadow recon output or recon_svc.jar written on the middleware host\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.FILE\n| filter action_file_path contains \"/tmp/.recon_out\" or action_file_name = \"recon_svc.jar\"\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_file_name\n","topic":"BankWeaver: Forescout describes Java web shells dropped on Temenos Quantum Fabric deployments left open to anonymous access","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-23"},{"id":"ad88a9de-a753-4791-80d8-3c5c69b47c95","date":"2026-11-21","format":"sigma","title":"Requests to Armory Castle webshell or tunnel paths on BeyondTrust RS","description":"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.","level":"high","attack":["T1190","T1505.003","T1572"],"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/"],"falsepositives":["Unlikely; the WebSocket path is configurable, so no match does not clear an appliance"],"content":"title: Requests to Armory Castle webshell or tunnel paths on BeyondTrust Remote Support\nid: ad88a9de-a753-4791-80d8-3c5c69b47c95\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://cloud.google.com/blog/topics/threat-intelligence/armory-castle-exploits-beyondtrust\n  - https://www.helpnetsecurity.com/2026/11/20/vmware-vcenter-zero-day-cve-2026-123890-exploited/\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-21\ntags:\n  - attack.initial-access\n  - attack.t1190\n  - attack.persistence\n  - attack.t1505.003\n  - attack.command-and-control\n  - attack.t1572\n  - cve.2026-102764\nlogsource:\n  category: webserver\ndetection:\n  selection:\n    cs-uri-stem|contains:\n      - '/app_84304470'\n      - '/mangoapi.php'\n      - '/uidchanarge'\n  condition: selection\nfalsepositives:\n  - Unlikely; the BARECLAW WebSocket path is configurable, so its absence does not clear an appliance\nlevel: high\n","topic":"VMware vCenter: CVE-2026-123890 in KEV, Mandiant details the Armory Castle chain from a BeyondTrust zero-day","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-21"},{"id":"2cd5c101-eb50-4e34-a3a1-7e5586147df3","date":"2026-11-13","format":"sigma","title":"TSGA launch or .tpl webshell staging on a Check Point gateway","description":"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.","level":"high","attack":["T1505.003","T1543","T1068"],"references":["https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/"],"falsepositives":["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"],"content":"title: Check Point gateway TSGA backdoor launch or PHP webshell staging\nid: 2cd5c101-eb50-4e34-a3a1-7e5586147df3\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-13\ntags:\n  - attack.persistence\n  - attack.t1505.003\n  - attack.t1543\n  - cve.2026-123039\nlogsource:\n  product: linux\n  category: process_creation\ndetection:\n  selection_img:\n    Image|endswith:\n      - '/tmp/CPconfigdaemon'\n      - '/slot_CPconfigdaemon'\n  selection_cmd:\n    CommandLine|contains:\n      - '/tmp/CPconfigdaemon'\n      - '/tmp/.bd.log'\n      - '/tmp/.up.tpl'\n      - '/lib/libcpfwcommon.so'\n  selection_webshell:\n    CommandLine|contains|all:\n      - 'base64 -d'\n      - '/zz'\n      - '.tpl'\n  condition: 1 of selection_*\nfalsepositives:\n  - Unlikely on a gateway, the paths are not used by legitimate Check Point components according to the source\n  - Administrator writing a portal template named zz*.tpl from base64\nlevel: high\n","topic":"Check Point Security Gateways: PHP2Shell then CVE-2026-123039, webshells, TSGA backdoor and a wiper","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-13"},{"id":"c962b1f3-f19e-48d0-9532-7a0688c0afbb","date":"2026-11-13","format":"yara","title":"TSGA / TSProxy, destroy_v6 wiper and zz*.tpl webshell (Check Point)","description":"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.","level":"high","attack":["T1505.003","T1485","T1090"],"references":["https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/"],"falsepositives":["No known legitimate file carries these strings together"],"content":"import \"hash\"\n\nrule TB_20261113_CheckPoint_TSGA_TSProxy\n{\n    meta:\n        author = \"Threat Brief (tlpclear.fr)\"\n        date = \"2026-11-13\"\n        reference = \"https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/\"\n        description = \"TSGA backdoor (slot_CPconfigdaemon) and its embedded TSProxy library seen on Check Point gateways after PHP2Shell\"\n        status = \"experimental\"\n    strings:\n        $s1 = \"slot_CPconfigdaemon\" ascii\n        $s2 = \"libcpfwcommon.so\" ascii\n        $s3 = \"/tmp/.p_sock\" ascii\n    condition:\n        uint32(0) == 0x464c457f and filesize < 20MB and\n        (2 of ($s*) or\n         hash.sha256(0, filesize) == \"4171b521fa6441382aa2fa014a08e18ff9a6e0ab6096c9144072bf46b37a2ec8\" or\n         hash.sha256(0, filesize) == \"d7549671c7189979f0624ec52dad9ea6a707d23146e3585ab8f8c4720eca0c63\")\n}\n\nrule TB_20261113_CheckPoint_destroy_v6_wiper\n{\n    meta:\n        author = \"Threat Brief (tlpclear.fr)\"\n        date = \"2026-11-13\"\n        reference = \"https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/\"\n        description = \"destroy_v6 Linux wiper dropping DREAM_ANNEXATION.txt notes, deployed on ESXi after the Check Point gateway intrusion\"\n        status = \"experimental\"\n    strings:\n        $note = \"DREAM_ANNEXATION.txt\" ascii\n    condition:\n        uint32(0) == 0x464c457f and filesize < 20MB and\n        ($note or hash.sha256(0, filesize) == \"c7d9477309fac6c638a1128442056a242de086996add8cb49cd6496c36003237\")\n}\n\nrule TB_20261113_CheckPoint_tpl_webshell\n{\n    meta:\n        author = \"Threat Brief (tlpclear.fr)\"\n        date = \"2026-11-13\"\n        reference = \"https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/\"\n        description = \"Expanded zz*.tpl PHP webshell of the Mobile Access portal: hardcoded key and fixed upload path\"\n        status = \"experimental\"\n    strings:\n        $key = \"zz2026\" ascii\n        $up = \"/tmp/.up.tpl\" ascii\n    condition:\n        filesize < 200KB and (($key and $up) or\n        hash.sha256(0, filesize) == \"edb3e92eb7bda7413a09edcc4b1ba3cbed4bcdf42808a8abce63b6e4c3fda2b3\")\n}\n","topic":"Check Point Security Gateways: PHP2Shell then CVE-2026-123039, webshells, TSGA backdoor and a wiper","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-13"},{"id":"e2582c41-bf8e-49a4-8f74-5d421c2f6904","date":"2026-11-07","format":"yara","title":"cwpsrv binary bearing X-Ngx-Integrity-* headers","description":"Trigger strings for the backdoor described by QiAnXin XLab, to be scanned on /usr/local/cwpsrv/bin/cwpsrv and cwpsrv.prev-* files.","level":"high","attack":["T1505.003","T1554"],"references":["https://thehackernews.com/2026/11/hackers-hide-linux-backdoor-in-control.html","https://www.bleepingcomputer.com/news/security/hackers-backdoor-linux-servers-using-trojanized-cwp-web-server/"],"falsepositives":["None known"],"content":"rule TB_20261107_CWPdoor_cwpsrv_integrity\n{\n    meta:\n        author = \"Threat Brief (tlpclear.fr)\"\n        date = \"2026-11-07\"\n        reference = \"https://thehackernews.com/2026/11/hackers-hide-linux-backdoor-in-control.html\"\n        description = \"Trojanised cwpsrv binary (CWPdoor): X-Ngx-Integrity-* headers and ngx_http_integrity_helper socket\"\n        status = \"experimental\"\n    strings:\n        $h1 = \"X-Ngx-Integrity-Time\" ascii\n        $h2 = \"X-Ngx-Integrity-Data\" ascii\n        $h3 = \"X-Ngx-Integrity-Sig\" ascii\n        $s1 = \"ngx_http_integrity_helper\" ascii\n    condition:\n        uint32(0) == 0x464c457f and filesize < 30MB and (2 of ($h*) or ($s1 and 1 of ($h*)))\n}\n","topic":"CWPdoor: trojanised cwpsrv turns Control Web Panel into a passive backdoor","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-07"},{"id":"57b35b4b-45d6-4a1c-a6fc-9495931153ba","date":"2026-11-07","format":"xql","title":"cwpsrv.prev-*, child shell of cwpsrv or traffic to 136.0.141.71","description":"CWPdoor host artefacts: cwpsrv.prev-* backup, unexpected cwpsrv children, and traffic to published staging IP.","level":"high","attack":["T1505.003","T1059.004"],"references":["https://thehackernews.com/2026/11/hackers-hide-linux-backdoor-in-control.html","https://www.bleepingcomputer.com/news/security/hackers-backdoor-linux-servers-using-trojanized-cwp-web-server/"],"falsepositives":["Legitimate CWP update creating a backup"],"content":"// Threat Brief 2026-11-07 · CWPdoor (trojanised cwpsrv) · experimental\n// cwpsrv.prev-* backup, cwpsrv shell children, or traffic to XLab staging IP\nconfig case_sensitive = false\n| dataset = xdr_data\n| 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\")\n| 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\n","topic":"CWPdoor: trojanised cwpsrv turns Control Web Panel into a passive backdoor","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-07"},{"id":"ba48f153-1434-44be-a611-de4cdde132f3","date":"2026-11-02","format":"sigma","title":"php-cgi.exe spawning cmd, PowerShell or certutil","description":"PHP2Shell post-exploitation under IIS (Prophet case: php-cgi.exe spawning cmd.exe under IUSR after a WerFault crash).","level":"high","attack":["T1190","T1505.003","T1059.001","T1059.003"],"references":["https://www.prophetsecurity.ai/blog/php2shell","https://www.trellix.com/blogs/research/php2shell-key-info-on-cve-2026-109618-and-cve-2026-109619/"],"falsepositives":["Administrative PHP scripts executing commands"],"content":"title: cmd or PowerShell spawned by php-cgi.exe (PHP2Shell)\nid: ba48f153-1434-44be-a611-de4cdde132f3\nstatus: experimental\ndescription: php-cgi.exe or php.exe spawning cmd.exe, powershell.exe or certutil.exe, pattern observed following PHP2Shell exploitation on IIS.\nreferences:\n  - https://www.prophetsecurity.ai/blog/php2shell\n  - https://www.trellix.com/blogs/research/php2shell-key-info-on-cve-2026-109618-and-cve-2026-109619/\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-02\ntags:\n  - attack.initial-access\n  - attack.t1190\n  - attack.persistence\n  - attack.t1505.003\n  - cve.2026-109618\nlogsource:\n  product: windows\n  category: process_creation\ndetection:\n  selection:\n    ParentImage|endswith:\n      - '\\php-cgi.exe'\n      - '\\php.exe'\n    Image|endswith:\n      - '\\cmd.exe'\n      - '\\powershell.exe'\n      - '\\pwsh.exe'\n      - '\\certutil.exe'\n  condition: selection\nfalsepositives:\n  - Administrative PHP scripts spawning system commands (scheduled tasks, CLI tools)\nlevel: high\n","topic":"PHP2Shell: root on PAN-OS firewalls with exposed management interface, and new unpatched PHP RCE","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-02"},{"id":"62e0bd11-c170-44f7-8cfc-0629bdd8be32","date":"2026-11-01","format":"sigma","title":"php-fpm/php-cgi/apache spawning sh with curl, wget or /dev/tcp","description":"PHP2Shell post-exploitation on Linux, including appliances: child shell of a PHP worker with download or reverse shell.","level":"high","attack":["T1190","T1505.003","T1059.004"],"references":["https://www.elastic.co/es/security-labs/threat-command/php2shell-php-rce-detection","https://www.prophetsecurity.ai/blog/php2shell"],"falsepositives":["PHP applications calling curl via a shell"],"content":"title: Suspicious shell spawned by a PHP worker (PHP2Shell)\nid: 62e0bd11-c170-44f7-8cfc-0629bdd8be32\nstatus: experimental\ndescription: Child shell of php-fpm, php-cgi, lsphp, frankenphp, httpd or apache2 with download, reverse shell or base64 decoding, PHP2Shell post-exploitation.\nreferences:\n  - https://www.elastic.co/es/security-labs/threat-command/php2shell-php-rce-detection\n  - https://www.prophetsecurity.ai/blog/php2shell\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-01\ntags:\n  - attack.initial-access\n  - attack.t1190\n  - attack.persistence\n  - attack.t1505.003\n  - cve.2026-109618\nlogsource:\n  product: linux\n  category: process_creation\ndetection:\n  selection_parent:\n    ParentImage|endswith:\n      - '/php-fpm'\n      - '/php-cgi'\n      - '/lsphp'\n      - '/frankenphp'\n      - '/httpd'\n      - '/apache2'\n  selection_parent_fpm:\n    ParentImage|contains: '/php-fpm'\n  selection_shell:\n    Image|endswith:\n      - '/sh'\n      - '/bash'\n      - '/dash'\n      - '/zsh'\n      - '/ksh'\n  selection_cmd:\n    CommandLine|contains:\n      - 'curl '\n      - 'wget '\n      - '/dev/tcp/'\n      - 'base64 -d'\n      - '/etc/shadow'\n  condition: (selection_parent or selection_parent_fpm) and selection_shell and selection_cmd\nfalsepositives:\n  - PHP applications calling curl or wget via a shell (updates, imports)\nlevel: high\n","topic":"PHP2Shell: PAN-OS management interface exploitation, root via Fragnesia","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-01"},{"id":"93188e34-bbe9-4462-bafe-08c1203d685e","date":"2026-10-31","format":"xql","title":"Suspicious shell spawned by a PHP worker","description":"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).","level":"high","attack":["T1190","T1505.003","T1059.004"],"references":["https://www.elastic.co/es/security-labs/threat-command/php2shell-php-rce-detection","https://unit42.paloaltonetworks.com/cve-2026-109618-cve-2026-109619/"],"falsepositives":["PHP applications legitimately calling curl via a shell","mail() via sendmail"],"content":"// Threat Brief 2026-10-31 · PHP2Shell (CVE-2026-109618/109619) · experimental\n// Shell spawned by a PHP worker or web server with download, reverse shell, or decoding activity\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter actor_process_image_name in (\"php-fpm\", \"php-cgi\", \"lsphp\", \"frankenphp\", \"httpd\", \"apache2\") or actor_process_image_name ~= \"^php-fpm\"\n| filter action_process_image_name in (\"sh\", \"bash\", \"dash\", \"zsh\", \"ksh\")\n| 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\"\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, action_process_image_name, action_process_image_command_line\n| sort desc _time\n","topic":"PHP2Shell (CVE-2026-109618/109619): root on PAN-OS firewalls","status":"experimental","page":"https://tlpclear.fr/detections/2026-10-31"}]}