[
 {
  "rule_id": null,
  "name": "TB 2026-12-01 - PHP web server process reaching nip.io or trycloudflare.com (WP Rocket, Cortex XDR)",
  "severity": "SEV_030_MEDIUM",
  "xql_query": "config case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.NETWORK and (actor_process_image_name contains \"php\" or actor_process_image_name in (\"httpd\", \"apache2\")) and (action_external_hostname contains \"nip.io\" or action_external_hostname contains \"trycloudflare.com\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_external_hostname, action_remote_ip, action_remote_port",
  "is_enabled": false,
  "description": "The PHP or Apache process connects to a nip.io or trycloudflare.com host, where the payloads downloaded by WP Rocket during exploitation are hosted. Outbound connections need reviewing even after updating, which does not remove dropped files. Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-12-01), DRL 1.1: test and tune before enabling. References: https://www.bleepingcomputer.com/news/security/hackers-exploit-critical-wordpress-wp-rocket-flaw-to-breach-sites/",
  "alert_name": "Threat Brief - PHP web server process reaching nip.io or trycloudflare.com (WP Rocket, Cortex XDR)",
  "alert_category": "INFILTRATION",
  "alert_type": null,
  "alert_description": "The PHP or Apache process connects to a nip.io or trycloudflare.com host, where the payloads downloaded by WP Rocket during exploitation are hosted. Outbound connections need reviewing even after updating, which does not remove dropped files.",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "action_remote_ip": "action_remote_ip",
   "action_remote_port": "action_remote_port",
   "actor_process_image_name": "actor_process_image_name",
   "actor_process_command_line": "actor_process_command_line",
   "xdm_domain": "action_external_hostname"
  },
  "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",
   "action_remote_ip"
  ],
  "dataset": "alerts",
  "user_defined_severity": null,
  "user_defined_category": null,
  "mitre_defs": {
   "TA0001 - Initial Access": [
    "T1190 - Exploit Public-Facing Application"
   ],
   "TA0011 - Command and Control": [
    "T1105 - Ingress Tool Transfer"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-09 - wget or curl spawned by sshd to port 8000",
  "severity": "SEV_030_MEDIUM",
  "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 causality_actor_process_image_name = \"sshd\"\n| filter action_process_image_name in (\"wget\", \"curl\")\n| filter action_process_image_command_line contains \":8000/\" or action_process_image_command_line contains \"/bot.x86_64\"\n| fields _time, agent_hostname, actor_effective_username, action_process_image_name, action_process_image_command_line",
  "is_enabled": false,
  "description": "Bot download immediately following SSH login, matching scripts observed by SANS ISC (port 8000, bot.x86_64 file). Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-09), DRL 1.1: test and tune before enabling. References: https://isc.sans.edu/diary/rss/33498 https://www.helpnetsecurity.com/2026/11/06/openssh-sshole-cve-2026-123158-exploitation/",
  "alert_name": "Threat Brief - wget or curl spawned by sshd to port 8000",
  "alert_category": "OTHER",
  "alert_type": null,
  "alert_description": "Bot download immediately following SSH login, matching scripts observed by SANS ISC (port 8000, bot.x86_64 file).",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_name": "action_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": {
   "TA0011 - Command and Control": [
    "T1105 - Ingress Tool Transfer"
   ],
   "TA0002 - Execution": [
    "T1059.004 - Command and Scripting Interpreter: Unix Shell"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 }
]