[
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - Xalgorix Agent on a Host",
  "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 agent_os_type = ENUM.AGENT_OS_LINUX\n| filter (action_process_image_path ~= \"/xalgorix$\" or (action_process_image_command_line contains \"XALGORIX_WORKSPACE=\" or action_process_image_command_line contains \"__xalgorix_resolve_path\" or action_process_image_command_line contains \"xalgorix-scan-init\" or action_process_image_command_line contains \"xalgord/xalgorix\" or action_process_image_command_line contains \"xalgorix --web\"))\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 Xalgorix running: the binary or its container image, and the shell wrapper it puts in front of every\ncommand the agent runs (export XALGORIX_WORKSPACE=..., the __xalgorix_resolve_path function, and xalgorix-scan-init\nwhen it runs as root). Xalgorix is an autonomous penetration testing agent that needs no approval for tool calls. 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/xalgorix/xalgorix https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/xalgorix/sigma/process_creation/proc_creation_lnx_xalgorix_agent.yml",
  "alert_name": "Threat Brief - Xalgorix Agent on a Host",
  "alert_category": "EXECUTION",
  "alert_type": null,
  "alert_description": "Detects Xalgorix running: the binary or its container image, and the shell wrapper it puts in front of every\ncommand the agent runs (export XALGORIX_WORKSPACE=..., the __xalgorix_resolve_path function, and xalgorix-scan-init\nwhen it runs as root). Xalgorix is an autonomous penetration testing agent that needs no approval for tool calls. 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": {
   "TA0002 - Execution": [
    "T1059.004 - Command and Scripting Interpreter: Unix Shell"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 }
]