Cairn Attack Underscores AI Can Orchestrate Attacks…Really Cheap
TL;DR — Key Takeaways
-
Autonomous cyberattacks are a reality: AI agents are independently planning, executing and adapting real-world intrusion campaigns.
-
Old vulnerabilities, unprecedented scale: Weak credentials, excessive privileges and unpatched systems are fueling automated attacks.
-
Manual defense can no longer keep pace: Security teams must prioritize automated containment, zero-standing privileges and continuous attack surface testing.
Earlier in the month, a pair of disclosures proved that autonomous offensive AI has made its way out of the lab and into real campaigns—one using ARTEX, a tool that got forked more than 12,000 times before it was withdrawn by the developer and prompted an FBI FLASH alert.
But the ARTEX disclosure was preceded by one from Unit 42, which found that a China-nexus operator used a customized fork of Cairn, the open-source pentest framework, to run more than two dozen operations against 19 organizations. The attackers combined Cairn with Zhipu GLM and DeepSeek, both Chinese models. In that case, all the attackers offered up with a target and a goal, then Cairn did the rest—planning, executing and recording the results.
“The Unit 42 report highlights how attackers have shifted to now fully automating the intrusion process,” says Shane Barney, CISO at Keeper Security.
“By plugging commercial Large Language Models (LLMs) into an open-source penetration testing framework like Cairn, attackers can deploy autonomous agents that plan, execute and adapt on their own, eliminating the need for a dedicated team of hackers or bespoke malware to run a persistent, multi-stage campaign,” he says.
“The most concerning aspect of this research is not that artificial intelligence can hack systems, but that it can now autonomously orchestrate attacks at scale with minimal human intervention,” says Morey J. Haber, chief security advisor at BeyondTrust.
“Threat actors are moving from manually exploiting vulnerabilities to delegating entire attack campaigns to AI agents,” he says, with the result being “faster exploitation, persistent access, and potentially devastating data exposure.”
The initiative was successful, with attackers being able to access or retrieve data from 100 of the organizations. The personal data retrieved topped one million records at one of the organizations. They were able to get their hands on valid credentials and military and government identities. They were also able to access a production system, create persistent admin accounts, as well as alter a live industry standards-ballot document. And they did it all for just $5,000 in tokens—that’s just $50 per successful hack. “Fifty dollars per successful breach is the number every security leader should bring to their next budget meeting. This research gives us hard evidence of what one person with commercially available AI tools can do,” says Justin Beals, CEO and Founder of Strike Graph.
Noting that “a single hacker with a few thousand dollars in tokens now operates like a gang of 100,” with “agents spent about 23 hours probing each target until something gave.” When the front door held, “they went looking for associated infrastructure and found a side door,” he says, pointing out that “kind of patient, methodical work used to take a full pen testing team.”
For Barney, the most concerning part of the Unit 42 report “is the basic identity failures it exploited. Across nearly half of the targeted organizations, autonomous agents achieved their goals by harvesting valid credentials, creating persistent administrative accounts, and moving laterally without triggering alarms. AI compresses the timeline between initial access and data exfiltration, turning routine privilege gaps into immediate, large-scale breaches.”
Agnidipta Sarkar, chief evangelist at ColorTokens, says there’s a “not-so-surprising finding” among the disclosures. “Across both tools, the exploited weaknesses are not new. Weak, reused passwords; default credentials; leaked secrets; open registration endpoints; forgotten partner portals; over-privileged vendor apps; and old CVEs. What is new are speed and scale,” says Sarkar.
“One operator can now pursue dozens of targets at once, AI guardrails can be bypassed with a simple ‘this is authorized testing’ note, and taking a tool down does nothing once the forks are out,” he explains.
Calling the attack “a classic example of how individual intrusions can scale into a campaign of compromise across organizations and sectors,” Kevin E. Greene, chief cybersecurity technologist, public sector, at BeyondTrust, is quick to point out that while “AI accelerates the exploitation of existing authority paths,” it “does not create the privilege debt that makes those paths possible.”
He says organizations “must disrupt and retire privilege debt, constrain Execution Authority, and contain the consequences of autonomous AI operating against their environments.”
Beals recommends security teams “turn the same tools on themselves” since “AI tooling is stable enough now to build defensive agents that continuously probe your external footprint and your vendors’ footprint, the way these attackers do.”
He suggests starting “with everything internet-facing that carries your name, including what vendors host for you. If you aren’t running that loop, someone else already is.”
Security teams cannot out-type or out-click an autonomous adversary, Barney says. “When automated tools are continuously probing your network for over-permissioned accounts and standing administrative rights, manual triage and response are no longer viable,” he says.
Defending against automated attacks requires automated enforcement “requires eliminating standing privileges in favor of time-bound, just-in-time access, enforcing phishing-resistant multi-factor authentication, and bringing non-human identities, service accounts, and API keys under strict privileged access management governance,” says Barney.
“Pairing those zero-trust controls with real-time session monitoring ensures that when an anomalous administrative action occurs, access is severed instantly, long before a human analyst even reviews the logs,” he says.
To counter, Sean Malone, CISO at BeyondTrust, recommends that security teams do the following:
- Close the easy gaps: Remove default and shared credentials, enforce phishing-resistant MFA on internet-facing systems, and lock down unauthenticated registration and write paths.
- Remove standing privilege. With no permanent admin rights or long-lived tokens, there’s little for an agent to harvest, and any new admin account or token becomes a high-signal alert.
- Put AI to work on defense. Run agents to continuously test your own attack surface, and automate detection and containment of credential misuse in minutes. The adversary has already automated, and defense has to match that pace.
Frequently Asked Questions
How are attackers using autonomous AI?
Threat actors are deploying AI agents to independently orchestrate multistage cyberattacks, reducing the need for human intervention and specialist hacking teams.
What makes autonomous AI cyberattacks so dangerous?
Their speed, scale, persistence and relatively low operating costs allow individual attackers to pursue multiple organizations simultaneously.
How can organizations defend against autonomous cyberattacks?
By eliminating standing privileges, enforcing phishing-resistant MFA, securing non-human identities and automating threat detection and containment.

