Agentic Offensive Frameworks
Open-source AI agent harnesses (ARTEX, Cairn, CyberStrikeAI, HexStrike and others) that take a natural-language objective and plan, run tools, interpret results and retry with little human direction, now used in real intrusions.
How it works
- Objective in, attack chain out. ARTEX accepts a goal in natural language, decomposes it into tasks and drives six specialized agents running real security tools; it can swap external models, so capability tracks model and fork improvements (Google, CERT-EU via Horizon3.ai). Cairn is a general “path through an unknown state space” engine that proved effective at pentesting; an operator gave it target IPs and the goal “obtain shell access” (Help Net Security).
- Economics, not novelty. The techniques are familiar (weak credentials, misconfigurations, excess permissions, old CVEs). What changes is that each attempt is cheap, so agents try more techniques against more targets in parallel and keep going after failures (Horizon3.ai). Okta saw the same at identity-flow scale: no novel exploitation, known misconfigurations hit at speed (Okta).
- Persistence. At one university Cairn agents spent ~16 hours on an unauthenticated Redis (replication module load, Lua sandbox escape, config-file writes), tried Log4Shell, used SSRF in a co-located Qdrant to map the Docker network, built an ~80-name username list from faculty pages and papers and sprayed 30,000+ combinations, before finding a zero-day elsewhere (Help Net Security).
- Unreliability. Agents misread goals, chase dead ends and hallucinate success: in one Check Point-documented ARTEX run, “successful” crypto cash-out bugs were API responses that merely said success; the wallet showed no transactions. Attackers tolerate this because failures are cheap (Horizon3.ai).
- Bad operator OPSEC. ARTEX ships its web console internet-exposed by default, often on default credentials; Censys counted 1,400+ exposed consoles in early November 2026. Exposed panels leak operator prompts, planner intents, agent transcripts and model reasoning (Wiz). Amazon’s Cairn insight came from an unauthenticated public Cairn instance (Help Net Security).
Observed behaviour (detection-relevant)
| Trait | Detail |
|---|---|
| Proxy rotation | A new residential/ISP exit per request; 220+ IPs against one target, so IP blocking and IOC sharing do little |
| Noise | Password spraying, canary-account creation, hammering sign-up and password-reset flows, probing every endpoint |
| Self-labelling | pentest, probe, recon in user agents and resource names; incrementing task counters (pentest-iNNNNNN); csai- prefix on CyberStrikeAI artifacts |
| Vector-agnostic | Stolen cloud keys, IdP OAuth flows, public sign-up, anonymous storage and CI/CD trust tried in parallel across many orgs |
| Target preference | Environment variables and stored customer secrets, prioritising AI-provider and cloud keys that can be validated, resold or burned on LLM usage within hours (LLMjacking) |
Source: Wiz.
Notable cases
- Cairn vs East Asian universities (from 8 Sept 2026, Chinese-nexus): path traversal in an open-source medical-imaging AI app’s upload
filenameparameter, from API mapping to arbitrary file write in ~11 minutes; later the agents wrotesitecustomize.pyand triggered a training endpoint so a new Python process imported it, giving a root shell. The operator then tunnelled the agents into a second university running the same software (Help Net Security). - Other Cairn reporting: Gambit Security tied Cairn plus Hermes and Strix to 27+ compromised retailers and 600,000+ card records; NorForge found 20+ exposed panels and a cluster with 1,100+ projects (about 1 in 10 reached its goal, averaging just under 23 hours); Unit 42’s CL-STA-1238 ran 25 operations and breached 10 (Help Net Security).
- ARTEX speed: the FBI (FLASH, 13 Nov 2026) saw intrusions go from targeting to privileged access in under three hours; Check Point saw one operation recover 190,000+ gaming credential sets with thousands still valid (Horizon3.ai, GitGuardian).
- ARTEX-Harvester (late Oct–mid Nov 2026, 12+ orgs): compromised VCS credentials → branches abusing CI workload-identity trust → workflows dumping CI secrets and Terraform state; in parallel a stolen pod service-account token created a privileged pod mounting the node root filesystem, harvested kubelet PKI and projected SA tokens, and a cert-manager token reading ArgoCD secrets gave cluster-admin (Wiz). See Workload Identity Federation.
- CyberStrikeAI case, both sides (Oct 2026): stolen Terraform-runner session → privileged pod and cluster-admin binding, Jenkins controller RCE,
ld.so.preloadrootkit with DNS tunnel; the operator’s open directory showed forged IdP admin tokens (3,392 users’ sessions), 50 SSH keys from a bastion DB, a Jenkinsfile modified to run before its approval gate, Anthropic API keys harvested from 50 hosts and AI coding-assistant histories mined for SSO credentials (Wiz). See AI Coding Assistant Risks.
Defenses
- Shrink the cheap wins: limit internet exposure, isolate management interfaces, enforce MFA, patch exposed assets; Unit 42 found the exploited flaws were mostly weak credentials, auth bypasses and old CVEs (Horizon3.ai, Help Net Security).
- Kill credentials fast: exposed secrets sit public for a median 320 days and 62% of retested valid ones still worked after notification, against attacks that go from GitHub search to Key Vault in minutes (GitGuardian; Credential Rotation and Revocation).
- Automate response: high-confidence detections that trigger automated containment, with humans overseeing outcomes, because agents outpace SOC triage (Amazon) (Help Net Security).
- Generic cloud detections catch them: instance/task credentials used outside the cloud, mass Access Denied, unusual
GetCallerIdentity, mass secret retrieval, dormant keys reused, privileged pod creation,nsenter, IMDSkube-envqueries. Naming-pattern rules (step counters,pentest-*) are perishable as tools are forked and rebranded (Wiz). - Validate, don’t just discover: prove which paths reach critical assets and re-test after fixes; more AI-found tickets without prioritisation is not more security (Horizon3.ai).
Related
- AI and LLM Security
- LLMjacking
- Leaked Cloud Credentials
- Secrets Management
- AI Coding Assistant Risks
- Workload Identity Federation
- Agentic AI Risks
Sources
- Open-source AI pentesting framework Cairn keeps turning up in real-world attacks · original
- Horizon3.ai — ARTEX Is Changing the Economics of Attack · original
- Wiz — Agentic Attacks: In The Wild · original
- GitGuardian — What Five Months of the Enterprise Good Samaritan Program Taught Us · original
- Okta — Agentic attack tools accelerate reconnaissance of identity flows · original