{"schema_version":1,"scope":"sélection","license":"DRL 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License","status":"experimental","disclaimer":"Experimental rule, provided without warranty: test and validate in your environment before any production use; do not block on it alone.","count":5,"rules":[{"id":"3106c31a-8e77-5a0a-821d-742bc1ea2981","date":"2026-11-26","format":"xql","title":"AI Agent CLI Starts an Attack Tool","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).","level":"medium","attack":["T1046","T1059"],"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"],"falsepositives":["Staff who use an AI agent for authorized security testing or network troubleshooting"],"content":"// Threat Brief · Behaviours shared by the frameworks · AI Agent CLI Starts an Attack Tool · experimental (adapted from ThreatDefence, MIT)\nconfig 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\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"},{"id":"6336ad5b-6047-5c6c-9225-6b5d1278e92c","date":"2026-11-26","format":"xql","title":"Hermes Agent With Approvals Off or Its Jailbreak Skill","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).","level":"medium","attack":["T1059"],"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"],"falsepositives":["Developers running Hermes unattended in a sandbox","Red teams testing model guardrails"],"content":"// Threat Brief · Hermes Agent and Carbonato · Hermes Agent With Approvals Off or Its Jailbreak Skill · experimental (adapted from ThreatDefence, MIT)\nconfig 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\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"},{"id":"40cc4189-2c31-5666-8a63-ef55a4cf209e","date":"2026-11-26","format":"xql","title":"RedAmon Stack or Reverse Shell Tunnel on a Host","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).","level":"medium","attack":["T1059","T1572"],"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"],"falsepositives":["Penetration testers and students running RedAmon","Another tool that forwards port 4444 through ngrok or chisel, which is also worth a look"],"content":"// Threat Brief · RedAmon · RedAmon Stack or Reverse Shell Tunnel on a Host · experimental (adapted from ThreatDefence, MIT)\nconfig 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\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"},{"id":"c7b966cc-ab52-52e4-b962-4a9b74e35d93","date":"2026-11-26","format":"xql","title":"Pentest Swarm AI Started on a Host","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).","level":"medium","attack":["T1059"],"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"],"falsepositives":["Penetration testers running Pentest Swarm AI"],"content":"// Threat Brief · Pentest Swarm AI · Pentest Swarm AI Started on a Host · experimental (adapted from ThreatDefence, MIT)\nconfig 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\n","topic":"Agentic attack frameworks: Cortex XQL pack","status":"experimental","page":"https://tlpclear.fr/detections/pack-agentic-frameworks"},{"id":"27358618-0f52-4db4-bca0-e933d4131476","date":"2026-11-18","format":"xql","title":"Shell spawned by the JVM of an application exposed to Java4Shell","description":"Same logic on Cortex XDR / XSIAM telemetry, Linux and Windows: a java process whose command line contains keycloak, jira, confluence, artifactory or pingfederate starting a shell or a download tool.","level":"medium","attack":["T1190","T1059"],"references":["https://www.bleepingcomputer.com/news/security/critical-java4shell-flaw-allows-rce-attacks-on-major-java-applications/","https://blog.talosintelligence.com/java4shell/"],"falsepositives":["administration scripts or add-ons that legitimately call a shell from these applications"],"content":"// Threat Brief 2026-11-18 · Java4Shell CVE-2026-114938 · experimental\n// Shell or downloader started by the JVM of an application where Calif demonstrated pre-auth RCE\nconfig 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 in (\"java\", \"java.exe\")\n| filter actor_process_command_line contains \"keycloak\" or actor_process_command_line contains \"jira\" or actor_process_command_line contains \"confluence\" or actor_process_command_line contains \"artifactory\" or actor_process_command_line contains \"pingfederate\"\n| filter action_process_image_name in (\"sh\", \"bash\", \"dash\", \"curl\", \"wget\", \"nc\", \"cmd.exe\", \"powershell.exe\", \"pwsh.exe\")\n| fields _time, agent_hostname, agent_ip_addresses, actor_effective_username, actor_process_image_name, actor_process_command_line, action_process_image_name, action_process_image_command_line\n","topic":"Java4Shell (CVE-2026-114938): pre-auth RCE in OpenJDK's Base64 decoder, scanning under way, exploitation not confirmed","status":"experimental","page":"https://tlpclear.fr/detections/2026-11-18"}]}