TL;DR
- Chain of custody is the documented, unbroken record of who collected, handled, transferred and stored each item of digital evidence, and it decides whether that evidence holds up with regulators, insurers and courts.
- Preserve before you remediate: capture volatile data first, image systems with verified hashes and place logs under legal hold before anyone reimages, restores or deletes.
- Treat evidence handling as a prepared capability, with a playbook, trained responders, forensic tooling and a retained partner agreed before a breach occurs.
When a breach is discovered, the first instinct inside most organisations is to stop the damage: isolate hosts, reset credentials, wipe infected machines and restore from backup. Those actions are necessary but done in the wrong order they destroy the evidence needed to understand what happened. Regulators expect fast, factual incident reports, with India’s CERT-In requiring specified incidents to be reported within six hours. Insurers often ask for forensic findings before paying claims, and litigation can follow months later.
Courts are also raising the bar: in 2026 India’s Supreme Court upheld Section 63(4) of the Bharatiya Sakshya Adhiniyam, which requires a certificate disclosing the hash value of electronic records tendered as evidence.
Chain of custody is the discipline that keeps digital evidence usable from the first minute of response to the final report.
What Is Chain of Custody in Digital Forensics?
Chain of custody in digital forensics is the chronological, documented record of every person and process that touched an item of evidence, from identification through collection, transfer, analysis and storage. It proves the evidence presented later is the same evidence collected, unaltered.
Digital evidence can be altered silently, often by the act of examining it: booting a disk or opening a file updates timestamp. It can also be copied perfectly, so investigators must prove that a working copy matches the original. A cryptographic hash, typically SHA-256, taken at acquisition and recomputed later provides that proof.
ISO/IEC 27037:2012 covers four stages: identification, collection, acquisition and preservation. ISO/IEC 27001:2022 control A.5.28 (Collection of evidence) expects documented procedures for them.
Why Evidence Preservation is Essential After a Breach?
Evidence preservation matters because every post-breach decision depends on facts: what was accessed, when, by whom and whether the attacker is still present.
The stakes fall into four areas:
- Regulatory reporting: GDPR Article 33, CERT-In Directions, US state breach laws and SEC disclosure rules all require factual statements about scope. CERT-In also requires ICT logs to be kept for a rolling 180 days.
- Legal admissibility: US Federal Rule of Evidence 902(14) lets copied data be authenticated by certification, usually through hash values. In India, Section 63 of the Bharatiya Sakshya Adhiniyam replaced Section 65B of the Evidence Act and requires the hash value on the certificate.
- Insurance and contracts: Cyber insurers and card brands often require independent forensic findings. For payment card breaches, a PCI Forensic Investigator (PFI) may need access to preserved systems and logs.
- Root cause and recovery: Evidence shows the entry point and persistence mechanisms, so remediation closes the real gap instead of the visible symptom.
NIST’s SP 800-61 Revision 3 (April 2025) places incident analysis and evidence handling inside the CSF 2.0 Respond function.
How Should Organisations Preserve Digital Evidence After a Breach?
Preserve the most volatile evidence first, acquire forensic copies with verified hashes, and secure logs before containment actions overwrite them. RFC 3227, the IETF evidence collection guideline, sets that order.
Follow the Order of Volatility
- Memory and live system state: running processes, network connections, sessions and encryption keys, all lost at power-off.
- Temporary and network data: ARP and routing tables, DNS cache, active firewall sessions.
- Disk: a bit-level forensic image of each affected drive, taken through a write blocker or a trusted acquisition tool.
- Logs and telemetry: SIEM, EDR, identity provider, firewall, VPN, email and cloud audit logs, exported before retention windows roll them over.
- Archives and backups: snapshots and backup sets that show the environment before compromise.
Acquire and Verify
- Use trusted external tools, never programs on the compromised system.
- Generate a SHA-256 hash at acquisition and record it immediately.
- Analyse working copies only; keep the original image sealed.
- Record every command run on a live system, with timestamps in UTC.
Preserve Cloud and SaaS Evidence
Cloud disks and logs can vanish when an instance is terminated or retention ends. Snapshot affected volumes, export control plane logs such as AWS CloudTrail or Azure Activity Logs, and extend Microsoft 365 or Google Workspace audit retention.
Store and Protect
Keep evidence on encrypted, write-once (WORM) storage, with access limited to named custodians and every retrieval logged. Our walkthrough of the first 72 hours after a ransomware attack shows where capture fits alongside containment.
What Should a Chain of Custody Record Include?
A chain of custody record should let an independent reviewer trace each evidence item from source to courtroom without gaps. At minimum, it should capture these fields:
| Field | What to Record |
| Evidence ID | Unique reference linked to the incident case number |
| Description | Device, image, log export or cloud snapshot, with make, model, serial or resource ID |
| Source and location | Hostname, IP address, cloud account and region, physical location |
| Acquisition details | Date and time (UTC), method, tool and version, collector’s name |
| Hash values | Algorithm and value at acquisition, plus each verification |
| Transfers | Every handover: from, to, date, time, purpose and signatures |
| Storage | Location, access controls and seal or container reference |
| Final disposition | Retention period, return, legal hold release or secure destruction |
Paper forms, case management systems and forensic platforms all work, provided the record is completed in real time and never reconstructed afterwards. Keep the template inside your incident response plan so responders use it under pressure.
What Are the Most Common Chain of Custody Mistakes?
The most damaging mistakes happen in the first hours, when teams prioritise restoring service and plan to collect evidence later.
- Reimaging or restoring before acquisition: Rebuilding a server from a golden image erases the attacker’s tools, persistence and timeline.
- Powering off without capturing memory: Fileless malware, injected processes and encryption keys often exist only in RAM.
- Hashing late, or not at all: A hash generated days after seizure cannot prove the evidence was unchanged in the interval.
- Letting logs expire: Default retention in SIEM, EDR and SaaS platforms varies by product and licence tier, and is often shorter than an investigation needs. Extend retention as soon as a breach is suspected.
- Informal transfers: Evidence emailed, shared through chat or carried on unlogged USB drives breaks the chain.
- Unclear ownership: When IT, security, legal and an external firm all handle evidence without a named custodian, gaps in the record appear.
Consider a hypothetical team that wipes and restores a ransomware-hit file server within hours. Weeks later, it cannot tell regulators whether data was exfiltrated, because that evidence lived on the server. Centralised log monitoring with protected retention reduces that dependency on any single host.
What Should Security Leaders Do Next?
Build evidence preservation into incident readiness now, so responders follow a tested procedure the moment a breach is confirmed.
- Write a forensic readiness procedure covering order of volatility, approved tools, hashing standards and evidence storage.
- Name evidence custodians and define how IT, security, legal and external investigators hand evidence to each other.
- Agree a legal hold process with counsel, including log retention extensions.
- Stage forensic tooling in advance: memory acquisition, disk imaging, write blockers and cloud snapshot runbooks.
- Retain a forensics and incident response partner before you need one.
- Rehearse the process in tabletop exercises and capture lessons learned.
Making Digital Evidence Defensible From the First Hour
A breach investigation is only as credible as the evidence behind it. Chain of custody turns raw logs, disk images and memory captures into findings that regulators, insurers, boards and courts can trust. Organisations that handle it well decide in advance what to capture, who owns it and how it is documented. Preservation in the first hour shapes every conclusion that follows.
Test whether your evidence would stand up after your next breach.
| Speak with Ampcus Cyber’s digital forensics team to review your incident response plan, assess forensic readiness and put a chain of custody process in place. |
People Also Ask
Should I shut down a compromised computer immediately?
Usually not before capturing memory. Isolate it from the network first, then acquire RAM and live system data. Pulling the power destroys running processes, network connections and encryption keys that may explain the attack.
What breaks chain of custody for digital evidence?
Any undocumented gap breaks it: an unrecorded transfer, analysis performed on the original, a missing hash or storage that others could access without a log entry. Each one gives the opposing side a reason to question integrity.
How long should digital evidence be kept after a breach?
Keep it until all legal, regulatory, insurance and contractual matters close, which can take years. Your counsel should set the retention period and confirm when a legal hold can be released.
Can screenshots be used as digital evidence?
Screenshots can support an investigation, but they are weak on their own because they lack metadata and are easy to alter. Preserve the underlying logs, files or system images, with hash values, wherever possible.
Do I need a hash value for electronic evidence in India?
Yes, for evidence tendered under the Bharatiya Sakshya Adhiniyam. Section 63(4) requires a certificate that discloses the record’s hash value, signed by the person in charge and by an expert. The Supreme Court upheld this requirement in 2026.
Who should collect digital evidence after a breach?
Trained responders following a documented procedure, ideally with an independent forensic firm where litigation, regulatory action or an insurance claim is likely. Independence strengthens the credibility of findings.
Enjoyed reading this blog? Stay updated with our latest exclusive content by following us on Twitter and LinkedIn.






