Capstone: audit a cloud account, fix it in code, replay a real breach
Check your own account's posture, close the findings in code and prove it with a re-scan, then replay a real cloud breach and mark which side of the shared responsibility line each failure sat on.
The capstone labs
- Scan your AWS account with Prowler, part 1: first scan, first fix: You scan your own account against a posture checklist and read the findings.
- Fix cloud findings in Terraform and prove it with a re-scan (your OWN account): You fix a bucket that fails two checks in code and show before and after scan evidence. It is an advanced lab that follows other assessment labs in the series.
Chain Replay exercise
Replay the Capital One 2019 incident, a cloud breach, and use it to test the shared responsibility idea.
- Run the replay with no controls. For each step, write whether the provider or the customer owned the control that failed.
- Turn on the controls one at a time. Which control from this class (identity, firewall, storage, logging) blocks the most steps?
- Write three changes you would make to a new cloud account so the same chain would stop early.
Write it down
- Write a one-page account checklist: root and MFA, temporary credentials, a guardrail, no admin port open to the world, storage blocked from public access, an audit trail on, and infrastructure scanned before it is built.
- Mark each item on the checklist as provider, customer or shared, with the provider document you used.
You are done when
- You can explain the shared responsibility line for IaaS, PaaS and SaaS in your own words.
- You can show your account's posture results and the fixes you made in code.
- You can say which control in this class would have stopped each step of the replayed breach.
Lion Cipher Labs is not a school, these classes carry no academic credit, and a completion record is a personal record of study, not a credential.
Back to Cloud fundamentals and shared responsibility.