Amazon Threat Intelligence has revealed that artificial intelligence agents successfully discovered and exploited a zero-day vulnerability with minimal human intervention. The incident highlights the growing capability of autonomous hacking tools to identify and weaponize software flaws faster than traditional security teams can respond.
The attack utilized Cairn, an open-source AI penetration-testing framework designed for defensive security operations. In this instance, attackers configured the system to target servers at an East Asian university. The operators provided a list of IP addresses and a simple directive to obtain shell access, leaving the AI agents to execute the technical steps independently.
Autonomous Discovery and Exploitation
The AI agents identified a flaw in an open-source medical imaging application running on one of the target servers. According to Amazon, the agents mapped the application’s API endpoints and tested parameters for path traversal vulnerabilities. They identified a vulnerable upload endpoint and exploited it to write files directly to the server.
The entire process, from mapping the application to gaining full control, took approximately 11 minutes. The agents subsequently used the same vulnerability to write a Python reverse shell payload to a file that automatically imports at interpreter startup. By triggering a training API endpoint, they spawned a new Python process that established a reverse shell running with root privileges.
At the time of the breach, the vulnerability had no assigned security advisory, no patch, and no prior mention in public vulnerability databases. Amazon assesses with high confidence that this was a zero-day exploit.
Failed Attempts and Persistence
The AI agents did not succeed immediately. In a separate operation targeting a university GPU server, the agents spent more than six hours attempting to gain access. They compiled a list of 80 real usernames and tested them against 30,000 credential combinations. These brute-force attempts failed.
In another session, the agents targeted a Redis server for over 16 hours. They attempted to abuse the server’s replication feature to load unauthorized code, escape its scripting sandbox, and corrupt its memory. They also attempted a Log4Shell injection. None of these techniques worked.
Despite these failures, the attackers demonstrated persistence. After the initial breach of the medical imaging application, the operators provided the agents with a proxy to tunnel into a second university network. Amazon inferred that the actors had used the zero-day to compromise the second network and directed the agents to target other machines within it.
Broader Implications for Cyber Defense
This incident is part of a broader trend observed by security firms. Palo Alto Networks recently reported that hackers used the Cairn framework to conduct 25 autonomous operations against at least 19 organizations in the semiconductor, defense, and civil society sectors. The attackers reinforced the agents’ instructions with pretexts claiming authorized security actions to prevent the AI from refusing the task.
Amazon emphasized that the speed of these operations compresses the window available for defensive response. An agent that discovers and exploits a vulnerability in minutes completes its activity faster than many security operations centers can manually triage an alert. The findings indicate that agentic offensive operations are already active, requiring defenders to prepare for the speed and persistence these tools enable.
Source: Ars Technica

