{
 "request_data": [
  {
   "name": "TB pack-agentic-frameworks - 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/pack-agentic-frameworks), 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"
   ]
  }
 ]
}