diff options
author | Malfurious <m@lfurio.us> | 2020-12-03 23:30:29 -0500 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2020-12-03 23:30:29 -0500 |
commit | 2e9dccb9e2bb4d1d46a9b798ec1cd24d77230a3d (patch) | |
tree | bf48261d982a671ab0c84941e750b50766c65254 /docs/forensics | |
parent | c72ae328a81c6a3deba9a8d65b3ab4ead9894b6b (diff) | |
download | lib-des-gnux-2e9dccb9e2bb4d1d46a9b798ec1cd24d77230a3d.tar.gz lib-des-gnux-2e9dccb9e2bb4d1d46a9b798ec1cd24d77230a3d.zip |
Add WIP USB PCAP documentation
This was leftover in my working directory from the last ctf....
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'docs/forensics')
-rw-r--r-- | docs/forensics/USB_Packet_Capture.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/forensics/USB_Packet_Capture.txt b/docs/forensics/USB_Packet_Capture.txt new file mode 100644 index 0000000..130c4be --- /dev/null +++ b/docs/forensics/USB_Packet_Capture.txt @@ -0,0 +1,27 @@ +Keyboards +========= + +To disect what a keyboard was typing from a USB pcap file, refer to the +"Leftover Capture Data" (as Wireshark calls it). This field will contain +bytes describing pressed keys (scancodes), including modifier keys. + +At the time of writing this, my understanding of the data format is still a +little limited. So, this is just what I know. Update it, over time. + +First byte of Leftover Data will contain any modifier keys. I've seen 0x20 and +0x02 both mean Shift (perhaps one is left and one is right). + +Starting 3 bytes in to the data (that is, offset 2), there will be codes for any +other pressed keys. Their meanings are in the table below. You may see multiple +bytes here. As best I can tell, these are just multiple keys being pressed at +the same time. + +Note that when keys are released, there will be a packet with zero bytes, which +tell the host that there are no keys being pressed. + +Code Table +Byte value Unshifted Shifted +--------------------------------------- + + +# TODO - https://www.youtube.com/watch?v=0HXL4RGmExo |