What a SHA-256 Checksum Proves (and What It Doesn't)
The ISO That Was Three Kilobytes Short
What a SHA-256 checksum proves (and what it doesn't) became my problem at 14:30 on a Tuesday when a 4.2 GB Ubuntu desktop ISO landed at 4.197 GB after crawling over a congested office Wi-Fi link. The transfer reported success. ls -lh told me otherwise. I ran sha256sum ubuntu-24.04-desktop-amd64.iso, pasted the output against the digest on Canonical's download page, and got a mismatch.
The instinct is "corrupted packet, re-pull it." Usually correct. But the mismatch answers exactly one question: are these 4,197,000,000 bytes identical to the reference set? It does not tell you which byte diverged, at what offset, or whether a dropped TCP segment caused the gap or someone swapped a build artefact mid-transfer. The cryptographic hash is a binary oracle. Same input, same 64-character hex string. One bit changed anywhere in the file and the output is unrecognisable. No partial credit.
The verification sequence I run every time:
echo "a3f1c9e2b7d4… ubuntu-24.04-desktop-amd64.iso" > expected.sha256
sha256sum -c expected.sha256
Exit code 0 means match. Exit code 1 means mismatch. That is the entire checksum verification step. Most people run it once in a career and never interrogate what the exit code actually encodes about file integrity, or whether the reference digest they are comparing against was computed by the same party that signed the download button.
A hash mismatch is not a tooling error. It is a correct answer to a narrow question. The next question — what do I do with that answer, and what would a match have told me? — is where things get interesting. If it fails twice on re-download, you stop treating it as a network problem and start treating it as a provenance problem.
A Match Is a Statement About Bytes, Not About Trust
A matching SHA-256 digest tells you one specific thing: the 4.7 GB file in ~/Downloads/ right now is byte-for-byte identical to the file from which the reference hash was computed, at the moment that computation happened. No bit flipped in transit. No sector silently dropped by a degrading disk. No 16-byte padding block added by a misconfigured reverse proxy. The cryptographic hash function's collision resistance — for SHA-256, a minimum of 2^128 operations to find even one second preimage — means no practical actor can hand you a different file that produces the same 64-character hex string. That is the entire claim. Nothing more.
The timestamp is part of that claim and I treat it as load-bearing. A hash computed on 14 March proves identity with the file as it existed on 14 March. It says nothing about 14 April, let alone 14 June. File integrity in this sense is a snapshot, not a warranty. If you stored the digest in a spreadsheet in January and re-check the download URL in June, you are comparing against a January artifact. The file may have been rebuilt, repackaged, or quietly patched server-side. Your checksum verification passed. You are still holding someone else's old bytes.
The provenance of the reference value carries as much weight as the match itself. If the "expected" hash came from the same vendor's CDN or download page, you are comparing the file to the vendor's own word. The match confirms the transfer was not corrupted. It does not confirm the vendor did not ship a modified build and then publish the matching digest on the same page, five minutes later. I compute every reference hash on my own hardware — my Pi 4, my ThinkPad — and that provenance is the only claim I make about the value.

What the Green "OK" Silently Skips
You run sha256sum -c ubuntu-24.04-desktop-amd64.iso.sha256. It prints: ubuntu-24.04-desktop-amd64.iso: OK. That cryptographic hash match tells you one thing: the byte sequence on disk is identical to the sequence that produced that 64-character string.
It does not establish:
- The publisher is who they claim to be. A digest says nothing about identity or DNS records.
- The file is free of malware, backdoors, or logic bombs. If the build was compromised before hashing, your checksum verification passed on a poisoned artifact.
- Any code-signing certificate in the binary is valid, unrevoked, and issued by a trusted CA. SHA-256 and X.509 are orthogonal checks.
- The vendor hasn't swapped the download for a trojaned build and published a new matching hash beside it.
The scenario I keep coming back to: an actor gains write access to a vendor's CI/CD pipeline, injects a rootkit into the build, the compromised artifact ships to the CDN, and the same automated job that generates the SHA-256 page computes its digest from the new file. Every user who downloads, verifies, and sees "OK" has confirmed a rootkit is byte-for-byte what the vendor intended to ship. The file integrity check cleared. This is a cybersecurity failure mode no amount of hashing resolves when the reference source shares infrastructure with the artifact.
"Don't trust the download button; trust the hash." I say it because it's true, but only under one condition: the hash was computed by a party with zero financial or operational stake in the file's contents. If digest and binary come from the same server, you have two copies of the same claim, not independent verification. That's the gap HashCheck closes. I compute every recorded hash on my own machines, and that provenance is the product's entire claim.
One Check Is a Photo; Monitoring Is a Security Camera
You verify the ISO on Tuesday. sha256sum ubuntu-24.04-desktop-amd64.iso returns a 64-character string that matches the vendor's published cryptographic hash. You push the image to forty workstations, reboot, file the ticket, move on. Six weeks later the vendor's edge node is compromised in a supply-chain incident. The binary at that URL is now different. Your Tuesday verification is a photograph of a file that no longer exists at that address. Nobody emailed you. Nothing re-ran. The checksum verification you performed once has gone stale the moment the underlying bytes changed, and the only person who knows is the attacker.
This is where a one-off snapshot stops being adequate and continuous monitoring becomes operational necessity. The rule I apply: any file you depend on operationally, that resides on infrastructure you do not control, and that could be swapped without your knowledge, needs scheduled re-checking. Operating system installers, third-party dependency archives, firmware images, database migration scripts, signed installer bundles. The re-check interval is not a universal number. It is a function of blast radius—how many production systems break if a silent swap reaches them before you notice. A single dev machine tolerates a 48-hour gap. Forty workstations do not.
If you want the full command sequence and alerting logic for turning this into a repeatable detection workflow, see Proof of Work: How to Use Checksum Verification to Detect File Integrity Issues with Cryptographic Hashes.
The conceptual shift is small but it restructures your security posture. "I checked once" produces a point-in-time audit artifact: a PDF you attach to a compliance folder, evidence for an auditor who will never re-run the command. "Something will notify me if it changed" is an ongoing file integrity control. The first is a receipt. The second is a tripwire wired to your phone at 2 a.m., telling you that the bytes under a URL you depend on no longer match what you recorded.

Provenance Is the Entire Product
The entire product reduces to one sentence: the cryptographic hash was computed by someone else, on their own machine, from a file they downloaded themselves, at a recorded timestamp. Not scraped from a vendor page. Not copied from a CDN response header. Computed independently and stored with the date it was taken. That single fact — independent computation — is what separates a measurement from a claim.
What the Audit Trail Actually Contains
Each watched URL produces four artifacts. A timestamped hash baseline: every recorded digest carries its computation date, so "when did we last verify this?" gets a specific calendar-day answer. An alteration alert: an email plus a stored record of every subsequent change to the file at that URL. A re-check history per watched URL, showing each checksum verification run and its result. And third-party provenance as a named line item — the hash was not generated by your vendor's CI pipeline or their CDN edge node; it was generated on hardware I own, from a file my machine fetched over TLS.
Those four items map onto ISO 27001 A.8.16 (monitoring activities), SOC 2 CC7.2 (change management evidence), and the NIS2 supply-chain cybersecurity and file integrity clauses. You do not need to build and maintain your own monitoring stack to produce that documentation. You reference the record.
The entry point is one URL. Submit a download link at hash-check.com/watch/ and you receive an email when the hash changes. No account beyond the address you type in. No pricing page, no trial tier, no sales call. If your need is a one-off sha256sum of a single file on your terminal, that command remains the correct tool and I will not talk you out of it. The watch exists for the files you verify once, file a ticket, and never think about again until something goes wrong and you realise nobody was watching.

If this was useful, Get an email when a download changes. No pressure — read it whenever it's useful.
Spot a bug or want a custom utility built? I'd love to hear from you. Get in touch