Chuyển đến nội dung
Skillpedia
Agent35k · #7870

detecting-secure-boot-bypass

Skill này làm gì

Công cụ này kiểm tra xem tính năng bảo mật “Secure Boot” trên máy tính có đang hoạt động đúng không. Nó tìm các cách tin tặc có thể đã tắt bảo vệ này, cho phép chương trình độc hại (bootkit) chạy trước hệ điều hành.

Khi nào nên dùng

  • ✓Sau các bản cập nhật bảo mật quan trọng để xác nhận bảo vệ vẫn đang hoạt động.
  • ✓Khi nghi ngờ máy tính bị nhiễm mã độc chạy trước hệ điều hành.
  • ✓Để đảm bảo danh sách chương trình bị cấm (dbx) luôn được cập nhật và hoạt động.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-secure-boot-bypass/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy kiểm tra xem Secure Boot có đang hoạt động và an toàn trên máy tính của tôi không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng các lệnh cụ thể để kiểm tra trạng thái Secure Boot, xem danh sách chương trình đã bị thu hồi, và so sánh các tệp khởi động của hệ thống với danh sách chương trình độc hại đã biết.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.


…
Câu hỏi thường gặp

Secure Boot là gì?

Đó là tính năng bảo mật trong phần mềm firmware của máy tính, đảm bảo chỉ phần mềm đáng tin cậy (có chữ ký số) mới được tải trong quá trình khởi động.

Bootkit là gì?

Đó là loại mã độc tự cài vào giai đoạn khởi động của máy tính, thậm chí trước khi hệ điều hành tải lên. Vì vậy rất khó phát hiện và gỡ bỏ.

Tại sao kiểm tra dbx lại quan trọng?

dbx là danh sách các chương trình khởi động đã bị thu hồi (bị cấm). Kiểm tra dbx đảm bảo máy tính không tải phần mềm độc hại đã biết cố qua mặt Secure Boot.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#7870
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự