Digital Forensic Tools

What is a write blocker?

Short answer

A write blocker is a hardware device or software setting that lets a computer read a storage device but stops commands that would change it, so the original evidence is not altered during copying.

The problem it solves

Operating systems often write to a drive that is just plugged in. Windows may add hidden folders and index data. Some systems try to repair a file system or update access times. These small changes alter the original and make it harder to prove it is unchanged.

A write blocker is placed between the evidence drive and the examiner's computer so that such writes never reach the drive.

What it passes and what it stops

Computers talk to a drive using commands. Commands that only read data or ask for information are passed through. Commands that would change the data are blocked. NIST publishes a specification for hardware write blockers, and tests devices against it through its CFTT program.

  • Blocked: commands that modify the protected drive.
  • Passed: read commands and information commands.
  • The reply from the drive should reach the computer unchanged.
  • Some devices have a switch for protected and unprotected mode, or lights to show the state.

Using one in practice

Connect the blocker to the examiner computer first, then connect the evidence drive. Check that the drive is shown as read-only. Record the blocker model, serial number and firmware version, plus the date and time. Create the image, then compare hash values. Test the blocker on a spare drive before casework and repeat tests on a routine schedule, as your lab requires.

What a blocker does not do

It does not make a copy and it does not check hashes. It also does not protect against a drive that is already failing. Many phones are not simple disks, so a normal disk write blocker does not apply to them. Other methods are used, and they are covered in the mobile topics.

What happens with and without a blocker

Drive connected directlyDrive connected through a write blocker
Operating system may mount and writeYes, possibleWrites are blocked
File times and hidden folders may changePossibleNot changed by the examiner computer
Hash of the drive stays the sameNot certainExpected to stay the same
Record neededNot applicableModel, serial number, firmware, test date

Example

An examiner needs to image a SATA drive from a desktop. She connects a hardware write blocker to her workstation, then attaches the drive. The workstation shows the disk as read-only. She notes the blocker serial number, images the drive and checks that the image hash matches the source hash.

Common mistakes

  • Connecting the evidence drive before the blocker is attached and switched on.
  • Never testing the blocker, or testing it only once.
  • Treating a read-only file system view as full write blocking.
  • Forgetting to log the model, serial number and firmware.
  • Expecting a disk blocker to work for a phone.

Key terms

Write blocking
Stopping write commands from reaching a storage device.
Read-only
A state where data can be read but not changed.
Protected drive
The evidence drive that sits behind the blocker.
Firmware
The small built-in program that runs a device such as a blocker.
CFTT
The NIST Computer Forensics Tool Testing program, which publishes specifications and test results.

Questions you may be asked

What must a write blocker do?

Block commands that change the protected drive, and pass commands that only read or request information, with the replies unchanged.

In what order do you connect the devices?

Attach the blocker to the examiner computer first, confirm it is working, then connect the evidence drive. Follow your lab's procedure.

How do you know your blocker works?

Test it on a spare drive and keep the test record. Also use published test results as a guide, but still test your own unit.

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.