[
 {
  "rule_id": null,
  "name": "TB 2026-11-05 - Shell or downloader spawned by PHP",
  "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 actor_process_image_name contains \"php\"\n| filter action_process_image_name in (\"sh\", \"bash\", \"dash\", \"curl\", \"wget\")\n| comp count() as nb, values(action_process_image_command_line) as cmds by agent_hostname, actor_process_image_name, actor_effective_username\n| sort desc nb",
  "is_enabled": false,
  "description": "Post-exploitation sh, curl, or wget spawned by php-fpm (lead provided by the publisher and Wordfence); aggregated by host for hunting. Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-05), DRL 1.1: test and tune before enabling. References: https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-core/wordpress-core-470-713-unauthenticated-upgrade-window-staged-installer-remote-code-execution https://www.picussecurity.com/resource/blog/cve-2026-119977-when-updating-wordpress-becomes-the-vulnerability",
  "alert_name": "Threat Brief - Shell or downloader spawned by PHP",
  "alert_category": "PERSISTENCE",
  "alert_type": null,
  "alert_description": "Post-exploitation sh, curl, or wget spawned by php-fpm (lead provided by the publisher and Wordfence); aggregated by host for hunting.",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "actor_process_image_name": "actor_process_image_name"
  },
  "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"
   ],
   "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-11-05 - Connections to APT29 Poisoned Source infrastructure",
  "severity": "SEV_030_MEDIUM",
  "xql_query": "config case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.NETWORK\n| filter dst_action_external_hostname in (\"ad.starx-net.com\", \"america250.holiday\", \"ad-track.live\", \"a.plerdy.com\") or action_external_hostname in (\"ad.starx-net.com\", \"america250.holiday\", \"ad-track.live\", \"a.plerdy.com\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, action_external_hostname, dst_action_external_hostname, action_remote_ip",
  "is_enabled": false,
  "description": "Endpoints connecting to Sekoia domains, including a.plerdy.com (legitimate script compromised from 27/08 to 03/09, qualify based on date). Experimental rule from Threat Brief (https://tlpclear.fr/detections/2026-11-05), DRL 1.1: test and tune before enabling. References: https://www.sekoia.com/blog/poisoned-source-apt29-watering-holes-targets-mobile-devices-with-n-day-exploits https://cybelangel.com/blog/apt29-plerdy-analytics-script-mobile-exploits/",
  "alert_name": "Threat Brief - Connections to APT29 Poisoned Source infrastructure",
  "alert_category": "INFILTRATION",
  "alert_type": null,
  "alert_description": "Endpoints connecting to Sekoia domains, including a.plerdy.com (legitimate script compromised from 27/08 to 03/09, qualify based on date).",
  "alert_domain": "DOMAIN_SECURITY",
  "alert_fields": {
   "agent_hostname": "agent_hostname",
   "actor_effective_username": "actor_effective_username",
   "action_remote_ip": "action_remote_ip",
   "actor_process_image_name": "actor_process_image_name",
   "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": [
    "T1189 - Drive-by Compromise"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 }
]