Computer Engineering 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.

Legal aspects of forensic evidence

Legal aspects of forensic evidence: how courts decide if digital evidence is admissible, how to authenticate and preserve it, and what exam answers must state.

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

Engineers who collect, analyse or present digital evidence must know the legal rules that decide whether that evidence may be used in court. Clear preservation, authentication and chain-of-custody procedures keep digital evidence admissible and credible in criminal and civil cases in India and abroad.

Key ideas

Below I define terms before using them and give exact-style definitions students should memorise.

  • Evidence: Material presented to a court to prove or disprove a fact in issue. (Plain: facts, documents, digital files or testimony offered to support a legal claim.)

  • Relevance: A fact or item is relevant if it makes a fact in issue more or less probable than it would be without that item. Assumption: the court applies logical probative value (not emotional). Draw a diagram of inference: fact-in-issue at left, arrows from relevant items showing + (increases probability) or – (decreases probability).

  • Admissibility: An item is admissible when the court will accept it as evidence. Admissibility follows after: (1) relevance, (2) authenticity, (3) absence of exclusionary rule (in India, illegally obtained evidence is generally admissible if relevant; courts may nevertheless exclude or give little weight for constitutional/privacy violations), and (4) procedural requirements (statutory certifications for electronic evidence). Assumption: procedural rules vary by jurisdiction.

  • Authentication (or Identification): Proof that the evidence is what the proponent claims it to be (for example, that a file came from a specific device, or an image has not been altered). Typical proof methods: metadata, hash values, witness testimony (custodian), logging and corroboration by experts.

  • Integrity: The property that evidence has not been altered from the time of seizure to presentation. Measured in practice by cryptographic hashes (e.g., SHA-256). Assumption: the hash algorithm used is collision-resistant and recorded with chain-of-custody.

  • Chain of custody (chain of possession): A chronological written record showing how evidence was collected, who handled it, when and why, where it was stored and how it was transferred. Draw the diagram: boxes in sequence labelled "Seizure (By whom, date/time, place, case ID) → Transport (By whom, date/time, packaging) → Storage (Location, access log) → Analysis (Lab, analyst name, date/time, tools, commands run) → Return/Presentation (Court exhibit number, date)". Each arrow should label evidence ID and hash at each stage.

  • Primary vs Secondary evidence: Primary evidence is the original document or original digital file; secondary evidence are copies, printouts or transcripts offered when original is unavailable. Assumption: courts prefer primary unless proper reasons justify secondary. For electronic records in India, Sections 65A/65B govern proof: a “computer output” that meets Section 65B(2) and is accompanied by a certificate under Section 65B(4) is admissible even without producing the original device; if the original device/media is produced and proved, the certificate may not be necessary.

  • Expert evidence: Opinion of a person with specialised knowledge (e.g., a forensic examiner). Define: experts may give opinion evidence where technical issues are beyond ordinary experience. Assumption: the court may test expert methods, qualifications, and assumptions. In India, Section 45A of the Evidence Act recognises the opinion of an Examiner of Electronic Evidence; Section 79A of the IT Act provides for Government-notified Examiners.

  • Standard of proof: In criminal cases the prosecution must prove guilt beyond reasonable doubt; in civil cases the party must prove on preponderance of probabilities (balance of probabilities). These are legal standards, not numerical thresholds.

  • Electronic evidence and statutory rules (India): Indian law treats electronic records specially. Under the Indian Evidence Act, 1872: Section 65A provides that the contents of electronic records may be proved in accordance with Section 65B; Section 65B(2) sets conditions for a “computer output” (printout, optical/magnetic copy), and Section 65B(4) requires a certificate identifying the record, describing the manner of production, and the device particulars, signed by a responsible person. The Supreme Court in Arjun Panditrao Khotkar (2020) held that a Section 65B(4) certificate is ordinarily mandatory when relying on a copy/computer output; if the original device is produced and proved, the certificate may not be required, and a missing certificate may be produced later if not initially available. Also note Section 45A (opinion of Examiner of Electronic Evidence) and IT Act, 2000 Section 79A (Government-notified Examiner); Section 22A (oral admissions as to contents of electronic records generally irrelevant) and Section 88A (no presumption as to the sender of an electronic message), and presumptions for secure electronic records/digital signatures under Section 85B.

  • Hearsay and exceptions: Hearsay is an out-of-court statement offered to prove the truth of the matter asserted; courts often exclude hearsay but allow exceptions (business records, public documents, dying declarations, and technical exceptions for electronic records under statute). Assumption: rules vary; statutory carve-outs matter for digital logs and automated records. Note in India: Section 22A restricts oral admissions about contents of electronic records, and Section 88A allows a limited presumption about the contents of an electronic message but no presumption about the identity of the sender.

  • Best evidence rule: The proposition that the court prefers the original evidence (original file, original log) when the contents are in dispute; secondary evidence requires proof of the original's unavailability.

  • Exact statements students should memorise for exam-style answers: "Admissibility of an electronic record in India requires proof of relevance, authentication (source/device), integrity (preservation with documented chain-of-custody), and compliance with Section 65B of the Indian Evidence Act — i.e., a certificate under Section 65B(4) when relying on a computer output/copy, unless the original device/media is produced and proved."

