Skill 2.2.1

Capture and store relevant system and application logs as forensic artifacts

Key Concepts

Collect EBS snapshots of affected volumes, memory captures (with tools run through Systems Manager before shutdown), instance metadata, and relevant CloudTrail, VPC Flow Logs, DNS and application logs. Tag resources with the incident ID and record who collected what and when (chain of custody).

Copy evidence to a forensics account: share snapshots (re-encrypt with a key the forensics account can use, since snapshots encrypted with the default EBS key cannot be shared), store files in S3 with Object Lock and versioning, and hash artifacts to prove integrity.