Detection rules · Sigma, Cortex XQL, YARA

All rules, every day

The catalogue of Threat Brief rules since day one: filter by format, period, level or ATT&CK technique, open a rule to read its code, and download the selection as one file.

2 rules over 1 day · technique T1059 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
26/11 XQL Pentest Swarm AI Authorization Record WrittenAgentic attack frameworks: Cortex XQL pack low T1059
tb-pack-agentic-frameworks-journal-d-autorisation-de-pentest-swarm-ai-crit.xqlXSIAM correlation ruleDownload XQL query
// Threat Brief · Pentest Swarm AI · Pentest Swarm AI Authorization Record Written · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.FILE and event_sub_type in (ENUM.FILE_CREATE_NEW, ENUM.FILE_WRITE, ENUM.FILE_RENAME)
| filter (action_file_path contains "/.pentestswarm/authorization." or action_file_path contains "\.pentestswarm\authorization.")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_file_path
xql: reviewed, not executed xdr_data Licence DRL 1.1

Detects Pentest Swarm AI writing its consent file and log under the user's home folder. authorization.log gets one JSON line for every real target (time, target, scope, method, user), so it is also the first file to read on a host where the tool was found. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Penetration testers running Pentest Swarm AI.

26/11 XQL Agent Zero Container, UI or Tunnel StartedAgentic attack frameworks: Cortex XQL pack low T1059
tb-pack-agentic-frameworks-conteneur-interface-ou-tunnel-agent-zero-d-marr.xqlXSIAM correlation rule
BIOC
Download XQL query
// Threat Brief · Agent Zero · Agent Zero Container, UI or Tunnel Started · experimental (adapted from ThreatDefence, MIT)
config case_sensitive = false
| dataset = xdr_data
| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START
| filter (action_process_image_command_line contains "agent0ai/agent-zero" or action_process_image_command_line contains "self_update_manager.py docker-run-ui" or action_process_image_command_line contains "/a0/run_tunnel.py")
| fields _time, agent_hostname, actor_effective_username, actor_process_image_path, actor_process_command_line, action_process_image_path, action_process_image_command_line
xql: reviewed, not executed xdr_data Licence DRL 1.1

Detects the Agent Zero image being run, its UI starting inside the container, and its tunnel server that publishes the UI to the internet. Agent Zero ships a hacker profile on a Kali base; GTIG reported threat-actor experimentation with it. Adapted from the ThreatDefence Sigma rule (MIT licence). False positives: Developers and researchers running Agent Zero.