re-uefi

re-uefi is a skill for Claude Code from dslsdzc/rev-skills. It costs 51 tokens per session (3,470 once invoked), scanned A, original, Apache-2.0.

A workflow for analysing UEFI and BIOS firmware, including its internal modules, DXE drivers, and bootkits. UEFI is the software that starts a computer before the operating system loads.

In plain words
What is it for?
Use it to extract and inspect UEFI modules, investigate bootkits, analyse startup hooks, and review signatures, certificates, and firmware settings.
Why use it?
Firmware code uses specialised structures that ordinary file-analysis tools may not understand. This helps examine startup components and security features such as Secure Boot and boot-chain changes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to extract and inspect UEFI modules, investigate bootkits, analyse startup hooks, and review signatures, certificates, and firmware settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dslsdzc/rev-skills/re-uefi
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dslsdzc/rev-skills --skill re-uefi
Clone the repo
git clone --depth 1 https://github.com/dslsdzc/rev-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for re-uefi

README.md
[![agentmods](https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-uefi/github.svg)](https://agentmods.dev/skills/dslsdzc/rev-skills/re-uefi)
Your own site
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-uefi"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-uefi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for re-uefi

Your own site · 80×15
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-uefi"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-uefi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,470 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.03470
Opus 5 $0.00026 $0.01735
Sonnet 5 $0.00010 $0.00694
Haiku 4.5 $0.00005 $0.00347

Measured 7d ago against content hash c4f529ec37c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

re-uefi scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/re-uefi/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UEFI 固件逆向(DXE 驱动 / UEFI 模块 / bootkit)

何时使用 / 何时不用

  • 用:固件镜像内含 EFI 结构(Firmware Volume / FFS 文件 / DXE 驱动)——BIOS 更新包(.fd/.rom/.bin)、UEFI 驱动、EFI 应用
  • 用:bootkit 定位(SMM handler、定时器回调、启动路径挂钩)与验证
  • 用:Secure Boot / 启动链相关分析(签名、证书、NVRAM 变量)——需合法授权,见坑 4
  • 不用:固件是传统 Linux 嵌入式 rootfs(走 [[re-fw-extract]] / [[re-fw-rootfs]];[[re-firmware]] 网关先判定)
  • 不用:Legacy BIOS Option ROM / 非 EFI 传统固件(binwalk 走 [[re-fw-extract]])
  • 不用:只需整体解包看内容(先 [[re-fw-extract]] 初判,确认是 UEFI 结构再进本技能)
  • 注意:静态分析先行(大型固件原则);仿真 bootkit = 运行恶意代码,默认沙箱([[platform-tips]] 最高原则)

工具准备

所有工具先验证再使用。固件镜像解析/模块静态分析可免沙箱;OVMF 仿真(步骤 5)是动态执行,默认沙箱 + 网络隔离([[platform-tips]] 最高原则)。

UEFITool / UEFIExtract(固件解析主力)

  • Debian/Ubuntu: apt install uefitool uefitool-cli(官方包:GUI + CLI;CLI 含 UEFIExtract/UEFIFind)
  • Arch: AUR yay -S uefitool(或 uefitool-git;非官方仓库)
  • Fedora: 无官方包 → GitHub releases 的 Linux x64 二进制(https://github.com/LongSoft/UEFITool/releases)或源码构建(qmake + Qt6)
  • macOS: GitHub releases 的 universal macOS 二进制(同上页面)
  • Windows: GitHub releases 的 win64 二进制(或 choco install uefitool 如镜像可用)
  • 验证: uefiextract --help 输出用法;GUI uefitool 能打开固件镜像

UEFIFind(按模式串定位文件,随 uefitool-cli)

  • NE 版只有位置参数语法:uefifind imagefile {header|body|all} {list|count} pattern,无 -g/-t 选项
  • 按 GUID 定位改用 UEFIExtract 的 GUID 参数模式:uefiextract fw.bin <GUID>(见下)
  • 装法同上(Debian/Ubuntu 的 uefitool-cli 内含)
  • 验证: uefifind --help

ghidra / ida(模块反编译;装法见 [[re-ghidra]] / [[re-ida]])

  • .efi 模块是 PE/COFF(subsystem EFI_BOOT_SERVICE_DRIVER / EFI_APPLICATION),两家都能直接导入
  • EfiRom 插件(可选):EDK2 工具,用于 ROM 文件与 .efi 互转/体积查询
  • 验证: 导入提取出的 .efi 能自动识别 subsystem 为 EFI boot service driver

ovmf —— OVMF(Open Virtual Machine Firmware,UEFI 仿真固件)

  • Debian/Ubuntu: apt install ovmf(/usr/share/OVMF/OVMF_CODE.fd、OVMF_VARS.fd)
  • Fedora/RHEL: dnf install edk2-ovmf(路径 /usr/share/edk2/ovmf/OVMF_CODE.fd——旧 /usr/share/OVMF 布局已废弃)
  • Arch: pacman -S edk2-ovmf(仅装 /usr/share/edk2/x64/OVMF_CODE.4m.fd,4m 格式)
  • macOS: brew install qemu 自带固件($(brew --prefix)/share/qemu/edk2-x86_64-code.fd,随 qemu 包)
  • Windows: QEMU 安装包自带(share/qemu/ 下 edk2-x86_64-code.fd)
  • 验证: 按发行版查对应路径——Debian/Ubuntu ls /usr/share/OVMF/OVMF_CODE.fd;Fedora/RHEL ls /usr/share/edk2/ovmf/OVMF_CODE.fd;Arch ls /usr/share/edk2/x64/OVMF_CODE.4m.fd;macOS 用 brew 前缀路径

Read the full file on GitHub · 134 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 134 lines · 51 tokens per session scan A c4f529ec37c0

Subscribe to this mod's changes

re-uefi is a skill published in the GitHub repository dslsdzc/rev-skills (52 stars, last pushed 12d ago), licensed Apache-2.0. It adds 51 tokens to every session and 3,470 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

Youngmaidainon/Agent-Level-Up · 95 tokens

reverse-engineering-arm-binaries

Reverse engineers ARM/AArch64 malware by identifying the architecture and instruction set state (ARM/Thumb), parsing ELF/Mach-O ARM headers, and orienting analysis around the ARM calling convention. Activates for requests to reverse ARM binaries, analyze AArch64 malware, or handle ARM/Thumb instruction-set decoding.

meltedinhex/analyst-ai-pack · 69 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

mukul975/Anthropic-Cybersecurity-Skills · 95 tokens

Reverse Engineering & Binary Analysis

Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.

Masriyan/Claude-Code-CyberSecurity-Skill · 26 tokens

ot-ics-attack

A guide to assessing operational technology and industrial control systems such as SCADA, DCS, and PLC environments. These systems monitor and control physical processes and often use specialized network protocols.

wgpsec/AboutSecurity · 81 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.

plurigrid/asi · 40 tokens