Skip to content

About

Detection rules and IOCs for AI agent attack frameworks: ARTEX, Cairn, PentAGI, HexStrike, CyberStrikeAI, Strix, Hermes Agent, Agent Zero, RedAmon, Xalgorix, Pentest Swarm AI. KQL hunts for Microsoft Sentinel and Defender XDR, Sigma, Suricata, Zeek, YARA, Splunk, Elastic, STIX 2.1.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1.0k stars

Watchers

13 watching

Forks

Repository files navigation

Agentic Attack Detections

validate release license

Open-source detection rules, hunting queries and indicators for security teams. They cover agentic attack frameworks: tools that hand an intrusion to AI agents, which plan, run real attack tools and keep going until they reach a goal.

Free to use under the MIT license. Fixes, false-positive reports and new indicators are welcome.

What is here

  • Framework folders. ARTEX and its AntiFox fork, Cairn, PentAGI, HexStrike, CyberStrikeAI, Strix, Hermes Agent, Agent Zero, RedAmon, Xalgorix, Pentest Swarm AI, Decepticon, Shannon, PentestGPT, Cyber-AutoAgent, CAI, HackSynth, VulnBot, AutoPT, PentestAgent (the paper's and GH05TCREW's), Dark Moon, NyxStrike, sapper-v2, NeuroSploit, Vigilo, Pentest Copilot, cyber-harness, CHYing-agent, Hexstrike-redteam, pentest-ai, LazyOwn, H-Pentest, Incalmo, Virga, MCP Kali Server, ARIA-X, Mitsu, burp-ai-agent, RAPTOR, Blitz Strike, Nebula, Clearwing, BreachWeave, numasec, Pentest Harness, Agentic Bug Hunter, 0security, Sage (Mythic), PentestCode, hackingBuddyGPT, AutoPentester, PentesterFlow, Pentest Agent Suite, Cain, KaliGPT, Pensar Apex, Guardian, Cybermes, ARTEMIS, CTF Agent, OpenHack, RedAI, Cochise, Deadend CLI and Ares, plus four offensive prompt packs. Each folder is built from a review of the framework's source code and the public reporting on its use. Fourteen more frameworks whose consoles were found on the internet have smaller folders that say what the console and the tool look like, with the code behind each signal: AutoCVE, CyberStrike, Vulnerator AI, Decepticon, AIDA, BugTraceAI, Z3r0, AIRecon, LuaN1aoAgent, open-kritt, REDCELL, T3MP3ST, WormXGPT and Chufeng Agent Core.
  • AI agent behaviors. Rules that point at an AI agent, whatever the framework or model behind it, in behaviors/.
  • General intrusion rules. Steps seen in agent attacks that any attacker also takes, labelled as such, in general/.
  • Indicators and feeds. One CSV of more than 1,800 sourced indicators, and the feeds generated from it.
  • Exposed consoles. A dated list of addresses where one of these consoles answers on the internet, in exposure/, with a count per framework. It is a record of what is exposed, not a detection feed.

Formats: KQL for Microsoft Sentinel and Defender XDR, Sigma, Suricata, Zeek, YARA and STIX 2.1, plus WAF rules for Cloudflare, AWS WAF and Azure WAF. Splunk has one app for every framework. Elastic has one import with a rule for every framework.

Try it in a minute

With Suricata installed, run the ARTEX rules over the sample capture in this repository:

git clone https://github.com/ThreatDefence/agentic-attack-detections
cd agentic-attack-detections
mkdir -p out
suricata -r frameworks/artex/tests/artex-sample.pcap -S frameworks/artex/suricata/artex.rules -l out -k none
cat out/fast.log

You should see alerts such as:

[1:3800001:1] TD ARTEX user agent artex-<role>/1.0
[1:3800020:1] TD ARTEX placeholder probe path
[1:3800023:2] TD Unsigned alg none JWT in URI

The capture is test traffic written from the framework source code and published reports. It is not a recorded intrusion.

Start here

