image.png

This time we have a USB capture.

In CTF competitions, one strategy is to try a USB mouse visualizer.

git clone https://github.com/WangYihang/USB-Mouse-Pcap-Visualizer.git   

image.png

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

image.png

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

image.png

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

image.png

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

image.png