Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Are Kernel Rootkit Techniques?

Kernel rootkits run at the same privilege level as the operating system itself, hooking system calls or editing kernel objects directly so that files, processes, and connections disappear.

Illustration for the cybersecurity term Kernel Rootkit Techniques
Home / Blog / Cybersecurity Terms / What Are Kernel Rootkit Techniques?
17 November 2026

What Are Kernel Rootkit Techniques?

What Are Kernel Rootkit Techniques?

A kernel rootkit is malicious code that executes in the same privileged context as the operating system kernel. Because every answer a security tool receives—the list of running processes, the contents of a directory, the set of open sockets—comes from the kernel, code that lives there can simply lie. Unlike a user-mode rootkit, which can be caught by comparing its output against the kernel’s own view, a kernel rootkit controls the reference point itself.

Getting Into Ring 0

The hard part is not the hiding; it is arriving. On Linux, the usual route is a loadable kernel module installed by an attacker who already has root, or a local privilege escalation such as Dirty Pipe used as a stepping stone. On 64-bit Windows, Kernel Patch Protection and Driver Signature Enforcement mean an unsigned driver will not load at all, so attackers lean on bring-your-own-vulnerable-driver: install a legitimately signed but flawed driver—Microsoft’s vulnerable driver blocklist now names hundreds—and use its arbitrary read and write primitives to reach kernel memory without writing a driver of their own.

The Main Techniques

System Call Table Hooking

The classic approach replaces entries in the system call table so that getdents64 omits certain filenames, read filters lines out of /proc/net/tcp, and kill becomes a covert command channel. On modern Linux the syscall table is read-only, so rootkits either disable write protection through the CR0 register or use the ftrace and kprobes infrastructure, which is designed for exactly this kind of interception and leaves fewer obvious artefacts.

Direct Kernel Object Manipulation

DKOM skips the function tables and edits the data structures. On Windows, unlinking an EPROCESS entry from the ActiveProcessLinks doubly linked list removes a process from every enumeration API while the scheduler, which uses a different structure, keeps running its threads. The Linux equivalent unlinks a task_struct from init_task. Nothing is hooked, so integrity checks on code pages find nothing wrong.

Inline and IDT Patching

Rather than changing a pointer, the rootkit overwrites the first instructions of a kernel function with a jump to its own code. Variants target the interrupt descriptor table, virtual file system operation structures, or the netfilter hooks that see every packet.

Going Below the Kernel

Bootkits load before the operating system and therefore before its defences. LoJax, documented by ESET in 2018 and attributed to Sednit, was the first UEFI rootkit confirmed in the wild; BlackLotus, analysed in 2023, could bypass Secure Boot on fully patched Windows 11 by exploiting CVE-2022-21894. Firmware implants survive disk replacement entirely.

Rootkits Seen in the Wild

Turla’s Uroburos operated for years as a Windows driver with its own encrypted virtual file system. Drovorub, described in a joint NSA and FBI advisory in August 2020 and attributed to the GRU’s 85th GTsSS, combined a Linux kernel module with a client, server, and port-forwarding agent. Syslogk, found in 2022, was a Linux module that kept its payload dormant until it received a magic packet. On the criminal side, ZeroAccess and Necurs used kernel drivers to protect their own processes from removal.

Detection and Defence

Live inspection of a rootkitted host is unreliable by definition, so the useful techniques come from outside or underneath:

Recovery is rebuild, not clean. Once arbitrary code has executed in ring 0 there is no reliable way to prove the system is trustworthy again. Our Investigation and Incident Response Services use memory acquisition and offline analysis to establish what a kernel implant did before that rebuild happens.

FAQ – Frequently Asked Questions

Can Antivirus Software Detect a Kernel Rootkit?

Sometimes, and mostly by catching the installation rather than the implant. Once the rootkit holds kernel privileges it runs at the same level as the security product and can hide files, intercept the scanner’s queries, or unload its driver. Detection usually comes from secondary evidence: a blocked vulnerable driver load, unexpected network flows seen on the switch, or memory analysis performed offline.

What Is a BYOVD Attack?

Bring-your-own-vulnerable-driver. Rather than trying to defeat driver signature enforcement, the attacker installs a genuine, correctly signed driver that contains a known flaw, then abuses it to read and write kernel memory. Ransomware groups have used this pattern repeatedly to disable endpoint protection. Microsoft maintains a blocklist of such drivers, which is enabled by default on recent Windows versions.

Is It Safe to Keep a Machine After Removing a Kernel Rootkit?

No. Code that ran with kernel privileges could have altered any part of the system, including the tools used to verify it, and firmware-level implants survive a disk wipe. The correct response is to capture memory and disk images for investigation, then rebuild from known-good media, reflash firmware where a bootkit is suspected, and rotate every credential the machine stored.

Do Linux Servers Need Rootkit Protection Too?

Yes. Linux is the standard platform for internet-facing services, and loadable kernel module rootkits such as Drovorub, Syslogk, and Reptile have all been found in production environments. Practical controls include Secure Boot with signed module enforcement, restricting the module-loading capability, enabling kernel lockdown mode, and shipping audit logs off the host so a local implant cannot edit them.

Related Terms

You May Be Interested In These

What Is Public Key Infrastructure (PKI)?

Cybersecurity Terms

17 November 2026

What Is Public Key Infrastructure (PKI)?

Read More
What Is Authentication Log Analysis?

Cybersecurity Terms

17 November 2026

What Is Authentication Log Analysis?

Read More