You have Do this
Microsoft Sentinel Deploy to Azure One deployment creates every analytics rule (disabled until you enable them), the hunting queries and the AGENTIC_IOCs watchlist. Give it the workspace name. It carries one indicator sweep for all frameworks; deploy/sentinel/ has one template per framework too, each with that framework's own sweep. Run the hunts in each folder's hunting-order.md order
Defender XDR Run the hunts from frameworks/*/sentinel/hunting/ in advanced hunting. They work where the tables exist
Suricata Download agentic-attack-detections.rules from the latest release, or add the .rules files from frameworks/*/suricata/ and behaviors/suricata/. If you run inline, read Running inline (IPS) first. HTTP rules need cleartext or decrypted traffic. DNS and TLS SNI rules work on encrypted traffic
Zeek Install the behaviors package with zkg install https://github.com/ThreatDefence/agentic-attack-detections (or load behaviors/zeek/agentic-behaviors/ by path), set server_nets to your server ranges (setup), load the framework scripts frameworks/artex/zeek/artex/, frameworks/cyberstrikeai/zeek/cyberstrikeai/, frameworks/hexstrike/zeek/hexstrike/, frameworks/autocve/zeek/autocve/ and frameworks/luan1aoagent/zeek/luan1aoagent/, and feed frameworks/*/zeek/intel/*.intel to the Intel framework
YARA Scan container layers, home folders, /tmp and web roots with frameworks/*/yara/
Any SIEM with Sigma Convert frameworks/*/sigma/, behaviors/sigma/ and general/sigma/ with sigma convert, or take the conversions in generated/
Splunk Install agentic-attack-detections-splunk.tgz from the latest release (Apps > Install app from file). One app has the searches for every framework, the indicator lookups and a dashboard with a card per framework. Point the aad_indexes macro at your indexes. Setup
Elastic Import agentic-attack-detections.ndjson through Security > Rules > Import, or post it to /api/detection_engine/rules/_import. One file carries every framework, the AI agent behaviors and the general intrusion rules, all disabled: the Sigma rules as query rules, the correlations as ES|QL rules, the hand-written ARTEX rules, and an indicator match rule. For that one, load agentic-attack-indicators.ndjson with POST logs-ti_agentic_attacks-default/_bulk. Point the index patterns at your own data before you enable them. Details
A WAF: Cloudflare, AWS WAF or Azure WAF Deploy the rules in waf/: framework user agents, probe markers and unsigned JWT probes to block, and reported addresses to challenge. A WAF is optional. It adds blocking at the edge to the detections, it doesn't replace them
A threat intelligence platform Import feeds/stix2.1-bundle.json, or the per-framework lists in feeds/by-framework/. Steps for MISP and OpenCTI, and which fields arrive: docs/threat-intelligence-platforms.md

Coverage

KQL hunts Sentinel analytics Sigma Suricata YARA Zeek Indicators
ARTEX 15 3 16 46 4 script, intel 247
Cairn 6 2 3 26 6 intel 73
PentAGI 5 2 3 10 3 intel 39
HexStrike 4 2 3 7 3 script, intel 22
CyberStrikeAI 5 2 7 11 4 script, intel 74
Strix 3 1 3 5 3 intel 49
Hermes Agent 4 2 3 7 4 intel 79
Agent Zero 2 1 3 1 intel 8
RedAmon 3 3 10 1 intel 19
Xalgorix 3 3 10 1 intel 24
Pentest Swarm AI 3 3 11 1 intel 15
Decepticon 3 1 6 15 6 intel 31
Shannon 3 1 3 3 5 intel 21
PentestGPT 3 1 3 9 3 intel 23
Cyber-AutoAgent 4 1 8 8 4 intel 19
CAI 3 1 6 14 4 intel 22
HackSynth 3 1 4 1 2 intel 10
VulnBot 3 1 3 5 2 intel 15
AutoPT 3 1 4 6 2 intel 8
PentestAgent (paper code) 3 3 3 2 intel 11
PentestAgent (GH05TCREW) 3 1 3 3 1 intel 10
DarkMoon 4 1 4 12 3 intel 29
NyxStrike 3 1 4 17 3 intel 38
sapper-v2 3 1 3 6 2 intel 24
NeuroSploit 4 1 9 22 4 30
Vigilo 3 1 4 18 2 intel 15
Pentest Copilot 3 1 4 11 2 intel 23
cyber-harness 3 1 4 16 3 intel 34
CHYing-agent 3 1 3 8 3 intel 19
Hexstrike-redteam 3 1 4 10 3 intel 34
pentest-ai 3 1 5 24 2 intel 38
LazyOwn 3 1 5 23 5 intel 30
H-Pentest 3 1 3 7 2 intel 15
Incalmo 4 1 5 13 3 intel 31
Virga 4 1 4 14 4 intel 30
MCP Kali Server 3 1 5 8 3 intel 15
ARIA-X 3 1 4 8 2 intel 22
Mitsu 3 1 7 5 3 intel 26
Custom AI Agent (burp-ai-agent) 3 1 5 17 2 intel 26
RAPTOR 3 1 4 21 3 intel 39
Blitz Strike 3 1 5 15 2 intel 26
Nebula 3 1 5 15 3 intel 39
Clearwing 3 1 5 20 3 intel 26
BreachWeave 4 1 5 22 4 intel 37
numasec 3 1 5 10 4 intel 18
Pentest Harness 3 1 4 12 2 intel 18
Agentic Bug Hunter 4 1 6 23 2 intel 31
0security 3 1 7 27 2 intel 40
Sage (Mythic) 4 1 7 9 4 intel 38
PentestCode 4 1 6 9 3 21
hackingBuddyGPT 4 1 5 7 3 intel 16
AutoPentester 3 1 2 9 2 intel 17
PentesterFlow 3 1 4 4 3 intel 18
Pentest Agent Suite 3 1 5 14 4 intel 23
Cain 3 1 4 6 2 intel 17
KaliGPT 3 1 7 3 3 intel 14
Pensar Apex 3 1 5 5 3 intel 23
Guardian 3 1 6 4 4 intel 13
Cybermes 3 1 5 12 3 intel 24
ARTEMIS 3 1 6 4 4 intel 19
CTF Agent 3 1 6 3 2 intel 13
OpenHack 3 1 8 14 3 intel 20
RedAI 3 1 2 4 intel 12
Cochise 3 1 3 1 3 intel 9
Deadend CLI 3 1 5 8 2 intel 16
Ares 4 1 9 6 6 intel 20
Offensive prompt packs 4 8 intel 25
AutoCVE 2 script
LuaN1aoAgent 4 script
AI agent behaviors 9 3 10 18 package
General intrusion 16 3 16

