← AWS Security Specialty: evidence-based security
02 / 25 · 40 MIN

Response, containment, and preservation

Limit harm while retaining context needed for recovery.

Concept and mechanism

An incident plan needs decisions, authority, and access that work during the actual shift. Before a crisis, rehearse evidence collection, communication, and containment with accountable people. During analysis, correlate principal, calls, resources, timing, and authorized changes.

Finding severity helps prioritization but does not alone identify every affected datum. Record hypotheses and facts separately. For collected artifacts, retain provenance, timestamps, integrity, and controlled transfers.

An incomplete timeline or evidence modified to fit a narrative harms investigation and cross-team handover.

Guided application

Containment should be confirmed on the observed path. Replacing a security group can block new connections without interrupting an already tracked connection. If that connection continues creating risk, assess authorized additional control and effects on shared resources.

Stopping an instance can lose in-memory processes and connections; balance volatile collection with the urgency of preventing harm without imposing a blind sequence on every incident. Revoking older role sessions also does not close the path to new sessions if the source identity remains compromised.

Address both aspects. After containment, confirm eradication, recovery, and service reconciliation before closure.

Workshop: contain the session and its source

Use this fictional timeline. At 09:58, a compromised identity assumes an ordinary IAM role. At 10:00, a deny is applied to that role’s credentials issued before 10:00.

At 10:02, the same identity assumes another session. A test confirms that the older session is denied and the new one can still perform the action. The suspected EC2 instance received a group with no inbound rules, replacing all previous groups; an already tracked TCP flow remains active.

Decide which two boundaries remain unproven. Answer: the time cutoff worked for the older session, but the source still obtains new credentials; the group policy changed, but termination of that flow has not been demonstrated. The responder must authorize action on the source and network path, assess shared-resource impact and retest new sessions and existing traffic. Neither initial change supports a claim of global containment.

Collection, gaps and resumption criteria

Continue the exercise: a normal stop without hibernation is authorized if harm cannot be contained in time. In-memory processes and connections have not yet been captured. Record the decision between feasible collection and urgent containment; an EBS snapshot does not replace volatile evidence.

An older file has no known collector or collection time: preserve the original, record the hash calculated now and separately identify reconstructed facts and their support. The current hash does not prove earlier state, and a filename does not fill the gap.

To accept resumption, require treatment of the compromised source, tests of relevant paths, integrity and service criteria, and a decision owner. Deliver a table of fact, limit, action, owner and acceptance evidence. All exercise data is supplied; no AWS services are executed.

IN PRACTICE

The connection persists after attaching the Quarantine group. A control’s name does not replace observation of its effect.

Common pitfalls

Nominal isolation; stopping without assessing evidence; time-based revocation as permanent blocking; containment as closure.

Related topics: Networking and administrative access · WAF and GenAI application protection

Take this idea with you

Confirm effects, retain proportionate evidence, and close each stage against criteria.

Create account

References

AWS is a trademark of Amazon.com, Inc. or its affiliates. bigsavant.com is an independent preparation platform and is not affiliated with, associated with, sponsored, authorised or endorsed by AWS. Content and questions are original, are not official exam questions, and completing our tests does not award or guarantee any certification. Names are used only to identify the subject. All other trademarks belong to their respective owners.