Perplexity says an autonomous AI hacking agent unsuccessfully targeted its infrastructure in an attempt to steal cloud credentials that could have provided access to advanced AI models through Amazon Bedrock. Although Perplexity blocked the attack, its investigation uncovered exposed attacker-controlled servers and evidence suggesting that two other unnamed companies had been compromised.
Amazon Bedrock is an AWS service that provides API access to models from Amazon and other AI companies.
Attack targeted Perplexity infrastructure
In a report released today, Perplexity said the attack began in late October and continued for about two weeks.
The company detected the campaign on November 2 through Perplexity Computer, its AI agent platform. The platform identified newly registered accounts that were investigating APIs and features capable of retrieving content from external URLs.
The attackers used server-side request forgery (SSRF) techniques to try to reach AWS metadata services and internal systems. The AI agent also attempted to enumerate cloud storage for sensitive files, discover API endpoints, escalate privileges and access data belonging to other customers.
At its peak, the campaign generated approximately 48,000 requests in 13 minutes. The requests targeted 28,000 potential API endpoints and reached a rate of more than 200 requests per second.
The attackers used more than 40 accounts created with disposable email addresses, along with approximately 290 residential and cloud proxy IP addresses, to bypass rate limits and blocks.
Perplexity said its existing security controls stopped the attack and prevented access to internal services, customers’ private data and platform secrets.
Investigation uncovered attacker infrastructure
While investigating the campaign, Perplexity’s security team found that some of the research activity pointed to external servers used by the attackers to stage payloads and receive responses.
“When we went looking for copper, we found gold. The scan revealed 207 open ports. Almost all of the ad-hoc Python HTTP services we were running were spun up during individual attack steps,” Perplexity said.
Of those ports, 29 web servers exposed unauthenticated directory listings. The listings provided access to more than 10,000 files used by the attackers, including custom scripts, logs and active attack workspaces targeting two other companies.
The files showed that the attackers were using Cairn, an open-source penetration-testing tool that coordinates AI agents to perform cybersecurity tasks autonomously based on objectives specified by an operator.
As BleepingComputer previously reported, attackers have already used Cairn to discover and exploit zero-day vulnerabilities and gain root access to servers.
Evidence of two other campaigns
Across all three attacks, the apparent objective was to obtain cloud credentials or service tokens that could provide access through Amazon Bedrock to two unnamed, latest-generation AI models.
The AI agent searched public code repositories, Git history, software packages, container images and applications for exposed credentials. When those searches failed, it registered a one-time account to obtain authenticated access to the targeted platform and continue searching for credentials.
Files and scripts recovered from the attackers showed that the agent could operate independently and change its approach when it encountered a failure. In one campaign, the agents created 276 additional tasks over 19.5 hours and ran as many as 14 tasks simultaneously.
According to the recorded activity, one of the other companies had exposed credentials that allowed the agents to gain administrative control over customer workspaces, access internal systems and obtain AWS credentials.
At a second unnamed company, the agents reportedly infiltrated a demo environment, established persistent access and collected sensitive data, including password stores, Kubernetes secrets and AWS credentials.
However, neither apparent breach produced credentials that would have allowed the attackers to access the targeted AI models through Amazon Bedrock.
Perplexity notified both companies on November 4, while the attack was still underway.
Uncertainty remains over the campaign’s scope
Perplexity cautioned that its findings about the other organizations are based on observations recorded by the AI agents themselves. Those observations could have misinterpreted responses or overstated the extent of the compromises.
It also remains unclear what the attackers intended to do with access to the AI models.
“This incident shows what an autonomous AI attack looks like in practice: a single operator prompt, hundreds of autonomous tasks, and an investigation that adapts each time a request fails,” Perplexity concluded.
On 15 December, I will be joining our co-founder and CEO, Eoin Hinchey, and Martin Moroney, Head of AI Transformation. We will have a candid conversation with Christina Troy, Senior Manager of IT, about what worked, what did not work and what we learned along the way.
Ask questions and get honest feedback.
Source: www.bleepingcomputer.com














