Why use a write blocker when hashing an evidence disk would reveal any change anyway?
answer
- preventive versus detective control
- the first hash is the baseline
- nothing detects change before the baseline
- attaching a volume writes to it
- you cannot separate your writes from theirs
basics
~20 sHashing detects change only against an earlier trusted digest, and the acquisition hash is the first one there is. A write blocker is preventive: it keeps the source untouched so that first digest describes the disk as the intruder left it.
solid answer
~50 sA hash only detects change *relative to an earlier trusted digest*, and for a suspect disk no such digest exists — the one you take at acquisition is the first. Anything your workstation writes before that moment is baked into the baseline and becomes the authoritative record; the hash then cheerfully confirms your own contamination. That matters because attaching a disk is not a passive act: mounting a volume can replay a journal, update volume and access metadata, trigger background indexing, or provoke automatic snapshot and drive-letter housekeeping. A write blocker sits at the interface between the workstation and the drive and refuses write commands, so the source stays as the person who installed the cryptominer left it, and every read — acquisition and later re-verification — passes through it. If you contaminate first, you can never separate your writes from theirs, and that is the argument you lose.
go deeper
Know the one-line division of labour: the write blocker protects the original device from being written to, and the hash proves the copy matches it. Being able to say which protects which is the bar.
Explain why a hash cannot substitute: it detects drift only against an earlier trusted digest, and on a suspect disk the acquisition digest is the first one there is.
Be ready to name what an operating system writes on attach, and to say what you do when contamination has already happened — document it, acquire anyway, and scope the claims you keep.
Expect to defend the standard operating procedure itself: when interposing on a device is impossible, what compensating record the team produces instead, and how much untouchability is worth paying for.
## Two different kinds of control A **write blocker** is a *preventive* control: it stops the change happening. A **hash** is a *detective* control: it tells you afterwards that something changed. Interviewers ask this question because a candidate who thinks the detective control subsumes the preventive one has not thought about what a baseline is. ## Why the hash cannot cover the gap Detection requires two digests to compare. On a suspect drive pulled from an ageing file server, there is no pre-existing trusted digest — nobody hashed that disk last Tuesday. The acquisition hash *is* the first one. Whatever state the drive is in at the instant that digest is computed becomes, by definition, the reference state. So the sequence matters absolutely: - Blocker first, then hash: the reference state is the drive as the intruder left it. - Attach unprotected, then hash: the reference state is the drive as *your operating system* left it, and the hash will verify happily forever afterwards. You have produced a mathematically perfect record of contaminated evidence, and no later comparison can tell you which sectors you disturbed and which the intruder did. ## Attaching a disk is not passive The naive assumption is that reading is harmless and only deliberate writes matter. A general-purpose operating system does not behave that way when a volume is presented to it. Depending on platform and configuration it may replay a filesystem journal to bring the volume to a consistent state, update volume-level metadata or access times, index content in the background, create automatic snapshots or restore points, or write housekeeping structures when it assigns a drive letter and mounts. None of these require the examiner to touch a file. Several of them modify exactly the metadata a case turns on: timestamps. ## What the blocker actually does Hardware blockers sit inline on the interface between the examiner's machine and the drive: read commands pass through, write commands are dropped or answered with an error, so the host's optimism about mounting never reaches the platters. Software blocking achieves a similar result by policy on the examining host, refusing writes to the attached device. The principle is what matters more than the mechanism — the source device must be physically or logically incapable of accepting a write for the whole time it is connected, including the later re-read when you verify. Two properties follow: 1. The first digest describes an untouched source. 2. Verification can safely re-read the source, because reading through the blocker cannot itself alter what you are re-reading. ## What the blocker does not do - It does not protect your image; the image is a file on your evidence store and needs its own handling. - It does not protect your workstation from anything hostile stored on the drive. That is a separate concern and a common confusion. - It does not guarantee a matching verification hash. A drive with failing sectors can return different bits on two consecutive reads with no write involved at all — the physical medium changed nothing, but the data returned differed. - It cannot help with evidence that was never a block device you could interpose on, such as records held by a third-party service. ## If you already contaminated the source This happens, usually under time pressure. The wrong answers are to hide it or to declare the evidence worthless. The right sequence is: stop, record precisely what was connected, for how long, and with what mounting behaviour; acquire properly from that point; then scope every claim to what could not plausibly have been affected. Content-level findings — a binary's own hash, the bytes of a registered service entry — are robust to a mount that touched volume metadata. Claims that turn on last-access times on the very files you touched are not, and should be withdrawn rather than defended. A contamination you documented at the time is a manageable weakness; the same contamination discovered by the other side is a credibility problem. ## The line to remember The write blocker protects the **source**. The hash proves the **copy** matches it. They are not substitutes, and the order in which they are applied is the whole point.
- Name concrete ways an examiner's workstation writes to an evidence disk just by attaching it.Replaying a filesystem journal to reach a consistent state, updating volume metadata or access times, background content indexing, automatic snapshot or restore-point creation, and housekeeping written when a drive letter is assigned. None of these need the examiner to open a single file, and several alter the timestamps a case turns on.
- You mounted the server disk unprotected for two minutes before imaging. Is the evidence worthless?No. Record exactly what was connected and for how long, acquire from that point, and scope the claims. The miner binary's own content hash and the registered service entry are unaffected by volume housekeeping; anything resting on last-access times of files you touched should be withdrawn. Documented contamination is survivable, undisclosed contamination is not.
- Does a write blocker guarantee that verification will produce a matching hash?No. A failing drive can return different bits on two consecutive reads with nothing written at all — retries, remapping and unreadable sectors make the read itself non-deterministic. The blocker rules out one cause of a mismatch, not all of them.
saying these in an interview costs you the question
- Thinks hashing after mounting proves nothing changed
- Says the write blocker verifies the image
- Assumes reading a volume never writes to it
- Treats a read-only mount option as equivalent protection
- Cannot say whether the blocker protects source or copy