Skip to main content

Malicious Drivers and Rootkits Analysis

Investigate Windows kernel drivers and uncover rootkit activity using MemProcFS and Volatility.

Task 1: Introduction

Task 2: Why Memory Reveals Kernel Malware

Task 3: Detecting BYOVD Attacks

Task 4: Detecting Kernel Rootkits

Task 5: Detecting Kernel Hooks and Persistence

Task 6: Hands-On Investigation

Task 7: Conclusion

Back to all walkthroughs
Room Icon

Malicious Drivers and Rootkits Analysis

Max room.

Investigate Windows kernel drivers and uncover rootkit activity using MemProcFS and Volatility.

medium

60 min

19

User profile photo.
User profile photo.

To access material, start machines and answer questions login.

goes quiet. Task Manager shows a clean process list. The driver inventory says nothing new was installed. Yet the threat actor never left.

From late July through early August 2025, Akira ransomware affiliates were observed doing exactly this across multiple incident response cases. After gaining initial access through SonicWall abuse, they deployed two Windows drivers:

  • rwdrv.sys: A legitimate signed driver from the ThrottleStop CPU tuning utility.
  • hlpdrv.sys: A custom-developed malicious kernel driver quietly registered as a service.

The first driver was used to gain kernel-level access, while the second disabled Windows Defender by modifying its registry keys through regedit.exe. Although the registry changes occurred in user mode, the kernel driver made them possible by providing privileged access to the system.

This is not a limitation unique to systems without security software. Many modern EDR solutions also rely on kernel drivers, such as CSAgent.sys used by CrowdStrike. A malicious or abused signed driver running at the same privilege level can interfere with these security components, reducing their visibility or bypassing their protections.

Kernel-mode malware does not need to hide from the user. Instead, it hides from the operating system itself. A malicious or abused signed driver can disable security tools, hook system calls, and unlink itself from the very structures your forensic tools rely on for detection. From user mode and often from disk, none of this activity is visible. The lie is not in what is installed; it is in what the kernel tells you is installed.

In this room, you will use both MemProcFS and Volatility to detect malicious and manually loaded drivers, uncover Direct Kernel Object Manipulation (DKOM), identify System Service Descriptor Table (SSDT) hooks, and trace kernel-level persistence mechanisms, all from memory dumps.

Learning Objectives

  • Explain why memory forensics is one of the most reliable methods for detecting kernel-level malware
  • Identify malicious, unsigned, manually loaded, and BYOVD (Bring Your Own Vulnerable Driver) drivers in memory
  • Detect kernel rootkit techniques, including DKOM, SSDT hooking, and kernel callback abuse
  • Identify kernel hooks and persistence mechanisms, such as IRP hooks, SSDT hooks, object callbacks, and dispatch table anomalies

Prerequisites

This room covers the detection of malicious drivers in a RAM dump using MemProcFS. Before starting this room, we recommend that you have:

  • Completed the MemProcFS Overview room in this Learning Path, as this room does not cover an introduction to MemProcFS capabilities.
  • Completed the Process Objects Analysis room in this Learning Path, as this room does not include an introduction to kernel objects.
  • Completed the DLL Injections and Hollowing room in this Learning Path, as this room does not include a walkthrough of the detection of Windows DLL and process injection attacks.

Machine Access

Before proceeding, start the lab by clicking the Start Machine button below. You will then have access to the VM, which already has DFIR tools ready to execute, and all evidence files are provided in the directory C:\Users\DFIRUser\Desktop\Evidence\.

Set up your virtual environment

To successfully complete this room, you'll need to set up your virtual environment. This involves starting the Lab Machine, ensuring you're equipped with the necessary tools and access to tackle the challenges ahead.
Lab machine
Status:Off

Credentials

Only needed if you are using your own machine.

Username
 
DFIRUser
 
Password
 
LS@4uSRZEfldP!Yx
 
IP address
 
MACHINE_IP
 
Connection via
 
Answer the questions below

I have read the learning objectives and am ready to begin!