#Why this matters
Once an incident responder establishes containment and chain of custody, the next step is evidence acquisition: creating exact, verifiable copies of volatile memory and persistent storage. Simply copying visible files with cp or File Explorer misses deleted artifacts in unallocated space, filesystem metadata, and hidden partitions, while running standard utilities on a live OS leaves traces in memory and logs. Choosing the right acquisition method ensures critical artifacts survive for examination.
#Physical vs. logical imaging and image formats
Forensic imaging tools operate at two main levels:
- Physical drive acquisition reads raw sectors from byte zero to the end of the device. It captures MBR or GPT partition tables, unallocated space, slack space, and deleted file fragments.
- Logical drive acquisition reads only the active filesystem inside a mounted volume. Responders use logical imaging when a drive uses full-disk encryption that is unlocked on a running host, or when an enterprise array is too large for full physical capture.
Before starting an acquisition, select an output format that fits your storage and tooling workflow:
| Format | Compression | Embedded metadata | Typical use case |
|---|---|---|---|
Raw (dd, .raw, .img) |
None | None (store .sha256 separately) |
Linux CLI tools, loop mounts, CTF labs |
Expert Witness (E01) |
Yes (lossless) | Examiner, case ID, internal checksums | Archival storage, Windows suites, FTK Imager |
AFF4 |
Yes | Extensible metadata, SHA-256/SHA-512 | Modern large-scale forensic workflows |
#Acquiring disk images with FTK Imager and dd
In Windows lab and field workflows, FTK Imager provides a straightforward imaging path:
- Connect the suspect drive through a hardware write-blocker and attach a separate destination drive with more free space than the source capacity.
- Open File -> Create Disk Image, select Physical Drive, and choose the target device by model and serial number.
- Add an image destination (Raw (dd) or E01), enter case and evidence numbers, and keep Verify images after they are created enabled. Note that FTK Imager reports MD5 and SHA-1 by default; generate an external SHA-256 digest afterward for modern integrity assurance.
On Linux, responders can image a write-blocked device with dd:
$ lsblk -o NAME,SIZE,MODEL,RO /dev/sdb
NAME SIZE MODEL RO
sdb 32G Lab_SSD_01 1
$ sudo dd if=/dev/sdb of=/mnt/evidence/host01.raw bs=4096 conv=noerror,sync status=progress
34359738368 bytes (34 GB, 32 GiB) copied, 142 s, 242 MB/s
$ sha256sum /dev/sdb /mnt/evidence/host01.raw | tee /mnt/evidence/host01.sha256
9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 /dev/sdb
9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08 /mnt/evidence/host01.rawThe option conv=noerror,sync tells dd to continue past read errors and pad unreadable blocks with NUL bytes so downstream sector offsets stay aligned. If a drive has severe physical media errors, use ddrescue instead so healthy sectors are recovered first.
- Write-block sourceConfirm hardware blocker or RO=1 status
- Select scopePhysical drive (all sectors) or logical volume
- Write imageFTK Imager (E01/Raw) or dd to separate evidence disk
- Verify hashCompare source and image SHA-256 digests
#Capturing volatile RAM: FTK Imager and LiME
Following the order of volatility, capture RAM before shutting down a live host. Volatile memory holds running processes, decrypted payloads, network sockets, and encryption keys that never touch disk.
On Windows, run FTK Imager from a pre-staged external USB evidence drive as Administrator, select File -> Capture Memory, and save the .mem output directly to the external drive. Optionally include pagefile.sys if paged memory is needed, and avoid opening unnecessary applications before capture.
On Linux, LiME (Linux Memory Extractor) uses a compiled loadable kernel module (lime-<kernel>.ko) to read physical RAM with minimal user-space interference. It can write locally to an external mount or stream across an isolated network link to an analyst collector:
$ sudo insmod ./lime-$(uname -r).ko "path=/mnt/usb/server01.lime format=lime"
$ sudo rmmod lime
$ sha256sum /mnt/usb/server01.lime > /mnt/usb/server01.lime.sha256
$ python3 vol.py -f /mnt/usb/server01.lime linux.pslistWhen local disk space is tight or untrusted, replace the file path with path=tcp:4444 format=lime and receive the stream with nc on a clean collector workstation, then analyze the .lime capture in Volatility 3 using matching kernel symbol tables.
#Common mistakes
- Writing memory dumps or disk images to the suspect drive: Saving output onto the target disk overwrites unallocated clusters and destroys deleted evidence.
- Swapping
if=andof=indd: Reversing input and output paths immediately overwrites the suspect disk; always double-checklsblkdevice names first. - Skipping sector-alignment options on failing disks: Omitting
conv=noerror,synccausesddto stop on the first read error or shift every subsequent partition offset. - Mounting raw images read-write: Mounting without
romodifies filesystem timestamps and invalidates the baseline hash.
#Summary
Sound acquisition captures fragile volatile RAM before persistent storage, using hardware write-blockers and separate evidence drives to prevent alteration. FTK Imager and dd produce verifiable physical or logical disk images in Raw or E01 formats, while FTK Imager and LiME capture live Windows and Linux memory for Volatility 3 analysis. Always verify post-acquisition SHA-256 digests and inspect raw images using read-only mounts at exact partition byte offsets.