USB-REA
Reverse-engineer USB gadget traffic, infer proprietary protocols from packet captures, and automatically generate open-source Python and libusb drivers.
USB-REA streamlines the process of reverse engineering proprietary USB peripherals by analyzing packet captures recorded via usbmon or USBPcap. By diffing host-device traffic against labeled user actions, it automatically infers command layouts, linear values, lookup tables, bitfields, rolling counters, handshakes, and checksums. The tool generates comprehensive Markdown reports linking each conclusion to frame numbers, crafts standalone pyusb drivers, and exports Wireshark Lua dissectors, providing developers and hardware hackers with an automated pipeline available via a CLI or an integrated MCP server.