Memory Forensics

Find the Attacker Activity That Never Touches Disk.

Acquire and analyze Windows and Linux memory to expose injected code, stolen credentials and fileless malware. Then tie what memory shows to disk and log evidence to reconstruct the attack.

What you'll be able to do

✓Detect process injection, fileless malware, and credential theft directly inside memory dumps
✓Simulate real-world attacks and instantly analyze the volatile artifacts they leave behind
✓Extract actionable Indicators of Compromise (IOCs) from purely in-memory evidence that never touches disk
✓Perform deep forensic analysis on both Windows and Linux memory captures using Volatility 3
✓Reconstruct complete attack timelines and attacker behavior using only volatile memory evidence
FOR502 | Included with Specialist, from $29/month | 9 modules and an orientation | 38–40 hours at your own pace | 40 CPE credits

Before you start

Prerequisites
None
Hands-on setup
Virtual machines on your own computer. The Lab Setup module walks you through it.
Certification
Certification
Core preparation for the Ridgeline Certified Endpoint Forensic Specialist (RCEF): take FOR201 and either FOR202 or this course.

Course Syllabus

Every module and every lesson. The first three modules are open; the rest open on a click.

Download the full syllabus (PDF) Download the lab pack

Phase 1: Foundations

Module 0Memory ForensicsCourse Preview

Module 0 of Memory Forensics: the whole course in ten foundation lessons on the Memory Range captures, from acquisition and processes through injection, credentials, fileless code, persistence, the Windows and Linux kernels and time, to an image you have not seen.

Show 10 lessonsHide lessons
  1. 0.1MF0.1 Memory as Evidence, and Capturing ItPreview
  2. 0.2MF0.2 Processes: Listed, Scanned and HiddenPreview
  3. 0.3MF0.3 Code That Was InjectedPreview
  4. 0.4MF0.4 Credentials in MemoryPreview
  5. 0.5MF0.5 Fileless ExecutionPreview
  6. 0.6MF0.6 Persistence, Seen From MemoryPreview
  7. 0.7MF0.7 The KernelPreview
  8. 0.8MF0.8 Linux MemoryPreview
  9. 0.9MF0.9 Connections and Time From MemoryPreview
  10. 0.10MF0.10 Interactive: Triage a Memory Image You Have Not SeenPreview
Module 1Memory Acquisition

Acquisition as a standard IR step, not a specialist exception. The acquisition problem and smear, WinPmem on Windows, LiME and AVML on Linux, hypervisor capture, pagefile and swap, verification and the acquisition record, smear measurement, anti-acquisition, and the clean baselines the rest of the course compares against.

Show 9 lessonsHide lessons
  1. 1.1MF1.1 The Acquisition Problem
  2. 1.2MF1.2 Windows Acquisition with WinPmem
  3. 1.3MF1.3 Linux Acquisition with LiME and AVML
  4. 1.4MF1.4 Hypervisor-Based Acquisition
  5. 1.5MF1.5 Pagefile and Swap as Memory-Adjacent Evidence
  6. 1.6MF1.6 Acquisition Verification and Integrity
  7. 1.7MF1.7 Smear Detection and Acquisition Quality
  8. 1.8MF1.8 Anti-Acquisition Techniques
  9. 1.9MF1.9 Interactive: Decide the Acquisition

Phase 2: Windows Memory Analysis

Module 2Process Injection

The first transient-artifact category in depth. Run a reflective injection against your lab, capture it cleanly, and find it with converging evidence. The process abstraction, VAD tree, protection metadata, the four-line finding method, the replacement techniques the additive workflow misses, and extracting the injected code.

Show 9 lessonsHide lessons
  1. 2.1MF2.1 Process Abstraction
  2. 2.2MF2.2 Virtual Memory and Page Tables
  3. 2.3MF2.3 VAD Tree Fundamentals
  4. 2.4MF2.4 Executing the Attack
  5. 2.5MF2.5 Acquiring the Compromised Capture
  6. 2.6MF2.6 VAD Analysis of the Injected Region
  7. 2.7MF2.7 Hollowing and Doppelgänging
  8. 2.8MF2.8 Extracting the Injected Code
  9. 2.9MF2.9 Interactive Hunt: Injections
Module 4Fileless Malware

Investigating malware that lives only in memory. Why fileless attacks defeat disk forensics, how PowerShell delivers and reflectively loads a payload, and how to prove the load, extract and identify the payload, recover the C2 configuration, and build a timeline, all from a memory image that is the only evidence there is.

Show 9 lessonsHide lessons
  1. 4.1MF4.1 The Fileless Malware Problem
  2. 4.2MF4.2 PowerShell as an Attack Vehicle
  3. 4.3MF4.3 Executing the Attack
  4. 4.4MF4.4 Capturing Post-Attack Memory
  5. 4.5MF4.5 PowerShell Process Memory Analysis
  6. 4.6MF4.6 Extracting the In-Memory Payload
  7. 4.7MF4.7 C2 Configuration Extraction
  8. 4.8MF4.8 PowerShell Event Log Correlation
  9. 4.9MF4.9 Interactive: The Fileless Hunt
