What is Rootkit?
How It Works, Types and Removal

A rootkit is harmful software that gives an attacker hidden, top-level admin control of a computer. It hides itself and other harmful programs from the user and from security software, and keeps a secret way in open. It is one type of malware and can stay unseen for a long time.

Short Answer A rootkit is harmful software that gives an attacker hidden, top-level control of a computer. “Root” means the highest admin power on a system, the power to change anything. A rootkit also hides itself and other harmful programs from the user and from security software. Think of a burglar who copies the master key and also switches off the CCTV. It is one type of malware, and it often stays unseen for a long time.

What is a Rootkit?

A rootkit is a set of harmful files and programs that an attacker places on a computer after getting in. Its main job is to keep that access open and secret. So the attacker can keep coming back, while the PC looks normal to the person using it.

It is one type of malware, the general name for any harmful software. However, most malware wants to do something you can notice, such as lock files or show pop-ups. In contrast, a rootkit is built to stay hidden for as long as it can.

NIST, the US standards body, describes it in two ways. The first says a rootkit is a set of tools an attacker uses after getting top-level access. The tools hide what the attacker does and keep that access open. The second says it is a group of files that changes how a computer normally works, in a harmful and hidden way.

What “Root” Means

The word comes from older computer systems, where “root” is the name of the main admin account. That account can read, change or delete anything. On Windows, the closest match is the administrator account and the core of the system. A “kit” is a set of tools. So the name means a toolkit that gets root power and then uses it to hide.

Key Words to Know

  • Operating system: the main software that runs a computer, such as Windows.
  • Kernel: the core of the operating system. It controls memory, files and hardware, so it has the most power.
  • Admin rights: permission to install software and change system settings.
  • Back door: a hidden way into a computer that skips the normal sign-in.
  • Boot: the start-up process, from pressing the power button until Windows loads.
  • Firmware: small built-in software stored on chips inside a device, which starts the hardware.

How a Rootkit Works

Most rootkit attacks follow the same broad pattern. Knowing it helps you see where to stop one.

  1. It gets in: it usually arrives through a phishing email, a fake download or a fake update. Sometimes it uses a weak spot in software that nobody has fixed with an update yet.
  2. It gains admin rights: next, it gets top-level control. Often a person grants this without knowing, by clicking “Yes” on an install prompt.
  3. It changes the system to stay hidden: then it alters parts of Windows. As a result, its files, programs and network traffic do not show up in normal lists.
  4. It opens a back door: after that, the attacker can connect again at any time, even after passwords change.
  5. It shields other harmful programs: finally, it may hide other malware, such as spyware that records keystrokes or copies files.

So the hidden toolkit itself may do little visible harm. Instead, it gives cover to everything else the attacker wants to do on that PC.

Diagram of a fake update on an office PC installing hidden software that opens a back door and adds a keystroke recorder
The fake update needs only one “Yes” on an admin account, and the PC keeps looking normal afterward.

An Example From a Lucknow Accounts Office

Picture a small trading firm in Lucknow. One morning, an accounts clerk sees a pop-up on a website. It says her PDF reader is out of date and offers a quick update. She clicks it, and Windows asks if the program may make changes. Because her account has admin rights, she clicks “Yes”. The fake update installs a rootkit. Nothing looks wrong, because it hides its own files and programs from the normal lists in Windows. Then it opens a back door and quietly installs a program that records what she types. Over the next few weeks, the attacker collects her banking portal passwords. Her PC still seems normal to her and to the office IT person.

Types of Rootkit

Security teams sort rootkits by where they hide and how early they start. The deeper and earlier a rootkit sits, the harder it is to find and remove. Microsoft lists firmware rootkits, bootkits, kernel rootkits and driver rootkits as types that load during start-up.

Type Where It Hides, in Plain Words
User-mode rootkit Sits at the same level as normal apps and changes what those apps show you
Kernel-mode rootkit Replaces part of the kernel, the core of Windows, so it starts each time Windows loads
Driver rootkit Pretends to be a trusted driver, the small program that lets Windows talk to hardware
Bootkit Replaces the boot loader, the program that starts Windows, so it runs before Windows loads
Firmware rootkit Hides in the firmware on a device chip, so it starts before Windows and can survive a reinstall
Memory rootkit Lives only in the PC’s working memory and is usually gone after a restart

