{
 "request_data": [
  {
   "name": "TB 2026-11-26 - AI Agent CLI Starts an Attack Tool",
   "type": "DISCOVERY",
   "severity": "SEV_030_MEDIUM",
   "comment": "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). Logic (process): ((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",
   "status": "disabled",
   "is_xql": false,
   "indicator": {
    "runOnCGO": true,
    "investigationType": "PROCESS_EXECUTION_EVENT",
    "investigation": {
     "PROCESS_EXECUTION_EVENT": {
      "filter": {
       "AND": [
        {
         "OR": [
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/nmap"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\nmap.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/naabu"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\naabu.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/masscan"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\masscan.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/nuclei"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\nuclei.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/katana"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\katana.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/dalfox"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\dalfox.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/ffuf"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\ffuf.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/gobuster"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\gobuster.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/feroxbuster"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\feroxbuster.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/sqlmap"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\sqlmap.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/nikto"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\nikto.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/wpscan"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\wpscan.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/hydra"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\hydra.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/kerbrute"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\kerbrute.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/netexec"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\netexec.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/nxc"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\nxc.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/crackmapexec"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\crackmapexec.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/bloodyAD"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\bloodyAD.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/coercer"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\coercer.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/chisel"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\chisel.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/evil-winrm"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\evil-winrm.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/cloudfox"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\cloudfox.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/msfconsole"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\msfconsole.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/dirsearch"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\dirsearch.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/medusa"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\medusa.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/enum4linux-ng"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\enum4linux-ng.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/pwncat"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\pwncat.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/pwncat-cs"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\pwncat-cs.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/responder"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\responder.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/searchsploit"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\searchsploit.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/hashcat"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\hashcat.exe"
          },
          {
           "AND": [
            {
             "OR": [
              {
               "SEARCH_FIELD": "action_process_image_path",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/python"
              },
              {
               "SEARCH_FIELD": "action_process_image_path",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "python"
              },
              {
               "SEARCH_FIELD": "action_process_image_path",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/ruby"
              },
              {
               "SEARCH_FIELD": "action_process_image_path",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "ruby"
              },
              {
               "SEARCH_FIELD": "action_process_image_path",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/perl"
              },
              {
               "SEARCH_FIELD": "action_process_image_path",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "perl"
              }
             ]
            },
            {
             "OR": [
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/sqlmap "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/nikto "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/wpscan "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/netexec "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/nxc "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/crackmapexec "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/bloodyAD "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/coercer "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/evil-winrm "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/msfconsole "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/dirsearch "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/enum4linux-ng "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/pwncat "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/pwncat-cs "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/responder "
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/sqlmap.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "sqlmap.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": " sqlmap.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/nikto.pl"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "nikto.pl"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": " nikto.pl"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/bloodyAD.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "bloodyAD.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": " bloodyAD.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/dirsearch.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "dirsearch.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": " dirsearch.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/enum4linux-ng.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "enum4linux-ng.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": " enum4linux-ng.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/Coercer/Coercer.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": " Coercer/Coercer.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "CoercerCoercer.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": " CoercerCoercer.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "/Responder/Responder.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": " Responder/Responder.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "ResponderResponder.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": " ResponderResponder.py"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/sqlmap"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/nikto"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/wpscan"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/netexec"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/nxc"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/crackmapexec"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/bloodyAD"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/coercer"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/evil-winrm"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/msfconsole"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/dirsearch"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/enum4linux-ng"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/pwncat"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/pwncat-cs"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "REGEX",
               "SEARCH_VALUE": "(?i).*/responder"
              }
             ]
            }
           ]
          }
         ]
        },
        {
         "OR": [
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "shell-snapshots"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "CLAUDE_CODE_SHELL_LAUNCHER_SCRIPT"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "--provider cairn"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "/tmp/cairn-pi/"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/claude"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\claude.exe"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/codex"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\codex.exe"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/qwen"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\qwen.exe"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/kimi"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\kimi.exe"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/opencode"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\opencode.exe"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/hermes"
          },
          {
           "SEARCH_FIELD": "actor_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\hermes.exe"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "@anthropic-ai/claude-code"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "@anthropic-aiclaude-code"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "@qwen-code/"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "@qwen-code"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "@openai/codex"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "@openaicodex"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "opencode-ai"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "kimi-cli"
          },
          {
           "SEARCH_FIELD": "actor_process_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "kimi_cli"
          }
         ]
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0007 - Discovery",
    "TA0002 - Execution"
   ],
   "mitre_technique_id_and_name": [
    "T1046 - Network Service Discovery",
    "T1059 - Command and Scripting Interpreter"
   ]
  },
  {
   "name": "TB 2026-11-26 - Hermes Agent With Approvals Off or Its Jailbreak Skill",
   "type": "EXECUTION",
   "severity": "SEV_030_MEDIUM",
   "comment": "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). Logic (process): (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). Experimental BIOC from Threat Brief (https://tlpclear.fr/detections/2026-11-26), DRL 1.1: test before enabling.",
   "status": "disabled",
   "is_xql": false,
   "indicator": {
    "runOnCGO": true,
    "investigationType": "PROCESS_EXECUTION_EVENT",
    "investigation": {
     "PROCESS_EXECUTION_EVENT": {
      "filter": {
       "AND": [
        {
         "OR": [
          {
           "AND": [
            {
             "SEARCH_FIELD": "action_process_image_command_line",
             "SEARCH_TYPE": "REGEX",
             "SEARCH_VALUE": "(?i).*(^|[/\\s])hermes(.exe)?(s|$)|hermes_cli|run_agent.py|/.hermes/.*"
            },
            {
             "OR": [
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "--yolo"
              },
              {
               "SEARCH_FIELD": "action_process_image_command_line",
               "SEARCH_TYPE": "CONTAINS",
               "SEARCH_VALUE": "HERMES_YOLO_MODE"
              }
             ]
            }
           ]
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "load_godmode.py"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "auto_jailbreak.py"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "parseltongue.py"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "godmode_race.py"
          }
         ]
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0002 - Execution"
   ],
   "mitre_technique_id_and_name": [
    "T1059 - Command and Scripting Interpreter"
   ]
  },
  {
   "name": "TB 2026-11-26 - RedAmon Stack or Reverse Shell Tunnel on a Host",
   "type": "EXECUTION",
   "severity": "SEV_030_MEDIUM",
   "comment": "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). Logic (process): (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). Experimental BIOC from Threat Brief (https://tlpclear.fr/detections/2026-11-26), DRL 1.1: test before enabling.",
   "status": "disabled",
   "is_xql": false,
   "indicator": {
    "runOnCGO": true,
    "investigationType": "PROCESS_EXECUTION_EVENT",
    "investigation": {
     "PROCESS_EXECUTION_EVENT": {
      "filter": {
       "AND": [
        {
         "OR": [
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "redamon-kali"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "redamon-agent"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "redamon-webapp"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "redamon-recon-"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "redamon-docker-broker"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "/opt/mcp_servers/run_servers.py"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "/opt/mcp_servers/tunnel_manager.py"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "redamon.sh "
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "ngrok tcp 4444"
          },
          {
           "AND": [
            {
             "SEARCH_FIELD": "action_process_image_command_line",
             "SEARCH_TYPE": "CONTAINS",
             "SEARCH_VALUE": "chisel client"
            },
            {
             "SEARCH_FIELD": "action_process_image_command_line",
             "SEARCH_TYPE": "CONTAINS",
             "SEARCH_VALUE": "R:4444:localhost:4444"
            }
           ]
          }
         ]
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0002 - Execution",
    "TA0011 - Command and Control"
   ],
   "mitre_technique_id_and_name": [
    "T1059 - Command and Scripting Interpreter",
    "T1572 - Protocol Tunneling"
   ]
  },
  {
   "name": "TB 2026-11-26 - Pentest Swarm AI Started on a Host",
   "type": "EXECUTION",
   "severity": "SEV_030_MEDIUM",
   "comment": "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). Logic (process): (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-). Experimental BIOC from Threat Brief (https://tlpclear.fr/detections/2026-11-26), DRL 1.1: test before enabling.",
   "status": "disabled",
   "is_xql": false,
   "indicator": {
    "runOnCGO": true,
    "investigationType": "PROCESS_EXECUTION_EVENT",
    "investigation": {
     "PROCESS_EXECUTION_EVENT": {
      "filter": {
       "AND": [
        {
         "OR": [
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*/pentestswarm"
          },
          {
           "SEARCH_FIELD": "action_process_image_path",
           "SEARCH_TYPE": "REGEX",
           "SEARCH_VALUE": "(?i).*\\pentestswarm.exe"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "armur-ai/pentestswarm"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "PENTESTSWARM_AUTHORIZED"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "pentestswarm scan "
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "pentestswarm serve"
          },
          {
           "SEARCH_FIELD": "action_process_image_command_line",
           "SEARCH_TYPE": "CONTAINS",
           "SEARCH_VALUE": "pentestswarm-lab-"
          }
         ]
        }
       ]
      }
     }
    }
   },
   "mitre_tactic_id_and_name": [
    "TA0002 - Execution"
   ],
   "mitre_technique_id_and_name": [
    "T1059 - Command and Scripting Interpreter"
   ]
  }
 ]
}