Module 5Persistence Mechanisms

Finding the mechanisms attackers install to survive a reboot. Scheduled tasks across their registry keys, XML file and the scheduler's own copy, WMI event subscriptions in the repository, and registry persistence, all read from the image as the running system held them, because the active session's evidence dies at reboot but persistence is built to outlast it.

Show 9 lessonsHide lessons
  1. 5.1MF5.1 Persistence as an Attacker Investment
  2. 5.2MF5.2 Scheduled Tasks in Memory
  3. 5.3MF5.3 WMI Event Subscriptions
  4. 5.4MF5.4 Executing the Attack
  5. 5.5MF5.5 Capturing Post-Persistence Memory
  6. 5.6MF5.6 Analyzing the Scheduled Task
  7. 5.7MF5.7 Analyzing WMI Event Subscriptions
  8. 5.8MF5.8 Registry in Memory
  9. 5.9MF5.9 Interactive: The Persistence Hunt
Module 6Kernel-Level Compromise

When the attacker stops being a tenant of the system and becomes a co-owner of the kernel. Loading a driver, registering callbacks, and unlinking from the lists enumeration trusts, met by the offline analysis that reads the pool the kernel cannot fake: driver detection, callback attribution, system-call-table checks, and the DKOM detection floor.

Show 9 lessonsHide lessons
  1. 6.1MF6.1 Crossing into Kernel Space
  2. 6.2MF6.2 The Driver List, and What It Hides
  3. 6.3MF6.3 Executing the Attack
  4. 6.4MF6.4 Capturing the Compromised Host
  5. 6.5MF6.5 Finding the Hidden Driver
  6. 6.6MF6.6 Callback Analysis
  7. 6.7MF6.7 System Call Table Hooks
  8. 6.8MF6.8 DKOM and the Detection Floor
  9. 6.9MF6.9 Interactive: The Kernel-Rootkit Hunt

Phase 3: Linux Memory Analysis

Module 7Linux Attack and Memory Analysis: SSH Compromise and Kernel Rootkit

Work a two-stage Linux intrusion in memory on SRV-NGE-MCR-APP01: an SSH brute force into a sudo misconfiguration to root and a credential harvest, then an LKM rootkit that hooks getdents64 to hide a process. Capture at both stages and read what each left behind, task_struct enumeration, bash history from the heap, credential recovery, module list versus slab scan, and syscall-table integrity, then detect the eBPF variant the LKM checks miss.

Show 9 lessonsHide lessons
  1. 7.1MF7.1 Linux Memory Architecture
  2. 7.2MF7.2 The SSH-to-Root Chain and the Four Artifacts It Leaves
  3. 7.3MF7.3 Acquiring the Live Host, and Proving the Image Resolves
  4. 7.4MF7.4 Reading the User-Space Intrusion
  5. 7.5MF7.5 Recovering Every Credential the Attacker Reached
  6. 7.6MF7.6 The Kernel Rootkit
  7. 7.7MF7.7 Detecting the LKM Rootkit
  8. 7.8MF7.8 The eBPF Rootkit That Leaves the Syscall Table Clean
  9. 7.9MF7.9 The Linux Kernel Hunt, Unguided

Phase 4: Integration & Capstone

Phase 0: Course Resources

ResourcesCheatsheets

The lookup layer: every command the course teaches, grouped by what you are trying to establish.

Show 1 lessonHide lessons
  1. 1Cheatsheet
ResourcesCookbooks

Procedures: what you do, in what order, and what each step must produce.

Show 1 lessonHide lessons
  1. 1Cookbook
ResourcesLab Setup

Build the environment that produces the evidence this course analyzes.

Show 3 lessonsHide lessons
  1. 1Lab Setup
  2. 2Building the Lab and Capturing Your First Memory Image
  3. 3Symbol Tables and Silent Failure
ResourcesPlaybooks

Detonation procedures. Each produces the artifact a module teaches you to find, so you analyze evidence whose ground truth you already know.

Show 7 lessonsHide lessons
  1. 1Reflective DLL Injection via Meterpreter
  2. 2Mimikatz Credential Theft
  3. 3PowerShell Reflective Loader
  4. 4Scheduled Task and WMI Event Subscription
  5. 5Kernel Driver with Process-Creation Callback
  6. 6SSH Compromise and LKM Rootkit
  7. 7The Full Attack Chain
ResourcesPlayground

Resources for practicing memory forensics and using it at work: an open-source DFIR toolkit, the forensic lab, the detection library, response playbooks, and guided investigations.

ResourcesReferences

