mirror of
https://github.com/HackTricks-wiki/hacktricks.git
synced 2025-10-10 18:36:50 +00:00
20 lines
1.0 KiB
Markdown
20 lines
1.0 KiB
Markdown
# USB Toetsaanslagen
|
|
|
|
{{#include ../../../banners/hacktricks-training.md}}
|
|
|
|
As jy 'n pcap het wat die kommunikasie via USB van 'n sleutelbord soos die volgende bevat:
|
|
|
|
.png>)
|
|
|
|
Kan jy die hulpmiddel [**ctf-usb-keyboard-parser**](https://github.com/TeamRocketIst/ctf-usb-keyboard-parser) gebruik om te kry wat in die kommunikasie geskryf is:
|
|
```bash
|
|
tshark -r ./usb.pcap -Y 'usb.capdata && usb.data_len == 8' -T fields -e usb.capdata | sed 's/../:&/g2' > keystrokes.txt
|
|
python3 usbkeyboard.py ./keystrokes.txt
|
|
```
|
|
U kan meer inligting lees en 'n paar skripte vind oor hoe om dit te analiseer in:
|
|
|
|
- [https://medium.com/@ali.bawazeeer/kaizen-ctf-2018-reverse-engineer-usb-keystrok-from-pcap-file-2412351679f4](https://medium.com/@ali.bawazeeer/kaizen-ctf-2018-reverse-engineer-usb-keystrok-from-pcap-file-2412351679f4)
|
|
- [https://github.com/tanc7/HacktheBox_Deadly_Arthropod_Writeup](https://github.com/tanc7/HacktheBox_Deadly_Arthropod_Writeup)
|
|
|
|
{{#include ../../../banners/hacktricks-training.md}}
|