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