Digital Forensic Tools

Hidden areas of a drive: HPA and DCO

Short answer

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.

What they are

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.

Why it matters

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.

How examiners check

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.

  • Check before imaging and write the result in your notes.
  • Removing an HPA can be undone by a power cycle.
  • DCO reset is permanent, so removal changes the drive.
  • Procedures differ, so follow your lab's rules before changing the original drive.

Tools and limits

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 and DCO

HPADCO
Introduced inATA-4ATA-6
What it doesHides the end of the drive from the OSMakes the drive report less size or fewer features
Detect by comparingIDENTIFY DEVICE and READ NATIVE MAX ADDRESSIDENTIFY DEVICE and DEVICE CONFIGURATION IDENTIFY
RemovalCan be temporary, until power cycleReset is permanent

Example

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.

Common mistakes

  • Imaging only the visible size and not checking for hidden areas.
  • Removing a DCO without noting it and without lab approval.
  • Assuming a matching hash proves nothing is hidden.
  • Believing every USB bridge passes these commands.
  • Forgetting to write the drive's reported size in the notes.

Key terms

HPA
Host Protected Area, a hidden region at the end of a drive.
DCO
Device Configuration Overlay, a setting that changes what a drive reports.
ATA
The standard set of commands that computers use to talk to many hard drives.
Native size
The true capacity of the drive, before any hiding.

Questions you may be asked

How do you detect an HPA?

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.

How does DCO removal differ from HPA removal?

HPA removal can be temporary until power is cycled. DCO reset is permanent.

Why can a matching hash still miss data?

The hash covers only what the tool read. Hidden areas may not be included.

Free tools to practise with

Learn more

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.