Rootkit

A rootkit is malware designed to hide an attacker's presence on a device by burying itself deep in the operating system, firmware or boot process, so the attacker keeps privileged access while security tools see nothing wrong.

AdvancedCategory: Malware

Also called: rootkits, bootkit, kernel rootkit

What is a rootkit?

NIST defines a rootkit as a set of tools an attacker uses after gaining root-level (administrator) access to a host, to conceal their activities and keep that access by covert means. The name comes from "root", the all-powerful account on Unix systems.

How does a rootkit work?

A rootkit intercepts the operating system's own functions. When a security tool asks "what files are here?" or "what programs are running?", the rootkit edits the answer to leave out the attacker's files and processes. MITRE ATT&CK notes that rootkits can sit at the user level, inside the operating system kernel, or even lower in firmware and the boot process.

Common types

  • User-mode rootkits that alter normal programs and libraries.
  • Kernel-mode rootkits that run with the highest operating system privileges, often loaded as a malicious driver.
  • Bootkits that infect the boot process so they load before the operating system and its defenses.
  • Firmware rootkits that hide in device firmware and can survive reinstalling the operating system.

How to protect your business

  • Turn on Secure Boot and keep firmware and drivers updated.
  • Limit admin rights, since a rootkit needs high privileges to install.
  • Use endpoint detection and response that monitors at the kernel level.
  • If a rootkit is found, reimage the device from a known-good source rather than trying to clean it; for firmware rootkits, the hardware may need replacing.

Related terms

Sources

  1. Glossary: rootkit (NIST)
  2. Rootkit (T1014) (MITRE ATT&CK)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.