Rootkit detection works by looking at a system from outside the infected operating system, or by catching it lying. Use an offline scan from trusted boot media, compare what the system reports with what the disk and network actually show, check for unsigned drivers and boot changes, and analyse memory with a tool such as Volatility. If a kernel or firmware rootkit is confirmed, rebuild the machine.
Key takeaways
- A rootkit hides by intercepting operating system calls, so in-system scans can miss it.
- Offline scans and cross-view comparisons are the most reliable detection methods.
- Kernel and firmware rootkits usually mean a full rebuild, not a cleanup.
A rootkit is not just another virus. It is malware that hides itself by changing what your computer reports. It can hide a process, a file, a network connection or a driver, so the tools you normally use to check a machine cannot see it.
What is a rootkit?
A rootkit is a program that hides the existence of malware by intercepting and modifying operating system calls that supply system information. That is the definition MITRE ATT&CK uses for technique T1014, Rootkit, under the Defense Evasion tactic.
Rootkits can live at the user level, in the kernel, in a hypervisor, in the Master Boot Record, or in system firmware. The deeper the rootkit sits, the harder it is to see and the harder it is to remove. A user-mode rootkit hooks application calls. A kernel rootkit changes the kernel itself. A firmware rootkit lives in the device firmware below the operating system.
MITRE lists rootkit permissions as Administrator, SYSTEM or root, and notes that rootkits can bypass file monitoring, host intrusion prevention, process whitelisting, signature-based detection and anti-virus. That is why detection needs a different approach from a normal malware scan.
How does a rootkit hide?
A rootkit hides by lying to the tools that ask it questions. When Task Manager asks for a list of processes, the rootkit removes its own process from the list. When a file browser asks for a directory listing, the rootkit removes its own files. When a network tool asks for open connections, the rootkit hides its own traffic.
Common hiding techniques include hooking API calls, patching the system call table, using direct kernel object manipulation to unlink a process from the list the operating system maintains, and loading a malicious driver that filters what the system reports.
On Linux, a rootkit may use LD_PRELOAD to load a malicious library into every process, or load a kernel module that hooks system calls. On Windows, it may load a signed but vulnerable driver, a technique known as bring-your-own-vulnerable-driver, to gain kernel access without writing its own unsigned driver.
The key point is simple: a scan run inside the compromised operating system asks the thing that is lying. That is why the most reliable detection looks from outside.
What are the signs of a rootkit?
There is no single symptom that proves a rootkit. The signs are clues, and most of them can also be caused by a failing disk, a bad driver, or ordinary malware. Treat them as reasons to investigate, not as a diagnosis.
- Security tools stop working or fail to update. A rootkit may disable antivirus, block updates, or kill security processes.
- Unexplained crashes or slowdowns. A kernel rootkit can destabilise the system, especially after an update.
- Settings change themselves. Firewall rules, browser settings or startup items change without you touching them.
- Hidden network traffic. The machine shows no active connections, but the firewall or switch sees it sending data out.
- Files or processes appear and disappear. A file you just created is missing from a listing, or a process appears in one tool but not another.
- High CPU or disk use with no visible cause. A hidden process may be mining, scanning or exfiltrating data.
If you see several of these together, do not keep using the machine for sensitive work. Preserve evidence, disconnect it from the network if you can, and run an offline scan from trusted media. Our guide to how to know if your phone is hacked covers similar signs on mobile devices, where the same principle applies: trust the outside view more than the device itself.
How do you detect a rootkit?
Effective rootkit detection looks at the system from outside, or looks for the side effects a rootkit cannot fully hide. The methods below are the ones MITRE, Microsoft and security practitioners recommend, in order of reliability.
Start with the easiest checks, then move to offline and memory analysis if suspicion remains. A clean result from one method does not prove the machine is clean, especially for kernel and firmware rootkits.
1. Offline scan from trusted boot media
An offline scan boots the machine from trusted external media and scans the disk without starting the infected operating system. The rootkit's cloaking code never runs, so it cannot hide its files.
On Windows, Microsoft Defender Offline does this. It reboots into a trusted environment outside the normal Windows session and scans the disk and boot sector, including Master Boot Record-level bootkits. It is built into Windows 10 and 11, and Microsoft recommends it when a rootkit is suspected.
Use a rescue disk from a reputable vendor if you need a second opinion. Boot from a USB drive you created on a known-clean machine, not from a drive that was made on the suspect machine.
2. Cross-view comparison
A cross-view scan asks the operating system for a list, then reads the raw disk or memory structures directly and compares the two. If the lists differ, something is hiding.
For example, a scanner can ask the Windows API for a directory listing, then read the raw NTFS structures off the disk itself. A file that exists on disk but not in the API listing is hidden. The same idea works for processes: compare the process list from the operating system with the process list found by scanning memory.
Volatility, a memory forensics framework, does this for memory images. Comparing its process list with the operating system's process list can reveal processes hidden by direct kernel object manipulation.
3. Check drivers, services and boot components
MITRE's detection strategy for rootkit behaviour, DET0377, lists the log sources to watch: driver loads, service creation, file creation, and module loads. Look for unsigned or unexpected drivers, concealed services, and abnormal modification of boot components.
On Windows, check for unrecognised DLLs, devices and services, and changes to the Master Boot Record. On Linux, check loaded kernel modules against a baseline taken when the host was trusted, and check for suspicious values in LD_PRELOAD and for tampering with system directories.
Alert on driver loads by hash and publisher, not just on signature validity. Attackers increasingly use signed but vulnerable drivers, so a valid signature is not proof that a driver is safe.
4. Memory analysis
Memory analysis reads a memory image from outside the running system and looks for hidden processes, hooked system calls, and malicious drivers. Tools such as Volatility can list processes, drivers and system call table hooks from a memory dump.
This is a specialist technique, but it is the most powerful one for kernel rootkits. A rootkit that hides from the operating system cannot hide from a memory image, unless it also tampers with the memory acquisition itself.
Take the memory image from a trusted environment if you can, and preserve the original image before you analyse it. Memory analysis is also useful evidence if you need to report an incident.
5. Behavioural endpoint detection
Modern endpoint detection and response tools watch for suspicious kernel behaviour, unsigned driver loads and API hooking, rather than relying only on file signatures a rootkit can hide from. They are most useful at the installation stage, when the rootkit is trying to get in.
Deploy EDR with kernel visibility, and monitor it around the clock, either with an internal team or a managed detection service. Catching the installation attempt is far easier than catching an installed rootkit.
Which rootkit detection tools should you use?
No single tool can be relied on to detect and remove all rootkits. Use a combination, and prefer maintained tools over legacy ones. The table below compares the main options by where they run and what they can reach.
| Tool | Runs from | Reaches | Status in 2026 |
|---|---|---|---|
| Microsoft Defender Offline | Trusted environment after reboot | Disk and boot sector, including MBR bootkits | Built into Windows 10 and 11, maintained |
| Malwarebytes | Inside the running OS | User-mode and known kernel rootkits, via cross-view | Maintained, enable rootkit scanning in settings |
| Volatility | Memory image, analysed offline | Hidden processes, drivers, system call hooks | Maintained, specialist tool |
| chkrootkit / rkhunter | Linux, from the running system | Known Linux rootkits, file and process checks | Maintained, run from trusted media for best results |
| GMER | Inside Windows | Hidden processes, drivers, hooks, MBR | Legacy, last updated 2018, use with care |
GMER is a specialised Windows anti-rootkit scanner, but it is legacy software. Its commonly listed build, GMER 2.2.19882, was last updated on 15 November 2018 and is documented for Windows XP, Vista, 7 and 8. Do not assume it understands current Windows protections. The Flamingo guide to rootkit scanners gives the same warning: several tools that still rank for the search are no longer maintained.
Also note that GMER has been abused by ransomware operators to terminate security-product services before deploying ransomware, according to a Broadcom advisory updated in October 2026. Only download security tools from their official sites, and only run them in a controlled workflow.
How do you run a rootkit scan, step by step?
Follow these steps in order. Do not skip the offline scan, and do not trust a clean result from an in-system scan alone if you have strong reason to suspect a rootkit.
- Preserve evidence. Note the symptoms, the date they started, and any recent downloads or emails. Do not delete logs.
- Disconnect from the network if you can. Unplug Ethernet or turn off Wi-Fi, so a hidden process cannot exfiltrate data or download more malware.
- Run a full scan in your endpoint protection. Update definitions first, from a clean network if possible, then run a full scan, not a quick scan.
- Enable rootkit scanning in Malwarebytes, if you use it. In Malwarebytes, rootkit scanning is a setting, not the default in every scan type. Turn it on, then run a full threat scan.
- Run Microsoft Defender Offline. In Windows Security, go to Virus and threat protection, then Scan options, then Microsoft Defender Offline scan. The machine will reboot into a trusted environment and scan before Windows starts.
- Check drivers and startup items. Look for unsigned drivers, unknown services, and boot changes. Compare against a known-good baseline if you have one.
- If suspicion remains, analyse memory or boot from rescue media. Use Volatility on a memory image, or boot from a trusted rescue disk and scan the disk from outside Windows.
- Decide: clean or rebuild. If a kernel or firmware rootkit is confirmed, or if an offline scan finds a bootkit, rebuild the machine. Do not keep cleaning and hoping.
After any suspected rootkit, rotate passwords from a separate clean device, check for new mail-forwarding rules and unknown MFA devices, and review other systems that shared credentials or network access with the suspect machine.
How do you detect a rootkit on Linux and Mac?
On Linux, check loaded kernel modules with lsmod and compare the list with a baseline, verify module signatures, check for suspicious LD_PRELOAD values, and look for tampering with system directories such as /lib/modules and /etc/ld.so.preload. Tools such as chkrootkit and rkhunter check for known Linux rootkits, but run them from trusted media for the best results, because a rootkit that hooks file reads can lie about its own entry.
On Mac, check for unsigned kernel extensions, tampering with LaunchDaemons, and userspace hooks into system libraries, as MITRE's DET0377 strategy describes. Use the built-in security tools, keep macOS updated, and be wary of software that asks you to disable Gatekeeper or System Integrity Protection.
On both platforms, the same principle applies: compare what the system reports with what you can see from outside, and do not trust a single in-system tool.
How do you prevent rootkits?
Prevention is easier than detection. Most rootkits need administrator or root access to install, so the controls that stop them are the same controls that stop other privileged malware.
- Turn on platform integrity features. UEFI Secure Boot, measured boot with TPM attestation, driver signature enforcement, and memory integrity protections raise the cost of boot and kernel tampering. NIST SP 800-193 covers platform firmware resiliency, including protecting, detecting and recovering firmware.
- Keep systems patched. Patch the operating system, firmware and drivers promptly, especially after a vendor discloses a vulnerable driver.
- Use least privilege. Do not run as administrator for daily work, and require approval for driver installation.
- Block known-vulnerable drivers. Keep a blocklist of known-abusable drivers, and alert on driver loads by hash and publisher.
- Deploy EDR with kernel visibility. Behavioural endpoint telemetry, monitored around the clock, catches the installation attempt, which is far easier than catching the installed rootkit.
- Back up and test restores. A known-clean backup is what makes a rebuild a recovery, not a disaster.
For a wider starting point, our small business cybersecurity checklist covers these controls alongside backups, updates and device security.
Phishing is a common way attackers gain the initial access a rootkit needs, so read our spear phishing guide as well.
When should you rebuild instead of cleaning?
Rebuild when a kernel or firmware rootkit is confirmed, when an offline scan finds a bootkit, when security tools keep failing after a clean-up, or when you cannot explain how the machine was compromised. Microsoft's guidance is clear: if a rootkit is plausible, a successful-looking in-system cleanup is not proof that the host is clean.
Rebuilding means wiping the disk, reinstalling the operating system from trusted media, reinstalling applications from official sources, and restoring data from a known-clean backup. Do not restore programs or settings from the suspect machine, and rotate all credentials that were used on it.
For firmware rootkits, rebuilding the operating system is not enough. The firmware itself must be reflashed or the device replaced, with advice from the vendor. If you are unsure, treat the device as untrusted and replace it.
The bottom line
Rootkit detection is about looking from outside the infected system. Run a full scan, then an offline scan, then compare what the system reports with what the disk, memory and network actually show. Check drivers, services and boot components against a baseline.
If you find a kernel or firmware rootkit, do not keep cleaning. Rebuild the machine from trusted media, restore from a known-clean backup, and rotate credentials from a clean device. You can check the security of your own website with our free SSL checker as part of a wider security review.
Frequently asked questions
What is a rootkit scan?
A rootkit scan is a check for malware that hides itself by intercepting operating system calls. The best scans run outside the infected system, from trusted boot media, or compare what the system reports with what the disk, memory and network actually show.
What are the signs of a rootkit?
Common signs are security tools that stop working or fail to update, unexplained crashes, settings that change themselves, hidden processes or network traffic, and a machine that behaves differently after a reboot. None of these signs proves a rootkit on its own.
Can antivirus detect a rootkit?
Modern endpoint protection can detect many rootkit installation attempts, especially unsigned driver loads and API hooking. Signature-only antivirus is largely blind to an installed rootkit, because the rootkit can hide its files from the scanner.
How do I run a rootkit scan on Windows?
Start with a full scan in Microsoft Defender, then run a Microsoft Defender Offline scan, which reboots into a trusted environment outside Windows. If you still suspect a rootkit, use a second-opinion scanner such as Malwarebytes with rootkit scanning enabled.
Can a rootkit be removed?
User-mode rootkits can sometimes be removed with an offline scan and a clean-up. Kernel and firmware rootkits are far harder, and security guidance usually recommends a full rebuild: wipe the disk, reinstall from trusted media, and restore data from a known-clean backup.
What is the difference between a rootkit and a bootkit?
A bootkit is a type of rootkit that loads before the operating system, by modifying the boot sector or boot loader. A rootkit is the wider term for malware that hides itself, whether it lives in user mode, the kernel, the boot chain or firmware.
Is GMER still safe to use?
GMER is legacy software, last updated in 2018, and it is not a complete modern security solution. Use it only as an evidence-gathering tool in a controlled workflow, and prefer a maintained offline scanner for remediation on current Windows releases.
Sources
- MITRE ATT&CK — Technique T1014: Rootkit
- MITRE ATT&CK — Detection Strategy DET0377: Detection of Kernel/User-Level Rootkit Behavior
- Startup Defense — Rootkit Exposed: Comprehensive Guide to Digital Threats
- Flamingo — Rootkit scanners: reach, limits, boot-time scans
- Microsoft Learn — Are there any 64-bit Microsoft rootkit detection tools?
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against MITRE ATT&CK T1014 and detection strategy DET0377, and Microsoft guidance on offline scanning.
How we write and fact-check →