Free tech learning for everyone, from basics to pro

Digital ForensicsCyber SecurityBeginner

Digital forensics principles: integrity, chain of custody and admissibility

In short: Digital forensics is the careful collection and analysis of digital evidence so that the findings can be trusted by others. You protect the original, prove it has not changed using hashes, record every handover in a chain of custody and write notes that would let another examiner repeat your work.

What digital forensics is for

Digital forensics is the process of finding, preserving and analysing data from computers, phones, networks and cloud services in a way that others can trust. The audience might be a court, an employment tribunal, an insurer or just your own management deciding what happened during an incident.

It overlaps with incident response but has a different priority. Incident response wants to stop the damage quickly. Forensics wants to prove what happened, and proof requires care. In practice you balance both: you contain the attack, but you avoid destroying evidence while you do it.

The forensic processIdentifyfind sourcesPreserveprotect andhashCollectimage orcopyExamineextract dataAnalysebuildfindingsReportclear,repeatable
Figure 1. Digital forensics moves from identifying evidence to a written report, and integrity must be protected at every step.

The core principles

Several guides say similar things in different words. In the UK, the ACPO Good Practice Guide for Digital Evidence set out four principles that are still widely taught. Internationally, ISO/IEC 27037 covers identifying, collecting and preserving digital evidence, and NIST SP 800-86 explains how to build forensics into incident response. The shared ideas are:

  • Do not change the original. Work on verified copies wherever possible.
  • If you must touch live data, be competent and explain why. Running a tool on a live machine changes it a little, so record what you did and the effect it had.
  • Keep an audit trail. Another qualified examiner should be able to follow your notes and reach the same result.
  • Someone is accountable. The person in charge of the investigation makes sure these rules are followed.

Integrity and chain of custody

A cryptographic hash such as SHA-256 acts as a fingerprint of the data. You hash the original when you collect it and hash the copy later; if the values match, the copy is identical. Try it with the hash generator tool: change one character and the whole hash changes. On Linux you would record a value like this:

sha256sum evidence-laptop01.E01 > evidence-laptop01.sha256
sha256sum -c evidence-laptop01.sha256

The chain of custody is the written history of who had the evidence, when, where it was stored and why it moved. A typical form records:

FieldExample
Item ID and descriptionEXH-004, Dell laptop, serial number noted
Collected by, date and timeAnalyst name, 2026-03-14 10:42 UTC
Hash valuesSHA-256 of the forensic image
Each transferFrom, to, date, reason, signature
StorageSealed bag, locked evidence safe, room number
What makes evidence trustworthyAdmissibleevidenceIntegrityhashes matchCustodyevery handoverloggedMethodtested toolsLawfulproper authorityNotescontemporaneousCompetencetrained examiner
Figure 2. Evidence is more likely to be accepted when integrity, custody, method, legal authority, notes and examiner competence can all be shown.

Admissibility and documentation

Evidence is admissible when a court or hearing is willing to consider it. Rules differ by country, but the questions are similar: was it collected lawfully, is it what you say it is, has it been altered, and are your methods reliable? Collecting data without proper authority, for example reading an employee’s private messages without a lawful basis, can make evidence unusable and expose you to legal risk. Involve legal or HR advisers early.

Write contemporaneous notes, meaning notes made at the time, with times in a stated time zone (UTC is easiest). Photograph the scene and screens before you touch anything. Record tool names and versions. Your final report should separate facts ("this file was created at 09:14") from opinions ("this suggests the user ran the installer").

Tip: in exams, if a question mentions evidence being "altered" or "challenged", the answer usually involves hashing, write blocking and chain of custody.

Practice

How does hashing show that a forensic copy has not changed?
The original and the copy are hashed; identical hash values show, with very high confidence, that the data is bit-for-bit the same.
What is a chain of custody?
A written record of every person who handled the evidence, when, where it was kept and why it was transferred.
Why should a report separate facts from opinions?
So readers can see what the data shows directly and what the examiner has inferred, which makes the findings easier to test and defend.

Key takeaways

  • Forensics aims to produce findings that others can trust and repeat.
  • Work on verified copies and avoid changing the original.
  • Hash evidence at collection and verify the hash before analysis.
  • Keep a complete chain of custody and contemporaneous notes.
  • Lawful collection and reliable methods are key to admissibility.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.