Artificial Intelligence & Data Science is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Evidence types and the rules of evidence

Clear, exam-focused notes on types of evidence in digital forensics and the legal rules (admissibility, authentication, chain of custody, Section 65B) with examples, mistakes and practice questions.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Digital evidence is now central to many investigations. An engineer working on incident response or forensic collection must both preserve technical integrity (so data is unchanged) and produce the correct documentation so courts accept the evidence under legal rules.

Key ideas

This section builds definitions and rules from first principles used in courts and forensics.

  • Evidence — a fact, document, or object presented to prove or disprove a matter in dispute. In digital forensics, evidence normally means data stored or transmitted by computers, networks, phones or other electronic devices. Evidence types (exam list): testimonial; real/physical; documentary (includes electronic records/ESI); demonstrative. Classifications: direct vs circumstantial; primary vs secondary; inculpatory vs exculpatory.

  • Admissibility — whether a court will allow evidence to be considered. Admissibility is a legal determination based on rules of law (for example relevance, authentication and statutory rules). If evidence is not admissible, it is not considered by the judge/jury.

  • Relevance — evidence is relevant if it makes a fact in issue more or less probable than it would be without the evidence. (Exam answer style: "Relevant evidence = evidence that tends to prove or disprove a fact in issue.")

  • Probative value — the strength with which evidence tends to prove something. Higher probative value supports admissibility unless outweighed by other rules.

  • Prejudicial effect — evidence may be excluded if its potential to unfairly influence the court outweighs its probative value (for example, inflammatory material that biases a jury).

  • Authentication — proving that an item of evidence is what the proponent claims it is. For digital evidence this usually requires showing origin, how it was created, who had access, and technical checks (hashing, logs, signatures).

  • Integrity — the property that evidence has not been altered from its original state. Integrity is shown by documentation and technical methods such as cryptographic hashing and write-blocking during acquisition.

  • Chain of custody (chain of possession) — a documented, chronological record that shows who collected, handled, transferred and stored a piece of evidence from discovery to presentation in court. The chain must be continuous and explained to prevent reasonable doubt about tampering.

  • Original and best evidence rule — in many legal systems the original document or primary source is preferred; copies may be admitted if originals are unavailable or a statute permits (for digital evidence, legislation often creates special rules permitting printouts/images if certain conditions are met). Exam note: for electronically stored information (ESI), many jurisdictions treat accurate printouts/readable outputs as “originals,” and admit “duplicates” unless a genuine question is raised about authenticity or it would be unfair to admit the duplicate.

  • Hearsay — an out-of-court statement offered to prove the truth of the matter asserted. Hearsay is generally excluded unless an exception applies. For electronic records, many jurisdictions have statutory exceptions or rules that make certain electronic records admissible. Exam note: machine‑generated data with no human assertion is generally not hearsay; business‑records and statutory electronic‑records exceptions frequently apply.

  • Authentication of electronic records — technical and documentary steps to connect an electronic record to its source: metadata, logs, audit trails, system configuration, corroboration by other evidence, and sometimes expert testimony.

  • Statutory rules (example: India, Section 65B of the Indian Evidence Act) — special rules apply to electronic records. Brief exam-style statement: "Section 65B deals with the admissibility of electronic records and, under sub‑section (4), requires a certificate identifying the electronic record, describing the manner of production and particulars of the device/process, and stating that the conditions in sub‑section (2) are satisfied (i.e., the record was produced by a computer used regularly in the ordinary course of activities, information was regularly fed/stored, and the computer was operating properly)." Supreme Court: Anvar P.V. v. P.K. Basheer (2014) and Arjun Panditrao Khotkar v. Kailash Kushanrao Gorantyal (2020) hold that a Section 65B(4) certificate is generally mandatory unless the original device is produced/inspected; courts can compel a certificate from the custodian where necessary.

  • Standard of proof — criminal cases normally require proof beyond reasonable doubt; civil cases require the balance of probabilities. The standard affects how strongly evidence must be authenticated and persistent gaps in chain of custody can defeat criminal charges.

Diagrams to draw (exam instructions):

  • Draw a simple timeline for chain of custody: left to right, mark discovery time, who seized the item (name, badge number), each transfer event (time, from→to, reason), storage location and final presentation in court. Label each event with a unique identifier. Under the timeline, annotate where hash values were created and verified.

  • Draw an evidence flow diagram: Device (source) → Acquisition tool (write-blocker) → Image file (hash1) → Analysis workstation (hash2) → Report. Label tools (dd, FTK Imager, write-blocker), sample file names, and where logging occurs.

Assumptions commonly used in exams: all procedures used standard, accepted forensic tools; proper chain of custody documentation exists unless the question explicitly asks you to identify gaps.

Formulas

Admissible ⇐ Relevant ∧ Authentic ∧ Reliable ∧ (Not excluded by other legal rules) — symbols: ∧ means logical AND; applies as a compact rule-of-thumb (not a statute; e.g., hearsay, privilege, or unfair prejudice can still bar admission). Units: N/A.

Integrity verified ⇐ H(original) = H(copy) — H = cryptographic hash function (e.g., SHA-256). Symbols: H(x) returns a fixed-length digest; equality means bitwise identical digests. Units: N/A. Applies after exact bit‑for‑bit imaging.

