Hard drives and SSDs: how computer and server disks are acquired and analysed without altering their content
How hard drives and solid-state drives are examined: differences between magnetic disks and flash memory, SATA and NVMe interfaces, hidden HPA and DCO areas, SMART data, TRIM and internal clean-up, encryption with BitLocker, FileVault and self-encrypting drives, damaged disks, procedure, tools, mistakes, value in court, a case, checklist and frequently asked questions.
A computer’s disk is often the richest exhibit in an investigation: documents, email, browsing history, chats, photographs, traces of the programs used and the devices connected. For decades the examiner’s work was fairly predictable: connect the disk to a write blocker, copy it sector by sector, compute the hash and work on the copy. With solid-state drives and encryption switched on by default, the rules have changed.
An SSD is not a passive container: its controller moves, erases and reorganises data on its own, even when nobody is writing. And more and more often the disk is encrypted: since version 24H2, Windows 11 turns on device encryption on new installations with a Microsoft account, and on Macs with Apple chips the internal disk is always hardware-encrypted. Acquiring well means understanding what you are dealing with before touching it.
What a disk contains
- Files and folders
- Documents, images, mail archives, application databases.
- Unallocated space
- Remnants of deleted files, if the disk has not yet wiped them.
- System artefacts
- Windows registry, event logs, paging and hibernation files, shadow copies.
- Usage traces
- Programs run, files opened, USB devices connected, networks used.
- Hidden areas
- Disk areas reserved or hidden from the operating system, such as HPA and DCO.
- Disk data
- Power-on hours, power cycles and errors recorded by the firmware.
The basic technique is in forensic copying and the write blocker; for deleted files see deleted file recovery, for running systems memory acquisition. The basic entries are forensic image, TRIM and disk encryption.
The pages of this topic
Hard drives and SSDs: how they work
How disks work from a forensic point of view: magnetic platters and flash memory, controllers, TRIM and internal clean-up, interfaces, HPA and DCO areas, SMART data, software and hardware encryption, Macs with Apple chips.
Hard drives and SSDs: the procedure
The procedure for acquiring hard drives and SSDs: assess the computer’s state, document, decide whether to shut down, remove the disk or boot a forensic system, write blocker, HPA, DCO and SMART checks, sector-by-sector copy, verification, encryption, damaged disks.
Hard drives and SSDs: tools
The tools for acquiring and analysing hard drives and SSDs: write blockers for SATA, SAS, NVMe and USB, copying programs such as FTK Imager, Guymager, dc3dd and ewfacquire, bootable forensic systems, hdparm and smartctl, ddrescue and laboratory equipment, analysis programs, unlocking BitLocker and FileVault.
Hard drives and SSDs: mistakes to avoid
The most common mistakes with hard drives and SSDs: connecting them without a write blocker, powering them up out of curiosity, shutting down an open encrypted volume, ignoring HPA and DCO, re-copying an SSD, assuming there is no encryption, persisting with a failing disk, not recording the serial number.
Hard drives and SSDs: value in court
The rules on acquiring disks: preserving original data after Italian Law 48/2008, compliant and unmodifiable copies, repeatable and non-repeatable examinations, returning the disk after copying, passwords and keys, keys held by providers, civil proceedings and court-ordered description.
Hard drives and SSDs: a case
A guided case: the company laptop of a departing employee, with an SSD and BitLocker, is acquired using the company’s recovery key; deleted files cannot be recovered, but usage traces show the projects opened from a USB stick.
Hard drives and SSDs: checklist
The checklist for acquiring hard drives and SSDs: before touching the disk, during the copy, after the copy.
Hard drives and SSDs: frequently asked questions
Short answers to the most common questions about the forensic examination of hard drives and SSDs.