Forensic Science · Topic 5 of 9

Network Forensics and Data Acquisition

Learn network forensics, postmortem and real time analysis, FaaS, live and dead acquisition, order of volatility, rules of thumb and image formats.

  • 5 min
In a nutshell
  • Always analyze a copy and protect the source with a write blocker.
  • Follow the order of volatility: registers and cache, then memory and network state, temp files, disk, remote logs, topology, archives.
  • Live acquisition captures volatile data, and dead acquisition captures a stable disk image.

What it is

Data acquisition is the process of making a forensically sound copy of digital evidence so that analysis is done on the copy, never on the original. It is the most important technical step in an investigation, because mistakes here cannot be undone.

This page also covers where web and network evidence comes from, the two timings of analysis, and the service model that outsources forensic work.

Decidelive or deadProtectwrite blockerAcquirebit stream imageVerifyhash matchAnalyzeon the copy

How it works

Web applications and network forensics

Web application forensics examines web server, application and database logs, session data and uploaded files to reconstruct an attack. Network forensics captures and analyzes traffic and device logs to see what moved across the network.

SourceWhat it shows
Packet capturesFull conversations, payloads, protocols
NetFlow or flow recordsWho talked to whom, how much, when
Firewall and proxy logsAllowed and blocked connections, URLs
DNS and DHCP logsName lookups and which device held an address
Web server logsRequests, response codes, client addresses

Postmortem and real time analysis

Postmortem analysis studies stored evidence after the event, such as saved logs, disk images and packet captures. Real time analysis observes activity while it is happening, for example live traffic monitoring or a running system. Real time work can catch an attack in progress but risks altering the system, while postmortem work is safer for the evidence but depends on what was already recorded.

Forensics as a service (FaaS)

FaaS is a cloud style service in which a provider supplies forensic tools, storage and expertise on demand. It is useful for organizations that lack a lab, for cloud evidence and for scaling during large cases. Concerns are trust in the provider, chain of custody, data location and legal jurisdiction, and confidentiality, so the contract should address them.

Data acquisition: live and dead

TypeDescriptionWhen used
Live acquisitionThe system is running when data is collectedVolatile data needed, encrypted disks, systems that cannot be turned off
Dead acquisitionThe system is powered down and a disk is copiedStandard approach when the system can be stopped and preserved

Live acquisition captures memory, network connections and running processes that disappear at shutdown, but the act of collecting alters the system slightly, so every action must be recorded. Dead acquisition preserves the disk using a write blocker and is more repeatable.

Order of volatility

Collect the most volatile evidence first, because it is lost soonest. The order from RFC 3227 is:

  1. CPU registers and cache.
  2. Routing table, ARP cache, process table, kernel statistics and memory.
  3. Temporary file systems.
  4. Disk.
  5. Remote logging and monitoring data.
  6. Physical configuration and network topology.
  7. Archival media.
Registers, cacheRAM and network stateTemp filesDiskRemote logsTopologyArchives

Rules of thumb for data acquisition

  • Never work on the original evidence. Work on a verified copy.
  • Use a hardware or software write blocker so the source cannot change.
  • Use forensically clean (sanitized) destination media.
  • Make at least two copies, one to analyze and one kept untouched.
  • Calculate hashes of the source and the image, and confirm they match.
  • Collect in order of volatility.
  • Label evidence and maintain the chain of custody.

An example of the hash check on a Linux examination system:

sha256sum evidence.dd

The output is a 64 hexadecimal character digest. It is compared with the digest taken from the source at acquisition. If they match, the image is an exact copy.

Types of data acquisition

TypeMeaning
Bit stream disk to image fileA complete sector by sector copy saved as a file, the most common and flexible
Bit stream disk to diskCopy straight to another disk of equal or larger size, used when an image file is not possible
Logical acquisitionCopies selected files and folders only
Sparse acquisitionCopies only fragments of specified data, useful for very large sources
Remote or network acquisitionCollects over a network from a live system

A bit stream copy includes deleted files, slack space and unallocated space, which a logical copy does not.

Determine the data acquisition format

FormatNotes
Raw (dd)Plain bit for bit copy, no compression or metadata, widely supported
Proprietary (such as EnCase E01)Adds compression, hashes, case metadata and segmenting
Advanced Forensic Format (AFF)Open format with compression and metadata
AFF4Newer open format designed for large sources and many evidence types

Choose the format based on tool support, storage space and the need for metadata and integrity features.

A worked example

An investigator arrives at a powered on workstation that uses full disk encryption.

The investigator photographs the screen, captures RAM first, then network state, then makes a bit stream image of the decrypted logical volume while the system is running, and finally verifies the hash. A dead acquisition alone would have left only encrypted data.

How the exam asks about this

  • "Which evidence should be collected first?" → The most volatile, such as CPU registers, cache and memory.
  • "Which acquisition type includes deleted data and slack space?" → A bit stream copy.
  • "What confirms that an image is identical to the source?" → Matching hash values.

What to remember for the exam

  • Always analyze a copy and protect the source with a write blocker.
  • Follow the order of volatility: registers and cache, then memory and network state, temp files, disk, remote logs, topology, archives.
  • Live acquisition captures volatile data, and dead acquisition captures a stable disk image.
  • Raw, E01, AFF and AFF4 are common image formats.
  • Verify by hash, and keep at least two copies.
Watch out

Do not run recovery or analysis tools on the original disk. Even mounting it normally can change timestamps and data.

Common mistakes

Collecting the disk first. Disk evidence persists, while memory and network state vanish at shutdown, so they come first.

Choosing a logical copy when deleted data matters. Only a bit stream image includes unallocated space.

Skipping the hash. Without matching hashes, you cannot show that the image equals the original.

Check yourself

  • Which is more volatile, RAM or a hard disk?

    RAM, so it is collected first.

  • What is the difference between a bit stream disk to image copy and a logical acquisition?

    A bit stream copy takes every sector including deleted and slack data, while a logical acquisition copies only selected files.

  • Name two common forensic image formats.

    Raw (dd) and EnCase E01, or AFF and AFF4.

Topic 5 of 9 in Forensic Science

Test yourself on Forensic Science

The full EC-Council 312-49 question bank has 900 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by EC-Council. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.