

I plugged in a USB device and transferred a text file ( with contents “findme”*1000). I made a simple test to understand how a simple file is transferred via USB protocol. Wireshark doesn’t have an easy option to view the transferred files using USB protocol, on the contrary it’s easy to extract or view transferred files in TCP (using TCP stream).

In the following paragraphs I will try to explain my approach to solve this problem but i f you just want to see the solution please check the last 2 paragraphs.

The initial 4 packets had the information of the devices involved in the traffic. Using the Product ID and Vendor ID I did some research here to get the device details. In fact, this is my first attempt to recover USB traffic from a PCAP file.
