What is a write blocker? How it works, types and use in digital forensics
, 7 minute read
A write blocker (also written writeblocker, or called a forensic bridge) is a device or a program that allows read access to a storage medium and blocks every write access. In digital forensics it is used to read a hard drive, an SSD or a thumb drive without the computer being able to write anything to the original. That is the precondition for the acquired data to stand as evidence later. This guide explains how a write blocker works, which types exist and what it cannot do.
Why simply connecting a drive changes it
Anyone who connects a hard drive to an ordinary computer changes it, even without opening a single file. The operating system mounts the drive and writes on its own initiative: it updates timestamps, replays the file system journal, creates system folders and index files or tries to repair a damaged file system.
In everyday use that does not matter. When evidence is preserved it does. After such an access nobody can show that the drive is still in the state in which it was seized. The other side can attack every finding by arguing that the data was changed afterwards. A write blocker rules that out technically.
How a hardware write blocker works
A hardware write blocker sits as a device of its own between the drive and the computer. Every command the computer sends to the drive passes through its controller. It forwards read commands and returns the answer of the drive. Commands that would change data, that is writing, erasing or formatting, are not forwarded. They never reach the drive.
To the computer the medium looks like a write-protected drive. Imaging programs can read it completely, sector by sector. Because the protection lies in the device, it depends neither on the operating system nor on drivers or settings of the analysis computer.
Hardware or software write blocker
A software write blocker is a program or a setting on the analysis computer that prevents write access to certain drives. Forensic Linux systems that mount media read-only as a rule belong here too. Both types have their place, but they differ in what you have to rely on:
- Hardware: the protection sits at the interface, outside the computer. It works independently of the operating system, drivers and operating errors and can be tested independently.
- Software: no additional device is needed, not even for media for which there is no matching adapter. The protection depends, however, on the operating system behaving correctly and being set up properly.
Where a drive can be removed and connected, the hardware write blocker is therefore the usual way.
How an acquisition with a write blocker runs
The write blocker is one step in a fixed procedure. The goal is a forensic image, a bit-for-bit copy of the whole medium including deleted and unallocated areas.
- Document the medium: manufacturer, model, serial number, condition, time and place of seizure.
- Connect the medium to the write blocker and the write blocker to the analysis computer.
- Create the image and compute a hash value over the content read, for example SHA-256.
- Compare the hash value of the image with that of the original. If both match, the copy is complete and unchanged.
- Store the original safely and work only with the copy from then on.
Which media write blockers exist for
A hardware write blocker has to match the interface of the medium. The most common are SATA for internal hard drives and SSDs and USB for external drives and thumb drives. For older IDE disks, for SAS drives from servers and for NVMe SSDs there are separate devices or adapters.
The Sinabis Writeblocker covers the two most common cases: the SATA model takes 2.5" and 3.5" hard drives and SSDs straight into its drive bay, the USB model is for thumb drives, external hard drives and enclosures. Both connect to the workstation over USB and need no drivers.
Where a write blocker reaches its limits
A write blocker prevents the connected computer from writing. Nothing more. Some limits follow from that, and they are worth knowing:
- SSDs tidy up internally. Garbage collection erases released memory blocks inside the drive itself as soon as it has power. No write blocker can stop that, which is why SSDs are imaged as soon as possible.
- It undoes nothing. What was changed or overwritten before the seizure stays changed.
- It repairs and decrypts nothing. A defective drive stays defective, an encrypted medium is imaged encrypted.
- Smartphones are acquired differently. Their storage is soldered in and encrypted, and there are separate methods for that.
Does a write blocker make evidence admissible?
Not on its own. The write blocker is the technical precondition: it makes sure nothing on the original is changed during the acquisition. Whether a court accepts the data as evidence also depends on the acquisition being traceable.
That includes the hash values that show the original and the image match, and complete documentation: who had the medium in their hands and when, which device and software were used for the acquisition and where the original has been kept since. This chain is called the chain of custody.
How to recognise a reliable write blocker
You cannot tell by looking at a device that it really blocks every write command. That is why independent tests count. In its Computer Forensics Tool Testing (CFTT) program the US institute NIST tests forensic tools against fixed specifications, hardware write blockers among them, and publishes the test reports.
- Published test reports following the CFTT method.
- Write protection that cannot be switched off, not even by accident.
- The right interface for the media that actually come up.
- Operation without drivers and without additional software.
Both models of the Sinabis Writeblocker were tested with the Federated Testing method of the CFTT program, and no sectors on the drive were modified. The reports are on the product page. The devices are developed and assembled in Germany and cost €199 each including VAT.
