reverser-rootkit-analysis
What it does
It describes how to find and study rootkits that hide processes, drivers and boot code. It is for incident responders and malware analysts examining systems they are authorized to investigate.
When to use it
- βWhen a responder suspects a computer is hiding processes that do not show up in normal task lists.
- βWhen an analyst needs to check firmware or boot code for unexpected changes.
- βWhen a team wants to find unsigned or suspicious kernel drivers on a Windows machine.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/rootkit-analysis/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βMy Windows PC shows processes that do not appear in Task Manager. Could there be a rootkit?β
5 new skills a week. 1 minute to read.
How it works
The skill guides the AI to compare process lists from memory dumps and live views, check drivers and firmware for changes, and summarize anything suspicious.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Rootkit Analysis
Detect and analyze rootkits operating at kernel, boot, and firmware levels β from user-mode hiding techniques through UEFI implants and hypervisor-based rootkits.
Quick Reference
# Quick kernel rootkit scan (Windows, run as admin)
gmer.exe /scan
# System-wide hidden process / driver detection
volatility3 -f memory.raw windows.pslist vs windows.psscan
# Processes in psscan but NOT in pslist β hidden by DKOM
# UEFI firmware extraction and analysis
chipsec_util.py spi dump firmware.bin
UEFIExtract firmware.bin
# Check for unsigned kernel drivers
sigcheck -u -e C:\Windows\System32\drivers\*.sys
# Scan for SSDT hooks
volatility3 -f memory.raw windows.ssdt
MITRE ATT&CK Mapping
| Technique | ID | How It Appears |
|---|---|---|
| System Firmware | T1542.001 | UEFI rootkit implanted in SPI flash (LoJax, MosaicRegressor, CosmicStrand) |
| Bootkit | T1542.003 | MBR/VBR modification to load malicious code before OS (TDL4, Rovnix, ESPecter) |
| Rootkit | T1014 | Kernel object manipulation to hide processes, files, registry keys |
| Boot or Logon Autostart: Kernel Modules | T1547.006 | Malicious kernel driver loaded at boot via service registry key |
| Exploitation for Defense Evasion | T1211 | Vulnerable driver exploit (BYOVD) to load unsigned kernel code |
| Virtualization/Sandbox Evasion | T1497 | Hypervisor rootkit detecting/evading analysis environment |
1. User-Mode Rootkit Detection
Detect rootkits that hook user-mode APIs to hide artifacts.
# Compare API hook status β IAT/EAT/inline hooks
# Use API Monitor or manually check ntdll.dll integrity
# Volatility: detect IAT hooks in processes
vol3 -f memory.raw windows.iat --pid <PID>
# Check for LD_PRELOAD / dylib injection (Linux/macOS)
# Linux:
cat /proc/<PID>/maps | grep -v "$(ls /lib/ /usr/lib/ 2>/dev/null | tr '\n' '|')"
echo $LD_PRELOAD
cat /etc/ld.so.preload
# Windows: compare loaded DLLs against known-good baseline
vol3 -f memory.raw windows.dlllist --pid <PID>
# Look for: DLLs loaded from temp dirs, DLLs not on disk, unknown publishers
# Cross-view detection: compare user-mode API results vs kernel data
# If FindFirstFile misses files that raw NTFS parsing finds β user-mode hook
python3 << 'EOF'
import os, subprocess
# User-mode listing
user_files = set(os.listdir("C:\\Windows\\System32\\drivers"))
# Raw NTFS listing (bypasses API hooks)
raw = subprocess.check_output(["rawcopy", "/listdir", "C:\\Windows\\System32\\drivers"])
raw_files = set(raw.decode().strip().split('\n'))
hidden = raw_files - user_files
if hidden:
print(f"[!] Hidden files detected: {hidden}")
EOF
2. Kernel Rootkit Detection
Detect DKOM, SSDT hooks, and malicious drivers.
# GMER scan (Windows β gold standard for kernel rootkit detection)
# Run gmer.exe as Administrator
# Checks: SSDT hooks, IDT hooks, IRP hooks, inline hooks,
# hidden processes, hidden drivers, hidden files, hidden registry
# Volatility cross-view process detection
vol3 -f memory.raw windows.pslist > pslist.txt
vol3 -f memory.raw windows.psscan > psscan.txt
# Diff: processes in psscan but not pslist are DKOM-hidden
comm -23 <(sort psscan.txt) <(sort pslist.txt)
# SSDT hook detection
vol3 -f memory.raw windows.ssdt
# All entries should point to ntoskrnl.exe or win32k.sys
# Entries pointing elsewhere β hooked
# Driver analysis
vol3 -f memory.raw windows.drvscan
vol3 -f memory.raw windows.modules
# Look for:
# - Drivers not on disk (loaded from memory only)
# - Drivers loaded from unusual paths (temp, appdata)
# - Drivers with no digital signature
# IRP hook detection β malicious drivers hooking filesystem IRPs
vol3 -f memory.raw windows.driverirp
# NTFS driver IRP_MJ_DIRECTORY_CONTROL hooked β file hiding
# NTFS driver IRP_MJ_CREATE hooked β file access interception
# Linux kernel rootkit detection
# Check loaded kernel modules
lsmod
cat /proc/modules
# Verify module signature
modinfo <MODULE_NAME> | grep sig
# Check syscall table integrity (requires kernel symbol access)
cat /proc/kallsyms | grep sys_call_table
# Compare function addresses against known-good System.map
# chkrootkit / rkhunter (automated Linux rootkit scanners)
chkrootkit
rkhunter --check --skip-keypress
3. BYOVD (Bring Your Own Vulnerable Driver) Analysis
# Attackers load a signed-but-vulnerable driver to gain kernel access
# Then use the driver's read/write primitives to disable security
# Known vulnerable drivers database: loldrivers.io
# Common BYO
FAQ
What is a rootkit?
A rootkit is software that hides its presence and activity on a computer, often at a low level.
Which tools does it mention?
It mentions GMER, Volatility, chipsec and UEFITool.
Does it explain how to remove a rootkit?
No. The skill focuses on detection and analysis.
Details
Original description by the author
Rootkit detection and analysis β UEFI rootkits, kernel-level rootkits, bootkits, DKOM techniques, SSDT/IDT/IRP hooking, hypervisor rootkits, and firmware implant detection using GMER, Volatility, chipsec, and UEFITool.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #14174
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.