GRC Careers

HomeResourcesMemory Forensics

CS-101 · Digital Forensics

Memory Forensics

Capturing and analyzing a system's live memory to see what only exists while it runs.

Executive Summary

Memory forensics is the practice of capturing a running system's volatile memory and analyzing it to reveal activity that never touches disk. Because memory holds running processes, open network connections, decrypted data, and code that only exists while the machine runs, it is often the only place certain evidence can be found. It must be collected before shutdown, because that evidence disappears when power is lost.

What It Is

Memory forensics focuses on the contents of a computer's random access memory, the working space where the operating system, applications, and any active malicious code live while a system is powered on. A memory capture, often called an image or dump, is a snapshot of that space at a moment in time. Analysis of the capture can reveal running and hidden processes, loaded modules, network connections, command history, injected or fileless code, cached credentials, and data that is encrypted on disk but decrypted in memory. Unlike files on a drive, this information is volatile: it changes constantly and is lost when the system powers off or reboots, which places memory near the top of the order of volatility.

Why It Matters

Modern attacks increasingly avoid writing to disk, running entirely in memory to evade file-based defenses and leave little trace. In those cases, disk forensics alone can miss the intrusion completely, while a memory capture can expose the malicious process, its network activity, and how it was injected. Memory also holds decrypted content and credentials that are otherwise protected, which can be decisive in an investigation. For organizations, the ability to capture memory early can be the difference between understanding a breach and being left guessing. For professionals, memory analysis is a high-value, in-demand skill in incident response and malware investigation.

How It Works

Memory forensics has two phases: acquisition and analysis. Acquisition captures the contents of memory from a live system using a memory acquisition tool, ideally as early as possible and before shutdown. The act of capturing necessarily runs code on the system and uses some memory, so a small footprint is preferred and the action is documented as an unavoidable interaction with the evidence. A hash such as SHA-256 is recorded so the capture's integrity can be verified later. Analysis then parses the capture to reconstruct the system's state, listing processes, connections, loaded code, and artifacts, and comparing them for signs of tampering or hiding. Guidance such as NIST SP 800-86 places volatile data collection early in the process precisely because it is so perishable.

Architecture Diagram

Preserve the live systemAcquire memory with a small-footprint toolHash the capture for integrityReconstruct processes and connectionsHunt for injected or hidden codeReport and correlate with disk and logs
Memory evidence is perishable, so capture the live image first, fix its integrity, then reconstruct system state.

Visual Workflow

Recognize that memory is volatile and prioritize capturing it before shutdown.Acquire the memory image with a validated, small-footprint acquisition tool.Record a hash such as SHA-256 immediately to fix the capture's integrity.Reconstruct running and hidden processes, modules, and network connections.Look for injected code, fileless activity, and signs of process hiding.Correlate findings with disk artifacts and logs, then document the results.

Common Attacks

Common Mistakes

Best Practices

Quick Checklist

Recommended Tools

Memory acquisition tool
Captures a snapshot of live memory from a running system
Memory analysis framework
Parses a memory image to reconstruct processes, connections, and artifacts
Hashing utility
Fixes and verifies the integrity of the memory capture
Isolated analysis workstation
Provides a controlled environment for examining the image safely

Industry Standards

NIST SP 800-86
Guide that places volatile data collection early in the forensic process
SWGDE best practices
Community guidance on capturing and documenting volatile evidence
ISO/IEC 27037
Guidelines covering acquisition and preservation, including volatile data

Career Relevance

Memory forensics is a core skill for DFIR analysts, forensic investigators, and incident responders, and it is increasingly valuable for SOC analysts investigating advanced or fileless threats. Malware analysts rely on it heavily, and the concepts inform security engineers and AI governance professionals who assess how systems can be inspected and defended at runtime, the audience AI-Governance-Jobs.com serves.

Interview Questions

Related Certifications

GIAC Certified Forensic Analyst (GCFA) GIAC Reverse Engineering Malware (GREM) GIAC Certified Incident Handler (GCIH)

Further Reading

Key Takeaways

Download PDFDownload PNG

FAQ

Why capture memory instead of just imaging the disk?

Many attacks run only in memory and never write to disk, so imaging the drive would miss them. Memory also holds decrypted data, credentials, and live network state that disk alone does not contain.

Does acquiring memory change the system?

Yes, to a small degree, because the acquisition tool must run and use some memory. That is why a small-footprint tool is preferred and why the action is documented as a necessary interaction with the evidence.

What happens to memory evidence if the machine is turned off?

It is lost. Random access memory is volatile, so its contents disappear when power is removed or the system reboots, which is why capture must happen while the system is still running.

Get all 116 reference sheets
The complete AGJ Cybersecurity Professional Reference Library, print-ready PDFs and PNGs.
Browse the library

Related Careers

Related certifications

GIAC Certified Forensic Analyst (GCFA)GIAC Reverse Engineering Malware (GREM)GIAC Certified Incident Handler (GCIH)

Current openings

Live openings appear on the web version. Browse the job board for current GRC and security roles.
Browse all jobs

Suggested learning path

  1. Ground the basics with CS-001 Cybersecurity
  2. Study this sheet: Memory Forensics
  3. Go deeper: Digital Evidence
  4. Go deeper: Chain of Custody
  5. Validate it: work toward GIAC Certified Forensic Analyst (GCFA)
  6. Find the role: browse current openings

Related sheets

More in Digital Forensics

Share this LinkedIn Facebook X Email