detecting-secure-boot-bypass
Was er macht
Dieses Tool prüft, ob die Sicherheitsfunktion „Secure Boot“ auf deinem Computer richtig funktioniert. Es sucht nach Wegen, mit denen Hacker diesen Schutz deaktiviert haben könnten, sodass schädliche Programme (Bootkits) starten können, bevor das Betriebssystem läuft.
Wann du ihn nutzt
- ✓Nach wichtigen Sicherheitsupdates, um zu prüfen, ob der Schutz aktiv ist.
- ✓Wenn du vermutest, dass dein Computer mit Malware infiziert ist, die vor dem Betriebssystem startet.
- ✓Um sicherzustellen, dass die Liste gesperrter Programme (dbx) aktuell ist und funktioniert.
Link zum Skill
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-secure-boot-bypass/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Prüfe, ob Secure Boot auf meinem Computer aktiv ist und sicher funktioniert.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Das Tool nutzt bestimmte Befehle, um den Status von Secure Boot zu prüfen, die Listen gesperrter Programme durchzusehen und die Startdateien deines Systems mit Listen bekannter gefährlicher Programme zu vergleichen.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Detecting Secure Boot Bypass
Legal Notice: Firmware and Secure Boot assessment must only be performed on systems you own or are explicitly authorized to test. CHIPSEC's write/modify modes and EFI variable manipulation can brick hardware. Run destructive checks only in a lab. This skill is for defensive verification and authorized assessment.
Overview
UEFI Secure Boot is the firmware-enforced trust chain that only permits boot components signed by keys in the platform's allow-list (db) and not present in the revocation list (dbx). Bootkits defeat this layer to gain pre-OS, persistent, kernel-level control that survives OS reinstalls and disk wipes. BlackLotus (2023) was the first publicly observed UEFI bootkit to bypass Secure Boot on fully patched Windows 11, abusing CVE-2022-21894 ("baton drop") in a vulnerable, signed Windows boot manager to neutralize Secure Boot and disable BitLocker, HVCI, and Defender. Bootkitty (2024) was the first PoC UEFI bootkit targeting Linux. Microsoft's CVE-2023-24932 addressed a related Secure Boot bypass that required a phased dbx (revocation) rollout because revoking the vulnerable boot managers can render systems unbootable if applied carelessly.
The core defensive insight is that patching the OS is not sufficient — the platform remains exploitable until the vulnerable, signed binaries are revoked in dbx. Detection therefore combines: (1) confirming Secure Boot is actually enabled, (2) verifying dbx is current and contains the relevant revocations, (3) checking the integrity and protection of Secure Boot EFI variables with CHIPSEC, (4) hashing on-disk EFI boot binaries and comparing them against the revocation list and known-bad sets, and (5) inspecting firmware/ESP for bootkit artifacts. This skill provides a cross-platform (Linux + Windows) workflow using mokutil, efi-readvar/dbxtool, chipsec, sbverify/pesign, and Windows Confirm-SecureBootUEFI / Get-SecureBootUEFI.
When to Use
- Verifying that an estate's Secure Boot configuration is enabled, locked, and current after the CVE-2023-24932 / BlackLotus advisories.
- Hunting for UEFI bootkit indicators on a suspected-compromised endpoint.
- Validating that dbx revocations (e.g., vulnerable Windows boot managers, Kaspersky/other vulnerable bootloaders) have actually applied across the fleet.
- Auditing firmware integrity and Secure Boot variable protections during a hardware security assessment.
- Building a recurring measured/baseline check for boot-chain tampering.
Prerequisites
- Root/administrator on the target (firmware reads require privilege).
- Linux tooling:
sudo apt install mokutil efitools sbsigntool dbxtool # Debian/Ubuntu sudo dnf install mokutil efitools sbsigntools dbxtool # Fedora/RHEL - CHIPSEC (run from a live USB or controlled host; loads a kernel driver):
pip install chipsec # or build from https://github.com/chipsec/chipsec - Windows tooling: PowerShell (built-in
Confirm-SecureBootUEFI,Get-SecureBootUEFI), and optionally the UEFI dbx update package from Microsoft. - The current
dbxupdatefiles from https://uefi.org/revocationlistfile to compare against.
Objectives
- Confirm Secure Boot is enabled and in user (not setup) mode.
- Enumerate db, dbx, KEK, and PK contents and assess freshness of dbx.
- Verify the relevant CVE revocations are present in dbx.
- Validate Secure Boot EFI variables are authenticated and protected (CHIPSEC).
- Hash ESP boot binaries and check them against dbx and known-bad hash sets.
- Identify bootkit artifacts and report exploitable gaps with remediation.
MITRE ATT&CK Mapping
| Technique ID | Technique Name | Relevance |
|---|---|---|
| T1542.003 | Pre-OS Boot: Bootkit | Core technique — bootkit subverts the boot chain below the OS. |
| T1542 | Pre-OS Boot | Parent technique covering firmware/boot-component tampering. |
| T1542.001 | Pre-OS Boot: System Firmware | Adjacent: firmware modification used to persist or weaken Secure Boot. |
| T1014 | Rootkit | Bootkits provide rootkit-level concealment and persistence. |
| T1562.001 | Impair Defenses: Disable or Modify Tools | BlackLotus disables BitLocker/HVCI/Defender after bypassing Secure Boot. |
Workflow
1. Confirm Secure Boot state (Linux)
A disabled or setup-mode platform offers no protection.
…
Häufige Fragen
Was ist Secure Boot?
Das ist eine Sicherheitsfunktion in der Firmware deines Computers. Sie sorgt dafür, dass beim Starten nur vertrauenswürdige Software geladen wird, die digital signiert ist.
Was ist ein Bootkit?
Das ist eine Art Malware, die sich während des Startvorgangs des Computers installiert, noch bevor das Betriebssystem geladen wird. Dadurch ist sie sehr schwer zu erkennen und zu entfernen.
Warum ist die Prüfung der dbx wichtig?
Die dbx ist eine Liste von Startprogrammen, die gesperrt (verboten) wurden. Wenn du die dbx prüfst, stellst du sicher, dass dein Computer keine bekannte Schadsoftware lädt, die Secure Boot umgehen will.
Details
Originalbeschreibung des Autors
Detect UEFI Secure Boot bypasses and bootkits such as BlackLotus and Bootkitty by verifying Secure Boot state, checking dbx revocation currency, and hashing EFI boot binaries against known-bad sets using mokutil, efi-readvar/dbxtool, CHIPSEC, sbverify/pesign, and Windows Confirm-SecureBootUEFI. Use when auditing fleet dbx rollout after a bootkit advisory or hunting for pre-OS persistence on a susp
Beliebtheit
- GitHub-Sterne
- 35k
- Platz im Ranking
- #7870
- Lizenz
- Apache-2.0
- Aktualisiert
- 31.8.2026
Kommentare
- …
Weitere Skills aus diesem Repository
abusing-dpapi-for-credential-access
35kGibt deinem KI-Agenten fertige Anweisungen für eine bestimmte Aufgabe, damit er sie besser und schneller erledigt.
abusing-shadow-credentials-for-privesc
35kBringt deinem KI-Agenten bei, klare und gut strukturierte Texte zu schreiben.
achieving-cmmc-level-2-compliance
35kHilft deinem Agenten, eine Umgebung für CMMC-Level-2-Konformität vorzubereiten. Setzt Sicherheitsanforderungen um und verwaltet nötige Dokumentation.
acquiring-disk-image-with-dd-and-dcfldd
35kHilft deinem Agenten, exakte Festplattenkopien zu erstellen. Wichtig, damit bei Ermittlungen keine Informationen verloren gehen oder verändert werden.
Ähnliche Skills
add-model-provider
394kLässt deinen Agenten einen neuen KI-Modellanbieter mit sicheren Befehlen an OpenClaw anbinden, API-Schlüssel nicht im Klartext speichern und einen Live-Test starten.
acp-router
394kHilft deinem Agenten, eine Aufgabe über OpenClaw an einen Coding-Assistenten wie Claude Code oder Cursor zu senden, damit die Arbeit in diesem Tool läuft.
browser-automation
394kBringt deinem Agenten bei, Webseiten Schritt für Schritt zu steuern, einschließlich Anmeldungen, Tabs und Wiederherstellung, wenn eine Seite nicht mehr reagiert.