Every rule names its MITRE ATT&CK techniques. docs/attack-coverage.md lists them per framework with links to the rules, and generated/attack/ has an ATT&CK Navigator layer per framework and one for everything.

The other eleven console-level folders (CyberStrike, Vulnerator AI, AIDA, BugTraceAI, Z3r0, AIRecon, open-kritt, REDCELL, T3MP3ST, WormXGPT, Chufeng Agent Core) have no rules yet: they describe the console and the tool, and their exposure searches are in exposure/. Suricata counts are hand-written rules; each framework also has address rules generated from its indicators. Some indicators belong to more than one framework. Every framework is in the Splunk app. ARTEX also has Elastic rules and ES|QL queries, and an osquery pack.

Frameworks

Framework What it is Seen in
ARTEX Go planner and worker agents with a web console. AntiFox is the same code renamed Storm-0940, Storm-3358, VAPOR PANDA and criminal groups, against Microsoft 365, Okta, AWS, Azure, web applications and Active Directory
Cairn Python engine that drives Claude Code, Codex and Pi coding agents in Kali containers Online retailers, payment sites, Japanese web applications and WSUS servers
PentAGI Go multi-agent platform that runs Kali tools in a container per engagement Intrusions GTIG and Mandiant reported since August 2026, and a PaperCut exploitation operator's infrastructure
HexStrike Python MCP server that gives any AI assistant about 150 security tools over an unauthenticated API NetScaler exploitation discussion in 2025, and intrusions GTIG and Mandiant reported
CyberStrikeAI Go operator console whose agents run about 90 tools, with its own implants, C2 listeners and webshell manager FortiGate mass-exploitation infrastructure, an AWS intrusion, and education organizations in Africa and Latin America
Strix Python AI pentest agent that runs teams of agents in a Kali sandbox, on any model The retail card-theft campaign Gambit reported, where it found the flaws Cairn exploited
Hermes Agent A legitimate general-purpose agent turned into an attack console: approvals off, a bundled jailbreak skill, red-team personas The Gambit retail operator, the Carbonato Docker botnet, and Thailand's Ministry of Finance
Agent Zero General-purpose agent in a Kali container with a built-in hacker profile and an open web UI Threat-actor experimentation GTIG reported, with no published indicators
RedAmon Self-hosted penetration testing platform: a web console, a recon pipeline and an agent that exploits from a Kali sandbox with Metasploit No public report of use in an attack. Covered from its source code
Xalgorix Go binary with a web dashboard whose agent tests web applications and APIs without approval steps and re-exploits each finding No public report of use in an attack. Covered from its source code
Pentest Swarm AI Go command-line tool that runs recon, exploit and report agents over about 40 security tools No public report of use in an attack. Covered from its source code
Shannon TypeScript white-box AI pentester: Temporal workers drive model agents that read the code and test the running application with a headless browser No public report of use in an attack. Covered from its source code
PentestGPT Python agent from the USENIX Security 2024 paper that drives the Claude Code or Codex CLI with permission checks off No public report of use in an attack. Covered from its source code
Cyber-AutoAgent Python agent on the Strands SDK that runs a penetration test from a Kali container without approval steps, with a bundled Langfuse stack No public report of use in an attack. Covered from its source code
CAI Alias Robotics agent framework whose red team and bug bounty agents run shell commands, with an optional HTTP API and session-log telemetry No public report of use in an attack. Covered from its source code
HackSynth Research CTF agent: a planner model writes one bash command per step, run in a Kali container No public report of use in an attack. Covered from its source code
VulnBot Research multi-agent pentester that runs Kali tools over SSH, with an optional unauthenticated knowledge base API No public report of use in an attack. Covered from its source code
AutoPT Research web pentest agent that runs public vulhub exploits, with an unauthenticated Flask console on port 5000 No public report of use in an attack. Covered from its source code
PentestAgent (paper code) Research agent from arXiv 2411.05185: nmap, CVE lookup and a public exploit run with the model's commands. Not the GH05TCREW tool No public report of use in an attack. Covered from its source code
PentestAgent (GH05TCREW) Python pentest agent (GH05TCREW/pentestagent) with a terminal UI, agent crews, Kali sandbox images and an unauthenticated MCP server No public report of use in an attack. Covered from its source code
DarkMoon OpenCode-based agent stack with 51 attack prompts, a root toolbox container and an unauthenticated MCP server No public report of use in an attack. Covered from its source code
NyxStrike HexStrike AI derivative with a web interface, a decision engine and about 200 tools over MCP No public report of use in an attack. Covered from its source code and scan data
sapper-v2 Contest kit that coordinates several coding assistants around a shared engagement graph, with a web board No public report of use in an attack. Covered from its source code and scan data
NeuroSploit Rust multi-model harness with hundreds of specialist agents, an out-of-band channel and a web interface No public report of use in an attack. Covered from its source code and scan data
Vigilo Agent-driven web and white-box assessment platform published by CERT-EU; its grey-box agent names itself in every request A legitimate assessment tool; no public report of misuse. Covered from its source code and scan data
Pentest Copilot BugBase web application whose agent runs commands in Kali, drives a browser agent and integrates with Mythic C2; the first account to register owns it No public report of use in an attack. Covered from its source code and scan data
cyber-harness chainreactors Go agent harness (formerly AIScan): a scan agent running the chainreactors scanners, code audit, and a Web Hub that controls nodes No public report of use in an attack. Covered from its source code and scan data
CHYing-agent Contest agent on the Claude Agent SDK with an unauthenticated dashboard on every interface and fixed web terminal markers No public report of use in an attack. Covered from its source code
Hexstrike-redteam Copy of HexStrike with the BOAZ payload evasion framework behind five API routes, bound to every interface with no auth No public report of use in an attack. Covered from its source code
pentest-ai Python CLI and MCP server whose every request carries its name and a per-install id; its compose file serves the dashboard without auth No public report of use in an attack. Covered from its source code
LazyOwn Python red team framework with a multi-operator C2, HTTP beacons on a Gmail-like path, a DNS channel, and about 190 MCP tools for AI agents No public report of use in an attack. Covered from its source code
H-Pentest Small contest pentest platform: an unauthenticated FastAPI backend with the Docker socket mounted, and a Vue console No public report of use in an attack. Covered from its source code
Incalmo CMU research system for multistage attacks: a planner model drives Caldera Sandcat implants through an unauthenticated Flask C2 No public report of use in an attack. Covered from its source code
Virga Experimental Go C2 whose beacon can embed a local language model; unauthenticated MCP servers and admin API No public report of use in an attack. Covered from its source code
MCP Kali Server Flask API plus MCP bridge that lets an AI assistant run any command on a Kali host; no authentication, packaged in Kali No public report of use in an attack. Covered from its source code
ARIA-X Python engine borrowing ARTEX, Cairn and PentAGI designs; console on 8787 and its own ARIA-X user agent on every request No public report of use in an attack. Covered from its source code
Mitsu Terminal AI pentest agent with a 165-tool catalog, driving Codex or Claude Code over a local MCP server No public report of use in an attack. Covered from its source code
Custom AI Agent (burp-ai-agent) Burp Suite extension (Custom AI Agent) that lets models and MCP clients drive Burp and adds AI scanners with fixed payload markers No public report of use in an attack. Covered from its source code
RAPTOR Claude Code research framework for code and binary analysis, a self-naming web scanner, and exploit and patch generation No public report of use in an attack. Covered from its source code
Blitz Strike MCP server for AI coding clients that runs a one-call web engagement with fixed user agents, canaries and redirect probes No public report of use in an attack. Covered from its source code
Nebula Operator workstation by BerylliumSec whose agents run commands in a local Kali container, with an interception proxy No public report of use in an attack. Covered from its source code
Clearwing Network pentest agent and source-code vulnerability hunter with a Kali container, signed payloads and callback listeners No public report of use in an attack. Covered from its source code
BreachWeave Multi-agent pentest platform from Chinese automated-attack contests, with Kali solver containers and NPS tunnel hand-off No public report of use in an attack. Covered from its source code
numasec Terminal security agent built on OpenCode, with its own AppSec probe user agent and directory fuzzer markers No public report of use in an attack. Covered from its source code
Pentest Harness Rebrand of the dsh agent harness with a pentest persona and a local web UI with no login No public report of use in an attack. Covered from its source code and scan data
Agentic Bug Hunter Bug bounty toolkit for coding agents with fixed verifier user agents, a password sprayer and OOB markers No public report of use in an attack. Covered from its source code
0security Harness for persistent AI security agents (0security) with fixed LLM probe prompts and a server-mode console No public report of use in an attack. Covered from its source code
Sage (Mythic) AI operator inside the Mythic C2 framework whose tasks leave fixed SAGE_ proof markers on Windows hosts No public report of use in an attack. Covered from its source code
PentestCode OpenCode fork with thirteen pentest agents, injection probe markers and pivot and persistence recipes No public report of use in an attack. Covered from its source code
hackingBuddyGPT TU Wien research framework (wintermute) for LLM-driven Linux and Windows privilege escalation, web, API and Active Directory testing No public report of use in an attack. Covered from its source code
AutoPentester Research fork of the 2024 PentestGPT that runs the model's commands and Metasploit on the host without approval No public report of use in an attack. Covered from its source code
PentesterFlow Human-in-the-loop terminal agent for pentests and bug bounty with a shell, a browser and a Burp bridge No public report of use in an attack. Covered from its source code
Pentest Agent Suite Bug bounty framework of about 50 agents, skills and hooks for seven coding assistants, with a stealth browser No public report of use in an attack. Covered from its source code
Cain Cloud-focused agent on the Claude Agent SDK with recon, test and report stages, Chinese clouds included No public report of use in an attack. Covered from its source code
KaliGPT Command-line AI assistant for Kali with several model providers, aimed at students No public report of use in an attack. Covered from its source code
Pensar Apex Pensar's terminal pentest agent for black-box and white-box web testing, open core of a commercial console No public report of use in an attack. Covered from its source code
Guardian AI pentest CLI whose planner, tool-selector, analyst and reporter agents run YAML tool workflows No public report of use in an attack. Covered from its source code
Cybermes Bug bounty and red team framework built on Hermes Agent, with about two hundred playbooks No public report of use in an attack. Covered from its source code
ARTEMIS Stanford research agent: a supervisor that starts and watches vulnerability-hunting sub-agents No public report of use in an attack. Covered from its source code
CTF Agent CTF solver that races several models in parallel Docker sandboxes No public report of use in an attack. Covered from its source code
OpenHack Local source-code security scanner whose agents map, review, challenge and judge findings No public report of use in an attack. Covered from its source code
RedAI Terminal workbench where Claude Code or Codex agents scan code and validate flaws in a browser or simulator No public report of use in an attack. Covered from its source code
Cochise Research prototype that drives an assumed-breach attack on an Active Directory lab from an attacker host No public report of use in an attack. Covered from its source code
Deadend CLI Black-box web pentest agent: a Bun terminal UI driving a Python agent with sandboxed tools No public report of use in an attack. Covered from its source code
Ares Dreadnode's Rust multi-agent platform that chains impacket, NetExec and certipy against Active Directory; it ships its own detections No public report of use in an attack. Covered from its source code
Offensive prompt packs Four projects with no agent code (Claude-Red, pentest-ai-agents, codex-redteam-mode, vibe-pentest) that turn a coding agent into an attack tool No public report of use in an attack. Covered from their files
AutoCVE Python platform whose agents audit source code for new CVEs and write reports, with a web console and an API No public report of use in an attack. 256 consoles exposed
CyberStrike TypeScript offensive security harness with a browser extension, an injection prober and a callback server. Not CyberStrikeAI No public report of use in an attack
Vulnerator AI OODA-loop pentest agent: a Hermes Agent brain driving Kali and Playwright tools over MCP No public report of use in an attack
Decepticon Python LangGraph red team agents that run commands in a Kali sandbox and start Sliver or Havoc C2 on demand; telemetry on unless the operator declines No public report of use in an attack. Covered from its source code
AIDA Platform that turns a model into a pentester working from its own tool container or Exegol No public report of use in an attack
BugTraceAI Self-hosted web pentest suite with agentic scanning, a web interface and an API No public report of use in an attack
Z3r0 Red team workbench with specialist agents, sandboxed tools and an egress proxy pool No public report of use in an attack
AIRecon Recon agent on a local Ollama model with a Kali sandbox and its own search instance No public report of use in an attack
LuaN1aoAgent Pentest agent with graph-based planning (鸾鸟), a web workbench and a chisel tunnel No public report of use in an attack
open-kritt Vulnerability research tool whose agents find and validate flaws in code No public report of use in an attack
REDCELL LangGraph agents that run a pentest end to end in a Kali container, with chisel pivoting No public report of use in an attack
T3MP3ST Multi-agent red teaming harness with a command and control dashboard No public report of use in an attack
WormXGPT Hacker-themed web terminal and MCP bridge calling security tools. Not the criminal WormGPT service No public report of use in an attack
Chufeng Agent Core Agent workspace (楚锋 Agent Core) for CTF, forensics and pentest tasks; no public code No public report of use in an attack. Built from scan data

