Heads up: some attackers slipped into customer AWS accounts by piggybacking on Qubole’s platform access and walked off with secrets and S3 data. The break-ins happened in mid-to-late October, using credentials tied to Qubole’s access path — how those credentials were obtained is still unclear. If you’ve ever given Qubole a key to your cloud, it’s time to look under the hood.
What happened (in plain, slightly panicked language)
The intruder used Qubole’s cross-account permissions to call AssumeRole and act inside customer accounts. In short: when customers grant a vendor role, that vendor’s AWS account can ask to “become” the role. Each request includes an External ID code — not a secret, just an extra string — and in this case the attacker supplied matching External IDs so AWS happily handed over access.
Once inside, the miscreant rummaged through things that commonly store credentials: Lambda environment variables, Secrets Manager entries, SSM Parameter Store values, and — naturally — any S3 buckets the role could read. They also ran discovered credentials through a tool to see which ones actually worked, and sometimes downloaded whole S3 buckets in a single session.
There was related activity earlier in October where customers’ own AWS keys (the ones set up for Qubole) were abused, but that appears distinct from the AssumeRole abuse. Either way, if Qubole ever had privileges in your account, consider yourself in the “check now” club.
Hunt-and-fix checklist (do this ASAP)
If you want the short checklist version: search CloudTrail for suspicious AssumeRole calls, rotate anything the role could touch, revoke sessions, and lock down or remove unused vendor roles. Below are practical indicators and cleanup steps.
- Look for AssumeRole calls from the Qubole platform account ID: 805246085872. Flag requests where the source IP is NOT an AWS address — legitimate vendor traffic should come from AWS ranges.
- Watch for these IAM principal IDs in CloudTrail: AIDA3W7DIFLYOLTK63SFS (used by the attacker in examined accounts) and AIDAJYRRH5Y3A7AAJM2HW (attacker used this from Oct 18, but it’s also used legitimately by the vendor).
- Check for sessions with names starting with quiam- (for example: quiam-enum) and unusual user agents like a credential-scanning tool calling GetCallerIdentity.
- Flag traffic from the attacker’s known IPs: OVH addresses 57.129.54[.]120 and 2001:41d0:70d[:]7800::, and several VPN-shared addresses such as 45.83.220[.]211, 185.209.199[.]73, and 89.37.63[.]175. A match isn’t proof on its own, but it’s a good lead.
- For any suspect session, review everything that session touched — especially Secrets Manager, SSM, Lambda env vars, and S3 activity. CloudTrail logs the AssumeRole and bucket listings, but not which S3 objects were read; you need S3 data events or server access logs for that detail.
- If a role you use for Qubole was assumed by the attacker: rotate ALL secrets and parameters the role could access, revoke the role’s active sessions, and rotate credentials that might have leaked. Note: rotating credentials doesn’t kill already-issued sessions unless you explicitly revoke them.
- Remove any Qubole role you don’t actively need, or take Qubole’s account out of the role trust policy entirely.
- Where possible, replace an account-wide “root” trust principal with the vendor’s specific IAM principal — restrict who may assume the role rather than letting the whole account in.
- Add conditions to the trust policy like aws:SourceIp or aws:SourceVpce to limit AssumeRole to the vendor’s documented network ranges. In this incident a source IP condition would have blocked the observed abuse.
- Don’t rely on the External ID as a secret — it’s visible in CloudTrail and often stored in config or infra-as-code. Treat it as one layer among several, and change it after incidents (use unique External IDs per role if you can).
- Review what each vendor role can access. Convenience often means broad read permissions to S3, Secrets Manager, SSM, and Lambda settings — tighten those scopes to the minimum required.
- Set alerts for AssumeRole requests from unexpected hosting providers or VPN addresses, and keep an organization-level trail enabled for all accounts and regions. Enable S3 data events or server access logs on buckets holding sensitive data.
Final tiny pep talk: don’t delay. If you gave a vendor cross-account rights at any point, assume the attacker might have seen everything that role could reach. Lock things down, rotate secrets, and treat the External ID like a helpful hat, not an unpickable lock.