Rootkit
A rootkit is a set of tools an attacker uses to gain the highest level of privilege on a host, hide their activity, and keep that root-level access through covert means. It alters the host's standard functionality in a malicious and stealthy way.
Updated
Overview
Rootkits hide the presence of programs, files, network connections, services, drivers, and other system components. Many do this by intercepting and modifying the operating system calls that supply system information. A rootkit typically makes many changes to a host to hide its own existence, which makes it very difficult to tell that it is present or to identify what it has changed.
Rootkit functions can sit at the user or kernel level of the operating system or lower, in a hypervisor or system firmware. Rootkits that reside in or modify boot sectors are called bootkits and target the operating system's boot process. MITRE ATT&CK records rootkits on Windows, Linux, and macOS.
NIST classes rootkits as attacker tools rather than malware in the strict sense: they have no infection capability of their own and rely on malware or other attack mechanisms, such as trojan horses, to install them.
Because rootkits abuse system features, ATT&CK notes that preventive controls cannot easily mitigate them. Its detection guidance looks for behavior such as unauthorized or anomalous loading of kernel-mode drivers, concealed services, and abnormal changes to boot components. When a rootkit has been installed, other malicious actions may also have been performed against the host, so NIST considers rebuilding it the most reliable way to restore its integrity.
Similar Terms
2 termsTrojan Horse
A trojan horse is a program that hides a malicious function behind a useful one and often delivers other attacker tools. A rootkit is one of the tools a trojan may install, used to conceal the attacker's activity and keep privileged access.
Backdoor
A backdoor gives an attacker a way into a host, for example a malicious program that listens for commands on a network port. A rootkit hides the attacker's activity and maintains root-level access through covert means.
Frequently Asked Questions
What does a rootkit do?→
A rootkit hides programs, files, network connections, services, drivers, and other system components from view so an attacker's activity goes unnoticed, and it keeps the attacker's root-level access to the host.
What is a bootkit?→
A bootkit is a rootkit that resides in or modifies boot sectors and targets the operating system's boot process.
Can a rootkit be removed?→
A rootkit makes many changes to hide itself, so it is hard to identify everything it has altered. NIST considers rebuilding a host that has had a rootkit installed the most reliable way to restore its integrity, then securing the host so it is no longer vulnerable.
Related
Tool categories
Career roles
Glossary terms
Sources
Definitions follow the government and standards body sources listed above. This site is not affiliated with the agencies or organizations cited.