About hardware-security
hardware-security is a skill for assessing embedded-device interfaces, intended for security practitioners authorized to inspect hardware. It guides debug-interface identification, boot-log access, and firmware extraction, with emphasis on physical authorization, electrical safety, and non-destructive probing.
Key features
- 01Identify UART, JTAG, and SWD interfaces
- 02Read boot logs and console output
- 03Assess whether debug interfaces are locked
- 04Extract and hand off firmware images
- 05Record pinouts and voltage levels
Use cases
- 01Check a device for exposed debug interfaces
- 02Assess boot consoles and root shells
- 03Extract firmware for further analysis
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ zhaoxuya520/ reverse-skill --skill hardware-securityAfter installing, type/hardware-securityin Claude Code to confirm it loaded.
Bundled filesreferences/debug-interface-triage.md
Details
From the project READMEHardware / Embedded Interface Security
ACTION REQUIRED(读完后立刻执行)
NOW: 确认物理接触授权与设备归属NOW: ESD/电源安全;默认只读探测NEXT: 联合 firmware-pentest 做镜像分析ACT: 外壳与调试接口识别 → consoles → 提取
适用场景
- UART / JTAG / SWD 调试口发现
- 启动日志、root shell、引导打断
- 配合拆机提取 Flash
- 安全启动/加密 Flash 的可行性评估(非破坏性优先)
工作流
□ 拆解授权设备;拍照标注测试点
□ 万用表找 GND/VCC/TX/RX;逻辑电平 1.8/3.3/5V
□ USB-TTL 只读日志;记录波特率
□ JTAG:枚举 IDCODE;评估是否锁定
□ 提取镜像 → 交接 firmware-pentest / ghidra
工具链
| 工具 | 用途 |
|---|---|
| USB-TTL / logic analyzer | UART |
| J-Link / CMSIS-DAP | 调试 |
| bus pirate / flipper(实验室) | 多协议 |
| binwalk / flashrom | 提取 |
参考
references/debug-interface-triage.md../firmware-pentest/../ot-ics/
路由上下文
上游: MASTER R34
MUST NOT: 未授权拆机/损坏他人设备
任务完成自检
- 是否记录接口电平与引脚图?
- 镜像是否哈希保全?
- Checklist?
Comments
Markdown supported