Each folder has a README, the hunts and rules, and a source-code-signals.md that explains what the framework leaves behind and where in its code each signal comes from.

Retired frameworks

retired/ holds the rules for frameworks that are no longer worth running: MAPTA, whose public release is missing parts it needs to run, and MCP for Security, which its authors deprecated in March 2026. Their rules, hunts and indicators stay in the repository, keep their rule numbers and are still checked for syntax, but they are left out of the release files, the feeds, the Sentinel templates and the Splunk and Elastic content.

Exposure tracking as of 26 Nov 2026

This project now tracks exposure as well as detection: which of these frameworks have consoles reachable on the internet, how many there are, and how the numbers move over time.

Active autonomous offensive frameworks: live consoles for the top 30 on 26 November 2026

Exposed consoles

Hosts on the internet that serve the web console of each framework, found in internet-wide scan data with the fingerprints the rules here use: favicons, page titles, page text that survives a rename, and certificates.

An active host is one seen in the seven days to November 25, 2026. Hosts the scan data flags as honeypots are left out of both counts.

Framework Active hosts Seen in 30 days Honeypots left out
ARTEX and AntiFox 2,478 3,273 0
Hermes Agent 1,220 2,226 0
CyberStrikeAI 492 669 513
PentAGI 309 493 0
AutoCVE 147 256 0
Agent Zero 113 173 0
HexStrike 30 35 0
RedAmon 22 38 0
Cairn 19 32 0
Xalgorix 6 12 0
CyberStrike 5 8 0
Strix 4 13 0
AIDA 4 5 0
BugTraceAI 3 3 0
Chufeng Agent Core 2 4 0
Z3r0 1 4 0
Decepticon 1 3 0
AIRecon 1 2 0
LuaN1aoAgent 1 1 0
open-kritt 1 1 0
T3MP3ST 1 1 0
Vulnerator AI 0 21 0
REDCELL 0 1 0
WormXGPT 0 1 0
Pentest Swarm AI 0 0 0
All, each host counted once 4,699 6,982 513
  • An exposed console is not proof of an attack. Researchers, students and security teams run these tools, and some hosts are decoys.
  • More than half of the pages titled CyberStrikeAI are flagged as honeypots, which is why that count is so much lower than a title search suggests. The flagged hosts stay in the list with honeypot set to yes.
  • One network that is not flagged holds more than a third of the remaining CyberStrikeAI hosts and of the PentAGI hosts. That looks like one mass deployment or a set of decoys, not that many operators (#21).
  • The ARTEX count includes 229 services found by the Basic auth realm or the X-Artex-Auth header put in front of the console. The realm match is probable, not certain: Artex is also a company name (details).
  • Consoles behind Basic auth named after the tool are common: 63 realms named Cairn, 14 CyberStrikeAI, 8 PentAGI and a few for other frameworks. They now have searches, marked probable, and are added to the counts at the next full snapshot (plain-word searches).
  • These counts come from Shodan alone. Consoles on ports Shodan has not scanned are not in them.
  • Hermes Agent and Agent Zero are general-purpose agents, so their numbers count exposed agents, not attack consoles. Hermes is counted on its default port only.
  • Consoles served by host name only, or on a port that has not been scanned, are not counted.

The addresses, with the port and the fingerprint that found each one, are in exposure/consoles.csv. The counts of every snapshot are kept in exposure/history.csv, so the numbers can be followed over time.

AI agent behaviors

behaviors/ holds rules that point at an AI agent, whatever the framework or model behind it: agent tools on the host, model API traffic, and speed or spread that no person shows.

Behavior Rules
An attack tool started under an AI agent CLI (Claude Code, Qwen Code, Kimi CLI, Codex, opencode, Hermes, Cairn's workers), found from the process tree KQL hunt, Sentinel analytics rule, Sigma
Servers calling AI model APIs: Chinese models (DeepSeek, Qwen, GLM, Kimi, MiniMax, Doubao), gateways such as OpenRouter, and Western APIs KQL hunt, Sigma, Zeek
An AI agent's page reader on your application next to attack traffic from the same address KQL hunt, Sigma, Suricata, Zeek
An attack agent proving it can write to a container registry: a push to a repository named after the agent (artex-i<id>, hermes-h<id>-writecheck, csai-push-probe) or after a write test Sigma, Suricata
Several unrelated user agent families from one address inside a minute KQL hunt
Password spray at a fixed rhythm of about one attempt a second KQL hunt, Sentinel analytics rule
One application asking for tokens to many resources in minutes, and Azure validate sweeps across many resource types in seconds KQL hunt, Sigma
AWS credentials used at machine speed: several identities checked in the same second, DryRun bursts and denied sweeps across many APIs KQL hunt, Sentinel analytics rule, Sigma
Tools and libraries that several frameworks share, as leads only: the asyncssh client banner, a Chrome user agent cut off before (KHTML, like Gecko), and the X-Implant-Token header of the CyberStrikeAI and NeuroSploit implants Suricata

General intrusion rules

general/ holds rules for intrusion steps seen in agent attacks that any attacker, person or agent, also takes. They are useful, but a hit says nothing about AI on its own. Read them next to the AI agent behaviors above and the framework folders.

Behavior Rules
One site probed through hundreds of rotating proxy addresses KQL hunt, Zeek
Configuration and backup file theft, and probes of WSUS administration services KQL hunt, Sentinel analytics rule, Sigma, Suricata, Zeek
Kerberos user enumeration, Kerberoasting, DCSync, and SMB, WinRM or remote tasklist fan-out KQL hunt, Sigma, Zeek
A server calling back to the address that was probing it KQL hunt, Suricata (PentAGI worker ports), Zeek
Servers looking up out-of-band testing domains (interactsh, Burp Collaborator, dnslog.cn), which means a blind payload ran on them KQL hunt, Sigma, Suricata, Zeek
Password spray from one address, and a spray that ends in a successful sign-in KQL hunt, Sigma
Applications that guess secrets, change their own access or call Microsoft Graph in scripted bursts KQL hunt, Sentinel analytics rule, Sigma
Bulk Key Vault secret reads, CloudWatch searches for secrets and Cognito sign-up abuse KQL hunt, Sentinel analytics rule, Sigma
Web or database services starting shells or download tools, and scripts written into web folders KQL hunt, Sigma
Servers calling webhook, callback and tunnel services, or downloading from a bare address KQL hunt, Sigma
Windows system binary names such as svchost.exe running from the wrong folder Sigma
Unsigned (alg none) tokens sent to a web application Sigma

Many of these were first written for ARTEX (where each one went). The Suricata rules and the Zeek package for both groups stay in behaviors/, so zkg install keeps working.

Indicators and feeds

Path Contents
iocs/indicators.csv More than 1,800 indicators. Each row has its source, confidence, a review date for addresses and the framework it belongs to. This file is the single source for every feed
iocs/sentinel/hunting/indicator-sweep.kql One Microsoft Sentinel hunt that sweeps for every framework's addresses, user agents, domains and file hashes with the watchlist, at medium and high confidence. It is the sweep in the Sentinel template with everything. Each framework's own sweep, in its folder and its template, also looks for that framework's strings, file names and paths
feeds/ Generated from the CSV: a STIX 2.1 bundle, a Sentinel watchlist, and plain lists of addresses, domains, URLs, user agents and hashes. The plain lists carry medium and high confidence rows only. Low confidence rows, which include legitimate services such as AI model APIs, need their context, so they stay in the CSV, the watchlist and the STIX bundle. feeds/by-framework/ has the lists per framework
docs/attack-coverage.md Which rules cover which ATT&CK technique, per framework, with the Navigator layers beside it. tools/build_attack.py rebuilds both
generated/ Every Sigma rule converted to Splunk SPL, Sentinel and Defender XDR KQL, and Elastic ES|QL and Lucene, plus elastic_ndjson/ where all of them are one Kibana import. SUMMARY.md shows which rule converted to which backend
waf/ Cloudflare, AWS WAF and Azure WAF rules built from waf/signatures.yaml and the CSV. The README covers when a WAF helps and how to deploy
exposure/ Addresses where one of these consoles answers on the internet, with the fingerprint that found each one. A record of what is exposed, kept out of the feeds above. tools/exposure_snapshot.py rebuilds it
tools/ Feed builder, WAF builder, release file builder, Sigma converter and validator
docs/ Adding a framework

Each framework folder also has a Zeek intel file and Suricata address rules, generated from the same CSV.

Downloads

Each release carries the same content as ready-made files. These links always point at the newest release:

File Contents
agentic-attack-detections.rules The hand-written Suricata rules at high and medium confidence. The file to start with, and the only one to drop from if you run inline
agentic-attack-detections-hunting.rules The hand-written Suricata rules at low confidence. Alert only
agentic-attack-detections-addresses.rules The Suricata address rules built from the indicators. Alert only
agentic-attack-detections-all.rules Every Suricata rule in one file: the three above together, which is what agentic-attack-detections.rules held up to 2.11.1
agentic-attack-detections-yara.zip The YARA rules, one file per framework
agentic-attack-detections-stix2.1.json The STIX 2.1 bundle
agentic-attack-detections-indicators.zip iocs/indicators.csv and every feed
agentic-attack-detections-waf.zip The WAF rules for Cloudflare, AWS WAF and Azure WAF
SHA256SUMS.txt SHA-256 of each file

To keep the Suricata rules current with suricata-update:

suricata-update add-source agentic-attack-detections https://github.com/ThreatDefence/agentic-attack-detections/releases/latest/download/agentic-attack-detections.rules
# optional, alert only:
suricata-update add-source agentic-attack-hunting https://github.com/ThreatDefence/agentic-attack-detections/releases/latest/download/agentic-attack-detections-hunting.rules
suricata-update add-source agentic-attack-addresses https://github.com/ThreatDefence/agentic-attack-detections/releases/latest/download/agentic-attack-detections-addresses.rules
suricata-update

Up to 2.11.1 the first file held every rule. It now holds the high and medium confidence rules only, so add the other two sources if you want the low-confidence and address rules back. Running inline (IPS) says which file is safe to drop from.

How the rules are built and checked

  • From source. A signature string comes from the framework's code at a named commit, or from a report that published it. source-code-signals.md gives the file and line.
  • From reports. Every indicator names the report it came from, and each value was checked against that report.
  • Tested. Each Suricata rule has a test flow and a near miss. Sigma rules are run against test events, and hunts and analytics rules against sample rows in Microsoft's Kusto emulator, where cases have been written: tests/sigma/ and tests/kql/ have the formats, and new cases are welcome. Every KQL query is parsed with Microsoft's parser and its columns checked. The Zeek packages run against test captures. CI runs the validator and the Suricata, Sigma and KQL tests on every push.
  • Read from code, not run. Most framework rules come from reading the framework's code at a named commit. The framework itself was not run, so those rules have not been seen to fire on its real traffic.
  • Run on real data, once. Version 2.7.0 was run over 30 days of production telemetry to remove rules that could not fire and to quiet rules that were noisy. That release had 280 Suricata rules, 64 Sigma rules and 69 hunts. Most of today's rules were added after it and have not been run on production data.

No rule has been tested against a captured intrusion. Treat every rule as experimental until it has run on your own data.

Confidence

Level Meaning How to use it Inline (IPS)
High Specific to a framework or its campaigns: its user agents, command lines, paths, prompt strings, probe artifacts, reported C2 and skimmer domains, file hashes Alert May drop, once it has alerted on your traffic without a false positive
Medium Seen in a framework's activity but changeable or shared: reported addresses, generic agent user agents, prompt text shared with similar tools Alert after baselining, or hunt Alert first. Drop only after baselining
Low Common or legitimate: AI model APIs, request-collection services, agent CLI user agents, hosting ASNs, proxy providers Context for another finding only Never drop

Addresses from cloud and VPS providers are reassigned. Every address has a review_by date 180 days after it was reported. Addresses past that date are left out of the plain lists, the Zeek intel files and the Suricata address rules; they stay in the CSV and the STIX bundle as history. Low-confidence addresses are left out of the plain lists and the Suricata address rules too, and stay in the CSV, the STIX bundle and the Zeek intel files as context. Check before you block.

Running inline (IPS)

The rules are written to alert, and most have not run on production traffic, so run them in alert mode first. If you run Suricata inline:

  • Drop only from agentic-attack-detections.rules, and start with the rules marked confidence High in their metadata. Move a Medium rule to drop after it has alerted on your traffic without a false positive.
  • Keep agentic-attack-detections-hunting.rules on alert. Its rules match things normal software also does: a lookup of webhook.site, an AI coding agent fetching a page, a Basic auth realm that starts with ARTEX, which is also a company name.
  • Keep agentic-attack-detections-addresses.rules on alert. It lists hosting addresses, and those get reassigned.
  • agentic-attack-detections-all.rules is the three files in one, so do not set it to drop as a whole.

With suricata-update, this line in drop.conf turns only the High rules of this project into drop rules:

re:msg:"TD [^"]*".*confidence High

Legitimate testers use these frameworks too, so a drop can block your own penetration test.

Testing

pip install -r tools/requirements.txt
python3 tools/validate.py                              # Sigma, KQL, ES|QL, TOML, Splunk, Suricata SIDs, YARA, Zeek, osquery, feeds
python3 -m unittest discover -s tests/feeds            # indicator confidence, expiry and SID policy
python3 tests/sigma/run_tests.py                       # Sigma rules against test events
python3 tests/kql/run_tests.py                         # hunts and analytics against sample rows; needs the Kusto emulator
lab/lab.sh up && lab/lab.sh test                       # Splunk and Elastic in Docker, every rule against test events: lab/README.md
python3 tools/convert.py                               # regenerate generated/
python3 tools/build_waf.py                             # regenerate waf/
python3 tests/waf/run_tests.py                         # offline checks of the WAF rules on every platform
python3 tools/build_release.py                         # build the release downloads into dist/
python3 tests/suricata/run_tests.py                    # one flow per Suricata rule; needs suricata and openssl
bash frameworks/artex/tests/run_network_tests.sh       # needs zeek and suricata on the PATH
bash behaviors/zeek/tests/run_tests.sh                 # needs zeek on the PATH
bash frameworks/cyberstrikeai/tests/run_zeek_tests.sh  # needs zeek on the PATH
bash frameworks/hexstrike/tests/run_zeek_tests.sh      # needs zeek on the PATH
bash frameworks/autocve/tests/run_zeek_tests.sh        # needs zeek on the PATH
bash frameworks/luan1aoagent/tests/run_zeek_tests.sh   # needs zeek on the PATH

validate.py checks KQL with Microsoft's parser when dotnet is installed, and Zeek scripts when zeek is.

Contributing

Pull requests are welcome. The most useful contributions are false-positive reports, missed detections and new indicators with a source. See CONTRIBUTING.md for the checks to run, and docs/adding-a-framework.md to add a framework.

Where the project is going is in the roadmap.

Getting help

Open an issue. There are forms for a false positive, a missed detection, a new indicator and a new framework. Describe the shape of the event; never paste customer data. For a security problem in the repository itself, see SECURITY.md.

License

MIT. See LICENSE. Each indicator names its source in iocs/indicators.csv. Use them in your own products and feeds.

Disclaimer

Provided as is, without warranty. A match is a lead, not a verdict. Absence of a match does not mean absence of compromise.

Credits

Started and maintained by ThreatDefence, with fixes from @jack51706, @tridev-tej, @Bropdrop, @blitzcrieg1 and @nerdyhacks. Background on ARTEX: the advisory and the source code signals article.

History

This repository was artex-detections. GitHub redirects the old address. The ARTEX rules moved from the root to frameworks/artex/; iocs/indicators.csv and feeds/ kept their paths.

About

Detection rules and IOCs for AI agent attack frameworks: ARTEX, Cairn, PentAGI, HexStrike, CyberStrikeAI, Strix, Hermes Agent, Agent Zero, RedAmon, Xalgorix, Pentest Swarm AI. KQL hunts for Microsoft Sentinel and Defender XDR, Sigma, Suricata, Zeek, YARA, Splunk, Elastic, STIX 2.1.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1.0k stars

Watchers

13 watching

Forks

Releases

Packages

Contributors

Languages