Knowledge / Forensic Science / Digital forensics

Digital forensics

Forensic Science (B.Sc) · Digital and behavioural · free study notes for exams, placements and interviews

In short

Digital forensics is the scientific identification, seizure, preservation, acquisition, examination, analysis and presentation of data held in electronic devices, so that it is admissible as evidence in a court of law. It covers computers, mobile phones, servers, cloud accounts, CCTV/DVRs, drones, vehicle infotainment units and IoT devices, and is now part of almost every serious criminal investigation in India — financial fraud, cyberstalking, murder (call records and location), narcotics (chat apps) and terror cases. B.Sc Forensic Science syllabi examine it under electronic evidence, the Bharatiya Sakshya Adhiniyam, 2023 and the Information Technology Act, 2000, and it is the single most employable specialisation in the stream. Employers include the CFSLs and State FSLs, CBI, NIA, State Cyber Crime cells, C-DAC Thiruvananthapuram, NCRB, and private firms such as Deloitte, EY, KPMG, PwC Forensic, Lucideus/SAFE Security, eSec Forensics and CDR-analysis units of banks.

Explained

Definitions, principles and branches

How data is stored, deleted and recovered

The forensic process, step by step

  1. Preparation and authorisation: search warrant / seizure authority under the Bharatiya Nagarik Suraksha Sanhita, 2023 (BNSS, in force 1 July 2024), Section 91/94-type production orders, and Section 69/69B IT Act for interception or monitoring. Carry Faraday bags, write blockers, sterile target media, labels, forms.
  2. 2. Identification and on-scene triage: photograph the scene and screens, record the state (on/off), note running programs, cables, serial numbers, IMEI, network connections, and look for passwords on notes and whiteboards.
  3. 3. Seizure: if ON and volatile data matters — capture RAM first, then decide. If OFF — leave it off. Pull the power plug at the back for desktops (avoids graceful shutdown scripts); for laptops remove battery/long-press only after RAM capture; for mobiles use airplane mode plus a Faraday bag to stop remote wipe, and keep the phone charged.
  4. 4. Documentation and chain of custody: unbroken record of who handled the item, when, why and what was done — Form 1/seizure memo, tamper-proof evidence bags with unique numbers, Malkhana entry. A break in the chain is the commonest ground of challenge in Indian courts.
  5. 5. Acquisition (imaging): create a bit-stream image through a hardware write blocker (Tableau, CRU WiebeTech) or software blocker, to E01/Ex01, AFF4, or raw dd format. Types: physical (every sector, including unallocated), logical (selected files/volumes), sparse/targeted, live.
  6. 6. Verification: compute MD5 and SHA-256 hashes of the source and of the image; they must match. Re-verify at every handover; the hash is the digital equivalent of a tamper seal.
  7. 7. Examination and analysis: keyword and regex search, timeline building, registry and log analysis, link-file/LNK, prefetch, shellbags, browser history, recycle bin ($I/$R), email headers, EXIF, deleted-file recovery, carving, hash-set filtering (NSRL known-good set), password cracking/decryption, malware triage.
  8. 8. Reconstruction and interpretation: place actions on a single timeline (in IST, after noting the device's time zone and clock skew) and attribute them to a user account — not to a person; attribution to a human needs corroboration.
  9. 9. Reporting and testimony: factual, reproducible report with tool names and versions, hash values, method, findings and limitations — plus the certificate under Section 63(4) of the Bharatiya Sakshya Adhiniyam, 2023 (the provision that replaced Section 65B of the Evidence Act). Expert evidence is given under Section 39 BSA.

Mobile, network, cloud and multimedia forensics

Indian law, standards and institutions

Anti-forensics, limitations and quality assurance

Key points

Formulas and examples

Storage capacity = number of sectors × bytes per sector (1 KiB = 1,024 B; 1 MiB = 1,024 KiB; 1 GiB = 1,024 MiB; 1 TiB = 1,024 GiB)
Disk/vendor capacity uses decimal: 1 TB = 10¹² bytes, so 1 TB ≈ 0.9095 TiB
Imaging time t = image size / sustained transfer rate (size in MB or GB; rate in MB/s; t in seconds)
File slack = (clusters used × cluster size) − logical file size; clusters used = ceil(file size / cluster size)
Hash output length: MD5 = 128 bits = 32 hex characters; SHA-1 = 160 bits = 40 hex; SHA-256 = 256 bits = 64 hex
Number of distinct hash values = 2n for an n-bit hash (MD5 = 2¹²⁸)
Brute-force keyspace combinations C = SL (S = symbol-set size, L = password length); time = C / (guesses per second)
Video storage per camera = bitrate (Mbps) × 3,600 × hours / 8 → MB; retention days = total storage / daily storage

Example 1 — sectors and capacity. A seized drive reports 1,953,525,168 sectors of 512 bytes.

Example 2 — imaging time and sterile media. The same 1 TB drive is imaged raw over USB 3.0 at a sustained 120 MB/s.

Example 3 — file slack. Cluster size 4,096 B; a recovered document is 9,500 B.

Example 4 — hash verification outcome. Source SHA-256 = 3f2a…b71c; image SHA-256 computed after acquisition = the same 64 hex characters → image is a true copy. Six months later, re-hashing the image gives a value differing in one character.

Example 5 — password keyspace. A VeraCrypt container is protected by an 8-character password from lowercase letters plus digits (S = 36).

AspectPhysical acquisitionLogical acquisition
What is copiedEvery sector, allocated and unallocatedOnly live files/folders chosen
Deleted dataRecoverable (carving possible)Generally not recoverable
Size and timeFull drive size; slowSmall; fast
When usedDefault for disks, HDDs, feature phonesEncrypted phones, servers that cannot be stopped, huge RAID/cloud
HashOutputStatus for forensic use
MD5128 bit, 32 hexCollision-broken for signatures, still widely used for integrity; pair it with SHA-256
SHA-1160 bit, 40 hexDeprecated; avoid alone
SHA-256256 bit, 64 hexCurrent recommended standard
Old provisionCurrent provision (from 1 July 2024)
Indian Evidence Act, 1872 s.65B certificateBharatiya Sakshya Adhiniyam, 2023 s.63(4) certificate
Evidence Act s.45 expert opinionBSA s.39
CrPC, 1973 search and seizureBNSS, 2023 (with audio-video recording of seizure)

Where it is used

Interview questions

Common mistakes

Related topics

Cyber crime · Forensic psychology · Questioned documents and handwriting examination · Fingerprint and biometric identification · Crime scene management and evidence collection · Criminal law and the Bharatiya Nyaya Sanhita.

Open in the Knowledge reader →Find jobs →