How do you collect forensic evidence from a cloud workload?
AdvancedConceptVulnerability Management and Incident Response
Answer
Order of volatility: memory first, then disk, then logs.
- Memory: capture with tools such as LiME or AVML before shutdown.
- Disk: snapshot the EBS volumes (
aws ec2 create-snapshot), share them to an isolated forensics account and analyse from a separate instance, never on the compromised host. - Isolation: swap the instance's security group to one with no rules rather than terminating it, and enable termination protection so nobody deletes it by accident.
- Logs: CloudTrail, Flow Logs, DNS, application logs, preserved with Object Lock.
- Chain of custody: record who collected what and when, with hashes.
Automate this with a runbook or Step Function so evidence collection is consistent under pressure.
More on Vulnerability Management and Incident Response
What are the stages of a vulnerability management lifecycle?BeginnerHow do you build a risk-based prioritisation policy for vulnerabilities?IntermediateWhat remediation SLAs are typical by severity?BeginnerHow should a vulnerability exception (risk acceptance) process work?IntermediateHow do you patch vulnerabilities in running containers?IntermediateDependabot vs Renovate: how do they differ?Beginner