Use for authorized hardware and embedded interface security research including UART/JTAG discovery, debug pad triage, secure boot overview, and offline firmware extraction support.
Install
npx skills add https://github.com/zhaoxuya520/reverse-skill --skill hardware-securitySKILL.md
Hardware / 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?
Related skills
reverse-engineeringzhaoxuya5201.4KProvides reverse engineering techniques. Use when the main job is to understand how a compiled, obfuscated, packed, or virtualized target works before exploiting or solving it, including binaries, APKs, WASM, firmware, custom VMs, bytecode, malware-like loaders, and anti-debug or anti-analysis logic. Do not use it when the vulnerability is already understood and the remaining task is exploitation; use pwn instead. Do not use it for pure web workflows, log or disk forensics, or standalone crypto apk-reversezhaoxuya5201.3K在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。api-securityzhaoxuya520Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication, authorization, rate-limit, and CI/CD testing.attack-chainzhaoxuya520Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege escalation, lateral movement, or impact assessment. Route single-stage tasks directly to their specialist skill.