Formulas

Admissibility = Relevance + Authentication + Integrity + No statutory bar — meaning: all four elements are normally required together; if any missing the evidence may be excluded. (Unit: logical/boolean; applies when submitting physical or digital evidence.)

Integrity_proof = Hash_before ∥ Hash_after ∥ Signed_log — where Hash_before is the cryptographic checksum when seized, Hash_after is checksum at presentation, Signed_log is signed chain-of-custody entries. (Unit: checksums are unitless strings; applies when preserving digital files.)

Chain_of_custody = Seizure → Transfer(s) → Storage → Analysis → Presentation — each arrow is time-stamped, signed and logged. (Unit: timeline; applies always for evidence handling.)

Worked examples

Example 1 — Model answer (exam style): "Explain how to admit a WhatsApp message as evidence in an Indian criminal trial." Steps (write these as numbered in answer):

  1. State relevance: show the message relates to a fact in issue (who sent what, when).
  2. Authentication: prove the message came from the accused's device or account — methods: device seizure, account records from service provider, metadata (timestamp, sender ID), witness testimony (recipient/custodian). Cite that courts require demonstration of source. (Mention: if relying on provider records, supply preservation notice and certified copies.)
  3. Integrity: show an unbroken chain of custody from seizure to analysis. Record original file hash (e.g., SHA-256) on seizure; store image of device (forensic bitstream); keep access logs.
  4. Statutory compliance: if relying on a copy/printout/computer output, provide a certificate under Section 65B(4) of the Indian Evidence Act identifying the record, describing the manner of production and the device particulars, signed by a responsible person; if the original device is produced and proved, this may not be required. If the certificate cannot initially be obtained (e.g., from the service provider), seek its production later as permitted by Arjun Panditrao.
  5. If disputed, call a forensic expert to explain extraction method, tool versions, commands used, and to demonstrate non-alteration.
  6. Conclude: if the court is satisfied on relevance, authenticity, integrity and statutory requirements, the message is admissible.

Example 2 — Scenario answer (short): "A digital photograph is claimed to be manipulated. How to prove authenticity?" Answer steps:

  1. Obtain original image file and any copies; preserve them with hashes.
  2. Examine metadata (EXIF), camera serial or device identifiers, timestamps; extract using forensically sound tools.
  3. Check for inconsistencies: editing software markers, recompression artefacts, error-level analysis, mismatched lighting/shadows.
  4. Reconstruct acquisition chain: who took the photo, device used, how it was transferred.
  5. Present expert report explaining methods and results; produce raw files and tool logs to allow court testing.
  6. If manipulation shown, the weight of the photo is reduced; if authenticity is proven, the photo is strong evidence.

Example 3 — Long-answer model: "Discuss chain of custody: why it matters and how to document it." (Write 6–8 concise paragraphs in exam.) Key points: purpose (prevent tampering, verify integrity), what to record (who, when, where, why; unique evidence ID; packaging; hash; transport details), physical and digital controls (sealed containers, access logs, write-blockers, hashed disk images), remedial steps for breaks in chain (explain and document reasons; court may admit with caution), sample entry format (date/time, handler name, signature, condition of item, hash value, location). Conclude with a recommended diagram (see Key ideas) and emphasise that admissibility may remain possible even if chain has gaps — weight not automatic exclusion.

Common mistakes

  • Mixing up "admissibility" and "weight": admissible evidence can still be weak; weak evidence can still be admissible.
  • Relying on screenshots or copies without proving the original or a proper extraction method.
  • Not documenting tool versions, commands and timestamps — courts ask for reproducibility.
  • Quoting statutory section numbers or exact wording from law in answers without verifying current amendments (laws change).

For your exam

Question types you will see: short definitions, short notes (1–2 pages), long essay (2–4 pages), procedure/step lists, diagram-of-chain-of-custody, and problem scenarios requiring numbered steps. Full-marks answers must:

  • Define all legal terms used (admissibility, relevance, authentication, integrity, chain of custody).
  • State the procedural steps to collect and preserve evidence plainly and in order.
  • When asked about statutes or rules, mention the statute by name (e.g., Indian Evidence Act and relevant IT Act provisions) and state the practical requirements — do not quote section text unless you are sure of exact wording; if asked for section numbers, add them. Commonly cited in this topic: Indian Evidence Act, 1872 ss. 65A, 65B (esp. 65B(4)), 45A, 22A, 88A, 85B; IT Act, 2000 s. 79A; CrPC, 1973 s. 91.
  • For scenario questions, list actions in chronological order with who/when/why details and include the diagram described under Key ideas.

Quick check

  1. What three properties must often be proved to admit a digital file?
  2. What is the main purpose of the chain of custody?
  3. In criminal vs civil cases, what are the two main standards of proof called?

Answers: Relevance, Authentication (source), Integrity (and statutory compliance); To show who handled the evidence and prevent or detect tampering; Criminal = beyond reasonable doubt, Civil = preponderance of probabilities.

Notes for reviewer: I have avoided quoting exact statutory text. I have used the commonly taught logical definitions and practical steps for evidence handling. I state where I am unsure in the verify list and ask the reviewer to correct section numbers and sample statutory phrases if needed.

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

Stuck on something here?