Dissecting boot and kernel rootkits

From meltedinhex/analyst-ai-pack · View interactive version

Dissecting boot and kernel rootkits is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Analyzes bootkit and rootkit samples by identifying boot-process tampering (MBR/VBR/ UEFI), kernel-mode components, and stealth hooking techniques from static indicators. Activates for requests to analyze a bootkit or rootkit, examine MBR/UEFI tampering, or identify kernel-mode stealth components.

How to use this skill

Skill file

Dissecting Boot and Kernel Rootkits

When to Use

kernel-level tampering and stealth.

Do not use this on production firmware/boot media without acquisition — analyze a captured

image. The skill reads bytes statically and executes nothing.

Prerequisites

Safety & Handling

Workflow

Step 1: Classify the artifact

python scripts/analyst.py classify sample.bin

Detects MBR/VBR (boot signature 0x55AA at 0x1FE), UEFI modules (PE with EFI subsystem / PI

GUIDs / EFI_ strings), and kernel drivers (PE importing ntoskrnl/hal, .sys indicators).

Step 2: Identify tampering / hooking indicators

Flag disk-write primitives (Int 13h for MBR bootkits), SSDT/IRP hooking and Zw*/Ke* kernel

APIs, DKOM strings, and driver-callback registration.

Step 3: Map the persistence vector

Determine whether persistence is via MBR/VBR overwrite, UEFI variable/module, or driver service.

Step 4: Document

Record the artifact type, persistence vector, and stealth technique class, mapping to ATT&CK.

Validation

Pitfalls

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.