Chinese Hackers Leverage Open‑Source AI Pen‑Testing Tool Cairn to Discover Zero‑Day and Breach East Asian Universities
What Happened — Amazon’s Integrated Security team began tracking an anomalous activity on September 10 2024 when analysts found a publicly reachable server hosting an instance of Cairn, an open‑source autonomous AI penetration‑testing framework. The platform’s operational logs showed prompts written in Simplified Chinese, timestamps set to China Standard Time, and a clear focus on “obtain shell access” for a list of target IP addresses.
Cairn’s design lets an operator supply a high‑level objective in plain language; the framework then coordinates multiple AI agents that plan, execute, and adapt their tactics without further human direction. In this campaign the agents launched a series of automated attacks spanning 16 hours and 148 individual actions. Early attempts included a brute‑force credential spray (over 30,000 password guesses against 80 real usernames) and an exploit attempt against the notorious Log4Shell vulnerability—both of which failed.
The breakthrough came when the AI agents identified a path‑traversal flaw in an open‑source medical‑imaging AI application that had never been disclosed in any public advisory or vulnerability database. Amazon’s investigators assessed the finding as a zero‑day because no patch, CVE, or vendor notice existed at the time of exploitation. The same vulnerability was then used to gain shell access on a second university’s servers.
After confirming the exploit, Amazon’s threat team contacted the maintainers of the medical‑imaging project, who promptly issued a fix. AWS also worked with a government partner to notify the affected universities, though the institutions and their locations were not publicly named.
The campaign’s speed and persistence stood out: the AI agents operated continuously for 16 hours, “without breaks, sleep, or working‑hour constraints,” completing discovery and exploitation faster than many security operations centers can manually triage an alert.
The incident follows a wave of warnings about AI‑backed offensive tools. The FBI recently issued an advisory on Artex, another autonomous framework that can automate the full intrusion lifecycle. Google’s research has similarly highlighted Cairn, CyberStrikeAI, and PentAGI as emerging threats capable of moving from reconnaissance to data exfiltration at machine speed.
Security researchers at Gambit Security have documented Cairn’s use by financially motivated groups targeting online retailers, underscoring its versatility beyond traditional red‑team exercises. As one analyst noted, “Because Cairn is a general‑purpose tool with no internal structuring for cybersecurity, its behavior is less predictable and harder to defend against.”
Why It Matters for Trust & Control Assurance — The episode demonstrates that autonomous AI agents can discover and weaponize unknown vulnerabilities faster than conventional defenses, stressing the need for robust AI governance and continuous security awareness training.
Who Is Affected — Higher‑education institutions in East Asia; developers and users of open‑source AI‑driven medical‑imaging software.
Recommended Actions
- Incorporate AI‑generated threat modeling into your red‑team exercises and vulnerability‑management processes.
- Harden credential stores and enforce multi‑factor authentication to mitigate large‑scale password‑spray attacks.
- Establish a rapid‑response playbook for zero‑day disclosures, including coordinated disclosure with open‑source maintainers.
- Conduct security‑awareness sessions that cover AI‑enabled attack techniques and the limits of manual triage.
Source: The Record
Technical Notes
- Attack vector: Autonomous AI agents leveraging a publicly hosted Cairn instance; initial tactics included credential spraying and exploitation of known CVE‑2021‑44228 (Log4Shell) – both unsuccessful.
- Zero‑day: Path‑traversal vulnerability in an open‑source medical‑imaging AI application (no CVE assigned at time of attack).
- Tools: Cairn (open‑source AI penetration‑testing framework), multiple AI agents orchestrated via natural‑language prompts.
- Indicators: IP ranges targeting East Asian university networks; timestamps in China Standard Time; Chinese‑language prompt logs.
Source: The Record