Lion Cipher Lab

Create a read-only assessor role in your OWN AWS account and assume it with MFA

Why it matters

Before you assess a cloud account you need an identity to do it with, and the choice matters. If you assess with your own administrator login, a mistake in a script can change or delete things, and the log cannot tell your assessment from your daily work. A separate read-only role fixes both: it cannot write, it hands out temporary credentials instead of a long-lived key, it can require MFA, and you can name its sessions so every call it makes is easy to find later. Professional assessors ask for exactly this from a client, so building it once on your own account is practice for the real…

What you'll learn

Steps in this lab

  1. The rule first: your account, a separate identity, nothing else
  2. Pick the policy: SecurityAudit, and why not the others
  3. Write the trust policy that demands MFA
  4. Create the role and attach SecurityAudit
  5. Make a CLI profile that assumes the role, with a session name
  6. Prove who you are, then prove what you cannot do
  7. What the defender sees: the hop is logged
  8. Tighten, time-box and tear down

Open the full interactive lab →

Keep learning