Rootkit

Malicious software that alters a system at the operating system level or below to hide an attacker's presence and keep privileged access, so tools on that system may not reveal it.

A rootkit is a set of tools that an attacker installs, usually after gaining administrative access, to hide their activity and keep that access. NIST SP 800-83 Rev. 1 describes it as a collection of files that alters a host’s standard functionality in a malicious and stealthy way, making it very difficult to detect. The name comes from root, the Unix administrator account. Rootkits are commonly grouped by the level they subvert: user mode (replacing utilities or libraries), kernel mode (altering the kernel or its drivers), bootkits that infect the boot loader, and firmware rootkits that persist in UEFI or device firmware and can survive a reinstall of the operating system.

Because a rootkit controls what the compromised system reports, tools running on it may be shown a clean picture, so detection leans on checks made from outside, such as scanning from trusted boot media. At start-up, secure boot refuses unapproved boot components, and measured boot with a Trusted Platform Module records what loaded. SP 800-83 Rev. 1 advises rebuilding a host whose system files were replaced by a rootkit, rather than trying to clean it.

Exam relevance: a scenario in which host anti-malware reports nothing yet the host behaves as compromised is likely to point to a rootkit. Candidates are expected to prefer external verification and a rebuild.