मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट35k · #7870

detecting-secure-boot-bypass

यह क्या करती है

यह टूल जाँचता है कि आपके कंप्यूटर पर 'Secure Boot' सुरक्षा फीचर सही तरीके से काम कर रहा है या नहीं। यह उन तरीकों को ढूँढता है जिनसे हैकर इस सुरक्षा को बंद कर सकते हैं, ताकि खतरनाक प्रोग्राम (बूटकिट) ऑपरेटिंग सिस्टम से पहले चल सकें।

कब इस्तेमाल करें

  • ✓ज़रूरी सुरक्षा अपडेट के बाद यह पक्का करने के लिए कि सुरक्षा चालू है।
  • ✓अगर आपको शक है कि आपका कंप्यूटर ऐसे मैलवेयर से संक्रमित है जो OS से पहले चलता है।
  • ✓यह सुनिश्चित करने के लिए कि प्रतिबंधित प्रोग्रामों की सूची (dbx) अपडेट है और सही काम कर रही है।

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-secure-boot-bypass/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-secure-boot-bypass/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे कंप्यूटर पर Secure Boot चालू और सुरक्षित है या नहीं, यह जाँचो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह टूल कुछ खास कमांड चलाकर Secure Boot की स्थिति जाँचता है, रद्द किए गए प्रोग्रामों की सूचियाँ देखता है, और आपके सिस्टम की स्टार्टअप फ़ाइलों की तुलना खतरनाक प्रोग्रामों की ज्ञात सूचियों से करता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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 dbxupdate files 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.


…
अक्सर पूछे जाने वाले सवाल

Secure Boot क्या है?

यह आपके कंप्यूटर के फ़र्मवेयर में मौजूद एक सुरक्षा फीचर है। यह सुनिश्चित करता है कि बूट होने के दौरान सिर्फ़ भरोसेमंद (डिजिटल साइन किया हुआ) सॉफ़्टवेयर ही लोड हो।

बूटकिट क्या है?

यह एक तरह का मैलवेयर है जो कंप्यूटर स्टार्ट होने के दौरान, ऑपरेटिंग सिस्टम लोड होने से भी पहले, खुद को इंस्टॉल कर लेता है। इसलिए इसे पहचानना और हटाना बहुत मुश्किल होता है।

dbx की जाँच क्यों ज़रूरी है?

dbx बूट प्रोग्रामों की वह सूची है जिन्हें रद्द (प्रतिबंधित) कर दिया गया है। dbx की जाँच से पक्का होता है कि आपका कंप्यूटर ऐसे ज्ञात खतरनाक सॉफ़्टवेयर को लोड नहीं करेगा जो Secure Boot को बाईपास करने की कोशिश करता है।

जानकारी

लेखक का मूल विवरण

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

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

GitHub स्टार
35k
रैंकिंग में स्थान
#7870
लाइसेंस
Apache-2.0
अपडेट की गई
31/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills