Case 8544C0 · Cloud · L3 Applied

Buckets Emptied, Note Left

Practise as: Incident drillLevel: L3 Applied

Live alertAt 03:20 CloudTrail shows the ci-deploy IAM user access key, from an unfamiliar IP, calling PutBucketVersioning (Suspended) on prod-invoices, then thousands of DeleteObject calls and one PutObject: README-RECOVER.txt.

  1. 01 What happened?
  2. 02 What is the impact?
  3. 03 What do you do?
What a strong answer covers

Try it out loud first. Then check yourself:

  1. Extortion with a long-lived key: attacker likely copied data first, then deleted it and left a ransom note
  2. Suspending versioning keeps existing versions; check ListObjectVersions and DeleteObject calls with version IDs
  3. Contain: deactivate the key, attach an explicit deny, and look for new users, keys or roles that key created
  4. Prove exfil: GetObject needs S3 data events; without them rely on server access logs, billing and network metrics
  5. Prevent: no static CI keys, Object Lock or AWS Backup copies, SCP denying versioning changes, alert on mass deletes

If the interviewer pushes back

  • What if the attacker re-encrypted objects with SSE-C using their own key instead of deleting them?

Go deeper

More Cloud cards

All Cloud cards →

cardosec draws a security topic and gives you a clock: explain it out loud with no notes, then see what you covered and what you missed. Free during early access.

Reviewed 2026-10-09