knowledge

Overview

Digital forensics applies systematic methods and procedures to investigate and solve cyber crimes. It aims to collect, analyze, and report evidence while preserving the integrity of the original data. The National Institute of Standards and Technology (NIST) defines general processes and frameworks for digital forensics cases across technology domains.


Terminology

TermDefinition
Chain of CustodyFormal documentation tracking evidence from collection through presentation
Write BlockerHardware or software device preventing modification of source evidence
Forensic ImageBit-by-bit copy of a storage device or memory preserving all data
Disk ImageNon-volatile forensic copy of a storage device (HDD, SSD)
Memory ImageVolatile forensic copy of RAM contents; must be collected before shutdown
EXIF DataMetadata embedded in image files (camera, location, timestamp, etc.)
NISTNational Institute of Standards and Technology; defines digital forensics frameworks

Core Concepts

The Four Phases of Digital Forensics

4 Phases of Digital Forensics

PhaseDescription
CollectionIdentify all devices; collect data without tampering with originals
ExaminationFilter and process large data volumes to isolate relevant information
AnalysisCorrelate evidence from multiple sources; reconstruct chronological activity
ReportingDocument methodologies, findings, and recommendations in a formal report

Types of Digital Forensics

Types of Digital Forensics

TypeFocus
Computer ForensicsComputers and storage devices
Mobile ForensicsMobile devices — call records, messages, GPS data
Network ForensicsNetwork traffic logs and communications
Database ForensicsDatabase intrusions, data modification, or exfiltration
Cloud ForensicsData stored on cloud infrastructure
Email ForensicsPhishing campaigns and fraudulent email activity

Evidence Acquisition

Evidence must be collected securely without modifying the original data.

Proper Authorization

  • Obtain permission from relevant authorities before collecting evidence
  • Forensic evidence may contain sensitive organizational or personal data

Chain of Custody

Formal documentation maintained throughout the investigation.

Required details:

  • Description of evidence (name, type)
  • Collector identity
  • Date and time of collection
  • Storage location
  • Access times and accessors

Sample CoC form: https://www.nist.gov/document/sample-chain-custody-formdocx

Write Blockers

  • Prevents any modification to source drives during imaging
  • Ensures timestamps and files remain unaltered during collection

Forensic Imaging

Image TypeSourceData Type
Disk ImageHDD, SSDNon-volatile; persists without power
Memory ImageRAMVolatile; must be collected before shutdown

Quick Reference — Metadata Commands

CommandPurposeInstall
pdfinfo <file>Display metadata of PDF filessudo apt install poppler-utils
exiftool <file>Read EXIF metadata from image filessudo apt install libimage-exiftool-perl


References / Images