Intrusion Response
Containment, investigation, eradication and recovery
Response to an intrusion, from containment to recovery, with evidence preserved first and the attacker's path reconstructed from the logs.
Challenges
- Unknown scope
- Evidence destroyed by hasty action
- Possibly compromised credentials
Outcomes
- Intrusion path reconstructed
- The existing edge, cloud and host logs are combined into one timeline that shows, as far as those logs reach, the point of entry, lateral movement and data access.
- Evidence preserved before isolation
- Disk snapshots and a memory image are taken before a host is isolated or shut down, and the investigation works on copies.
- Known point of entry closed
- Sessions are revoked; keys, tokens and passwords are rotated; the exploited vulnerability is fixed.
Architecture
Signs of intrusion trigger containment; preserved evidence and the available logs feed the investigation, and its findings set the scope of eradication and recovery.
Signs of intrusion
- Unusual sign-ins
- Malware or backdoors
- Data exfiltration
- Resource abuse
Containment
- Evidence preservation and host isolation
- Session revocation
- Edge blocking
Investigation
- AWS CloudTrail
- Disk and memory forensics
- Scope assessment
Eradication and recovery
- Backdoor removal
- Credential rotation
- AWS Backup
Building blocks
Evidence preservation
- Amazon EBS snapshots
- AWS CloudTrail
- VPC Flow Logs
Containment
- Security groups
- Network ACLs
- AWS IAM
- Cloudflare WAF
- Cloudflare Access
Investigation
- AWS CloudTrail
- Amazon Athena
- Amazon GuardDuty
- Amazon Detective
Eradication and recovery
- AWS Backup
- AWS Systems Manager
Credential rotation and reporting
- AWS IAM
- AWS Secrets Manager
Delivery
Intake, evidence preservation and containment
Investigation
Eradication and recovery
Review