Lion Cipher Lab

Sweep your OWN AWS account, in every region, for resources shared with the world

Why it matters

The famous cloud leaks are rarely clever. They are a snapshot someone shared with everyone, a topic anyone can publish to, a function with a public URL and no login. These resources are scattered across regions and services, and no single console page lists them. A short read-only sweep that you can run any time finds them before a stranger does, and writing it yourself teaches you what each exposure looks like in the raw policy text so you can judge the output of any tool.

What you'll learn

Steps in this lab

  1. The rule, and what shared with the world means
  2. Walk every region
  3. Snapshots and AMIs: two flags, both documented
  4. Topic and queue policies: read the policy, not just the name
  5. Lambda function URLs and ECR repositories
  6. Put it in one script
  7. Seed one open topic and prove the sweep sees it
  8. Fix it, turn on the account guard rails, and re-sweep
  9. The defender's view, and what this sweep cannot see

Open the full interactive lab →

Keep learning