[
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - Pentest Swarm AI Authorization Record Written",
  "severity": "SEV_020_LOW",
  "xql_query": "config case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.FILE and event_sub_type in (ENUM.FILE_CREATE_NEW, ENUM.FILE_WRITE, ENUM.FILE_RENAME)\n| filter (action_file_path contains \"/.pentestswarm/authorization.\" or action_file_path contains \"\\.pentestswarm\\authorization.\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_file_path",
  "is_enabled": false,
  "description": "Detects Pentest Swarm AI writing its consent file and log under the user's home folder. authorization.log gets one\nJSON line for every real target (time, target, scope, method, user), so it is also the first file to read on a host\nwhere the tool was found. 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/Armur-Ai/Pentest-Swarm-AI https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/pentestswarm/sigma/file_event/file_event_pentestswarm_authorization_record.yml",
  "alert_name": "Threat Brief - Pentest Swarm AI Authorization Record Written",
  "alert_category": "EXECUTION",
  "alert_type": null,
  "alert_description": "Detects Pentest Swarm AI writing its consent file and log under the user's home folder. authorization.log gets one\nJSON line for every real target (time, target, scope, method, user), so it is also the first file to read on a host\nwhere the tool was found. 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 - Command and Scripting Interpreter"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - Agent Zero Container, UI or Tunnel Started",
  "severity": "SEV_020_LOW",
  "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 \"agent0ai/agent-zero\" or action_process_image_command_line contains \"self_update_manager.py docker-run-ui\" or action_process_image_command_line contains \"/a0/run_tunnel.py\")\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 Agent Zero image being run, its UI starting inside the container, and its tunnel server that publishes the\nUI to the internet. Agent Zero ships a hacker profile on a Kali base; GTIG reported threat-actor experimentation with it. 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/agent0ai/agent-zero https://cloud.google.com/blog/topics/threat-intelligence/artex-and-friends-enter-agentic-offensive-frameworks https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/agent-zero/sigma/process_creation/proc_creation_agent_zero_container_or_tunnel.yml",
  "alert_name": "Threat Brief - Agent Zero Container, UI or Tunnel Started",
  "alert_category": "EXECUTION",
  "alert_type": null,
  "alert_description": "Detects the Agent Zero image being run, its UI starting inside the container, and its tunnel server that publishes the\nUI to the internet. Agent Zero ships a hacker profile on a Kali base; GTIG reported threat-actor experimentation with it. 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 - Command and Scripting Interpreter"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 }
]