Lesson 2 of 2 Forensic Investigations

Evidence Handling and Forensic Reporting

Evidence that is mishandled may be worthless, however conclusive it seems. This lesson explains the first responder's role, triage and the order of volatility, forensic acquisition and hashing, chain of custody, preservation of the scene and how forensic analysis is reported.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the first responder's role.
  • Order evidence collection by volatility.
  • Explain forensic imaging, hashing and chain of custody.
  • Describe the contents of a forensic report.

What makes evidence useful

Digital evidence includes disk images, memory captures, log files, network captures, emails, mobile device contents and cloud records. To be useful, evidence should be authentic (it is what it claims to be), accurate and complete (not altered or selectively collected), convincing to the decision maker and admissible (collected lawfully and handled properly). Digital evidence is fragile: simply booting a computer or opening a file changes timestamps and other data.

The first responder and preservation of the scene

The first responder is the first trained person on the scene, often a security analyst or IT staff member. Their job is to preserve the scene: prevent further damage and changes, keep unauthorised people away, and document what they see before touching anything (photographs of screens and connections, notes of what is running, times). They should not browse files, run antivirus scans or shut systems down on impulse, because these actions destroy or alter evidence.

The first responder notifies the incident manager and, where required, trained forensic investigators, and follows the organisation's procedures, such as isolating a system from the network rather than powering it off. Physical evidence, such as removable media and devices, is secured and labelled.

Triage and the order of volatility

Triage in forensics decides what to collect first, given limited time and the risk of evidence disappearing. Collection follows the order of volatility, from the most volatile, which disappears first, to the least, as RFC 3227 describes.

  1. CPU registers and cache

    Change within nanoseconds; rarely collected outside specialised cases.

  2. Memory (RAM)

    Running processes, network connections, encryption keys and malware that exists only in memory; lost at power-off.

  3. Network state and running processes

    Active connections, routing and ARP tables, logged-in users.

  4. Temporary files and swap

    Overwritten as the system runs.

  5. Disk

    Persistent files, file system metadata and deleted file remnants.

  6. Remote logs and monitoring data

    Stored elsewhere but subject to rotation and retention.

  7. Archival media and backups

    The least volatile.

Put in order

Order of volatility

Exam skills 4.2.2

Put evidence sources in the order they should be collected, most volatile first.

Log in to try this activity Interactive activities are free with an account.

Acquisition, hashing and chain of custody

Investigators create a forensic image, a bit-for-bit copy of the storage, including unallocated space, using a write blocker that prevents any change to the original. They calculate a cryptographic hash (such as SHA-256) of the original and the image; matching hashes prove the copy is exact. Analysis is performed on working copies, never on the original, which is stored securely. Hashes are recalculated to show that evidence has not changed over time.

The chain of custody is the documented history of the evidence: what it is (with identifiers such as serial numbers and hashes), who collected it, when and where, and every transfer afterwards, with the date, time, people involved and purpose. Evidence is stored in sealed, labelled containers in a secure, access-controlled location. An undocumented gap, such as a drive left on a desk overnight, lets the opposing side argue that the evidence could have been altered.

The following diagram traces a laptop drive's chain of custody and the gap in it.

The weakness in a laptop drive's chain of custody. The analyst imaged the drive and recorded the hash, then handed it to a colleague without recording the transfer, and it sat in an unlocked drawer for a week. Matching image hashes help, but the undocumented transfer and insecure storage let the defence argue the drive could have been altered.
The scenario is illustrative.
True or false

Handling evidence

Exam skills 4.2.2

Check facts about acquiring and handling digital evidence.

Log in to try this activity Interactive activities are free with an account.

Reporting of analysis

A forensic report presents the investigation's findings. It typically includes the scope and authorisation, the evidence examined with its identifiers and hashes, the tools and methods used (with versions), the findings with supporting evidence, the timeline of events and the conclusions. It separates facts (what the evidence shows) from opinions (the examiner's interpretation), and it is written so that another qualified examiner could reproduce the results from the same evidence.

Reports are tailored to their readers: an executive summary for management and lawyers, technical detail in appendices. Examiners may have to testify, so they keep contemporaneous notes and must be able to explain and defend their methods. The following table summarises the main evidence-handling rules.

RuleReason
Preserve the scene and document before actingActions change evidence
Collect in order of volatilityVolatile evidence disappears first
Use write blockers and hash originals and copiesProve that evidence is unchanged
Analyse working copies onlyKeep the original intact
Record every transfer in the chain of custodyProve evidence was not tampered with
Separate facts from opinions in the reportAllow others to evaluate conclusions
Worked example

What to collect first

A server is suspected of running fileless malware that communicates with an attacker. It is still running. In what order should evidence be collected?

Following the order of volatility: capture memory first, because fileless malware may exist only there; record network connections and running processes; then image the disk; then gather remote logs, such as firewall and proxy logs of the server's connections. Powering off first would lose the most important evidence.

Worked example

A gap in custody

An analyst images a laptop drive, records the hash and gives the drive to a colleague, who keeps it in an unlocked drawer for a week without recording the handover. At a tribunal, the employee's lawyer challenges the evidence. What is the weakness?

The chain of custody has an undocumented transfer and a period of insecure storage, so the lawyer can argue the drive might have been altered. Matching hashes of the image help show the analysed copy is unchanged, but the gap still undermines confidence. Every transfer should be recorded and evidence stored securely.

Check yourself

Why is a write blocker used when imaging a drive?

Show answer

It prevents any data being written to the original drive during acquisition, so the evidence remains unchanged and its hash matches.

Exam Tips

Remember for the exam

  • Collect volatile evidence first: memory before disk.
  • Hash originals and images; analyse copies; use write blockers.
  • Every transfer is recorded in the chain of custody.