[
 {
  "rule_id": null,
  "name": "TB 2026-11-26 - AI Agent CLI Starts an Attack Tool",
  "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 ( (action_process_image_path ~= \"/nmap$\" or action_process_image_path ~= \"\\\\nmap\\.exe$\" or action_process_image_path ~= \"/naabu$\" or action_process_image_path ~= \"\\\\naabu\\.exe$\" or action_process_image_path ~= \"/masscan$\" or action_process_image_path ~= \"\\\\masscan\\.exe$\" or action_process_image_path ~= \"/nuclei$\" or action_process_image_path ~= \"\\\\nuclei\\.exe$\" or action_process_image_path ~= \"/katana$\" or action_process_image_path ~= \"\\\\katana\\.exe$\" or action_process_image_path ~= \"/dalfox$\" or action_process_image_path ~= \"\\\\dalfox\\.exe$\" or action_process_image_path ~= \"/ffuf$\" or action_process_image_path ~= \"\\\\ffuf\\.exe$\" or action_process_image_path ~= \"/gobuster$\" or action_process_image_path ~= \"\\\\gobuster\\.exe$\" or action_process_image_path ~= \"/feroxbuster$\" or action_process_image_path ~= \"\\\\feroxbuster\\.exe$\" or action_process_image_path ~= \"/sqlmap$\" or action_process_image_path ~= \"\\\\sqlmap\\.exe$\" or action_process_image_path ~= \"/nikto$\" or action_process_image_path ~= \"\\\\nikto\\.exe$\" or action_process_image_path ~= \"/wpscan$\" or action_process_image_path ~= \"\\\\wpscan\\.exe$\" or action_process_image_path ~= \"/hydra$\" or action_process_image_path ~= \"\\\\hydra\\.exe$\" or action_process_image_path ~= \"/kerbrute$\" or action_process_image_path ~= \"\\\\kerbrute\\.exe$\" or action_process_image_path ~= \"/netexec$\" or action_process_image_path ~= \"\\\\netexec\\.exe$\" or action_process_image_path ~= \"/nxc$\" or action_process_image_path ~= \"\\\\nxc\\.exe$\" or action_process_image_path ~= \"/crackmapexec$\" or action_process_image_path ~= \"\\\\crackmapexec\\.exe$\" or action_process_image_path ~= \"/bloodyAD$\" or action_process_image_path ~= \"\\\\bloodyAD\\.exe$\" or action_process_image_path ~= \"/coercer$\" or action_process_image_path ~= \"\\\\coercer\\.exe$\" or action_process_image_path ~= \"/chisel$\" or action_process_image_path ~= \"\\\\chisel\\.exe$\" or action_process_image_path ~= \"/evil\\-winrm$\" or action_process_image_path ~= \"\\\\evil\\-winrm\\.exe$\" or action_process_image_path ~= \"/cloudfox$\" or action_process_image_path ~= \"\\\\cloudfox\\.exe$\" or action_process_image_path ~= \"/msfconsole$\" or action_process_image_path ~= \"\\\\msfconsole\\.exe$\" or action_process_image_path ~= \"/dirsearch$\" or action_process_image_path ~= \"\\\\dirsearch\\.exe$\" or action_process_image_path ~= \"/medusa$\" or action_process_image_path ~= \"\\\\medusa\\.exe$\" or action_process_image_path ~= \"/enum4linux\\-ng$\" or action_process_image_path ~= \"\\\\enum4linux\\-ng\\.exe$\" or action_process_image_path ~= \"/pwncat$\" or action_process_image_path ~= \"\\\\pwncat\\.exe$\" or action_process_image_path ~= \"/pwncat\\-cs$\" or action_process_image_path ~= \"\\\\pwncat\\-cs\\.exe$\" or action_process_image_path ~= \"/responder$\" or action_process_image_path ~= \"\\\\responder\\.exe$\" or action_process_image_path ~= \"/searchsploit$\" or action_process_image_path ~= \"\\\\searchsploit\\.exe$\" or action_process_image_path ~= \"/hashcat$\" or action_process_image_path ~= \"\\\\hashcat\\.exe$\") or ( (action_process_image_path contains \"/python\" or action_process_image_path contains \"\\python\" or action_process_image_path contains \"/ruby\" or action_process_image_path contains \"\\ruby\" or action_process_image_path contains \"/perl\" or action_process_image_path contains \"\\perl\") and ((action_process_image_command_line contains \"/sqlmap \" or action_process_image_command_line contains \"/nikto \" or action_process_image_command_line contains \"/wpscan \" or action_process_image_command_line contains \"/netexec \" or action_process_image_command_line contains \"/nxc \" or action_process_image_command_line contains \"/crackmapexec \" or action_process_image_command_line contains \"/bloodyAD \" or action_process_image_command_line contains \"/coercer \" or action_process_image_command_line contains \"/evil-winrm \" or action_process_image_command_line contains \"/msfconsole \" or action_process_image_command_line contains \"/dirsearch \" or action_process_image_command_line contains \"/enum4linux-ng \" or action_process_image_command_line contains \"/pwncat \" or action_process_image_command_line contains \"/pwncat-cs \" or action_process_image_command_line contains \"/responder \" or action_process_image_command_line contains \"/sqlmap.py\" or action_process_image_command_line contains \"\\sqlmap.py\" or action_process_image_command_line contains \" sqlmap.py\" or action_process_image_command_line contains \"/nikto.pl\" or action_process_image_command_line contains \"\\nikto.pl\" or action_process_image_command_line contains \" nikto.pl\" or action_process_image_command_line contains \"/bloodyAD.py\" or action_process_image_command_line contains \"\\bloodyAD.py\" or action_process_image_command_line contains \" bloodyAD.py\" or action_process_image_command_line contains \"/dirsearch.py\" or action_process_image_command_line contains \"\\dirsearch.py\" or action_process_image_command_line contains \" dirsearch.py\" or action_process_image_command_line contains \"/enum4linux-ng.py\" or action_process_image_command_line contains \"\\enum4linux-ng.py\" or action_process_image_command_line contains \" enum4linux-ng.py\" or action_process_image_command_line contains \"/Coercer/Coercer.py\" or action_process_image_command_line contains \" Coercer/Coercer.py\" or action_process_image_command_line contains \"\\Coercer\\Coercer.py\" or action_process_image_command_line contains \" Coercer\\Coercer.py\" or action_process_image_command_line contains \"/Responder/Responder.py\" or action_process_image_command_line contains \" Responder/Responder.py\" or action_process_image_command_line contains \"\\Responder\\Responder.py\" or action_process_image_command_line contains \" Responder\\Responder.py\") or (action_process_image_command_line ~= \"/sqlmap$\" or action_process_image_command_line ~= \"/nikto$\" or action_process_image_command_line ~= \"/wpscan$\" or action_process_image_command_line ~= \"/netexec$\" or action_process_image_command_line ~= \"/nxc$\" or action_process_image_command_line ~= \"/crackmapexec$\" or action_process_image_command_line ~= \"/bloodyAD$\" or action_process_image_command_line ~= \"/coercer$\" or action_process_image_command_line ~= \"/evil\\-winrm$\" or action_process_image_command_line ~= \"/msfconsole$\" or action_process_image_command_line ~= \"/dirsearch$\" or action_process_image_command_line ~= \"/enum4linux\\-ng$\" or action_process_image_command_line ~= \"/pwncat$\" or action_process_image_command_line ~= \"/pwncat\\-cs$\" or action_process_image_command_line ~= \"/responder$\")) ) ) and ((actor_process_command_line contains \"shell-snapshots\" or actor_process_command_line contains \"CLAUDE_CODE_SHELL_LAUNCHER_SCRIPT\" or actor_process_command_line contains \"--provider cairn\" or actor_process_command_line contains \"/tmp/cairn-pi/\") or (actor_process_image_path ~= \"/claude$\" or actor_process_image_path ~= \"\\\\claude\\.exe$\" or actor_process_image_path ~= \"/codex$\" or actor_process_image_path ~= \"\\\\codex\\.exe$\" or actor_process_image_path ~= \"/qwen$\" or actor_process_image_path ~= \"\\\\qwen\\.exe$\" or actor_process_image_path ~= \"/kimi$\" or actor_process_image_path ~= \"\\\\kimi\\.exe$\" or actor_process_image_path ~= \"/opencode$\" or actor_process_image_path ~= \"\\\\opencode\\.exe$\" or actor_process_image_path ~= \"/hermes$\" or actor_process_image_path ~= \"\\\\hermes\\.exe$\") or (actor_process_command_line contains \"@anthropic-ai/claude-code\" or actor_process_command_line contains \"@anthropic-ai\\claude-code\" or actor_process_command_line contains \"@qwen-code/\" or actor_process_command_line contains \"@qwen-code\" or actor_process_command_line contains \"@openai/codex\" or actor_process_command_line contains \"@openai\\codex\" or actor_process_command_line contains \"opencode-ai\" or actor_process_command_line contains \"kimi-cli\" or actor_process_command_line contains \"kimi_cli\"))\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 an attack tool whose parent is an AI agent CLI or the shell Claude Code runs commands through\n(zsh -c source ~/.claude/shell-snapshots/... on Linux and macOS, the CLAUDE_CODE_SHELL_LAUNCHER_SCRIPT PowerShell\nlauncher on Windows). Auto-approve flags are not part of the rule: staff use them too, and an agent can run an\nattack tool without one. Qwen Code, Kimi CLI, Codex and opencode start tools through a plain shell, which puts the\nagent one level above the parent, so this rule only sees them when they start the tool directly; the KQL hunt in\nbehaviors/sentinel/hunting covers the grandparent. The model behind the agent does not matter.\nTools written in Python, Ruby or Perl (sqlmap, NetExec, Metasploit, nikto and others) run under their interpreter,\nso the image is python3, ruby or perl and the tool is the script in the command line; the script selections cover\nthem. A tool started as a module (python3 -m) is not covered.\nAgents installed with npm or pip run under node or python and are found by their package path in the parent\ncommand line. 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/oritera/Cairn https://github.com/QwenLM/qwen-code https://github.com/MoonshotAI/kimi-cli https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/behaviors/sigma/process_creation/proc_creation_lnx_coding_agent_bypass_spawns_attack_tool.yml",
  "alert_name": "Threat Brief - AI Agent CLI Starts an Attack Tool",
  "alert_category": "DISCOVERY",
  "alert_type": null,
  "alert_description": "Detects an attack tool whose parent is an AI agent CLI or the shell Claude Code runs commands through\n(zsh -c source ~/.claude/shell-snapshots/... on Linux and macOS, the CLAUDE_CODE_SHELL_LAUNCHER_SCRIPT PowerShell\nlauncher on Windows). Auto-approve flags are not part of the rule: staff use them too, and an agent can run an\nattack tool without one. Qwen Code, Kimi CLI, Codex and opencode start tools through a plain shell, which puts the\nagent one level above the parent, so this rule only sees them when they start the tool directly; the KQL hunt in\nbehaviors/sentinel/hunting covers the grandparent. The model behind the agent does not matter.\nTools written in Python, Ruby or Perl (sqlmap, NetExec, Metasploit, nikto and others) run under their interpreter,\nso the image is python3, ruby or perl and the tool is the script in the command line; the script selections cover\nthem. A tool started as a module (python3 -m) is not covered.\nAgents installed with npm or pip run under node or python and are found by their package path in the parent\ncommand line. 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": [
    "T1046 - Network Service Discovery"
   ],
   "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 - Hermes Agent With Approvals Off or Its Jailbreak Skill",
  "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 ( action_process_image_command_line ~= \"(^|[/\\\\\\s])hermes(\\.exe)?(\\s|$)|hermes_cli|run_agent\\.py|/\\.hermes/\" and (action_process_image_command_line contains \"--yolo\" or action_process_image_command_line contains \"HERMES_YOLO_MODE\") ) or (action_process_image_command_line contains \"load_godmode.py\" or action_process_image_command_line contains \"auto_jailbreak.py\" or action_process_image_command_line contains \"parseltongue.py\" or action_process_image_command_line contains \"godmode_race.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 Hermes Agent started with approvals switched off (--yolo, HERMES_YOLO_MODE) and the scripts of its bundled\ngodmode jailbreak skill. Attackers ran Hermes this way against Thailand's Ministry of Finance (Hunt.io) and with\ngodmode on DeepSeek (Unit 42). 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/NousResearch/hermes-agent https://unit42.paloaltonetworks.com/autonomous-ai-cyber-attack-campaign/ https://hunt.io/blog/thailand-ministry-finance-targeted-with-hermes-ai-agent https://www.threatdown.com/blog/carbonato/ https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/hermes/sigma/process_creation/proc_creation_hermes_yolo_or_godmode.yml",
  "alert_name": "Threat Brief - Hermes Agent With Approvals Off or Its Jailbreak Skill",
  "alert_category": "EXECUTION",
  "alert_type": null,
  "alert_description": "Detects Hermes Agent started with approvals switched off (--yolo, HERMES_YOLO_MODE) and the scripts of its bundled\ngodmode jailbreak skill. Attackers ran Hermes this way against Thailand's Ministry of Finance (Hunt.io) and with\ngodmode on DeepSeek (Unit 42). 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 - Cairn Task Snapshot, Pi Provider Key or Competition Skill Written",
  "severity": "SEV_040_HIGH",
  "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 agent_os_type = ENUM.AGENT_OS_LINUX\n| filter (action_file_path contains \"/tmp/cairn-prompts/\" or action_file_path contains \"/tmp/cairn-pi/\" or action_file_path contains \"/skills/tsec-actions/SKILL.md\")\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_file_path",
  "is_enabled": false,
  "description": "Detects files Cairn writes on a worker host: graph.yaml task snapshots under /tmp/cairn-prompts/, the Pi worker's\nmodels.json with the provider API key under /tmp/cairn-pi/, and the tsec-actions skill from the Tencent TCH\ncompetition setup that operators' worker images still carry. 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/oritera/Cairn https://norforge.com/blog/inside_cairn https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/cairn/sigma/file_event/file_event_lnx_cairn_artifacts.yml",
  "alert_name": "Threat Brief - Cairn Task Snapshot, Pi Provider Key or Competition Skill Written",
  "alert_category": "EXECUTION",
  "alert_type": null,
  "alert_description": "Detects files Cairn writes on a worker host: graph.yaml task snapshots under /tmp/cairn-prompts/, the Pi worker's\nmodels.json with the provider API key under /tmp/cairn-pi/, and the tsec-actions skill from the Tencent TCH\ncompetition setup that operators' worker images still carry. 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 - RedAmon Stack or Reverse Shell Tunnel 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 ((action_process_image_command_line contains \"redamon-kali\" or action_process_image_command_line contains \"redamon-agent\" or action_process_image_command_line contains \"redamon-webapp\" or action_process_image_command_line contains \"redamon-recon-\" or action_process_image_command_line contains \"redamon-docker-broker\" or action_process_image_command_line contains \"/opt/mcp_servers/run_servers.py\" or action_process_image_command_line contains \"/opt/mcp_servers/tunnel_manager.py\" or action_process_image_command_line contains \"redamon.sh \") or action_process_image_command_line contains \"ngrok tcp 4444\" or (action_process_image_command_line contains \"chisel client\" and action_process_image_command_line contains \"R:4444:localhost:4444\"))\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 RedAmon Docker stack being run (its container names, control script and sandbox servers) and the\ntunnels it opens for reverse shells: ngrok or chisel forwarding port 4444 to the Metasploit handler in its Kali\nsandbox. RedAmon is a penetration testing platform; on a host that is not a tester's, find out who installed 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/samugit83/redamon https://github.com/ThreatDefence/agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/blob/6f547db9ac46969acab4eeb09da63314e0baba26/frameworks/redamon/sigma/process_creation/proc_creation_redamon_stack_or_tunnel.yml",
  "alert_name": "Threat Brief - RedAmon Stack or Reverse Shell Tunnel on a Host",
  "alert_category": "EXECUTION",
  "alert_type": null,
  "alert_description": "Detects the RedAmon Docker stack being run (its container names, control script and sandbox servers) and the\ntunnels it opens for reverse shells: ngrok or chisel forwarding port 4444 to the Metasploit handler in its Kali\nsandbox. RedAmon is a penetration testing platform; on a host that is not a tester's, find out who installed 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"
   ],
   "TA0011 - Command and Control": [
    "T1572 - Protocol Tunneling"
   ]
  },
  "investigation_query_link": "",
  "drilldown_query_timeframe": "ALERT",
  "mapping_strategy": "CUSTOM",
  "action": "ALERTS",
  "lookup_mapping": []
 },
 {
  "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 - Pentest Swarm AI Started 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 ((action_process_image_path ~= \"/pentestswarm$\" or action_process_image_path ~= \"\\\\pentestswarm\\.exe$\") or (action_process_image_command_line contains \"armur-ai/pentestswarm\" or action_process_image_command_line contains \"PENTESTSWARM_AUTHORIZED\" or action_process_image_command_line contains \"pentestswarm scan \" or action_process_image_command_line contains \"pentestswarm serve\" or action_process_image_command_line contains \"pentestswarm-lab-\"))\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 pentestswarm binary or its container image, and the switches that skip its consent prompt\n(PENTESTSWARM_AUTHORIZED=1, --authorized). Pentest Swarm AI runs a swarm of agents that scan and exploit a target\nwith no approval for each action unless assist mode is on. 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/process_creation/proc_creation_pentestswarm_cli.yml",
  "alert_name": "Threat Brief - Pentest Swarm AI Started on a Host",
  "alert_category": "EXECUTION",
  "alert_type": null,
  "alert_description": "Detects the pentestswarm binary or its container image, and the switches that skip its consent prompt\n(PENTESTSWARM_AUTHORIZED=1, --authorized). Pentest Swarm AI runs a swarm of agents that scan and exploit a target\nwith no approval for each action unless assist mode is on. 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": []
 }
]