manifest.json
A file written at backup time that lists every backed-up file with its SHA-256 digest, so a restore can be checked byte for byte.
In more detail
The course's restore test recomputes each file's digest and compares it with the manifest, which reveals silent corruption or tampering. A manifest is only trustworthy if it is stored where an attacker cannot rewrite it, otherwise they simply update the digests too. Hashes prove the bytes are unchanged, not that the application starts, so real test restores are still needed.
Examples
manifest = {n: sha256("restore/" + n) for n in sorted(os.listdir("restore"))}sha256sum changes.csv sample.txt results.csv > manifest.sha256Related terms
- SHA-256 — A widely used hash function that turns any data into a 256-bit fingerprint, shown as 64 hexadecimal characters.
- restore test — Actually recovering data or a system from a backup to prove the backup works and to measure how long recovery takes.
- sha256sum — A command-line tool that prints the SHA-256 digest of files and can later check them against a saved list of digests.
- evidence sealing — Recording a cryptographic hash of collected evidence at a fixed moment, so that any later change to the files can be detected.
Taught in
- Backup Architectures: 3-2-1, Immutability & Air-Gaps — Cybersecurity Fundamentals, GRC & Cryptography
- Internal Audits, Sampling & Evidence Chains — Cybersecurity Fundamentals, GRC & Cryptography