Professor Franklin
Accessibility settings

Preferences are saved in this browser when storage is available.

Getting Started

Chapter 3 · Reading 1 of 3

Order of volatility and live collection

CHFI domains 1, 2, 3, 4, 6 · GCFE: Evidence collection for forensic triage

The examiner reaches the Ridgeway Water Authority billing office at 09:50. The workstation is running, the desktop is unlocked and a file-transfer window shows a progress bar at 100 percent. At 10:00 the maintenance crew will cut the power to the floor. In ten minutes, everything that lives only in memory will be gone. What should be collected first, and what must be left alone?

Collect in order of volatility

Volatility describes how quickly evidence changes or disappears. RFC 3227, the Internet Engineering Task Force’s guidelines for evidence collection and archiving, lists sources from most to least volatile and advises collecting in that order.

Figure 1. The order of volatility from RFC 3227Top to bottom, from evidence that vanishes in nanoseconds to evidence that lasts for years.
  1. Registers and cacheChange constantly. Rarely collectible in practice.
  2. Routing table, ARP cache, process table, kernel statistics, memoryLost at power off. Captured with a memory image and live commands.
  3. Temporary file systemsCleared at reboot or by the system.
  4. DiskPersists, but the running system keeps changing it.
  5. Remote logging and monitoring dataHeld elsewhere, subject to rotation.
  6. Physical configuration and network topologyChanges slowly.
  7. Archival mediaBackups and tapes. Least volatile.

At Ridgeway, the most valuable volatile evidence is memory. It holds the running processes, open network connections, the contents of the transfer window, any decrypted data and possibly the credentials the transfer tool used. A memory image captures most of the second row at once. Commands that record network connections and the ARP cache can follow, but every command run on the live system adds a little to the evidence the examiner is trying to collect.

Secure and record the scene first

Before touching the keyboard, the examiner secures the area so nobody else uses the computer, then documents the scene. Photograph the screen, the workstation, its cables and any attached devices, and write down what is visible: the time on the screen, the open windows, the logged-in user. Note anything unusual, such as a USB drive or a sticky note with a password. Moving the mouse to stop a screen saver is a change and goes in the notes, with the time.

A search and seizure must stay within the authority from Chapter 2. Label each item where it is found, photograph it in place, then bag and tag it. Treat physical safety as part of the scene. Check for exposed wiring before reaching behind a desk, and never pull a server out of a rack alone.

Live or offline collection?

Live collection gathers evidence while the system runs. It is the only way to obtain memory, current network state and data that is decrypted only while a user is logged in, such as the contents of a BitLocker or FileVault volume. Its cost is that every action changes the system. Offline (dead) collection images storage after the system is powered off. It changes nothing on the media when done through a write blocker, but it loses everything volatile.

Figure 2. Choosing a collection approach at Ridgeway
Collect live when
  • Memory or network state may answer the question.
  • The disk is encrypted and currently unlocked.
  • The system cannot be taken down, such as a production server.
Power down and image when
  • Volatile evidence has been captured or is not needed.
  • Malware might be destructive and triggered by activity.
  • Power is about to be lost anyway, as it is here.

How to power down is its own decision. Pulling the plug preserves the disk exactly as it was at that instant but can lose unwritten data. A normal shutdown writes pending changes and runs shutdown scripts, some of which may be malicious. Many examiners pull power on workstations after live collection and shut down servers gracefully to avoid damaging databases. Whichever is chosen, it is recorded with the reason.

Every change goes in the log

Live collection is defensible only if each change is documented. The examiner runs tools from a prepared, write-protected collection drive rather than from the suspect system, writes output to that drive and records each command and the time. The memory capture tool will itself appear in memory, and the act of plugging in the collection drive will leave a USB record. Those changes are expected and explained. An undocumented change is what invites a challenge.

09:51 Photographed screen (6 images), user session BILLING\tpark
09:52 Inserted collection drive QDFA-USB-07 (E:), started winpmem to E:\RWA-WS22.raw
09:56 Memory capture complete, 16.0 GB, SHA-256 recorded
09:58 Saved netstat -ano and arp -a output to E:\ (tools run from E:)
09:59 Pulled power cord. Disk to be imaged offline at the lab.
  1. Memory first, written to the examiner’s drive, never to the suspect disk.
  2. Trusted tools from the collection drive, not the possibly compromised system binaries.
  3. The reason for the shutdown method belongs in the log, too.

Exam questions on volatility usually ask which item to collect first, and the answer is the most volatile item that matters to the case. Questions about live response usually reward minimizing and documenting changes. The disk is now ready to image. The next reading, Write blockers, interfaces and verified images, makes the copy.

Volatility ladder

Inspect the three records, then use the evidence to answer the question.

1. RAM

Lost at power off

2. Disk

Persists, but changes while the system runs

3. Backup tape

Archived offsite, weekly

Apply the reading

The billing workstation shows an unlocked desktop with a file-transfer window open. What would you do in the first two minutes?

Compare your reasoning

Photograph the screen and the scene, note the time, and keep the session from locking without browsing in it. Then begin a memory capture from the collection drive and record each command you run. Do not close the window or browse files to see what was sent.