Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Rootkit

Direct answer

A rootkit hides malware by modifying the OS, kernel, bootloader or firmware, so normal tools do not show its files or processes. Secure Boot, measured boot and offline scans help detect it.

When to use this

Use this when malware may hide itself in the OS, kernel or boot chain.

First 30 seconds

1. Rootkits hide malware at kernel or firmware level.

2. Hard to detect from inside the OS.

3. Secure Boot, HVCI, driver blocklists.

4. Offline/memory forensics.

5. Reimage (and possibly reflash firmware).

Operational verification

rootkit → hooks OS → hides activity

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Incident response and forensics
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformIncident response and forensics
Scope / prerequisiteUse this when malware may hide itself in the OS, kernel or boot chain.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Detection Verify boundary
  • Compare results from a live system with an offline scan (Defender Offline, booting from rescue media).
  • Look for hidden processes or drivers (memory analysis with Volatility).
  • Check Secure Boot and Measured Boot logs for changes.
  • fltmc and driverquery /v for unexpected drivers.
Step 2 Common mistakes Narrow the fault
  • Trusting the OS of a rooted system for analysis.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Normal tools may not see it.
  • Secure Boot and measured boot help.
  • Offline scans are more reliable.
Key checks
  • rkhunter --check — Linux rootkit check
  • chkrootkit — alternative
  • Secure Boot/measured boot status — bootkit protection
ReferenceWhy it matters1 section · depth on demand

Defences

  • Secure Boot, measured boot and TPM attestation.
  • Kernel-mode code signing and HVCI (memory integrity) on Windows.
  • Offline or boot-time scans when a rootkit is suspected.

Kernel or firmware rootkits usually require reinstalling or reflashing; cleaning is unreliable.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

A rootkit hides malicious activity by modifying the operating system or firmware — concealing files, processes, network connections and registry keys from administrators and security tools. Kernel-mode and boot-level rootkits are especially hard to detect from inside the running system.

TypeLocationDefence
User-modeHooks in applications/librariesEDR, integrity monitoring
Kernel-modeDrivers/modulesDriver signing, HVCI, vulnerable driver blocklist
BootkitBoot loaderSecure Boot, measured boot
Firmware/UEFIPlatform firmwareFirmware updates, Secure Boot, attestation

Detection often needs an outside view: offline scanning, memory forensics, network monitoring of hidden traffic, or attestation. Rebuild compromised systems (including firmware updates) rather than attempting removal.

Types

LevelExampleDetection
User modeHooks in processesEDR, memory scans
Kernel modeMalicious driversDriver signing, HVCI, Secure Boot
BootkitModified boot loaderSecure Boot, Measured Boot
Firmware (UEFI)LoJax, CosmicStrandFirmware scanning, vendor updates

Rebuild rather than clean; for firmware rootkits, reflash or replace the board.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docIncident response and forensics current

Authoritative/upstream documentation reviewed for bounded claims in Malware → Rootkit. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://attack.mitre.org/techniques/enterprise/ · confidence 94%
Confirmation

Confirm action

Continue?