Break The Syntax
Monkey See
Category: Forensic
TL;DR
We're given a USB Pcapng that 30k+ Packets. A couple of them contains details that the device is a keyboard
Solution
First we extract the leftover capture data from the packets using this command below
tshark -r monkey-see.pcapng -Y "usb" -T fields -e usb.capdata > output.txtAnd the output will contains all leftover capture data like below.
010000150000000000
010000080000000000
010000160000000000
0100000c0000000000
010000110000000000
0100000e0000000000
0100002c0000000000
010000170000000000
010000150000000000
010000040000000000
010000110000000000
010000160000000000
010000190000000000
010000080000000000
010000150000000000
010000160000000000
010000120000000000
010000100000000000
010000080000000000
010000070000000000
0100000c0000000000
010000040000000000
0100000f0000000000
0100002c0000000000
010000160000000000
...
0100000c0000000000
010000080000000000
010000070000000000
010000110000000000
010000080000000000
010000160000000000
010000160000000000
0100002c0000000000
010000120000000000
010000180000000000
010000170000000000
010000070000000000
010000150000000000
010000040000000000
010000090000000000
010000170000000000
0100002c0000000000
010000160000000000
010000140000000000
010000180000000000
010000040000000000
010000110000000000
010000070000000000
010000080000000000
010000150000000000
010000100000000000
010000040000000000
010000110000000000
0100000c0000000000
010000040000000000The next step is to make a solver that parse the capture data
And the output will be like below
Flag: BtSCTF{m0nk3y_tYpE!!1!!oneone!}
Last updated