Rootkits: When a Computer Gives a Doctored Answer
A rootkit is software that conceals malicious activity or components by interfering with what a computer reports. It can hide a file, a running program or a connection, leaving ordinary inspection tools with an incomplete view of the system.
The operating system manages the computer's resources and supplies information that other programs use. A rootkit can tamper with that information on its way to the program asking for it. The resulting problem is more subtle than a suspicious file with an unfamiliar name: the tool looking for the file may be shown a list from which it has been removed.
The Malware That Hides Where You Cannot Easily Look
The missing entry in the list
Suppose a tool asks the operating system to list running programs, also called processes. A rootkit intercepts the answer and omits the process it wants to hide. The tool displays the remaining entries, and the person reading the list sees no obvious gap.
The hidden program may still be running. It is the report about the program that has changed.
MITRE's rootkit technique description explains how these changes can conceal programs, files, connections and other components. It describes rootkits at several levels of a system, with different opportunities to interfere.
This helps distinguish concealment from the other work malicious software may do. A rootkit can help hide an attacker's components, but its name alone doesn't tell you whether it steals information, supplies remote control or has unrestricted power. Those are capabilities to establish for the particular malware, meaning software intended to perform harmful or unwanted actions.
How far down does the interference reach?
Some rootkits act at the level of ordinary applications. Others operate in the kernel, the central part of the operating system that manages core resources and controls how programs use them. Interfering there can affect the information supplied to programs above it.
There can also be malicious components below the normal operating system. Firmware is software closely tied to hardware that helps a machine start and operate. A bootkit targets the boot process—the steps that start the computer and load its operating system.
These distinctions explain why there isn't one location to search or one recovery action that fits every rootkit. A problem in an ordinary program is not the same as a problem in the software used to start the machine.
The U.S. National Institute of Standards and Technology, or NIST, addresses protection, detection and secure recovery at that lower level in its firmware resiliency guidance. It notes that some firmware attacks can require reprogramming by the manufacturer. Whether reinstalling the operating system is enough depends on which component was affected.
- Carry a bootable operating system on your keyring.
- Trust it in a pocket or bag: the metal body shrugs off water and knocks.
- Move big files quickly with read speeds up to 300 MB/s.
Checking from somewhere the rootkit isn't controlling
If a possibly compromised operating system supplies the information for a check, that check has a trust problem. Examining the system from a separate trusted environment can provide another view.
Microsoft documents one example in Microsoft Defender Offline. It scans from outside the normal Windows kernel and is designed to target malware that includes rootkits. The distinction is where the check runs, rather than a promise that it will find every hidden component.
An outside check gives investigators a way to look beyond the normal system’s potentially doctored reports. Its result still depends on what the tool can inspect, including whether it reaches the affected component.
Recovery then has to address the actual compromise. Incident-response work can include removing ways the attacker keeps access, closing the entry point, repairing the weakness and rebuilding affected systems. Restored systems need checking before they return to service.
Deleting one visible file may remove one component. It doesn't, by itself, establish that the remaining system is reporting honestly. For a rootkit investigation, restoring that trust is part of the recovery job.
Loadable Kernel Modules: Adding a Driver Without a Restart

Memory Forensics: Finding Clues in a Running Computer

Mark Russinovich: Sysinternals, Sony's Rootkit and Azure

QUOTE:
"Amateurs hack systems, professionals hack people."
