What is a write blocker? A plain guide to forensic write blockers
By ITHSEN Electronics. Updated . 7 min read.
Short answer
A write blocker is a device or program that sits between a storage drive and a computer and allows only read access. The computer can see and copy everything on the drive, but any command that would change the drive is stopped. Forensic examiners use one so that an evidence drive stays exactly as it was when it was seized.
Why a computer cannot be trusted with evidence
Connecting a drive to a computer is not a neutral act. Before you open a single file, the operating system has usually started working on the drive by itself.
- It mounts the file system, which can update timestamps and mount counts.
- It may replay a file system journal, rewriting blocks to finish old operations.
- Indexing, thumbnail and antivirus services open files and can create hidden folders.
- Some systems write a volume signature or recycle-bin folder to a drive they have not seen before.
None of this is malicious, and on your own drive none of it matters. On evidence it matters a great deal. If the drive has changed since it was seized, the other side can ask what else changed, and you need a better answer than "probably nothing important".
How a write blocker works
A computer talks to a drive by sending commands: read these blocks, report your size, write these blocks, erase this range. A write blocker sits in the middle of that conversation and sorts the commands.
- Commands that only read, such as reading blocks or asking for the drive's size and identity, are passed to the drive.
- Commands that would modify the drive, such as write, erase, format or change-settings commands, are not passed on.
- The computer is told that the drive is write protected, so software fails cleanly instead of hanging.
From the computer's side the drive simply looks like a read-only disk. From the drive's side, nothing but read requests ever arrive.
Hardware and software write blockers
- Hardware write blocker
- A separate box with a port for the evidence drive and a port for the computer. The blocking happens inside the box, so it does not depend on the computer's operating system, drivers or settings. This is the usual choice for evidence work.
- Software write blocker
- A program or operating system setting that stops writes on the examiner's computer. It costs little or nothing, but it relies on the same operating system that causes the problem, has to be set up correctly every time, and is harder to demonstrate to someone else.
Mounting a drive "read-only" is not the same thing as write blocking. A read-only mount stops you saving files, but the operating system may still have written to the drive while recognising it. A hardware write blocker takes that question away.
Where it fits in a forensic acquisition
A write blocker is one step in a routine whose aim is simple: make an exact copy, prove it is exact, then work only on the copy.
- 01Record the drive: make, model, serial number, where and when it was seized.
- 02Connect the drive to the examiner's computer through the write blocker, and check that the blocker shows it is protecting.
- 03Use imaging software to copy the whole drive, sector by sector, to a forensic image.
- 04Calculate a hash value (for example SHA-256) of the drive and of the image. If they match, the copy is exact.
- 05Seal and store the original. Do all further examination on the image.
The write blocker protects the original during steps 2 to 4. The hash proves the copy. You need both.
What a write blocker does not do
- It does not make the forensic image. Imaging software on the computer does that.
- It does not calculate or verify hash values, unless it is a larger unit with imaging built in.
- It does not repair a failing drive or recover deleted data.
- It cannot stop a drive changing itself. Solid-state drives move and erase data internally as housekeeping, with no command from the computer. A write blocker stops the computer writing; it has no say over what the drive's own firmware does. Image an SSD promptly and record that it is an SSD.
Who uses write blockers
- Police and government forensic laboratories.
- Incident response and corporate investigation teams.
- Private forensic examiners and e-discovery firms.
- Data recovery technicians who must not make a damaged drive worse.
- Universities and training institutes teaching digital forensics.
Common questions
Is a write blocker really necessary?
If the drive may be used as evidence, yes. Without one you have to argue that your computer did not change the drive. With one you can show that it could not. Accepted forensic practice is to acquire through a write blocker and verify with hash values.
Is mounting a drive read-only as good as a write blocker?
No. A read-only mount stops you saving files to the drive, but the operating system can still write to it while detecting and mounting it. A hardware write blocker stops write commands before they reach the drive, whatever the operating system does.
What is the difference between a write blocker and a forensic imager?
A write blocker only protects the drive while a computer reads it. A forensic imager is a larger device that copies a drive by itself, usually with write blocking and hashing built in. A write blocker with imaging software on a laptop does the same job at lower cost.
Does a write blocker slow down imaging?
Every write blocker adds some overhead, and the interface matters most. A USB 2.0 blocker is limited to USB 2.0 speeds, which makes large drives take many hours. A USB 3.0 blocker removes that limit for USB 3.0 drives.
Read next