Practise containment in the right order
Task
Rehearse the response sequence on your own environment with a credential you created for the purpose. The ordering is the lesson -- contain before you investigate -- and the step people miss is invalidating sessions already established.
Steps
- Create a scratch identity with modest permissions and obtain a credential for it. Use it to establish an active session, and confirm the session can perform an action.
- Now treat it as compromised. Deactivate the credential -- do not delete it -- and record in
lab/ir/contain.mdwhy deletion would destroy evidence you need. - With the credential deactivated, retry the action using the STILL-OPEN session. Record whether it still works. This is the step people miss.
- Invalidate active sessions for that identity and retry again. Record the result, and the elapsed time from your first containment action.
- List everything that credential could have read and would therefore need rotating. Record the list length, and write one sentence on why it is longer than the credential itself.
Verify
grep -Eci 'deactivat|disable' lab/ir/contain.md
grep -Eci 'session' lab/ir/contain.md
grep -Eci 'evidence' lab/ir/contain.md
grep -Eci 'rotat' lab/ir/contain.md
All four non-zero, and the file must record the session still working after the credential was deactivated. If it did not, the session was not established before containment and the most important observation was missed.
This is an independent study companion for CompTIA Cloud+ CV0-004 and is not produced by or endorsed by CompTIA.