Baseline the EFI System Partition and hunt malicious EFI binaries (ESPecter, BlackLotus, Bootkitty, Glupteba) by mounting the ESP, hashing and verifying boot loaders, scanning with YARA, and detecting anomalous non-EFI files.
SkillScore91Maintained
Automatic
◆Security & AppSec pack
Last verified 8/3/2026
What it changes
Passed 19 of 21 test cases with the skill, and 15 of 21 without it.
Without skill73%
With skill91%
Checks it passed that the model alone missed
Specifies setting the umask=077 mount option.
Recommends sorting both hash lists prior to comparison.
Identifies Bootkitty as the UEFI bootkit targeting Linux platforms.
and 2 more in the full report
4 fixed16 passed either way2 still failing0 broke
Pass-rate lift
+18 pp
Tokens
+97%
Agent turns
0%
Response time
-40%
Model gemini-3.6-flashMeasured 8/3/2026v120 of 22 cases passed with skill · 21 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 3
Prompt
A Linux server shows unexpected changes in /boot/efi. The analyst claims bootkits only target Windows environments. What 2024 Linux-specific UEFI bootkit family disproves this assumption?
What was checked, without and with the skill
Checked
Without skill
With skill
Identifies Bootkitty as the UEFI bootkit targeting Linux platforms.
Missed
Passed
case-11 · gemini-3.6-flash · 8/3/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md200 lines4 filesincludes scripts
Hunting Bootkits in the EFI System Partition
Overview
The EFI System Partition (ESP) is a small FAT32-formatted partition that the platform firmware reads at power-on to locate and execute the operating system's boot loader. Because it executes before the operating system, kernel, and any EDR agent, the ESP is one of the most coveted persistence locations for advanced adversaries. UEFI bootkits that live on the ESP survive OS reinstallation, disk reformatting of the OS partition, and most endpoint defenses.
This skill follows the detection research published by Eclypsium ("Enhanced Threat Detection: Bootloaders, Bootkits, and Secure Boot", and the Bootkitty and Glupteba analyses) and aligns with the ESP-hunting methodology Rapid7 documented for Velociraptor (Windows.Forensics.UEFI, Windows.Detection.Yara.UEFI). The threat context is concrete and current:
ESPecter (ESET, 2021) — a UEFI bootkit that persists on the ESP as a patched Windows Boot Manager (bootmgfw.efi) plus malicious kernel-mode drivers. It marked the move of UEFI threats from SPI flash to the ESP, where they are far easier to deploy.
BlackLotus (2023) — the first in-the-wild UEFI bootkit able to bypass Secure Boot on fully patched Windows 11 by exploiting CVE-2022-21894 ("baton drop") and staging a vulnerable signed bootmgfw.efi on the ESP.
Bootkitty (2024) — the first UEFI bootkit targeting Linux, dropped onto the ESP.
Glupteba — commodity malware whose UEFI variant replaces software on the EFI partition.
The core detection insight from Eclypsium and Rapid7 is that the bootloader normally changes only during a vendor or OS update; an out-of-band change to ESP binaries, an unsigned or untrusted-signed boot loader, or any file in the ESP root that is not under the EFI/ directory is a high-fidelity indicator of compromise. This skill builds that baseline and hunts deviations from it.
When to Use
During proactive threat hunts for firmware/bootkit persistence (MITRE ATT&CK T1542.003 — Pre-OS Boot: Bootkit)
After an incident where an adversary achieved SYSTEM/root and may have established below-OS persistence
When validating Secure Boot posture across a fleet and confirming boot-chain integrity
As a periodic integrity check, comparing the current ESP contents against a trusted golden baseline
When triaging hosts that show measured-boot (TPM PCR) mismatches
Prerequisites
Administrative/root access to the target host (mounting and reading the ESP requires elevation)
Linux analysis tooling — install on Debian/Ubuntu: