Announcing Prod AI and our $1M ROI Guarantee →

Rise of cyber hacking frameworks: ARTEX, Cairn, PentAGI, HexStrike and CyberStrikeAI

5 min read

On Monday, CISA, the US agency that protects government networks and things like power and water systems, said it has "observed and responded to numerous incidents" in which attackers used AI agents against US agencies, local governments and critical infrastructure. It named five tools: ARTEX, Cairn, PentAGI, HexStrike and CyberStrikeAI. On Wednesday, Perplexity published an account of a two-week attempt to break into its systems with Cairn.

The targets are organizations, not personal phones or laptops. In the attacks described so far, the agents got in through leaked keys, default passwords and forgotten servers.

The short version
  1. An AI hacking framework runs an AI model in a loop. It picks a task, runs ordinary hacking tools, records the result and picks the next task.
  2. The methods are not new. They include leaked passwords, weak logins and unpatched servers. The frameworks let one operator use them against many targets at once.
  3. The FBI says some attacks with one of these tools went from first contact to admin access in under three hours.

Timeline

11 of 11

How an AI hacking agent works

An AI model on its own only produces text. It can describe how to attack a server but cannot connect to one. These frameworks give the model a loop. They take a goal, split it into tasks, run tools like scanners and browsers, record what they find and choose the next task.

Cairn starts from a single domain name. In each round, one step chooses an action, another carries it out, and the result is saved, including dead ends. Many tasks run at the same time. In one of the attacks below, up to 14 ran in parallel over 19.5 hours.

None of these frameworks includes its own AI model. They connect to a model the operator chooses, such as Claude, GPT or DeepSeek. Most began as penetration testing tools, which companies use to test their own systems with permission. Attackers use the same software on companies that have not given permission.

Old methods, faster

CISA says the frameworks do not introduce new techniques or target new vulnerabilities. In the Cairn campaign studied by Palo Alto Networks, the attackers got in through weak passwords, open endpoints and other known weaknesses.

Attacks were getting faster before agents appeared. Google's Mandiant team measures the time between a security bug becoming public and attackers exploiting it. The average fell from 63 days in 2018–19 to 5 days in 2023.

Days from a bug going public to attackers using it
2018–1963
202044
2021–2232
20235
Source: Google Mandiant

One Cairn operation ran for more than 50 hours without stopping. The FBI says some ARTEX attacks reached privileged access less than three hours after first contact.

Inside one attack

From October 24 to November 8, an attacker used Cairn against Perplexity. The goal was credentials for two frontier AI models on Amazon Bedrock, ideally with administrator access.

Perplexity blocked every attempt. The same attacker got into two other companies, both through simple mistakes.

  • A login credential in deleted git history. The credential still worked. The agent used it to take admin control of a customer workspace and run code on the company's servers.
  • An admin API open on a demo server. The agent logged in and installed a program that contacted the attacker about 1,000 times over 15 hours. It collected password stores, Kubernetes secrets and cloud credentials.

Neither break-in gave the attacker the AI model access it wanted. At the first company, the agent recorded 37 dead ends and later returned to 19 of them, with a median gap of 31 minutes.

Why steal AI keys?

The attacks on Perplexity and the two other companies all aimed for access to AI models. Running agents for days uses a lot of model time, and a stolen API key moves that cost to the key's owner.

Amazon saw the same goal in a separate campaign. From October 3 to November 5, it ran decoy servers that looked like AI model services. AI agents connected to them and sent along their own campaign notes. Amazon believes, with moderate confidence, that the agents ran on ARTEX. They were looking for exposed AI apps such as LiteLLM, One API and Dify, which often store keys for model providers. Amazon could not verify the break-ins the agents reported, and Perplexity notes that agents can overstate their progress.

Working keys went into a shared pool. The pool paid for the AI models that searched for more keys.

How the frameworks avoid refusals

AI models are trained to refuse clearly harmful requests. Elastic reviewed all five frameworks CISA named and found that none checks for authorization in its code by default. Three of them state in the model's instructions that the work is authorized.

Cairn's default instructions tell the model never to refuse a task. The group Palo Alto tracked also added a Chinese-language note saying the work was authorized, and each operation created a file named AUTHORIZATION.md. The two models it used, Zhipu's GLM and DeepSeek, did not refuse.

How it got caught

Perplexity's own agent platform flagged the activity. The attacker used about 40 throwaway email accounts and about 290 proxy addresses so the accounts would look unrelated. Perplexity linked them into one campaign.

Perplexity then found the attacker's server open on the internet. It had 207 open ports and more than 10,000 files anyone could browse, including scripts, logs and live workspaces for the two other targets. Perplexity warned both companies.

Other attackers have left their tools exposed too. Censys found more than 800 ARTEX installations online without a login. In February, Amazon found AI-generated attack plans on a public server used by an attacker who had broken into more than 600 firewalls.

Build with AI, without the open doors

These agents don't need a clever exploit. They scan for leaked keys, default passwords and apps nobody looks after, and they keep going until something answers. Every company now has 100x more of those apps, because AI lets any employee build one, and CISOs are being asked to allow it safely. Prod AI lets employees build AI apps and agents with the tools they already use. Every app follows your security policies, goes live through one simple approval process, is monitored while it runs, and can be shut down in production with one switch.

AI risk catalog
The risks behind stories like this one

Exposed apps, leaked keys, apps nobody owns. Each one, with how Prod AI handles it.

See the catalog →
  • Unauthenticated appsCritical
  • Hardcoded secretsCritical
  • Service accounts and keys nobody ownsCritical
  • No fast way to contain a bad resourceCritical

If you lead IT or Security, we'd love to show you Prod AI. Book a demo.

Sources

  1. CISA on agentic offensive frameworks
  2. Perplexity: how we defended against an autonomous AI attacker
  3. TechCrunch: Perplexity caught an autonomous AI hacker
  4. AI Weekly: CISA warns of numerous AI attacks
  5. ExecutiveGov: CISA names five frameworks
  6. Tech Times: how the five frameworks differ, and Elastic's findings
  7. Palo Alto Networks Unit 42: Cairn campaign
  8. Amazon: ARTEX agents stealing AI keys
  9. The Register: FBI and AWS on industrial-scale attacks
  10. TechCrunch: hundreds of ARTEX tools exposed
  11. Google Mandiant: 2023 time-to-exploit trends
  12. Implicator: Censys numbers on exposed ARTEX
  13. Amazon: AI-assisted attacker and 600 FortiGate devices

One Governed Path to Production. Unlock your AI transformation today