During an incident response, a security engineer needs to collect memory and disk forensics from a running EC2 Windows instance without causing the instance to crash. The engineer has AWS Systems Manager SSM Agent installed. Which method should the engineer use?
Trap 1: Create an AMI of the instance.
Creating an AMI of the instance is a poor fit for live forensics because the AMI creation process, although built on EBS snapshots, typically requires either a reboot or a stop for instance state consistency and then registers a deployable image artifact. That reboot or stop destroys the volatile memory you need to capture, violates point-in-time evidence integrity, and yields an image meant for deployment, not for bit-for-bit forensic acquisition. A raw EBS snapshot of the root volume is the correct disk-level artifact during incident response.
Trap 2: Use AWS Systems Manager Inventory to collect memory and disk…
AWS Systems Manager Inventory is an agent-based configuration tool, not a forensic collection mechanism: it reports installed software, patches, services, and other metadata by querying the operating system through the SSM agent, but it never produces a raw memory dump or a block-level disk image. On a compromised host, the SSM agent and its results are subject to tampering, and running inventory commands writes additional log entries that alter the evidence. It therefore is not a substitute for an EBS snapshot plus a separate memory acquisition step.
Trap 3: Use AWS Backup to create a backup of the instance.
AWS Backup creates managed recovery points for disaster recovery, using services such as EBS snapshots, but it does so under a backup schedule and lifecycle policy, not under an incident-response acquisition workflow. To achieve application-consistent backups, AWS Backup may invoke pre- and post-snapshot scripts or require a reboot, and in all cases it excludes the instance's RAM contents, so volatile memory is lost. Its output also lacks the forensic integrity controls—for example, recording the snapshot ID and volume IDs with a cryptographic hash immediately after collection—that a dedicated EBS-snapshot-based evidence capture would include.
- A
Create an AMI of the instance.
Why it fails: Creating an AMI of the instance is a poor fit for live forensics because the AMI creation process, although built on EBS snapshots, typically requires either a reboot or a stop for instance state consistency and then registers a deployable image artifact. That reboot or stop destroys the volatile memory you need to capture, violates point-in-time evidence integrity, and yields an image meant for deployment, not for bit-for-bit forensic acquisition. A raw EBS snapshot of the root volume is the correct disk-level artifact during incident response.
- B
Use AWS Systems Manager Inventory to collect memory and disk information.
Why it fails: AWS Systems Manager Inventory is an agent-based configuration tool, not a forensic collection mechanism: it reports installed software, patches, services, and other metadata by querying the operating system through the SSM agent, but it never produces a raw memory dump or a block-level disk image. On a compromised host, the SSM agent and its results are subject to tampering, and running inventory commands writes additional log entries that alter the evidence. It therefore is not a substitute for an EBS snapshot plus a separate memory acquisition step.
- C
Use AWS Backup to create a backup of the instance.
Why it fails: AWS Backup creates managed recovery points for disaster recovery, using services such as EBS snapshots, but it does so under a backup schedule and lifecycle policy, not under an incident-response acquisition workflow. To achieve application-consistent backups, AWS Backup may invoke pre- and post-snapshot scripts or require a reboot, and in all cases it excludes the instance's RAM contents, so volatile memory is lost. Its output also lacks the forensic integrity controls—for example, recording the snapshot ID and volume IDs with a cryptographic hash immediately after collection—that a dedicated EBS-snapshot-based evidence capture would include.
- D
Create an EBS snapshot of the root volume.
An EBS snapshot captures the disk state of the root volume at a point in time without requiring the instance to be stopped, making it suitable for disk forensics. Memory forensics would need an additional step.