Microsoft notes that bootkits can start before Windows and stay hidden from security tools that load later.

Warning Signs on a PC

This software is built to hide, so its signs are often hard to see. Still, it can leave a few clues:

  • Security software turns itself off, or will not turn back on.
  • Settings you changed keep changing back on their own.
  • The PC sends data over the network when nobody is using it.
  • Windows becomes slow, freezes or crashes with blue screens for no clear reason.
  • New admin accounts appear that nobody in IT created.
  • Passwords stop working, or colleagues report odd sign-ins from your account.

One sign alone does not prove an infection, because faulty hardware or a bad update can cause the same issues. However, if you see two or three together, tell your IT team. Do not try to fix it alone.

Rootkit vs Virus and Trojan Horse

People often search for “rootkit virus” or “rootkit trojan”, because these threats work together. Yet each one does a different job. A computer virus copies itself into other files when someone opens them. A Trojan horse tricks a person into installing it by posing as a useful program. In contrast, a rootkit focuses on hiding and keeping control.

Question Rootkit Virus Trojan Horse
Main goal Hide and keep control Copy itself into files Trick the user into installing it
Copies itself? No Yes No
Needs admin power? Usually, to hide deeply Not always Not always

In practice, they often arrive together. For example, a Trojan horse may be the fake update that carries a rootkit onto the PC, just as in the Lucknow example.

Rootkit Detection and Removal

Rootkit detection is hard, because the hidden program controls what Windows reports while it is running. If it changes what Windows shows, a normal scan inside Windows may see nothing wrong. Therefore, security teams use methods that do not trust the running system alone.

  • Offline scan: this scan runs from outside normal Windows. Microsoft Defender Offline scan, part of Microsoft Defender Antivirus, restarts the PC and scans it from a trusted environment. Microsoft says it focuses on rootkits and firmware threats. IT starts it in the Windows Security app, under Virus and threat protection, then Scan options. It needs an admin sign-in. If BitLocker is on, IT should pause it first, so the PC does not ask for the recovery key.
  • Boot and memory checks: Windows can check each start-up part before it loads. Security tools can also look for programs hiding in memory.
  • Behavior watching: endpoint detection and response tools watch what a device does, such as odd network traffic or security settings being switched off. Microsoft Defender for Endpoint is one example. Because these tools watch behavior, they can raise an alert even when the files stay hidden.

A rootkit scan may find and remove a simple user-mode rootkit. However, deeper types need more care.

When a Clean Reinstall is the Safer Choice

For kernel, boot or firmware rootkits, cleaning is rarely enough. You cannot be sure every hidden part is gone. So the safer answer is often to wipe the disk fully and reinstall Windows from trusted media. For a firmware rootkit, IT may also need to reload clean firmware from the device maker, or replace the device. After that, restore files only from backups taken before the infection. Then change all passwords from a different, clean device. For a wider attack, follow your company’s incident response plan, the agreed steps for handling a security attack.

Reporting to CERT-In in India

In India, CERT-In (the Indian Computer Emergency Response Team) is the national agency for cyber incidents. Its directions of 28 April 2022 list malicious code attacks among the incidents that must be reported. They cover service providers, intermediaries, data centers, companies and government bodies. These organizations must report within 6 hours of noticing the incident or being told about it. You can email incident@cert-in.org.in or call 1800-11-4949. So tell your IT team at once, because the 6 hours start when someone first notices the problem.

Talk to an ExpertNot sure how hidden threats are found on office PCs? Talk to our team about finding threats that try to stay out of sight.

Ways to Prevent a Rootkit

Because this threat is hard to remove, keeping it out is far easier than cleaning it up. Offices use several layers, so one missed layer does not let it through.

