Skip to content
Tutorials Center
My learning

Topics

Lesson 2 of 36 ยท Getting Started

The Forensic Process and Its Branches

Walk through the phases of a digital forensic investigation (identify, preserve, collect, examine, analyse, report) and the main branches: computer, mobile, network, memory and cloud forensics.

Every investigation, however small, follows a rhythm. You decide what might hold evidence, protect it, copy it, look at the copy, make sense of what you find, and explain it. Different standards name the steps slightly differently (NIST, ISO/IEC 27037, the older DFRWS model), but they agree on the idea. Knowing the sequence keeps you from the classic mistakes: jumping into analysis before the evidence is safe, or finishing analysis with nothing written down.

This lesson gives you the map for the rest of the course, plus a tour of the branches of the field, because each branch has its own sources of evidence and its own tools.

The phases

The forensic process

Identify What devices and accounts may matter?
Preserve Stop changes to the evidence
Collect Make verified copies
Examine Extract data from the copy

First half: get the evidence safely

1 / 2

1. Identification

You work out the scope: which computers, phones, cloud accounts, network devices and logs could contain relevant data, and who has legal authority to let you examine them. Write the questions you must answer. A narrow, clear question ("Did account X copy files to an external drive in March?") makes a better investigation than "look for anything suspicious".

2. Preservation

Stop the evidence from changing or disappearing. This can mean isolating a machine from the network, seizing a device, asking a provider to keep logs, or capturing volatile data first (see the order of volatility). Start the chain of custody log here.

3. Collection

Make forensically sound copies, usually a bit-for-bit image of storage with a hash to prove it matches (imaging). Collect memory and logs when they are relevant and perishable.

4. Examination

Use tools to pull data out of the copies: file listings, deleted files, registry entries, chat databases, browser history. You are still not drawing conclusions, only making the data readable.

5. Analysis

Correlate artifacts, check them against each other and against your questions. Build timelines and test alternative explanations. Where evidence is missing, say so.

6. Reporting and presentation

Write down what you did, what you found and what it means, in language the reader understands. Anyone with the same data and your notes should be able to repeat the work.

The process as a flow

flowchart LR
    A["Identify"] --> B["Preserve"]
    B --> C["Collect"]
    C --> D["Examine"]
    D --> E["Analyse"]
    E --> F["Report"]
    E -. "new question" .-> A
    D -. "need more data" .-> C

Real cases loop: analysis raises new questions that send you back to collect more evidence.

Branches of digital forensics

Branch Typical sources Typical questions
Computer (disk) forensics Hard drives, SSDs, USB sticks Which files existed, were deleted, were copied?
Memory (live) forensics RAM dumps Which processes and connections were active?
Network forensics Packet captures, flow logs, proxies Who talked to whom, what was sent?
Mobile forensics Phones, tablets, SIM cards Calls, messages, locations, app data
Cloud forensics Provider logs, storage, SaaS audit trails Who accessed which resource and from where?
Email and web forensics Mail headers, browser history Where did a message really come from?
Malware analysis Suspicious files What does this sample do? (done safely in labs)
Database forensics Transaction logs, tables Which records changed, when?

Chapters 3 to 6 of this course visit the first five in turn.

Writing the process down

A simple habit that makes every case better: keep a case log from minute one. The stand-in below models a tiny case log as a list of timestamped actions and prints it in order. It uses fixed times so the output is predictable.

Python A minimal case log

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The last line points out that no report has been written yet. A case is not finished until it is.

Scope, priorities and triage

You rarely have time to image everything. Triage means ranking evidence sources by how likely they are to answer your questions and how likely they are to disappear. Running systems come before powered-off ones, volatile data before disks, and logs that rotate every few days before archives that sit for years. The next program ranks sources with a simple score. It is a teaching model, not a real formula.

Python Triage: what do we collect first?

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which phase makes verified copies of the evidence?

    Collection is where bit-for-bit images and hashes are produced; analysis then works on the copies.
  2. 2. Why is the chain of custody started during preservation?

    Gaps in the record of who held the evidence weaken it, so logging begins when you secure it.
  3. 3. A server is running and a disk is powered off. Which should usually be collected first?

    Volatile data such as RAM disappears when power is lost, so it is captured before stable storage.
  4. 4. Which branch focuses on packet captures and flow logs?

    Network forensics studies traffic and the logs of network devices.

Summary

  • The core process is identify, preserve, collect, examine, analyse, report, and real cases loop back.
  • Preserve first, copy second, analyse only the copy.
  • Branches (disk, memory, network, mobile, cloud and more) differ in sources, but share the same principles.
  • Triage ranks evidence by relevance and by how fast it could vanish.
  • A case log started at the beginning makes the final report far easier.

Next: Forensic toolkit and lab setup