Automated Forensics Orchestrator
AWS Guidance that automates memory and disk acquisition, isolation and investigation for EC2 and EKS.
Exam tasks: 2.1.4 (Automated Forensics Orchestrator for Amazon EC2)
The decision: how do you capture memory and disk from a flagged instance across accounts, isolate it and investigate copies, with the least custom code?
Automated Forensics Orchestrator for Amazon EC2 and EKS is a deployable AWS Guidance, not a managed service. It gives a security operations center a serverless workflow that captures evidence from a flagged instance, isolates it and runs forensic tools on copies. It covers EC2 instances and EKS clusters hosted on EC2, across accounts and Regions.
Flow
| Stage | What happens |
|---|---|
| Trigger | A GuardDuty finding, or a Security Hub custom action an analyst chooses on a finding |
| Triage | Step Functions reads the instance details. The Security Hub action chosen (forensic triage or forensic isolation) decides if isolation is needed. Instance tags decide if acquisition is needed. Results go to DynamoDB |
| Memory acquisition | SSM Run Command runs documents on the instance and writes the memory dump to S3 with OS and kernel tags |
| Isolation | After memory is captured, a new security group with no rules replaces the old ones, which preserves chain of custody |
| Disk acquisition | EBS snapshot, shared to the forensic account with KMS, then copied under a forensic KMS key so a compromised account cannot delete or read them |
| Investigation | A forensic instance from a prebuilt AMI (built with EC2 Image Builder, has SSM Agent and tools) attaches a volume from the snapshot and loads the memory dump. SSM documents run timeline analysis |
| Reporting | SNS notifies, results in DynamoDB, AppSync API queries the timeline |
Memory and disk acquisition run in parallel.
Sources word the process differently (triaging, acquisition, investigation, reporting versus acquisition, isolation, investigation, reporting). Know both, the order matters little.
Exam signal
"Automate capture of memory and disk from a compromised instance across accounts" points to this Guidance. The pieces are Security Hub custom action, EventBridge, Step Functions, SSM and cross-account KMS-shared EBS snapshots.
Exam trap
Isolate after memory capture, not before. A security group swap does not stop the running process, but stopping the instance loses memory.
Exam signal
"Automatically capture memory and disk from a flagged instance across 80 accounts and store it for the SOC, with
the least custom code" points to the Automated Forensics Orchestrator. "Just isolate the instance and let me
restore it later" points to the AWSSupport-ContainEC2Instance runbook.
For the manual order of operations, isolation techniques and Object Lock storage, see Containing a compromised workload.
Related
- Containing a compromised workload
- Incident response lifecycle
- Finding validation
- Automated remediation