Menu

Reverse engineer that USB device in style
📰

Reverse engineer that USB device in style

Adafruit Industries – Makers, hackers, artists, designers and engineers!·Anne Barela·about 16 hours ago
#udXaEjn2
#adafruit#command#github#capture#report
Reading 0:00
15s threshold

Emir Mrkaljević has published usb-rea on GitHub, a tool that takes a USB capture and works out what the device’s protocol actually is. It reads pcap or pcapng files from usbmon or USBPcap, infers the command structure from labelled actions, then writes a Markdown report and a standalone pyusb driver. It’s aimed at gadgets that only ship a Windows vendor app: a case LCD, an RGB controller, a mouse or a “smart” lamp.

From captures of the NZXT Kraken X (1e71:170e) fan command, it recovers 02 4d <channel> 00 <duty> byte for byte, matching what liquidctl’s kraken2.py sends, and the generated driver emits identical packets for duty values it didn’t see in the capture. The same holds for SteelSeries Rival 100 DPI, polling and RGB tables from rivalcfg. Those checks run in CI.

Claims in the report are linked back to Wireshark frame numbers. Synthetic devices are included to try it without hardware.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.