Skip to content
Remote WiFi HID Keyboard Injector edited this page Apr 28, 2017 · 36 revisions

What is WHID?

It stands for WiFi HID Injector. It is a WiFi remotely-controlled {Keyboard, Mouse} Emulator. Practically is an USB Rubberducky or BadUSB device on Steroids!

Video Introduction https://youtu.be/U-TtobZXJcw

Main Requirements

First of all you need to install the ESP8266 Libraries.

How To Configure WHID software (WINDOWS)

[VIDEO] https://youtu.be/MRGUSPW-Cr0

How To Configure WHID software (OSX)

[VIDEO] https://youtu.be/3FOLTxtehf0

git clone https://github.com/whid-injector/esptool

cd esptool/

sudo pip install pyserial

sudo python ./setup.py install

python esptool.py --port=/dev/cu.usbmodem1411 -b 115200 write_flash 0x00000 ../WHID/sketches/cactus_micro_rev2/ESP_Sketch/compiled.bin 

Third Party Softwares

USaBuse

https://github.com/sensepost/USaBUSe

coming soon...

Wifi Ducky

https://github.com/spacehuhn/wifi_ducky

###[IMPORTANT]###
If you wanna switch from WHID software to WifiDucky (or viceversa), you HAVE to erase the ESP's Flash:
**python esptool.py -p WHID-PORT erase_flash**

For the Wifi Ducky you also need to install the following Libraries

How to install Libraries in Arduino: https://www.baldengineer.com/installing-arduino-library-from-github.html

[VIDEO] How to configure Wifi Ducky (WINDOWS) https://youtu.be/PGa_ByyQw8Q

WiDucky

coming soon...

How to Revive a Bricked WHID device

Incorporating all of the USB tasks on a single chip is an awesome feature that makes the WHID and boards like it truly unique. But it also places more stress on a single chip, and if anything goes wrong with that chip, the board becomes nearly unusable. It’s not uncommon for WHID’s to become “bricked” and unprogrammable. But, in most cases, the bricking is reversible!

The most common source of WHID “bricking” is uploading code to it with an incorrectly set board.

To revive the WHID, you’ll need to find a way to upload a sketch to it with the board option correctly set. We can do this with a little help from the bootloader.

First, you’ll need to set the serial port to the bootloader. But that port is only visible when the board is in bootloader mode, so pull the reset line low twice quickly to invoke the bootloader reset feature discussed above. You can quickly press the reset button** twice. While the Cactus Micro is in the bootloader change the ‘Tools > Serial Port’ menu to the bootloader COM port. Quick! You’ve only got eight seconds. On Windows, the bootloader’s COM port number is usually one number higher than the Cactus Micro’s regular port number.

**The PCB has two pins for reset. Check the board and you will see. Those are the reset button.

General Resources

Clone this wiki locally