Layers of Protection for an Office

  • Keep Windows and firmware updated: updates close the weak spots that attackers use to get in. A clear patch management routine makes sure no PC is left behind.
  • Give staff normal accounts: most people do not need admin rights for daily work. Without admin rights, a fake update cannot get root power. Privileged access management controls who gets admin power, and for how long.
  • Use protection on every device: keep antivirus and endpoint protection, the security software on each device, switched on and up to date on all laptops, desktops and servers.
  • Download only from trusted sources: get updates from Windows Update, the Microsoft Store or the software maker’s own site, never from a pop-up.
  • Train staff: teach people to pause before clicking “Yes” on an install prompt they did not expect.
  • Back up files: keep regular backups in a separate place, so a clean rebuild is quick.
Layered diagram from Secure Boot and start-up checks up to updates, normal accounts, endpoint protection and scans
Each layer blocks a different way in, from the moment the PC starts to everyday work.

Built-In Start-Up Protection on Windows

Windows has features that guard the start-up process, where the deepest rootkits try to hide. First, Secure Boot lets the PC start only a trusted, signed boot loader. “Signed” means it has a digital seal showing nobody changed it. Next, Trusted Boot checks each part of Windows before it loads. Then Early Launch Anti-Malware checks start-up drivers before they run. Finally, Measured Boot records each start-up step in the TPM, so a trusted company server can check the PC’s health where IT has set this up.

The TPM, or Trusted Platform Module, is a small security chip inside the PC. It stores keys safely and records start-up checks, and malware cannot change its security functions. Windows 11 needs TPM 2.0, and Microsoft says all new Windows 11 devices have it built in. So for most office PCs, the main step is to leave Secure Boot switched on and keep Microsoft Defender Antivirus running.

Frequently Asked Questions About Rootkit

What does rootkit mean in simple words?

In simple words, a rootkit is a hidden program that lets an attacker control your computer like its owner, without you knowing. “Root” means full admin power, and “kit” means a set of tools. So a rootkit is a toolkit for getting full power over a PC and then hiding. It also hides other harmful programs, so normal checks miss them.

What is a rootkit used for?

Attackers use a rootkit to keep secret, long-term control of a computer. Once it is in place, they can come back through a back door, steal passwords and files, watch what users type, or use the PC to attack other systems. The rootkit also hides these activities. So the attacker can keep working for weeks or months before anyone notices.

What does a rootkit scan mean?

A rootkit scan is a check that looks for hidden programs deep inside the system, such as the start-up files and the core of Windows. Because a rootkit can hide from normal scans, the best scans run from outside the running system. For example, Microsoft Defender Offline scan restarts the PC and scans it from a trusted environment before Windows fully loads.

Is a rootkit a virus?

No, a rootkit is not a virus, although people often call it a “rootkit virus”. A virus copies itself into other files when someone opens them. A rootkit does not copy itself. Instead, it gets admin power and hides on one computer. Both are harmful software, and a rootkit can hide a virus or arrive with one, so security tools look for both.

What is the difference between rootkits and bootkits?

A bootkit is a type of rootkit that starts during boot, before Windows loads. It replaces or changes the boot loader, the small program that starts Windows. Because it runs first, it can hide from security tools that load later. Other rootkits start inside Windows or inside apps. Windows Secure Boot helps block bootkits by loading only a trusted, signed boot loader.

What is a rootkit trojan?

A rootkit trojan usually means a Trojan horse that carries a rootkit. The Trojan looks like something useful, such as a software update or a handy office tool, so a person installs it willingly. Once it runs with admin rights, it drops the rootkit, which then hides itself and keeps the attacker’s access open. Using normal accounts without admin rights blocks many of these installs.
Use CaseImprove Threat Detection and Response

References

  1. Definition of a rootkit: NIST Computer Security Resource Center, Glossary: Rootkit
  2. Rootkit types, Secure Boot and TPM: Microsoft Learn, Secure the Windows boot process
  3. Offline scan for rootkits: Microsoft Learn, Microsoft Defender Offline scan in Windows
Stay Updated

Get the Latest Terms & Insights.

New encyclopedia terms, threat intelligence, and architecture decisions, by email.

Book a Consultation

A practice principal will contact you within 1 business day.

Thank you! A Signisys principal will be in touch within 1 business day.