Detections · nt/ag/pack · BIOC ← Rules of the day
Cortex XDR / XSIAM BIOC

Hermes Agent With Approvals Off or Its Jailbreak Skill

Detects Hermes Agent started with approvals switched off (--yolo, HERMES_YOLO_MODE) and the scripts of its bundled godmode jailbreak skill. Attackers ran Hermes this way against Thailand's Ministry of Finance (Hunt.io) and with godmode on DeepSeek (Unit 42). Adapted from the ThreatDefence Sigma rule (MIT licence).

Experimental rule, translated automatically from the XQL query: one BIOC per event type. Create each BIOC disabled, test it, then enable it. DRL 1.1 license.

Two ways to add it

  1. By hand: Detection Rules → BIOC → Add BIOC, XQL mode, paste the query below (one per BIOC), then set the name, type, severity and ATT&CK shown.
  2. By API: download the API file and push it with push_bioc.py (Standard API key, BIOCs created disabled). The Import Rules dialog only accepts files exported by Cortex: this file is not meant for it.
TB pack-agentic-frameworks - Hermes Agent With Approvals Off or Its Jailbreak Skill
dataset = xdr_data
| filter event_type = ENUM.PROCESS and ((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"))
Type EXECUTIONSeverity SEV_030_MEDIUMPROCESS_EXECUTION_EVENT T1059 - Command and Scripting Interpreter