What is forensic imaging?
Forensic imaging is making a verified, exact copy of a storage device or its data, so the examiner can work on the copy and leave the original...
HPA and DCO are settings on some hard drives that hide part of the capacity from the operating system. An imaging job can miss that area unless the examiner checks for it.
The Host Protected Area, or HPA, was added in ATA-4. The drive reports a smaller size than it really has, so the operating system cannot address the rest. It was meant for things like boot or recovery tools. The Device Configuration Overlay, or DCO, came with ATA-6. It can make a drive report fewer features or less capacity, for example so drives from different makers look the same.
If part of the drive is hidden, a normal image only contains the visible part. Data in the hidden area may be missed. SWGDE notes that HPAs and DCOs can stop a tool reading some areas, so hash verification may not cover them. People can also hide data there on purpose.
Drives answer ATA commands. For the HPA, compare the size from IDENTIFY DEVICE with the true size from READ NATIVE MAX ADDRESS. For the DCO, compare IDENTIFY DEVICE with DEVICE CONFIGURATION IDENTIFY. A difference means something is hidden.
Some forensic tools and utilities can detect these areas, and some can remove them. Older tests found that tools differed in what they handled. Some USB bridges may not pass these commands through, so test your setup.
| HPA | DCO | |
|---|---|---|
| Introduced in | ATA-4 | ATA-6 |
| What it does | Hides the end of the drive from the OS | Makes the drive report less size or fewer features |
| Detect by comparing | IDENTIFY DEVICE and READ NATIVE MAX ADDRESS | IDENTIFY DEVICE and DEVICE CONFIGURATION IDENTIFY |
| Removal | Can be temporary, until power cycle | Reset is permanent |
A drive is listed as 500 GB but the checking tool shows its native size is 520 GB. The examiner notes the difference, follows lab procedure to access the hidden 20 GB, and images the full native size.
Compare the size reported by IDENTIFY DEVICE with the size from READ NATIVE MAX ADDRESS. If the reported size is smaller, there is an HPA.
HPA removal can be temporary until power is cycled. DCO reset is permanent.
The hash covers only what the tool read. Hidden areas may not be included.
Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.