With this method of disturbing the wireless network traffic we are not actually “jamming” anything. We will not be using illegal transmitters to send jamming signals blocking the WiFi frequencies. Only legal, certified WiFi hardware will be used to send legitimate WiFi network packets that will merely confuse wireless devices. We will send the target devices special packets that tell them to disconnect their wireless client devices. This practice is called “deauthentication” or “deauth attack”.
This tutorial is for educational purposes only. Although WiFi jamming is not real jamming nor hacking, messing with other people’s wireless networks might be, and probably is, illegal where you live. So only use this method on networks you own or allowed to mess with.
Your Boards Manager should now show at least two URLs: the deauther URL and the ESP8266 core URL. See the image below.
Then go to Tools > Boards > Board Manager… and install “arduino-esp8266-deauther“. Note that you should aready have “esp8266” installed. See the next image.
Finally, select an appropriate board at Tools > Board and make sure it is one of the “ESP8266 Deauther Modules” and not the generic ESP8266 Boards. For my board, the “DSTIKE” option worked quite well. See the image below.
Extract the .zip file, navigate to the “esp8266_deauther” folder and open “esp8266_deauther.ino” with the Arduino IDE.
Open the tab “A_.config.h” and make the following changes to the code:
set USE DISPLAY to true: #define USE_DISPLAY true
set the button pins: #define BUTTON_UP 12
#define BUTTON_DOWN 13
#define BUTTON_A 14
The code should now look like the image below.
The code can now be compiled and uploaded to the board. If the OLED display is showing text after uploading is finished, then you are done setting up the board.
In case the OLED display stays blank, do the following:
Open the serial monitor in the Arduino IDE while the board is connected and powered on
Set the baud rate to 115200 and select “newline”
Enter this command in the serial monitor and press enter: set display true;;save settings
See the image below.
After resetting the board, the OLED should now display text.
Controlling the WiFi jammer / deauther
There are 3 ways you can control ESP8266 Deauther:
Web interface: you can connect to the ESP-Wroom-02 with your phone ot other wireless device. It will have the SSID “pwned” and you can connect to it using the password “deauther“. Then open the URL “death.me” or “192.168.4.1″ in your browser.
If you do not want to use an ESP8266 powered board but still want to experiment with WiFi deauthentication, then you might be interested in a previous blog post called “WiFi jamming: jam wireless networks with Kali Linux“. This method will allow you to do the same with ordinary WiFi hardware and a computer or laptop.