Digital Forensic Tools

Hardware and software write blocking

Short answer

Hardware blockers are separate devices that filter commands to the drive. Software blockers are settings inside the operating system. Both aim to stop writes, but they differ in how they work and how they can fail.

Hardware write blocking

A hardware blocker is a small device with a port for the evidence drive and a port for the computer. It looks at the commands passing through. Writes are stopped before they reach the drive. Because it works outside the examiner's operating system, it does not depend on the settings of that system.

Software write blocking

A software blocker is a program or a setting that tells the operating system not to write to attached storage. Examples are a read-only mount in Linux or a Windows setting for USB storage. NIST describes a software blocker as something loaded before the media is connected. If the setting is wrong or forgotten, writes can happen.

  • Linux can mark a block device read-only before it is mounted.
  • Some forensic Linux boot disks keep drives read-only by default.
  • Windows settings may apply only to some types of device.
  • Always test with a spare drive first.

Choosing between them

Many labs use hardware blockers for casework because they are simple to check and separate from the examiner's system. Software blocking is useful for teaching, for work in the field or as a second layer. Some tools are mounted read-only only after connection, which may be too late. Follow your lab's procedure and your tool test results.

Hardware and software blocking

Hardware blockerSoftware blocker
How it worksSeparate device filters commandsOperating system or boot setting
Depends on examiner OSNoYes
Common failureFaulty unit or wrong modeSetting forgotten or applied too late
CostPurchase neededOften free
Typical useRoutine lab caseworkTeaching, field work, extra safety layer

Example

A student has no hardware blocker at home. She boots a forensic Linux live disk that keeps drives read-only, then checks the drive status before connecting a practice USB stick. She repeats the check each time she starts the system.

Common mistakes

  • Assuming a software setting works for every device type.
  • Setting read-only after the drive is already connected.
  • Skipping the test because the device is new.
  • Mixing up read-only on a file system with block-level write protection.
  • Not noting in the log which method was used.

Key terms

Hardware write blocker
A separate device that blocks write commands between a drive and a computer.
Software write blocker
A program or operating system setting that stops writes to a drive.
Block device
A storage device that the operating system reads and writes in blocks, such as a disk.
Mount
Making a file system available to the operating system so files can be opened.

Questions you may be asked

Name one advantage of a hardware blocker.

It works outside the examiner's operating system, so it does not depend on that system's settings.

What is a risk of software blocking?

The setting may be forgotten, wrong or applied too late, so writes can reach the drive. It must be tested before use.

Is either method acceptable?

Standards allow both, but procedures differ by agency. Follow your lab's procedure and test the method you use.

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.