Cairn agent Bedrock credential hunt
Unattributed Cairn AI agent hunted Bedrock credentials at Perplexity and breached two other companies
Posted · Spectrum Delta Research Team
Summary
An unattributed operator used the open-source Cairn agent harness to run an autonomous two-week credential-hunting campaign against Perplexity and two unnamed companies, seeking cloud credentials able to invoke frontier models through Amazon Bedrock, and Perplexity (A/1) says the agent breached both unnamed companies while its own defenses held. The December 2 postmortem is a new incident disclosure: the agent swept about 28,000 guessed API routes with 48,000 requests in 13 minutes, and Perplexity recovered the attacker's exposed staging server holding live campaign workspaces. At Company A the agent found a live customer OAuth credential in deleted git history and took administrative control of that customer's workspace, running code on managed compute; at Company B it reached an exposed management API on a demo environment, deployed a persistent command runner logging roughly 1,000 callbacks over 15 hours, and collected password stores, Kubernetes secrets and EC2 instance-role credentials. The operator's purpose in seeking Bedrock model access is not known, and the Company A and B findings were partly reconstructed from the agent's compressed records.
Breakdown
Targets
Organizations
- Organization: Perplexity
Technical exposure
- URL-accepting web features able to reach internal or metadata addresses
- S3 buckets readable anonymously for policy, ACL or guessed object keys
- Live credentials remaining in deleted history of public git repositories
- Management APIs exposed on internet-facing demo environments
- Cloud model-invocation credentials kept in code, stores or demo systems
Adversary
Unattributed operator · Cairn open-source agent harness, also observed in campaigns reported by NorForge and Google Threat Intelligence (Perplexity, A/1)
Procedures (8)
Disposable accounts registered in automated bursts
- T1136.003Create Account: Cloud Account
Logs
- Application registration and audit log · Account sign-up events verified by one-time-password email: 40+ accounts created over days from disposable email domains (GuerrillaMail and subdomains of arcadehearth.com, roomsranked.com, marchslurp.com); registrations automated by the agent rather than manual
High-rate API route sweeps from rotating accounts and proxies
Logs
- Web application firewall or API gateway logs · Bursts of 404 responses on guessed REST paths: 48,000 requests in 13 minutes across about 28,000 routes, peaking above 200 requests per second; requesting accounts rotate when rate limits apply; requests arrive from roughly 290 residential and cloud proxy addresses
- Identity platform sign-in logs · Sequential sign-ins from newly created accounts that share source IPs, disposable email domains and callback hosts, letting analysts group accounts the attacker believed were unrelated
SSRF probes aimed at cloud metadata with DNS rebinding
- T1190Exploit Public-Facing Application
Logs
- Outbound URL fetch and proxy logs · Submitted URLs and redirect chains resolving toward 169.254.169.254 or 169.254.170.2 through rebndr.us rebinding names, nip.io or sslip.io wildcards, malformed URLs, public redirect and tunnel services; probing moves to another URL-accepting endpoint when one rejects inputs; callback listeners present self-signed certificates with CN=oob and 2-5 day validity
- DNS resolver logs · Queries to a9fea9fe.rbndr.us and a9feaa02.rbndr.us patterns that encode link-local metadata addresses, resolving publicly during validation and to internal addresses during fetch
S3 secret-file keys enumerated anonymously
- T1619Cloud Storage Object Discovery
Logs
S3 server access logs plus CloudTrail data events · Denied anonymous GetObject bursts on guessed keys such as .env.production, .aws/credentials and state.tfstate; 3,681 failed lookups across more than 3,300 unique keys over 14 hours; anonymous GetBucketPolicy and GetBucketAcl reads on the same buckets
Public git history scanned at fork scale for live credentials
- T1552.001Unsecured Credentials: Credentials In Files
Logs
GitHub secret scanning alerts · Alerts for credentials exposed in commit history including deleted or unreachable git objects: one campaign queued 4,328 forks of ten public repositories for full-history scanning and completed 4,281 scans; a live customer OAuth credential was recovered from deleted history
Recovered OAuth credential used for workspace takeover
- T1550.001Use Alternate Authentication Material: Application Access Token
Logs
- SaaS workspace administrative audit log · Administrative sessions and actions authenticated by a customer OAuth token recovered from deleted git history; sessions from a network, user agent or geography new for that identity; code execution on managed compute reached from the same session and internal endpoints behind IP allowlists
Exposed management API runs a persistent command runner
Logs
- API gateway or management API access logs · Successful logins to a management API on an internet-facing demo environment from an external address; commands dispatched to a deployed runner; roughly 1,000 callbacks recorded over 15 hours with new entries still arriving during investigation
Host process and network events · Process created: persistent command runner on the demo host; outbound callbacks to an external staging server over ports served by ad-hoc Python HTTP services
Password stores, Kubernetes secrets and role credentials collected
Logs
Kubernetes API server audit · Secret get requests from a workload or identity with no prior history of reading those objects on the demo cluster
CloudTrail · API calls made with EC2 instance-role credentials from a source address outside the instance or account baseline
- EDR file events · File opened or read: local password store files read by a non-user process on the demo host
Indicators of compromise
IPs (6)
- 185.87.121.140Campaign staging server for payload staging, SSRF redirectors and callback receivers, 207 open ports (Perplexity, A/1); hunt-only, single-origin
- 2a11:3b80::3eec:efff:fe1e:5738Primary source of application probing traffic; hunt-only
- 147.124.211.248Early probing source address; hunt-only
- 35.73.178.124Probing after initial blocks, potentially shared cloud egress; hunt-only
- 14.99.110.22Activity from accounts registered with actor-associated email domains; hunt-only
- 159.86.136.5Activity from accounts registered with actor-associated email domains; hunt-only
Domains (7)
- arcadehearth.comDisposable account email domain, used with subdomains
- roomsranked.comDisposable account email domain, used with subdomains
- marchslurp.comDisposable account email domain, used with subdomains
- a9fea9fe.rbndr.usDNS-rebinding name resolving toward 169.254.169.254
- a9feaa02.rbndr.usDNS-rebinding name resolving toward 169.254.170.2
- nip.ioWildcard DNS service used in SSRF payloads
- sslip.ioWildcard DNS service used in SSRF payloads
Sources
- A/1Perplexity: How Perplexity defended against an autonomous AI attacker
- B/2BleepingComputer: Autonomous AI attack targeted Perplexity to steal cloud credentials (retelling)
- B/2TechCrunch: Perplexity caught an autonomous AI hacker trying to steal tokens (retelling)
Grades are source reliability (A–F) and information credibility (1–6).
Questions, detections or sightings of Cairn agent Bedrock credential hunt? Bring them to the community.