Skip to content
Tutorials Center
My learning

Topics

Lesson 5 of 36 ยท Principles and Evidence Handling

Types of Digital Evidence and the Order of Volatility

Learn the main kinds of digital evidence (volatile, persistent, logs, metadata, cloud) and the order of volatility that tells you what to collect first at a live scene.

Not all evidence behaves the same way. A file on a powered-off disk may sit unchanged for years, while the list of network connections on a running machine can vanish in a second. Knowing the kinds of evidence, and how quickly each can be lost, tells you what to collect first. This idea, the order of volatility, is one of the oldest rules in the field and is written into guidance such as RFC 3227.

Kinds of digital evidence

  • User-created data: documents, spreadsheets, photos, emails, chat messages, notes.
  • System-created data: logs, configuration, registry entries, prefetch files, caches, browser history, thumbnails.
  • Metadata: data about data, such as timestamps, author, GPS coordinates in a photo, or file permissions.
  • Volatile data: RAM contents, running processes, open network connections, logged-in users, clipboard.
  • Network data: packet captures, flow records, DNS and proxy logs, firewall logs.
  • Cloud and remote data: audit logs, shared documents, mailbox contents, access tokens held by providers.
  • Residual data: deleted files, slack space, swap and hibernation files, unallocated space.

A given fact can often be seen in more than one place. The same login might appear in an operating-system log, a firewall log and a cloud provider's sign-in report. That redundancy is useful, because you can compare them.

Direct, circumstantial and best evidence

Lawyers also classify evidence by how it relates to a fact. Direct evidence proves a fact by itself (a video of an event). Circumstantial evidence supports an inference (a file was opened at a time when the user was logged in). Most digital evidence is circumstantial and needs corroboration. Courts also care about the best evidence rule: prefer the original or a faithful copy over a summary or printout, which is why a hashed image beats a screenshot.

The order of volatility

Volatile means "likely to change or vanish". Collect the most volatile sources first:

flowchart TD
    A["1. CPU registers and cache<br/>(nanoseconds)"] --> B["2. RAM: processes, connections,<br/>routing and ARP tables"]
    B --> C["3. Temporary files, swap space"]
    C --> D["4. Disk contents"]
    D --> E["5. Remote logs and monitoring data"]
    E --> F["6. Physical configuration and topology"]
    F --> G["7. Archival media, backups"]

Top to bottom: from "gone in seconds" to "stable for years". In practice you rarely capture CPU registers; RAM is the first realistic target.

In real incidents there are trade-offs. Pulling the power plug stops a running attack and preserves the disk exactly, but destroys RAM. Capturing RAM means running a tool on a live machine, which changes it slightly. The right choice depends on the case, and whichever you choose you write down the decision and the reason.

Powered on or powered off?

Situation Usual choice Why
Suspected active intrusion on a server Capture RAM and connections, then image Attacker tools may exist only in memory
A switched-off laptop in an office Leave it off, image the disk Powering on would change many files
A phone that is on Keep it powered, isolate from network Lock or encryption may return after restart
Full-disk encryption present and machine on Capture RAM before shutdown Keys may exist only in memory

Isolating a device from the network (airplane mode, Faraday bag, unplugging a cable) stops remote wipes and new data from arriving, without turning the device off.

Modelling decay

To feel why order matters, imagine each source has a "lifetime". The stand-in below ranks sources by lifetime and prints the sequence in which you should collect them.

Python Collect the shortest-lived evidence 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.

Metadata: small facts that matter

Many cases hinge on metadata. A photo can carry the camera model, the time it was taken and the GPS position. A document can carry the author, the last-saved-by name and the software version. Metadata can be edited, so treat it as a lead and corroborate it. Here is a made-up metadata record and a check for suspicious inconsistencies.

Python Spot an impossible metadata timeline

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.

Note the comment in the code: a modified-before-created pattern often means the file was copied (the copy gets a new creation time but keeps the old modification time), not forged. A finding like that is a reason to ask questions, not a conclusion.

Evidence admissibility basics

For evidence to be useful in a legal setting it generally must be relevant, authentic (it is what it claims to be), reliable (collected and processed with sound methods) and lawfully obtained. Digital evidence is easy to copy and edit, so authenticity depends on the records you keep: hashes, logs and custody forms, which come next in this chapter.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. According to the order of volatility, which should be collected first?

    RAM is lost when power goes off, so it comes before stable storage.
  2. 2. A laptop with full-disk encryption is running. Why capture RAM before shutting it down?

    Encryption keys can be present in memory while the volume is unlocked and are lost at shutdown.
  3. 3. A file's modified time is earlier than its created time. What is a common innocent cause?

    A copy receives a new creation time while retaining the original modification time.
  4. 4. Why isolate a phone from the network instead of powering it off?

    Isolation stops remote commands, while leaving the device on avoids losing volatile state or triggering re-lock.

Summary

  • Evidence includes user data, system data, metadata, volatile, network, cloud and residual data.
  • Most digital evidence is circumstantial and needs corroboration.
  • Collect in order of volatility: memory and connections, temporary data, disk, remote logs, archives.
  • Decide powered-on versus powered-off per case, and document the reasoning.
  • Metadata is a lead, not proof; it can be edited or explained by copying.

Next: Chain of custody