Skip to content

Rootkit

Risk Level

A rootkit is malware that modifies the operating system kernel or firmware to hide its presence — files, processes, network connections, registry keys — from standard OS tools and security software. Rootkits operate at the highest privilege levels (Ring 0 / kernel mode), making them extremely difficult to detect and remove.

MilestoneYearDetails
First rootkit1990Unix rootkit by Lane & Ritchie
NTRootkit1999First Windows kernel rootkit
Hacker Defender2003Popular user/kernel mode rootkit
FU Rootkit2005DKOM (Direct Kernel Object Manipulation)
TDL4/TDL42010Bootkit; MBR infection
ZeroAccess2011P2P botnet + rootkit
Necurs2012Rootkit + spam botnet
UEFI rootkits2018+LoJax, MosaicRegressor, CosmicStrand
1. KERNEL MODE INJECTION
└─ Load signed/unsigned driver (exploit, stolen cert)
2. HOOKING / DKOM
├─ SSDT hooking (syscall interception)
├─ IDT/GDT hooking (interrupts)
├─ DKOM (hide EPROCESS from EPROCESS list)
└─ IRP hooking (file/registry/network filtering)
3. HIDING
├─ Files/directories (NtQueryDirectoryFile hook)
├─ Processes (hide EPROCESS from PsActiveProcessHead)
├─ Registry (NtEnumerateKey hook)
├─ Network (TCP/UDP port hiding)
└─ Modules (hide driver from PsLoadedModuleList)
4. PERSISTENCE
├─ Driver service (auto-start)
├─ Bootkit (MBR/VBR infection)
└─ UEFI firmware (LoJax style)
RootkitYearTypeNotable
NTRootkit1999KernelFirst Windows
Hacker Defender2003User/KernelPopular, open-source
FU2005KernelDKOM pioneer
TDL42010BootkitMBR, P2P
ZeroAccess2011KernelClick fraud, Bitcoin
Necurs2012KernelSpam, ransomware dropper
LoJax2018UEFIAPT28, first UEFI
CosmicStrand2022UEFICounterfeit hardware
MethodDescription
Memory forensicsVolatility3: linux.check_modules, windows.pslist
Boot-time scanAV before OS loads
Hardware-assistedIntel TXT, AMD SVM, TPM measured boot
UEFI scannerCHIPSEC, UEFI Scanner
Reinstall + firmware flashOnly sure removal for firmware rootkits
  • Secure Boot + TPM 2.0 + measured boot
  • ✅ Kernel driver signing enforcement
  • ✅ Patch kernel vulnerabilities promptly
  • ✅ EDR with kernel callback monitoring
  • ✅ Memory forensics capability (Volatility3)
  • ✅ Firmware updates from vendor only
  • ✅ TPM 2.0 + measured boot attestation
TechniqueIDDescription
BootkitT1542.003MBR/VBR infection
Kernel ModulesT1547.006Load malicious kernel module
RootkitT1014Hide artifacts
Firmware CorruptionT1495UEFI/BIOS modification