Using WiFiDucky, the ESP32-S2 / WiFi and USB library you can preform HID attacks
All you need is an ESP-32 S2 WiFi microcontroller
- BadUsb
- Controling device from distances away
- Web Interface
Before uploading the code you need to install the required library in Arduino IDE. Follow these steps:
-
Follow this path File> Prefrences
-
Look for the "Additional Boards Manager URLs"
-
Paste this into it https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
-
Now follow this path Sketch > Include Libraries > Manage Libraries
-
Then install esp32 library
After uploading the code, Connect to "WiFiDucky" with "WiFiDucky" password, then head to 192.168.1.1 and the web interface would appear on the screen and you can control the badhsb through the internet
Command | Description |
---|---|
GUI |
Pressing windows key |
STRING |
Typing strings |
REM |
Just discription |
DELAY |
Waiting for a specefic time |
ENTER |
To press ENTER button |
REM ----EXAMPLE----
DELAY 500
GUI r
DELAY 500
STRING cmd
DELAY 500
ENTER
DELAY 500
STRING YOU'RE HACKED
Distributed under the MIT License. See LICENSE.txt for more information.
Project Link: WifiDucky