GRC Careers

HomeResourcesRootkits

CS-017 · Malware

Rootkits

Stealth malware that hides deep in a system to grant and conceal privileged access.

Executive Summary

A rootkit is malware built to gain and keep privileged access to a system while hiding its own presence and activity. It operates at a low level, sometimes inside the operating system kernel, boot process, or firmware, so it can conceal files, processes, and network connections from normal tools. Because rootkits subvert the very system meant to detect them, they are among the hardest malware to find and remove.

What It Is

A rootkit is a set of tools an attacker installs to obtain root or administrator level control and then stay hidden. The name comes from root, the highest privilege level on Unix-like systems. What separates a rootkit from ordinary malware is stealth: it actively tampers with the system so that files, processes, registry keys, and connections it wants to hide simply do not appear to standard utilities. Rootkits exist at several levels. User-mode rootkits hook normal applications and are easier to detect. Kernel-mode rootkits operate inside the operating system core with far deeper control. Bootkits infect the boot process so they load before the operating system, and firmware rootkits hide in hardware components, surviving even an operating system reinstall.

Why It Matters

A rootkit turns a compromised machine into a durable, well-hidden asset for the attacker. Once installed, it can conceal other malware, capture credentials, disable defenses, and give remote control that persists through reboots and even reimaging in the worst cases. Because it undermines the trust you place in the system's own reporting, you cannot fully believe what an infected machine tells you about itself. For organizations, a rootkit can mean a device or an entire environment is compromised at a foundational level, which raises the stakes for detection, response, and recovery. For professionals, rootkits are a proving ground for deep operating system knowledge, forensics, and threat hunting skills.

How It Works

A rootkit usually needs elevated privileges to install, so attackers first exploit a vulnerability, steal admin credentials, or trick a user into running it. Once it has that access, it embeds itself at a low level and hooks or patches system functions so the operating system returns false answers, hiding the rootkit's files and processes. It then maintains persistence by loading early in the boot sequence or as a trusted driver, and often provides a hidden channel for the attacker to return. Advanced rootkits also work to detect and evade security tools, disabling or blinding them. Detection typically relies on comparing the system's reported state against an independent, trusted view, such as scanning from outside the running operating system, checking boot and firmware integrity, or spotting the subtle side effects the rootkit cannot fully hide.

Architecture Diagram

User applications and files
User-mode rootkit (hooks apps)
Kernel-mode rootkit (in the OS core)
Bootkit (loads before the OS)
Firmware rootkit (in hardware)
Rootkits burrow beneath applications into the kernel, boot process, or firmware, so the deeper the layer the harder they are to see.

Visual Workflow

Treat the system as untrusted and gather evidence from an independent, external vantage point.Scan from outside the running operating system, such as booting from trusted clean media.Check boot, driver, and firmware integrity for unauthorized or unsigned changes.Scope the compromise, since a rootkit often hides other malware and stolen access.Reimage the device from known-good media, and replace hardware if firmware is affected.Rotate all credentials and secrets the device could reach, then monitor for reinfection.

Common Attacks

Common Mistakes

Best Practices

Quick Checklist

Recommended Tools

Endpoint Detection and Response (EDR)
Detects stealth behavior, driver abuse, and tampering across endpoints
Offline or bootable scanner
Inspects a system from outside its running operating system
Firmware and boot integrity tools
Verify Secure Boot state and detect unauthorized boot or firmware changes
Digital forensics toolkit
Supports memory and disk analysis to uncover hidden artifacts

Industry Standards

NIST SP 800-83
Guidance on preventing and handling malware, including stealthy persistent threats
NIST SP 800-147 / 800-193
Platform firmware protection and resiliency, relevant to firmware rootkits
NIST SP 800-61
Incident handling lifecycle used to scope and recover from deep compromise

Career Relevance

Rootkits are where malware analysts, incident responders, and threat hunters test their deepest operating system and forensics knowledge. Security engineers design the boot and driver protections that stop them, and SOC analysts watch for the faint signals of stealth activity. GRC and risk professionals weigh the outsized impact of a foundational compromise, the audience AI-Governance-Jobs.com serves.

Interview Questions

Related Certifications

GIAC Reverse Engineering Malware (GREM) GIAC Certified Forensic Analyst (GCFA) CompTIA Security+

Further Reading

Key Takeaways

Download PDFDownload PNG

FAQ

How is a rootkit different from other malware?

Most malware performs an action such as encrypting files or stealing data. A rootkit's defining trait is stealth and privileged control: it tampers with the system so its own presence and often other malware stay hidden from normal detection.

Can antivirus remove a rootkit?

Sometimes, especially for user-mode rootkits. But kernel, boot, and firmware level rootkits often defeat tools running on the infected system, so detection usually needs an external scan and remediation usually means reimaging, occasionally hardware replacement.

Does reinstalling the operating system remove a rootkit?

It removes most rootkits, but a firmware rootkit can persist below the operating system and survive a reinstall. In those cases, firmware reflashing or hardware replacement may be required, along with credential rotation.

Get all 116 reference sheets
The complete AGJ Cybersecurity Professional Reference Library, print-ready PDFs and PNGs.
Browse the library

Related Careers

Related certifications

GIAC Reverse Engineering Malware (GREM)GIAC Certified Forensic Analyst (GCFA)CompTIA Security+

Current openings

Live openings appear on the web version. Browse the job board for current GRC and security roles.
Browse all jobs

Suggested learning path

  1. Ground the basics with CS-001 Cybersecurity
  2. Study this sheet: Rootkits
  3. Go deeper: Fileless Malware
  4. Go deeper: Botnets
  5. Validate it: work toward GIAC Reverse Engineering Malware (GREM)
  6. Find the role: browse current openings

Related sheets

More in Malware

Share this LinkedIn Facebook X Email