Forensics and evidence engineering
Build the system before the incident: evidence pipelines for memory, disk and cloud snapshots, chain of custody, trustworthy timestamps, triage collection across thousands of hosts, retention that answers the questions investigators ask, and legal hold.
01Collect in order of volatility
- Order evidence collection by volatility and know what each source answers
- Build an automated cloud evidence pipeline into an isolated account
- Keep a defensible chain of custody with hashes and access logs
- Run triage collection at scale with Velociraptor-style hunts
- Set retention and legal hold so the data still exists when you need it
| Source | Volatility | Answers | Tooling |
|---|---|---|---|
| Memory | Lost on reboot or isolation that reboots | Injected code, decrypted payloads, network sockets, keys in use | AVML, LiME, WinPmem, Volatility 3 |
| Running state | Seconds to minutes | Process tree, open connections, logged-in users | EDR live response, osquery, Velociraptor |
| Disk / volume | Days, until overwritten | Dropped files, persistence, shell history, timeline | EBS / PD snapshots, dd, Plaso |
| Cloud control plane | Retention setting | Who called which API, from where, with which role | CloudTrail, GCP Audit Logs, Entra sign-ins |
| Network | Often not kept | Exfil volume, C2 destinations | VPC Flow Logs, DNS logs, proxy logs |
Terminating an instance, reimaging a laptop or letting autoscaling replace a node throws away memory and sometimes disk. Runbooks must say snapshot and capture memory, then isolate, and the auto-scaling group must be told to stop replacing the host.
A common prompt: "an EC2 instance is calling a known C2 address, what do you do in the first 15 minutes?" Strong answers tag it, detach from the ASG, snapshot volumes, capture memory, swap the security group to an isolation group, and only then think about terminating.
This is an advanced module
Detection & Response Engineering is part of the Pro pass. 3 more sections — the deep dives, the final design, follow-ups and the test — unlock with it.
Already a cyart.io or studio.cyart.io member? Your pass code is in your Studio account.