What Is Digital Forensics Investigation? Process and Indian Law
Digital forensics is the identification, collection, examination, analysis and reporting of digital evidence so that it survives challenge. Work from a verified copy and never the original, collect volatile data in order of how fast it disappears, and document custody as you go.
Topic: Incident Response & Digital Forensics in Cybersecurity & Ethical Hacking · Explainer
Quick answer: Digital forensics is the identification, collection, examination, analysis and reporting of digital evidence so that it survives challenge. Work from a verified copy and never the original, collect volatile data in order of how fast it disappears, and document custody as you go. In India the law changed on 1 July 2024: the Bharatiya Sakshya Adhiniyam now governs electronic records, and its Schedule requires a certificate in two parts, one from the party and one from an expert. Separately, CERT-In requires organisations to keep ICT logs for a rolling 180 days, which is often what decides whether an investigation is possible at all.
Key takeaways
- Findings must withstand scrutiny. An analyst who learns exactly what happened but cannot show the evidence was unaltered has produced an opinion.
- NIST's order for collecting volatile data puts network connections and login sessions ahead of memory contents, which is not where most people start.
- Indian electronic evidence has needed a certificate since long before 2024, and the Supreme Court held in 2020 that it is mandatory and cannot be replaced by oral evidence.
- CERT-In requires logs of all ICT systems for a rolling 180 days, kept within Indian jurisdiction, and clocks synchronised to NIC or NPL time servers.
- Confirmation bias does more damage than any technical mistake, because artefacts usually support more than one explanation.
Topics covered in this guide: digital forensics investigation, the NIST forensic process, order of volatility, chain of custody, evidence types, timeline analysis, Indian electronic evidence law, CERT-In log and clock requirements, tools, and how to enter the field.
Table of Contents
- What Is Digital Forensics?
- What Are the Phases of an Investigation?
- Why Is Evidence Acquisition So Strict?
- In What Order Should Volatile Data Be Collected?
- What Is Chain of Custody?
- What Types of Evidence Are Examined?
- What Does Analysis Actually Involve?
- What Does Indian Law Require of Electronic Evidence?
- What Does CERT-In Require of Organisations?
- What Tools Are Used?
- How Does Forensics Relate to Incident Response?
- How Do You Enter the Field?
- What Are the Most Common Mistakes?
- References
What Is Digital Forensics?
Digital forensics is the identification, preservation, analysis and reporting of digital evidence in a way that maintains its integrity and admissibility. It applies to criminal investigations, corporate disputes, incident response and regulatory matters.
The defining constraint is that findings must withstand scrutiny. An analyst who discovers exactly what happened but cannot demonstrate that the evidence was unaltered has produced an opinion rather than evidence.
What Are the Phases of an Investigation?
The reference model most reports are written against is NIST Special Publication 800-86, which sets out four phases. It was published in August 2006, and the phase model has outlasted everything else in it.
| Phase | What it is | Failure if skipped |
|---|---|---|
| Collection | Acquiring the data while preserving its integrity, done promptly because dynamic data is being lost | Evidence changes or disappears before capture |
| Examination | Processing large amounts of collected data, by automated and manual methods, to extract what is of interest | Relevant material never surfaces |
| Analysis | Interpreting the examination results "using legally justifiable methods and techniques" to answer the question that prompted the investigation | Conclusions without support |
| Reporting | Setting out the findings, the actions used, and why those tools and procedures were chosen | Findings cannot be used |
Two things in that model get skipped in practice and should not be. Examination is a separate phase from analysis, which is what stops an analyst from interpreting a dataset they have not actually processed. And reporting explicitly includes "explaining how tools and procedures were selected", which is the part that survives cross-examination.
Why Is Evidence Acquisition So Strict?
Because digital evidence changes easily. Starting a computer modifies timestamps and system state, so analysts work from verified copies rather than originals and use write-blocking so the source cannot be altered during acquisition.
Cryptographic hashing is what makes this demonstrable. A hash taken at acquisition and recomputed later shows the copy has not changed, which converts an assertion into something a third party can check for themselves.
This is why the instruction during an incident is to preserve rather than investigate. Well-meaning staff who examine a suspect machine themselves frequently destroy the evidence they were trying to find.
In What Order Should Volatile Data Be Collected?
NIST defines volatile data as "data on a live system that is lost after a computer is powered down or due to the passage of time", and gives a recommended collection order, from first to last:
- Network connections
- Login sessions
- Contents of memory
- Running processes
- Open files
- Network configuration
- Operating system time
That order surprises people, because memory capture gets most of the attention and sits third. The logic is how fast each thing changes rather than how valuable it is: an established TCP connection can vanish in seconds, while network configuration is comparatively stable and can wait. Operating system time is last on the list and still worth recording, because a clock that is wrong by an hour quietly corrupts every correlation you later draw between this machine and another.
What Is Chain of Custody?
Chain of custody is an unbroken documented record of who handled evidence, when, and for what purpose, from collection through analysis to storage. Gaps in that record can render otherwise sound evidence unusable.
The record must be contemporaneous. Reconstructing custody afterwards from memory is exactly the weakness an opposing party looks for, and it undermines findings regardless of their technical accuracy.
What Types of Evidence Are Examined?
Common sources include disk images, memory captures, log files, network traffic, mobile device extractions, cloud service records and removable media. Cloud and mobile sources increasingly matter more than traditional desktop drives.
- Disk images - files, deleted data remnants, file system metadata
- Memory captures - running processes, credentials, encryption keys, network state
- Logs - system, application, authentication and network activity
- Network traffic - where captured, showing what actually left
- Mobile extractions - messages, location history, application data
- Cloud records - obtained through the provider by legal process
Memory deserves emphasis because powering off destroys it permanently, which is why isolation is usually preferable to shutdown during incident response. Mobile evidence is its own discipline, and our guide to mobile application security covers what an app leaves on a device and where it stores it.
What Does Analysis Actually Involve?
Analysis builds a timeline from artefacts across sources, correlating file activity, log entries, network connections and user actions to establish what happened, when, and in what order. The output is a reconstructed sequence supported by specific evidence.
Timeline construction is the core technique. Individual artefacts are ambiguous. A sequence showing a document opened, a script executed, a connection made and data written tells a coherent story that no single artefact conveys.
Timelines are also where clock accuracy stops being pedantry. Correlating a firewall log against an endpoint log against an authentication log assumes all three agree on what time it was, and in India that assumption is backed by a direction, as the CERT-In section below sets out.
What Does Indian Law Require of Electronic Evidence?
This is the part of the subject that general guides leave out, and it decides whether a report is usable in an Indian court.
The Indian Evidence Act, 1872 was repealed and replaced by the Bharatiya Sakshya Adhiniyam, 2023, with effect from 1 July 2024. The provisions on electronic records were renumbered rather than abandoned. In the words of a Government of India training document on the new Act: "Section 65-A of the repealed legislation is now contained in Section 62 and Section 65-B is now contained in section 63 of the Adhiniyam. Moreover, Section 65B (5)(b) of the repealed legislation has been omitted in the Adhiniyam."
The certificate that accompanied electronic records under section 65B still exists, and its form is now prescribed. The same document records that "a new Schedule containing certificate as Part-A and Part-B to be filed by the party and the expert respectively to authenticate the electronic record/output of the digital record have been annexed".
Three practical consequences follow for anyone producing a forensic report in India.
- The certificate is not optional. In Arjun Panditrao Khotkar v. Kailash Kushanrao Gorantyal, decided on 14 July 2020, the Supreme Court held that the certificate was a condition precedent to admissibility, that oral evidence could not take its place, affirmed Anvar P.V. v. P.K. Basheer and overruled Shafhi Mohammad. That line of authority is what the Schedule now gives a form to.
- Part B needs an expert. The Schedule splits the certificate between the party and an expert, so a report written without anyone who can sign Part B is incomplete as a matter of procedure, whatever its technical quality.
- The old certificate format is not the new one. A template carried over from section 65B practice does not satisfy a Schedule that asks for two parts.
Read section 63 and the Schedule in the Act itself before relying on either. This article is general information and not legal advice, and the certificate is exactly the point on which a careful practitioner reads the primary text rather than a summary.
In corporate investigations, examining an employee's device typically requires clear policy, a legitimate purpose and often notification. Assuming that owning the hardware confers unlimited examination rights is a common and consequential error.
What Does CERT-In Require of Organisations?
Three of the CERT-In directions of 28 April 2022, issued under section 70B(6) of the IT Act, decide whether an investigation is even possible. They took effect 60 days after issue.
| Requirement | Why it matters to an investigation | Direction |
|---|---|---|
| Logs of all ICT systems enabled and kept securely for a rolling 180 days, within Indian jurisdiction | Sets the window an investigation can reach back into; outside it, the evidence simply is not there | (iv) |
| Clocks synchronised to the NTP servers of NIC or NPL, or servers traceable to them | Makes cross-source timeline correlation defensible rather than assumed | (i) |
| Listed incidents reported within 6 hours of noticing them | Compresses the decision between containing and preserving into the first hours | (ii) |
The log retention direction is the one that most often settles a case before an analyst arrives. An organisation that has kept 30 days of logs cannot investigate an intrusion that began 90 days ago, and no technique recovers what was never retained. Direction (iv) also requires that the logs "be provided to CERT-In along with reporting of any incident or when ordered / directed by CERT-In", so they are not only an internal asset.
The clock direction looks like housekeeping and is the quiet foundation of the analysis phase. Entities with infrastructure in several geographies may use another accurate time source, provided "their time source shall not deviate from NPL and NIC".
If the incident involves money taken from an individual, the reporting route is separate and fast. Our guides to filing a cyber crime complaint in India and to carding and card fraud cover the deadlines that bind the victim rather than the organisation.
What Tools Are Used?
Analysts use forensic imaging tools, write blockers, disk and memory analysis suites, mobile extraction tools, log analysis platforms and hashing utilities. Tool validation matters, because findings may be challenged on whether the tool behaves as claimed.
Documenting which tool and version produced a finding is standard practice, precisely so results can be reproduced independently. An unrecorded tool version is a weakness in an otherwise sound report, and it is the reason NIST's reporting phase includes explaining how tools were selected. Our walkthroughs of Autopsy for web history recovery and Wireshark packet analysis cover two of them in practice.
How Does Forensics Relate to Incident Response?
Incident response prioritises containment and restoring operations, while forensics prioritises understanding and evidence. The two frequently conflict, because the fastest way to recover often destroys exactly what an investigation needs.
Deciding in advance which takes precedence for a given scenario avoids that conflict being resolved badly under pressure. Organisations that have never had the conversation tend to wipe and rebuild, then discover afterwards that they needed to know what was taken. The six-hour reporting direction makes that conversation more urgent, because the decision now has to be made while a clock is running. Our guide to incident response in digital forensics covers how the two fit together, and how to prepare for incident response covers the preparation side.
How Do You Enter the Field?
Build operating system and file system fundamentals, learn evidence handling discipline, practise on publicly available forensic datasets, document your analyses as though they were real reports, and enter through incident response, SOC or IT roles.
- Fundamentals first - file systems, operating system internals, networking
- Practice datasets - publicly published images designed for training
- Write real reports - the documentation is half the discipline
- Entry roles - SOC, incident response or IT support build the context
- Legal awareness - in India, what section 63 and the Schedule require of a report you may have to certify
The last point is worth taking seriously early, because it is the thing that distinguishes a competent analyst from one whose work can be used. Our CHFI and cyber forensics interview questions and VAPT forensics interview questions cover what is asked, and SOC analyst skills and qualifications covers the usual way in.
What Are the Most Common Mistakes?
- Working on the original - every action alters it and cannot be undone
- Powering off too soon - memory evidence is destroyed permanently
- Collecting in the wrong order - losing network connections and sessions while imaging a disk
- Gaps in documentation - reconstructed custody records are the first thing challenged
- Unsynchronised clocks - a timeline built across sources that disagree about the time
- Confirmation bias - deciding what happened, then reading evidence to support it
- Overstating certainty - claiming more than the artefacts actually establish
Confirmation bias is the subtlest and most damaging. Digital artefacts frequently support several interpretations, and an analyst committed to one explanation early tends to stop looking for the others.
The professional discipline is stating what the evidence shows, what it does not show, and which alternative explanations remain open. A report that acknowledges uncertainty is more credible than one that does not, and it is also the report that holds together when somebody signs Part B of the certificate.
Talk to a WebAsha training advisor about batches, syllabus and current fees.
References
- NIST Special Publication 800-86, Guide to Integrating Forensic Techniques into Incident Response, August 2006
- CERT-In directions under section 70B(6) of the IT Act, No. 20(3)/2022-CERT-In, 28 April 2022
- The Bharatiya Sakshya Adhiniyam, 2023, Act No. 47 of 2023, in force from 1 July 2024
- Indian Computer Emergency Response Team (CERT-In)
- Ministry of Electronics and Information Technology
Related reading
Frequently Asked Questions
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0