Lion Cipher Lab
Find your OWN assessment in CloudTrail: what the account owner sees
- Cloud Security
- Intermediate
- ~50 min
- Free · no account required
Why it matters
Red and blue are two views of the same event. Everything you did in the earlier labs left a record, and the people who own the account can read it. Learning to find your own footprint teaches two things at once: how visible assessment activity is (so you plan, announce and de-conflict it like a professional), and what a defender can build detections from. A read-only sweep across many regions in a few seconds, from an assumed role, looks different from normal work, and seeing that pattern yourself is the best way to understand it.
What you'll learn
- querying CloudTrail event history from the CLI
- filtering events by the assumed-role session name
- reading userIdentity, eventName, errorCode, sourceIPAddress and userAgent
- counting calls by type with jq
- recognising a read-only sweep pattern in logs
- reading AccessDenied as a map of what a role tried
- writing a detection idea from a pattern you observed
- knowing the limits of event history
Steps in this lab
- The rule, and what you are about to read
- Look at raw events first
- Find the hop: the AssumeRole call
- Pick the assessor's calls by session name
- Count what the assessor did
- Write the detection a defender would build
- The limits of event history, and the fix
Open the full interactive lab →