REI Firmware and IoT
When to Use
- Study authorized MCU, UEFI, embedded Linux, automotive telemetry, gateway, GPS/IoT and other firmware images. Use for file-system identification, container carving, SoC architecture hypotheses, boot-chain mapping, serial traces, protocol frame documentation and safe compatibility implementations.
- When performing authorized, evidence-led reverse engineering with SHA-256 artifact tracking.
Entry contract
Use only the target the user provides or explicitly authorizes. Establish the question, artifact SHA-256, permitted scope, desired output and actually available tools. If repository source is complete, inspect it first instead of treating every task as binary RE.
Available tooling
Catalog: binwalk, ubi_reader, jefferson, UEFITool, dtc, squashfs-tools, Ghidra, QEMU, Wireshark, tshark. Hardware tools need explicit electrical and scope checks.
Procedure
- Identify acquisition method, hash and hardware revision.
- Map partitions, headers, byte offsets, compression and endianness without extraction.
- Extract only in a sandbox after checking traversal and decompression limits.
- Correlate code with hardware register maps, schematics, UART/logic recordings.
- Validate on a non-production device with recoverable firmware and rollback image.
Evidence and limits
Do not flash unknown images, infer power pinouts or change physical device state without independent verification.
For every conclusion record: target hash, source address/offset/file line, method and version, status (observed/inferred/unknown), coverage, alternative hypotheses, next verification. Do not invent installed tools or report target execution that did not happen.
See workflow checkpoints for outputs and acceptance criteria.
🏰 Rei Skills — Curated by Rootcastle Engineering & Innovation | Batuhan Ayrıbaş
Engineering Beyond Boundaries | admin@rootcastle.com
1---2name: rei-firmware-and-iot3description: "Examine authorized MCU, UEFI, embedded Linux, automotive telemetry, and GPS/IoT firmware images safely."4risk: safe5source: rootcastle-rei6category: reverse-engineering7metadata:8 source: https://skillmd.com/skills/rootcastleco/rei-firmware-and-iot9 tags: "reverse-engineering, firmware, iot, embedded, uefi, telemetry, rei-rea"10 upstream_repo: "https://github.com/rootcastleco/Rei-Reverse-engineer"11 curated_by: "rootcastle-rei"12---1314# REI Firmware and IoT1516## When to Use1718- Study authorized MCU, UEFI, embedded Linux, automotive telemetry, gateway, GPS/IoT and other firmware images. Use for file-system identification, container carving, SoC architecture hypotheses, boot-chain mapping, serial traces, protocol frame documentation and safe compatibility implementations.19- When performing authorized, evidence-led reverse engineering with SHA-256 artifact tracking.202122## Entry contract2324Use only the target the user provides or explicitly authorizes. Establish the question, artifact SHA-256, permitted scope, desired output and actually available tools. If repository source is complete, inspect it first instead of treating every task as binary RE.2526## Available tooling2728Catalog: `binwalk`, `ubi_reader`, `jefferson`, `UEFITool`, `dtc`, `squashfs-tools`, `Ghidra`, `QEMU`, `Wireshark`, `tshark`. Hardware tools need explicit electrical and scope checks.2930## Procedure31321. Identify acquisition method, hash and hardware revision.332. Map partitions, headers, byte offsets, compression and endianness without extraction.343. Extract only in a sandbox after checking traversal and decompression limits.354. Correlate code with hardware register maps, schematics, UART/logic recordings.365. Validate on a non-production device with recoverable firmware and rollback image.3738## Evidence and limits3940Do not flash unknown images, infer power pinouts or change physical device state without independent verification.4142For every conclusion record: target hash, source address/offset/file line, method and version, status (`observed`/`inferred`/`unknown`), coverage, alternative hypotheses, next verification. Do not invent installed tools or report target execution that did not happen.4344See [workflow checkpoints](references/workflow.md) for outputs and acceptance criteria.4546---4748> 🏰 **Rei Skills** — Curated by [Rootcastle Engineering & Innovation](https://www.rootcastle.com) | Batuhan Ayrıbaş 49> Engineering Beyond Boundaries | admin@rootcastle.com