
This time we have a USB capture.
- Digging into the HID data and the byte positions is a research project!
- If you ask questions about the data displayed within any interrupt captured, you can learn precisely where keystrokes and mouse movements are captured and how to parse them manually.
In CTF competitions, one strategy is to try a USB mouse visualizer.
git clone https://github.com/WangYihang/USB-Mouse-Pcap-Visualizer.git

On the website here, follow the instructions for installing it.

Next, we’ll run it against our pcap file to create a .csv.
python3 usb-mouse-pcap-visualizer.py -i cap.pcapng -o my_output.csv

In Firefox, browse the assets folder within the downloaded GitHub project and upload the generated .csv

Give it a minute to run, and it will retrace the mouse movements, drawing out the flag!