External sources this course draws on: tooling documentation, research, standards and community memory forensics material.

Course Completion

CompletionCourse Exam

Memory Forensics end-of-course exam: a three-phase simulation testing whether you can apply the method to a case the course did not walk through.

Show 1 lessonHide lessons
  1. 1Course Completion. Memory Forensics

Course overview

This course makes memory acquisition and analysis a standard incident response step. It covers acquisition on Windows and Linux, then takes one category of in-memory evidence per module: process injection, credential theft, fileless malware, persistence and kernel compromise.

It then works a two-stage Linux intrusion in memory, builds a timeline that ties memory to event logs, the MFT and the network, and closes with a full attack chain investigation.

How this course works

Memory holds what disk never recorded, and it holds it for as long as the machine stays up. This course runs the same loop for every technique it investigates.

1. Acquire before you decide it matters. Memory is the most volatile evidence you can take and the decision to capture it is made under time pressure with incomplete information. Capture, then triage.

2. Establish what normal looks like on this system. Process trees, loaded modules, network connections. Anomaly detection in memory is comparison, and without a baseline every unfamiliar service looks suspicious.

3. Read the artifact the technique cannot avoid. Injection has to allocate and write. Credential theft has to read a specific process. Reason from what the technique requires rather than from what the tool is named.

4. Corroborate against disk and log. A memory finding on its own is a strong lead. The same activity in a log or on disk, with times that agree, is a conclusion.

5. Build the timeline across sources. Memory tells you what was true at capture. Disk and logs tell you how it got that way, and the intrusion is the sequence rather than the snapshot.

What this course assumes

No minimum experience and no prerequisite course. Process structures, virtual memory and the acquisition model are explained from the ground up.

What makes it go faster: a machine you can capture memory from and enough disk to hold the image. Not required for the reading, and required for the exercises: you capture your own images, which is the first skill the course teaches rather than an overhead it imposes.

What this course does not cover: reverse engineering, disk forensics in depth, and network investigation. Those are separate courses, and memory analysis is strongest when it corroborates them rather than replaces them.

Who this course is for

Incident responders, forensic analysts and threat hunters who need evidence that never touches the disk. Each memory structure is explained where an analysis first needs it.

What you'll learn

✓ Acquire memory from Windows and Linux, measure smear and record the acquisition
✓ Find process injection from converging evidence in the VAD tree and protection metadata
✓ Prove credential theft from LSASS and assess what was exposed
✓ Extract a fileless payload and recover its command-and-control configuration
✓ Find persistence and kernel compromise from the in-memory copy, including on Linux
✓ Build a memory timeline corroborated by event logs, the MFT and the perimeter

Lab Pack: Attack, Capture, Analyze

Included: 3 VM setup scripts, 7 attack playbooks, PoC kernel driver and LKM rootkit source code with build instructions, 33 exercises (Standard/Hard/Expert), 10 verification scripts, 10 HTML walkthroughs, 6 documentation templates.

Not included by design: Memory images (you capture your own), pre-compiled binaries (you build from source), analysis tools (install per Lab Setup Guide). Capturing memory and building PoC tools from source are skills, not overhead.

Memory Forensics Lab Pack v2.0
7 attacks · 10 walkthroughs · 33 exercises · PoC source code · report templates
Download Lab Pack (.zip)

Things you need to know

What are the prerequisites for this course?

None. Every memory forensics concept is explained at first use, including the process and virtual-memory structures the tools report on. Comfort at a command line and prior incident-response or disk-forensics experience will make you faster, and neither is assumed.

What are the device requirements?

A device with at least 16 GB of RAM (32 GB recommended for running multiple VMs simultaneously). You will need a hypervisor (VMware Workstation, VirtualBox, or similar) to run the attack lab environment: a Windows target VM, a Linux target VM, and a Kali attacker VM. The Lab Setup module sizes the host and walks you through building every machine.

What will I be able to do after this course?

You'll be able to acquire and analyze memory on Windows and Linux, and prove process injection, credential theft, fileless malware, persistence and kernel compromise that disk forensics misses. You'll also be able to tie what memory shows to event logs, the MFT and the network in one timeline. You finish with a full attack chain investigated from alert to report.

Usage rights and disclaimer

Course materials: Licensed for individual professional development. You may not redistribute course content or share account credentials.

Attack tools: Metasploit, Mimikatz, and PoC rootkits are for educational use in isolated lab environments only. Running them against unauthorized systems is illegal.

Fictional environment: All scenarios use Northgate Engineering. Any resemblance to real organizations is coincidental.

COURSE ASSESSMENT

End of Course Exam

Complete the course, then prove your skills under time pressure. Pass mark: 70. Earn your certificate with CPE credits.

40minutes
3phases
100points
1scenario
Take End of Course Exam

One random scenario per attempt. Certificate issued on pass.