Course contentsShow
← Security
Lesson 2382 of 3,05246. Incident ResponseFree lesson

Memory Acquisition Techniques

Tools and methods for capturing physical RAM including cold boot attacks, DMA, and software-based dumping.

Memory Acquisition Techniques

What you'll learn: How to capture the contents of physical RAM from a running system for forensic analysis and incident response.

Why Memory Matters

When investigating an incident on a live system, RAM holds critical volatile evidence: running processes, decryption keys, network connections, injected code, and even malware that exists only in memory. Unlike disk forensics, memory analysis captures what's happening right now—but that evidence disappears the moment power is lost.

Core Acquisition Methods

Software-Based Memory Dumping

Tools like FTK Imager, WinPMEM, LiME (Linux), or Magnet RAM Capture run on the target system to read physical memory through the operating system. They're convenient but can be detected by sophisticated malware and may slightly alter the system state.

Trade-off: Easy to deploy remotely, but relies on potentially compromised OS kernel.

Direct Memory Access (DMA)

Hardware devices connect via FireWire, Thunderbolt, or PCIe to read RAM directly, bypassing the CPU and OS. Tools like Inception or dedicated forensic cards exploit DMA to capture memory without trusting the operating system.

Advantage: Harder for malware to detect or block; more trustworthy acquisition.

Cold Boot Attacks

This technique exploits RAM remanence—memory chips retain data briefly after power loss. An investigator forces a reboot into a minimal OS (via bootable USB) that dumps residual RAM contents before decay occurs. Effective even against full-disk encryption if keys remain in memory.

Limitation: Time-sensitive (seconds to minutes); requires physical access and system restart.

Choosing the Right Tool

Software methods work well for routine IR when you trust the OS isn't deeply compromised. DMA and cold boot become necessary when facing kernel-level rootkits or encrypted systems where software acquisition would fail.

Key Takeaway: Memory acquisition methods range from convenient software dumps to hardware DMA and cold boot attacks—choose based on trust level, access constraints, and the sophistication of potential adversaries.