[
 {
  "rule_id": null,
  "name": "TB 2026-11-28 - wp-media-*.php file written under wp-content (WP Rocket, Cortex XDR)",
  "severity": "SEV_040_HIGH",
  "xql_query": "config 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",
  "is_enabled": false,
  "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. Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-28), DRL 1.1: test and tune before enabling. References: https://patchstack.com/articles/critical-wp-rocket-rce-cve-2026-125812-under-active-attack/",
  "alert_name": "Threat Brief - wp-media-*.php file written under wp-content (WP Rocket, Cortex XDR)",
  "alert_category": "INFILTRATION",
  "alert_type": null,
  "alert_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.",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_name": "actor_process_image_name",
   "actor_process_command_line": "actor_process_command_line"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname",
   "actor_effective_username"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0001 - Initial Access": [
    "T1190 - Exploit Public-Facing Application"
   ],
   "TA0003 - Persistence": [
    "T1505.003 - Server Software Component: Web Shell"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-27 - .php file written under a modules directory by Apache (Drupal, Cortex XDR)",
  "severity": "SEV_040_HIGH",
  "xql_query": "config 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",
  "is_enabled": false,
  "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. Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-27), DRL 1.1: test and tune before enabling. References: https://www.stepsecurity.io/blog/fail2install-cve-2026-132165",
  "alert_name": "Threat Brief - .php file written under a modules directory by Apache (Drupal, Cortex XDR)",
  "alert_category": "PERSISTENCE",
  "alert_type": null,
  "alert_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.",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_name": "actor_process_image_name",
   "actor_process_command_line": "actor_process_command_line"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname",
   "actor_effective_username"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0003 - Persistence": [
    "T1505.003 - Server Software Component: Web Shell"
   ],
   "TA0001 - Initial Access": [
    "T1190 - Exploit Public-Facing Application"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - CyberStrikeAI Webshell OS Probe Command",
  "severity": "SEV_040_HIGH",
  "xql_query": "config 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",
  "is_enabled": false,
  "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). Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-26), DRL 1.1: test and tune before enabling. 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",
  "alert_name": "Threat Brief - CyberStrikeAI Webshell OS Probe Command",
  "alert_category": "DISCOVERY",
  "alert_type": null,
  "alert_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).",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_path": "actor_process_image_path",
   "actor_process_command_line": "actor_process_command_line"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname",
   "actor_effective_username"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0007 - Discovery": [
    "T1082 - System Information Discovery"
   ],
   "TA0003 - Persistence": [
    "T1505.003 - Server Software Component: Web Shell"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - CyberStrikeAI Webshell Manager User Agent or OS Probe in Web Logs",
  "severity": "SEV_040_HIGH",
  "xql_query": "config 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",
  "is_enabled": false,
  "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). Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-26), DRL 1.1: test and tune before enabling. 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",
  "alert_name": "Threat Brief - CyberStrikeAI Webshell Manager User Agent or OS Probe in Web Logs",
  "alert_category": "PERSISTENCE",
  "alert_type": null,
  "alert_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).",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {},
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": false,
  "suppression_duration": null,
  "suppression_fields": null,
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0003 - Persistence": [
    "T1505.003 - Server Software Component: Web Shell"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-23 - FabricShadow recon output or recon_svc.jar written on the Quantum Fabric host (Cortex XDR)",
  "severity": "SEV_040_HIGH",
  "xql_query": "config 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",
  "is_enabled": false,
  "description": "Write of /tmp/.recon_out or recon_svc.jar, local traces of the FabricShadow tool that Forescout recommends hunting for. Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-23), DRL 1.1: test and tune before enabling. References: https://www.forescout.com/blog/bankweaver-campaign-abuses-digital-banking-middleware-to-deploy-web-shells/",
  "alert_name": "Threat Brief - FabricShadow recon output or recon_svc.jar written on the Quantum Fabric host (Cortex XDR)",
  "alert_category": "PERSISTENCE",
  "alert_type": null,
  "alert_description": "Write of /tmp/.recon_out or recon_svc.jar, local traces of the FabricShadow tool that Forescout recommends hunting for.",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_name": "actor_process_image_name",
   "actor_process_command_line": "actor_process_command_line"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname",
   "actor_effective_username"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0003 - Persistence": [
    "T1505.003 - Server Software Component: Web Shell"
   ],
   "TA0007 - Discovery": [
    "T1082 - System Information Discovery"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-07 - cwpsrv.prev-*, child shell of cwpsrv or traffic to 136.0.141.71",
  "severity": "SEV_040_HIGH",
  "xql_query": "config 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",
  "is_enabled": false,
  "description": "CWPdoor host artefacts: cwpsrv.prev-* backup, unexpected cwpsrv children, and traffic to published staging IP. Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-07), DRL 1.1: test and tune before enabling. 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/",
  "alert_name": "Threat Brief - cwpsrv.prev-*, child shell of cwpsrv or traffic to 136.0.141.71",
  "alert_category": "PERSISTENCE",
  "alert_type": null,
  "alert_description": "CWPdoor host artefacts: cwpsrv.prev-* backup, unexpected cwpsrv children, and traffic to published staging IP.",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "action_remote_ip": "action_remote_ip",
   "actor_process_image_name": "actor_process_image_name",
   "actor_process_command_line": "actor_process_command_line"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname",
   "action_remote_ip"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0003 - Persistence": [
    "T1505.003 - Server Software Component: Web Shell"
   ],
   "TA0002 - Execution": [
    "T1059.004 - Command and Scripting Interpreter: Unix Shell"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-10-31 - Suspicious shell spawned by a PHP worker",
  "severity": "SEV_040_HIGH",
  "xql_query": "config 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",
  "is_enabled": false,
  "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). Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-10-31), DRL 1.1: test and tune before enabling. References: https://www.elastic.co/es/security-labs/threat-command/php2shell-php-rce-detection https://unit42.paloaltonetworks.com/cve-2026-109618-cve-2026-109619/",
  "alert_name": "Threat Brief - Suspicious shell spawned by a PHP worker",
  "alert_category": "INFILTRATION",
  "alert_type": null,
  "alert_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).",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_name": "actor_process_image_name",
   "actor_process_command_line": "action_process_image_command_line"
  },
  "execution_mode": "SCHEDULED",
  "search_window": "10 minutes",
  "simple_schedule": "10 minutes",
  "timezone": "Europe/Paris",
  "crontab": "*/10 * * * *",
  "suppression_enabled": true,
  "suppression_duration": "24 hours",
  "suppression_fields": [
   "agent_hostname",
   "actor_effective_username"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0001 - Initial Access": [
    "T1190 - Exploit Public-Facing Application"
   ],
   "TA0003 - Persistence": [
    "T1505.003 - Server Software Component: Web Shell"
   ],
   "TA0002 - Execution": [
    "T1059.004 - Command and Scripting Interpreter: Unix Shell"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 }
]