Agentic offensive frameworks explained: what ARTEX, Cairn and PentAGI actually do, why governments say they compress an intrusion into hours, and the five defences that remove their easy wins
An agentic offensive framework wraps a frontier model in a loop with scanners, credential tools and cloud command lines so that an intrusion runs itself. CISA, Canada and the UK all published evidence this week; this explainer covers how the loops work, what they cannot do, how to read a cyber-range result like AISI's Zero Energy, and the defences that matter most.

An agentic offensive framework, or AOF in the term CISA now uses, is software that turns a large language model into an autonomous intruder. The model is given a goal, a set of tools and a budget, and it loops: scan, read the result, decide, act, repeat. The tools are the ordinary ones a penetration tester would use: port scanners, password sprayers, exploit collections, cloud command-line clients. What is new is that the decisions between tool calls, which used to take a skilled human hours, are made by a model in seconds.
Where they came from
Most of the named frameworks began as legitimate penetration-testing tools. ARTEX, the one the FBI warned about on November 13, was built to let security teams run automated tests; Cairn, PentAGI, HexStrike and CyberStrikeAI have similar origins and most are open source. The FBI's finding was that criminal and state groups had adopted them unchanged: Microsoft logged a campaign that reached privileged access in under three hours, Amazon reported Cairn used to find a zero-day in attacks on Asian universities, and Google saw it in intrusions at US aerospace firms. CISA's December 1 guide, issued with the Canadian Centre for Cyber Security, says the agency has observed and responded to numerous incidents involving these frameworks in federal, state and critical-infrastructure networks.
What the loop actually does
A typical run has four phases, and none of them requires a novel technique.
- Enumeration. The agent maps everything reachable: open ports, web applications, cloud buckets, login pages. It does this continuously and does not get bored.
- Initial access. It tries the cheap things first: default credentials, password spraying across every login it found, exploits for CVEs that have a public patch and a public proof of concept.
- Escalation and movement. Once inside, it reads configuration files, finds stored credentials and service accounts, and uses cloud command lines to move from a workstation to an administrator role. Canada's Cyber Centre reports this phase completing in under three hours.
- Objective. Exfiltration, ransomware deployment, or persistence, depending on who is running it.
CISA's summary is precise: the frameworks do not change attacker tactics; they let the same tactics run at far greater speed and scale. That is why the recommended defences are old ones.
How to read a cyber-range result
Governments now test models directly. The UK AI Security Institute's Zero Energy range, built with the NCSC over about five months, is a simulated company network with no planted vulnerabilities and no intended attack path; the goal is a reusable administrator credential from network access alone. On December 1 AISI reported that GPT-6.2 Astra solved it in 12 of 12 runs at a median of 15.4 hours and $168 in tokens, GPT-6 Astra in every completed run at a median of $429, and GPT-5.6 Sol in none of 12.
Three questions make such a result legible. Was the attack path planted? Here, no, which is why the result is significant. Were safeguards on? Here, no; the public API refuses many of these tasks, so the test measures capability, not what an ordinary API user gets. Was anyone defending? Here, no; detection and persistence were untested, so the numbers say how fast an intrusion proceeds unopposed, not whether it would succeed against a monitored network. A result that passes all three tests is a capability finding; one that fails them is still useful, but it describes an upper bound.
What the frameworks cannot do
They cannot invent vulnerabilities that do not exist, which is why networks with patched surfaces, phishing-resistant MFA and tight privilege boundaries do not appear in CISA's incident counts. They are loud: thousands of actions an hour leave logs that a tuned detection stack will see, and AISI's models found a router flaw by brute persistence, not stealth. They depend on model access, which is why OpenAI gates its cyber models and why the policy fight over safeguards, pretraining pauses and capability limits is really a fight about these loops. And they are only as good as their tools: a framework with a scanner and a sprayer is formidable against an exposed login page and useless against a network it cannot see.
Five defences that remove the easy wins
- Phishing-resistant MFA on every external login, no exceptions. Password spraying is the opening move; passkeys or hardware keys end it.
- A continuously enumerated attack surface. Run the same scans the frameworks run, on a schedule, and treat an unpatched internet-facing service as already found.
- Short privileged-access paths. A compromised workstation should not reach a cloud administrator role in three hours; use just-in-time elevation and separate admin identities.
- Credential hygiene inside the network. Stored secrets in configuration files and over-broad service accounts are what phase three consumes; vault them and scope them.
- A 72-hour outage rehearsal. Canada's export-permit portal, the UK's pensions department and a US exam board all went offline within a fortnight. Know what you do when yours does.
For the broader programme, see the agent security checklist for CISOs and the AI incident response plan.
Related news
- Dec 2, 2026 CISA has handled 'numerous' agentic-framework intrusions, Canada's export-permit system was down for three days after an… Security
- Dec 2, 2026 Docker Sandboxes CVE-2026-136998: an agent kit update could send your Anthropic, OpenAI or GitHub key anywhere after a s… Developer tools
- Dec 2, 2026 Jensen Huang's eleven hours behind closed doors: no belief that Alice Huang was a spy, no knowledge of Megaspeed diverti… Policy & regulation
- Dec 2, 2026 The FDA tells RSNA that regulating generative AI in radiology is still an 'open question': 76% of its 1,614 authorised A… Health & medicine
Common questions
Are these frameworks illegal to possess?
Most are open-source penetration-testing tools, and possessing or running them against systems you are authorised to test is legal in most jurisdictions. Using them against systems without authorisation is a crime. The frameworks are dual-use in the same way as the scanners and exploit collections they wrap.
Does a frontier model with safeguards refuse to run these attacks?
Public APIs refuse many explicit intrusion tasks, and OpenAI gates its dedicated cyber models behind vetting. But the frameworks are often run on open-weight models with no safeguards, or on commercial models with tasks decomposed so no single step looks malicious. AISI's test disabled safeguards precisely to measure what the model can do when they are absent.
If attacks now take hours, how fast does my detection need to be?
Faster than your on-call rota. Canada's figure of under three hours from target selection to privileged cloud access means an alert that waits for the morning shift is too late. Automated containment, such as revoking a session or isolating a host on a high-confidence signal, is the practical answer; it is also why the same agentic tooling is being adopted for defence.
Related

AI agents: a security checklist for CISOs
Agents are software that acts with your credentials. Here are the fourteen controls that matter, in the order to impleme…

Open-weight vs closed AI models: what the difference means for you
Open-weight models can be downloaded and run anywhere; closed models live behind an API. The trade-offs on cost, control…

Post-quantum cryptography explained: what ML-KEM and ML-DSA are, why 'structured lattices' were in the news this week, and how to tell a galactic-scale attack from one that matters
Post-quantum cryptography is the set of encryption and signature algorithms designed to survive a large quantum computer…
Get the brief in your inbox
One email every morning: the stories that mattered in AI, each with a one-line "why it matters" for your role. Free, no ads, unsubscribe any time.
Published daily by AI Briefing. We never share your address.