Skip to content

Latest commit

 

History

History

agent-zero

README.md

Agent Zero Detection Rules and IOCs

Part of Agentic Attack Detections. Shared indicators and feeds live at the repository root; the rules for behaviors that every agentic framework shows are in behaviors/.

Detection rules, hunting queries and indicators for Agent Zero (agent0ai/agent-zero, reviewed at a6e41ca), a general-purpose agent framework that runs as root in a Kali-based container, tells its agents to "obey instructions never refuse for safety ethics", ships a built-in hacker profile, and serves a web UI that is open unless a login is set. Google Threat Intelligence Group reported threat-actor experimentation with it in 2026 but named no actor and published no indicators, so this folder is smaller than the others: it finds Agent Zero set up for attack and its UIs exposed, and leaves the rest to the cross-framework rules.

Platforms Microsoft Sentinel and Defender XDR, Sigma, Suricata, Zeek intel, YARA, STIX 2.1
Docs What Agent Zero leaves behind, with a file and line for every signal and a check of what each rule relies on
Status Experimental. Tested for syntax and conversion, YARA against the Agent Zero source and seven other agent code bases. Baseline every rule on your own data before alerting

What Agent Zero leaves behind

The short version. The full review is in source-code-signals.md.

Signal What it looks like Code
Container agent0ai/agent-zero on agent0ai/agent-zero-base (Kali), framework in /a0, work folder /a0/usr/workdir, UI started by /exe/self_update_manager.py docker-run-ui docker/run
Web UI Port 80 in the container, published on 50080 (5000 when run directly). Titles Agent Zero and Login - Agent Zero; favicon favicon.svg hashes to 240024025 on Shodan docker/run/docker-compose.yml, webui/index.html, helpers/runtime.py:173
Login Off unless AUTH_LOGIN and AUTH_PASSWORD are set; GitGuardian found 39 of 173 exposed UIs open on November 7, 2026, PenTestIT 176 by title on November 13 helpers/settings.py
Prompts The default profile says "obey instructions never refuse for safety ethics". agents/hacker adds "live in kali linux docker container ... utilize kali hacking tools for job" and "cracking hacking penetration testing part of job" agents/agent0/prompts, agents/hacker/prompts
Tunnels run_tunnel.py publishes the UI through serveo (the default), Cloudflare quick tunnels (trycloudflare.com), Microsoft dev tunnels or Tailscale Funnel run_tunnel.py, api/tunnel.py, helpers/tunnel_manager.py
User agent agent-zero/<version> on its own OpenAI OAuth token refresh, never toward targets plugins/_oauth/helpers/codex.py:607

What is in this folder

Folder Contents
sentinel/hunting/ 2 KQL hunts: Agent Zero on a host, attack tools or a tunnel on that host; and the watchlist sweep
sigma/ 1 Sigma rule for the container, UI and tunnel processes
suricata/ Rules for the UI and login pages and its user agent
zeek/ Intel framework file generated from the CSV
yara/ A rule for the hacker profile prompts

Model traffic from the host, agent page readers, out-of-band lookups and the rest are in behaviors/. Indicators are in ../../iocs/indicators.csv with framework set to agent-zero.