Probability of tamper increases as gaps in chain → ↑ — informal; used in reasoning about weight of evidence. Units: N/A.

Electronic evidence admissible (India) ⇒ certificate under Section 65B (conditions) — shorthand pointing to statutory requirement; check Section 65B for precise conditions (verify exact clause language).

Worked examples

Example 1 — Admit an email printout (theory model answer) Question: A police officer brings a printed email showing threats. Explain how to admit it in court. Model answer (step-by-step):

  1. Define the exhibit: state sender, recipient, time stamps, and how the printout was obtained.
  2. Authentication: show supporting evidence — server logs, mail headers, ISP records, the device seized, and witness testimony linking the account to the accused.
  3. Integrity: if the printout came from an electronic system, explain how the original was preserved — take an image of the mail server mailbox or export the message in EML/MBOX; compute cryptographic hashes at imaging and before analysis.
  4. Chain of custody: produce documentation showing when the email was collected, who handled it, where it was stored, and each transfer.
  5. Legal rule: under statutory rules (for example Section 65B, where applicable), produce the required certificate stating the method and the responsible official's statement that the record came from a computer system in the ordinary course of business.
  6. Conclude: if authenticity, integrity, chain of custody and statutory certificate are satisfied, the printout is admissible and the court may consider it for its probative value.

Example 2 — Chain of custody timeline (practical tracing) Scenario: A laptop is seized at 10:00 on Day 1 from Alice. Give the required chain of custody entries and what to draw. Answer (entries to record, numbered):

  1. Discovery/seizure: 2025‑05‑01 10:00 — Officer R. Kumar seized laptop model X, serial 12345, from Alice (address), sealed in evidence bag #E001. Officer signature.
  2. Transport: 2025‑05‑01 10:20 — Transferred to Forensic Lab, received by Tech S. Singh, bag intact, logged receipt; timestamp and signatures.
  3. Storage: 2025‑05‑01 11:00 — Stored in secure locker L3, access log updated.
  4. Acquisition: 2025‑05‑02 09:00 — Forensic image created by S. Singh using a write‑blocker and FTK Imager; image filename laptop12345.img; SHA‑256(image)=H1 recorded; evidence bag opened for acquisition under lab protocol, device write‑protected, and after imaging the laptop was resealed in bag #E001 with new seal ID recorded.
  5. Analysis: 2025‑05‑03 14:00 — Image copied to analysis workstation by T. Rao; SHA‑256(copy)=H1 verified; analysis performed, notes taken.
  6. Transfer to prosecution: 2025‑06‑01 10:00 — Copy of image and report handed to Public Prosecutor, receipt recorded. Diagram to draw: a horizontal timeline with the six events; under each event write time, actor, action, bag/id, hash checks. Label points where signatures were obtained.

Example 3 — Hash check decision (short numerical logic) Given: H(original) = abc123... (digest recorded at acquisition). At trial, examiner computes H(current image) = abc123... If equal, integrity holds; if different, explain possible causes (accidental modification, incomplete imaging, or deliberate tampering) and demonstrate where the chain has a gap. Step answer: State formula H(original)=H(current) → integrity preserved; otherwise rebut admissibility or explain re‑creation of chain.

Common mistakes

  • Forgetting to record transfers (who handled evidence), leaving unexplained gaps in chain of custody.
  • Reporting hash values but not recording the hash algorithm and tool version (both are needed to reproduce results).
  • Confusing relevance with admissibility: relevant evidence may still be excluded for hearsay or undue prejudice.
  • Mixing up metadata interpretation: assuming timestamps are authoritative without correlating system clocks and logs.
  • Using weak or deprecated hash algorithms alone (e.g., MD5/SHA‑1) without also recording a stronger hash (e.g., SHA‑256) and documenting the algorithm/tool versions.

For your exam

Question types you will see: definitions (define chain of custody, admissibility, authentication), short notes (explain Section 65B or the best evidence rule), diagrams (draw a chain of custody timeline), long answers (describe steps to collect and admit digital evidence from a mobile device) and practical procedures (write steps to image a disk and verify integrity).

What full‑marks answers include:

  • Clear definitions with bold key terms.
  • A stepwise procedure (numbered) for technical tasks: seizure, isolation, imaging, hashing, logging, storage, transfer.
  • Legal points: mention relevant statutes or rules (e.g., Section 65B) and the necessity of certificates or exceptions where applicable.
  • A labelled diagram if asked (timeline or flow diagram); list tool names and versions where appropriate.
  • Identification of possible weakness and how to mitigate (e.g., how to fix a broken chain by secondary corroborating evidence).

Quick check

  1. What is the primary purpose of a chain of custody?
  2. Name two technical methods used to demonstrate integrity of a digital image.
  3. In one line, what does authentication prove about a piece of evidence?

Answers: 1) To show a continuous, documented record of possession and handling so the court can trust the evidence has not been tampered with. 2) Cryptographic hashing (e.g., SHA‑256) and digital signatures (or bit‑for‑bit comparison with hash verification). 3) Authentication proves the evidence is what the proponent claims it is (origin and association with the case).

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?