Skip to main content

Forensic Artifacts: Disk, Memory & Network

In one line: A forensic investigation reconstructs an attack from three complementary evidence sources — disk (the durable record: files, logs, even deleted data), memory (the live state attackers increasingly hide in, gone on power-off), and network (the record of what talked to what) — and knowing what each reveals (and misses) is how you piece together the full story.

In plain English

When investigating a breach, you're a detective gathering evidence — and there are three crime scenes, each telling a different part of the story. Disk forensics is the durable record: the files, logs, browser history, and even deleted data still recoverable on the hard drive — great for "what was installed and what happened over time." Memory forensics is the snapshot of the machine as it was running: the processes that were live, the network connections open, the passwords and encryption keys sitting in RAM — crucial because modern attackers deliberately stay only in memory to avoid leaving disk traces, and all of it vanishes the instant the power's cut. Network forensics is the record of conversations: which machines talked to which, when, and how much data moved — perfect for spotting an attacker's command-and-control chatter or data being stolen. No single source tells the whole story; the skill is combining them. This lesson is what each reveals.

Disk forensics: the durable record

Disk forensics examines a forensic image of storage for the persistent traces an attacker left. It's the most familiar source and answers "what happened on this machine, over time?"

What the disk reveals:

  • Files and malware — what was installed, downloaded, or created, and when.
  • Logs — local system, application, and security logs (if the attacker didn't wipe them — anti-forensics).
  • Filesystem metadata — timestamps (created/modified/accessed) that help build a timeline, plus registry/config artifacts showing persistence.
  • Deleted data — "deleting" a file usually just removes its directory entry; the data often remains until overwritten, so investigators can frequently recover deleted files, browser history, or attacker tools.
  • Browser and user artifacts — history, downloads, recent documents — the user/attacker's activity trail.

Its strength is persistence and history; its weakness is that it misses anything that never touched disk — which is exactly the gap memory forensics fills.

Terms, defined once
  • Disk forensics — analysis of stored data (files, logs, metadata, deleted remnants) from a storage image.
  • Memory forensics — analysis of a capture of a system's RAM, revealing live runtime state.
  • Network forensics — analysis of network traffic/flow records to reconstruct communications.
  • Memory dump — a captured copy of a system's RAM at a moment in time.
  • Slack space / unallocated space — disk areas where deleted-but-not-overwritten data lingers and can be recovered.
  • Fileless malware — malicious code that runs only in memory, leaving little or nothing on disk to find.
  • PCAP — a captured file of raw network packets ("packet capture").
  • NetFlow / flow data — summaries of network connections (who talked to whom, when, how much) without full packet contents — lighter than PCAP, still very revealing.

Memory forensics: the live state attackers hide in

Memory (RAM) forensics analyzes a capture of what was in a system's memory while running. It has become essential because of a shift in attacker behavior: to evade disk-based detection, modern attackers increasingly run fileless — living only in memory, touching disk as little as possible. If you only image the disk, you may find nothing while the attacker is right there in RAM.

What memory uniquely reveals:

  • Running processes — including hidden/injected ones and fileless malware that has no disk footprint.
  • Active network connections — who the machine was talking to right now (C2 channels).
  • Decrypted data and keysencryption keys, passwords, and decrypted content that exist only in memory (on disk they're encrypted or absent).
  • Injected code and the attacker's live activity — what was actually executing.

The catch — and the link to the prior lessons — is volatility: memory is at the top of the order of volatility and is destroyed the instant the machine powers off. This is the single biggest reason the IR lesson warned against reflexively pulling the plug: do that and you've deleted the one place a fileless attacker lives. Capture memory first, before changing the system's state.

Worked example: why disk-only investigation misses the attacker

An analyst images a compromised server's disk and finds… almost nothing suspicious. Clean, right? But the server was acting compromised — beaconing out, moving laterally. The catch: the attacker used fileless techniques — their tooling ran entirely in memory, living off the land with the system's own utilities, never writing malware to disk.

Had the responder also captured a memory dump before shutdown, they'd have found: the injected malicious process, its live C2 connection to the attacker's server, and the credentials it had harvested into RAM. Power the box off to "preserve it," and all of that is gone forever — the disk image shows a ghost.

The lesson: disk and memory are complementary, and memory is both the most valuable for modern attacks and the most fragile. A modern responder captures memory as a first move, precisely because so much now hides there.

Network forensics: the record of conversations

Network forensics reconstructs an attack from network evidence — the record of what communicated with what. Even when an attacker carefully cleans a host, the network often remembers the conversation.

What the network reveals:

  • Command-and-control (C2) — regular "beaconing" to an external server (a compromised host phoning home).
  • Lateral movement — a host suddenly connecting to systems it never normally touches.
  • Exfiltration — large or unusual outbound data transfers (data leaving).
  • Scope — which hosts an attacker touched, helping bound the incident.

Two forms, a tradeoff: full PCAP (every packet — rich but huge, and often encrypted contents) vs. flow data / NetFlow (just who-talked-to-whom-when-how-much — lighter, retained longer, and still enough to reveal beaconing and exfiltration patterns even without packet contents). This is the network telemetry from Chapter 6, now used investigatively after the fact.

Combining the three: the full picture

No single source is complete — and they check each other. The investigator correlates across all three:

  • Network shows a host beaconing to a suspicious IP → memory reveals the process making that connection → disk reveals how it got there (the initial dropper, the persistence) and when (timestamps).
  • Disk shows a malicious file created at 02:14 → network confirms outbound activity starting 02:15 → memory (if captured) shows it still running.

This cross-source correlation is the same idea as the SIEM's correlation, applied forensically: each source fills the others' blind spots, and agreement across sources builds a confident, defensible account that feeds the timeline.

Each source's blind spot
  • Disk misses what never touched it (fileless/memory-only activity) and what the attacker wiped.
  • Memory is gone on power-off and is only a snapshot of one moment.
  • Network may not see inside encrypted traffic (though metadata — who/when/how much — still tells a lot), and only covers what was captured.

Because each has a different blind spot, collecting all three is how you avoid being fooled by any one. The attacker who hides from disk is loud in memory; the one who cleans the host can't erase the network's memory of the conversation.

Why it matters

  • It determines whether you find the truth. Investigating only disk (the traditional default) misses the fileless, memory-resident attacks that dominate modern intrusions. Knowing all three sources — and their order of volatility — is the difference between "found nothing" and "found everything."
  • It bounds the incident. Eradication and breach determination depend on knowing the full scope — which systems, which data, how long. The artifacts are how you establish it.
  • It closes the loop with detection. The same telemetry sources you collect for detection (endpoint/disk, network) are your forensic evidence after the fact — another reason logging decisions made in advance are decisive.

Common pitfalls

Where people commonly trip up
  • Investigating disk only. Modern attackers run fileless, in memory. Disk-only investigation can show a "clean" machine that's actively compromised. Capture memory too.
  • Powering off before capturing memory. Shutdown destroys the most valuable evidence for memory-resident attacks. Memory first, then disk.
  • Assuming 'deleted' means gone. Deleted files often persist in unallocated space and are recoverable — for you and against you (attackers' deleted tools can be recovered).
  • Trusting a single source. Each has a blind spot; an attacker who evades one is often loud in another. Correlate disk, memory, and network.
  • Forgetting attackers wipe logs. On-host logs may be tampered (anti-forensics); cross-check against the centralized, off-host logs and network evidence the attacker couldn't reach.
  • Ignoring network metadata because traffic is encrypted. Even without packet contents, flow data (who/when/how much) reveals C2 and exfiltration patterns.

Page checkpoint

Required checkpoint

Did forensic artifacts click?

Pass to unlock the Next button below

What's next

→ Continue to Timeline Reconstruction — assembling these artifacts from all three sources into a single, ordered story of exactly what the attacker did, when.

Going deeper: the volatility ordering that governs collection is chain of custody; the same sources feed detection; the attacker behaviors you're reconstructing are post-exploitation.