When something goes wrong in a company's systems, such as a payment sent to a fake vendor, a former employee walking away with the customer list, or ransomware on the file server, two different jobs begin at the same time. One is incident response: contain the damage and get the business running. The other is digital forensics: find out exactly what happened, prove it, and produce evidence that can stand up with a regulator, an insurer, a court or the police.
Business owners often commission the second job without knowing what they are buying. This article walks through the forensic process step by step, so you can brief an investigator properly, judge their work, and avoid destroying the evidence before they arrive.
What is digital forensics in cyber security?
The US National Institute of Standards and Technology (NIST), in its guide on integrating forensic techniques into incident response (SP 800-86), describes digital forensics as the application of science to the identification, collection, examination and analysis of data while preserving the integrity of the information and maintaining a strict chain of custody. The two parts of that sentence are equally important. Finding the answer is only half of it. The other half is being able to show that the data you relied on was not changed along the way.
In India this matters directly, because under Section 63 of the Bharatiya Sakshya Adhiniyam, 2023, an electronic record tendered as evidence must be accompanied by a certificate in the format set out in the Act's Schedule. The Supreme Court, upholding that requirement in 2026, described the hash value disclosed in the certificate as an "electronic fingerprint" of the record. Forensic work done carelessly can leave you with findings you cannot use.
The investigation process, step by step
NIST describes four basic phases: collection, examination, analysis and reporting. In practice there is a step before all of them, which is identification and scoping. Here is what happens in each, and what you as the client should expect to see.
Step 1: Identification and scoping
The investigator works out what questions need answering and where the data that answers them lives. Good scoping questions:
- What is the suspected event, and when do we think it started?
- Which people, accounts, devices and cloud services are involved?
- What is the likely outcome: internal disciplinary action, an insurance claim, a police complaint, a civil suit, a regulator report?
- Are there legal deadlines, such as a CERT-In report or a customer contract notice?
- Who inside the company may be implicated, and so must be kept out of the investigation?
What you should get: a written scope and plan, the list of evidence sources, and an agreed set of questions. If an investigator starts imaging laptops without this, expect a large bill and an unfocused report.
Step 2: Acquisition (collection)
This is where evidence is captured in a forensically sound way. NIST notes that volatile data, such as memory contents and live network connections, is lost when a system is shut down, and that acquiring volatile data should often be given priority. Then non-volatile sources are duplicated and the originals secured. Typical sources:
| Source | How it is collected | What it can show |
|---|---|---|
| Laptops and servers | Full disk image through a write-blocker; memory capture if the machine is live | Files, deleted data, program execution, USB usage, browser history |
| Email (Microsoft 365, Google Workspace) | Mailbox export and audit logs from the admin console | Forwarding rules, logins from unusual locations, deleted mail |
| Firewall, VPN, proxy logs | Export with original timestamps | Data leaving the network, remote access sessions |
| Cloud apps and SaaS | Admin audit logs, API exports | Who downloaded or shared what, and when |
| Mobile phones | Logical or deeper extraction with consent or legal authority | Chats, call logs, locations, app data |
Each item is hashed at acquisition (SHA-256 is common), sealed or stored securely, and entered into a chain-of-custody log recording who collected it, when, where, and every later handover.
What you should get: an evidence register listing each item, its hash and its custody history.
Step 3: Examination
The examiner works on verified copies, never the originals. NIST describes examination as processing the collected data with a mix of automated and manual methods to extract the data of interest while preserving integrity. In practice: recovering deleted files, parsing email stores and chat databases, extracting browser history, decoding logs, and filtering millions of records down to the ones that matter for the questions in the scope.
Step 4: Analysis
Analysis turns extracted data into answers, using legally justifiable methods. This is where an experienced examiner earns their fee. The central output is usually a timeline: the first malicious email, the click, the login from a new IP address, the mailbox rule that hid replies, the change of bank details, the payment. Each event is tied to a specific source and can be checked by someone else.
Good analysis also tests alternative explanations. If an employee's account downloaded the file, was it the employee, someone using a shared password, or malware? A report that never considers alternatives is weaker in front of a court and less useful to you.
Step 5: Reporting
NIST's description of the reporting phase includes describing the actions taken, explaining how tools and procedures were chosen, identifying what else needs to be done, and recommending improvements. A useful forensic report for a business has:
- An executive summary in plain language: what happened, how, impact, and confidence level
- Scope, questions and the evidence examined
- Methods and tools, with versions, so the work can be reproduced
- Findings with a timeline, each tied to evidence references
- Limitations: what could not be determined and why
- Recommendations to close the gap that was exploited
- Annexures: evidence register, hashes, custody records
How incident response and forensics fit together
The tension is real. Responders want to wipe and restore quickly; examiners want everything left untouched. The practical answer is to capture first, then fix: isolate the affected machine from the network rather than switching it off, take images and log exports, then rebuild. For organisations covered by CERT-In's April 2022 directions, there is a further reason to be organised: specified incidents must be reported to CERT-In within six hours of noticing them, and logs of ICT systems must be kept for a rolling 180 days within India. Without those logs, forensic analysis often stops at "we cannot tell".
What you should do before the investigator arrives
- Do not switch off, reinstall or "clean" affected machines. Disconnect them from the network instead.
- Do not let anyone browse through the suspect's laptop or mailbox to "have a look".
- Stop automatic deletion: pause log rotation, mailbox retention clean-up and backup overwrites.
- Write down what you know, with times, and who has touched what.
- Keep the circle small, especially if an insider may be involved.
- Talk to your lawyer about privilege and about whether the matter is likely to go to the police.
How to choose a digital forensics provider
Ask these questions before you sign:
- How will you acquire and hash evidence, and will we receive the chain-of-custody records?
- Who will sign the expert part of the Section 63 certificate if this goes to court?
- Can another examiner reproduce your findings from your report?
- How do you handle personal data you come across that is outside the scope?
- What will the report contain, and when will we get an interim update?
Be wary of anyone who promises a particular conclusion before seeing the evidence. An investigator's job is to establish what happened, not to confirm what the client hopes.
How Cehpoint can help
Cehpoint's cyber crime investigation and digital forensics service covers the full process above for breaches, fraud and insider incidents, with evidence handled for admissibility. Published pricing for this service starts from Rs 29,999. If you need help containing an active attack at the same time, our managed SOC and incident response team can work alongside the investigation, and once the facts are clear, VAPT helps confirm the weaknesses have been closed.