Rootkit Detection in Windows 10: How to Find and Remove Them
In this article
To detect a rootkit in Windows 10, use a combination of an offline system scan, specialized rootkit detection software, and a check for unusual system behavior, because rootkits hide themselves from the standard Windows operating system while it is running. Since rootkits operate at the kernel level, they can intercept system calls and hide their files and processes from Task Manager and standard antivirus software. The most effective detection method involves booting into a clean environment (like Safe Mode or a bootable rescue disk) so the rootkit cannot actively hide its presence from the scanner.
What You'll Need
- A Windows 10 PC with administrative privileges.
- A reliable internet connection for downloading updated security definitions.
- A USB flash drive (at least 8GB) if you plan to create a bootable rescue environment.
- A secondary, clean computer to create a rescue drive if your primary PC is heavily compromised.
- Reputable rootkit scanning tools from official vendor websites.
Step-by-Step
- Perform a Baseline Behavioral Analysis
Before running software, look for signs that a rootkit is active. Rootkits often cause systemic instability because they hook into the kernel. Check for frequent Blue Screen of Death (BSOD) errors, unexpected system crashes, or programs that close immediately after opening. Open the Task Manager (Ctrl + Shift + Esc) and look for processes with random character names or processes that consume high CPU but disappear when you try to right-click them for more information. Note that labels and layouts may differ slightly depending on your Windows 10 version or region. - Run a Windows Defender Offline Scan
Windows 10 has a built-in tool specifically designed to find rootkits by scanning the system before the OS fully loads. Go to Settings > Update & Security > Windows Security > Virus & threat protection. Under the "Current threats" section, click on Scan options. Select "Microsoft Defender Offline scan" and click Scan now. Your computer will restart and boot into a specialized environment to scan for deeply embedded malware. This process usually takes about 15 minutes. - Boot into Safe Mode with Networking
If the offline scan is inconclusive but you still suspect an infection, boot into Safe Mode. This loads only the most essential drivers, which may prevent some rootkits from loading their hiding mechanisms. To do this, hold the Shift key while clicking Restart from the Power menu. After the PC restarts to the Choose an option screen, go to Troubleshoot > Advanced options > Startup Settings > Restart. Once the list appears, press 4 or F4 to start in Safe Mode. - Use Specialized Rootkit Detection Software
Standard antivirus software often misses rootkits because they are designed to deceive the OS. Download a dedicated rootkit scanner from a trusted security vendor. Install the software while in Safe Mode. Run a "Full Scan" or a "Deep Scan." These tools specifically look for "hooks"—places where the malware has redirected system functions to hide its own files. If the scanner finds a hidden driver or a modified system file, follow the prompts to quarantine or remove it. - Check for Unauthorized Network Connections
Rootkits often communicate with a Command and Control (C2) server. Since they hide from the Task Manager, use the Command Prompt to see active connections. Right-click the Start button and select Command Prompt (Admin) or Windows PowerShell (Admin). Typenetstat -anoand press Enter. Look for "Established" connections to IP addresses you do not recognize, especially those associated with unknown Process IDs (PIDs). Cross-reference these PIDs with your active services to see if a process is hiding its name. - Utilize a Bootable Rescue Disk
The most definitive way to detect a rootkit is to scan the hard drive from outside the Windows environment entirely. Using a clean computer, download a bootable antivirus rescue disk (ISO file) from a reputable security company and flash it to a USB drive using a tool like Rufus. Insert the USB into the infected PC, restart, and enter the BIOS/UEFI menu (usually by pressing F2, F12, or Del during startup) to change the boot order to the USB drive. This allows the scanner to see the raw data on the disk without the rootkit being able to manipulate the results.
Common Mistakes
One of the most frequent mistakes is relying solely on a standard "Quick Scan" from a traditional antivirus program. Rootkits are specifically engineered to be invisible to these scans by modifying the operating system's reporting tools. If the antivirus asks the OS "Are there any files in this folder?" the rootkit intercepts that question and tells the antivirus "No," even if the folder is full of malicious code.
Another common error is attempting to manually delete files found in a rootkit scan without using a dedicated removal tool. Because rootkits integrate themselves into the Windows kernel and critical system drivers, manually deleting a file can lead to a permanent boot loop or a corrupted OS that will not start. Always use the "Clean" or "Remove" function provided by the security software, as these tools are designed to repair the system hooks they break during removal.
Users also often forget to update their security definitions immediately before scanning. Rootkits evolve rapidly, and a scan using definitions that are even a few days old may miss a new variant of a kernel-mode rootkit.
Tips
To prevent future rootkit infections, enable Secure Boot in your UEFI/BIOS settings. Secure Boot ensures that only digitally signed, trusted bootloaders can start the computer, which blocks many types of bootkits (rootkits that infect the Master Boot Record). Keep your BIOS/UEFI firmware updated, as manufacturers frequently release patches to close security holes that rootkits exploit to gain kernel access.
Avoid downloading "system optimizers" or "driver update" tools from unofficial websites. These are common delivery vehicles for rootkits because they often ask for administrative privileges, which is exactly what a rootkit needs to install itself into the system core. Stick to official manufacturer websites for all driver updates.
Implement the principle of least privilege. Do not use an administrator account for your daily web browsing and gaming. Create a standard user account for everyday tasks. If a piece of malware is executed under a standard account, it lacks the permissions required to modify the kernel or install a rootkit, significantly limiting the damage it can do.
Troubleshooting
If your computer freezes or crashes during a rootkit scan, it is often a sign that the scanner has encountered a rootkit that is actively fighting back to protect itself. In this case, stop trying to scan from within Windows. Immediately switch to the Bootable Rescue Disk method mentioned in the step-by-step guide. This removes the rootkit's ability to interfere with the scanning process because the malware is not running.
If you find that a rootkit is detected but the software cannot remove it, your system files may be too corrupted for a simple cleanup. The safest and most reliable solution is to perform a clean installation of Windows. Back up your essential personal files (documents, photos) to an external drive, but do not back up any executable files (.exe, .msi, .bat), as these may be infected. Use the Windows Media Creation Tool to create a fresh installer, format your drive, and reinstall the OS from scratch.
If you cannot enter Safe Mode or the BIOS menu because the rootkit has locked you out, you may need to use a hardware-level reset (like clearing the CMOS) or use a different device to create a bootable recovery environment that can force a bypass of the current boot sequence.
Frequently Asked Questions
Can a rootkit survive a factory reset?
Most rootkits are removed during a full factory reset that includes formatting the drive. However, extremely advanced rootkits (firmware rootkits) can hide in the motherboard's UEFI/BIOS or the hard drive's controller firmware, allowing them to persist even after the operating system is reinstalled. These are very rare but require a professional firmware flash to remove.
How is a rootkit different from a regular virus?
A regular virus or trojan operates within the user mode of the operating system and is generally visible to the system's file explorer and task manager. A rootkit operates in the kernel mode, meaning it has the same level of authority as the operating system itself, allowing it to hide other malware and modify system behavior at a fundamental level.
Does Windows 10 Defender detect all rootkits?
While Microsoft Defender is highly capable, no single tool can detect 100% of rootkits. Because rootkits use "zero-day" exploits to hide, they can sometimes bypass Defender. This is why using a secondary, specialized rootkit scanner or an offline boot disk is recommended for a thorough check.
Will removing a rootkit delete my personal files?
The removal process itself typically targets only the malicious drivers and modified system files. However, because rootkits can cause system instability, there is always a small risk that the removal process could lead to a system crash. Always back up your important data before running deep system repairs.
Why does my PC run slowly even after the scanner says it is clean?
If you suspect a rootkit but scans are clean, you might be dealing with a different type of malware, such as a cryptocurrency miner or a browser hijacker. Alternatively, the slowness could be due to hardware degradation or fragmented system files. Try running a disk check (chkdsk) or checking your hardware health.