Ever heard of the ESP12E? This tiny microcontroller (also known as Wi-Fi module or NodeMCU) is quite popular among hackers and techies for Wi-Fi hacks. You can use it to jam a Wi-Fi connection and therefore block any Wi-Fi connection so no one can connect to that network even if they know the password. In this tutorial, we will be teaching you how to create your own Wi-Fi jammer.
A jammer is a transmitter that sends noise signals to disrupt frequency signals. We will be making something similar called a Deauther, which will send packets to interfere with Wi-Fi signals which will disrupt the normal working of your Wi-Fi router. Wi-Fi protocol (802.11) acts as a deauthentication frame which disconnects all users connected with the router. For disconnecting any device, you just need the mac address of the Wi-Fi router and client device.
Keep in mind before continuing that using a jammer in public areas is illegal without permission from government authorities, this tutorial is only for educational purposes.
Making Wi-Fi Jammer using NodeMCU:
For this, you will have to burn the code or firmware into NodeMCU to use as a Wi-Fi jammer. There are two methods we will be discussing which you can use.
Method 1: Uploading Jammer Arduino sketch into ESP12
For this, we will be using Arduino code and Library (by Spacehuhn) and we will use this code to upload in our NodeMCU using Arduino IDE.
Step 1: First, we will start by uploading the Arduino code. Go to File>Preferences in Arduino IDE and add this link (http://arduino.esp8266.com/stable/package_esp8266com_index.json ) to the Additional Boards Manager URLs and select OK.
Now close the Arduino IDE and reopen.
Step 2: Go to Tools > Board > Board Manager. Search for ESP8266 and select ESP8266 (version 2.0.0 as this code will only work for this version).
Step 3: Now go to File>Preferences and select the folder path under ‘More Preferences’. Now open ESP8266 > hardware > ESP8266 > 2.0.0 > tools > sdk > and open the ‘user_interface.h’ file with text editor.
Step 4: Go to the last line of the code and before #endif add these lines:
typedef void (**freedom_outside_cb__t)(uint8 status); int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb); void wifi_unregister_send_pkt_freedom__cb(void); int wifi_send_pkt_freedom(uint8 **buf, int len, bool sys_seq);
After this Save the file.
Step 5: Now extract the library you downloaded earlier and open it. open: esp8266_deauther-master -> esp8266_deauther -> esp8266_deauther.ino
This will be the sketch that we will upload into the NodeMCU; this sketch it to be compiled. In case of error install these libraries.
Our code is ready to be uploaded. Connect the NodeMCU to your PC, go to Tools menu and select NodeMCU esp-12E, select the correct port and then upload.
Running the NodeMCU Wi-Fi Jammer:
Now reset your ESP12 board after uploading the code. Open the serial monitor. Step 1: Connect your laptop or smartphone to the Access Point created by NodeMCU. You will see the default name (pwned) and password (deauther) on the serial monitor. ( You can change default Name and Password in setting)
Step 2: Next, open your browser and enter the address “192.168.4.1”. This will show you a warning. Read and click on ‘I have read and understood’.
Step 3: Next, you will see a window. Select Scan Aps for available Wi-Fi networks.
Step 4: Next select reload and now click on the network you wish to jam.
Step 5: Now go to the ‘Attacks’ menu and you will see the chosen network. Click ‘Start’ and you will start the attack. Now reload and you will have jammed the network. You can stop the attack by clicking ‘Stop’.You have successfully jammed the network.
Make multiple fake WiFi networks ( Another Feature )
If you want to make fake WiFi networks i.e. Beacons. Click on SSIDs above and name the SSIDs as you want to Add and save it. Come back to Attacks menu and click on Start in front of Beacon.
You can check in your mobile or PC that wifi name that you have created will be displayed but it will not connect with this fake network it is just WiFi spam.
Method 2: Uploading Wi-Fi Jammer firmware into ESP12 using ESP8266 flasher ( Simple Way )
Now, we will see the second method where we have to upload a firmware in ESP12 using Esp8266 flasher. It is easy to use and you don’t have to do any extra work or editing in the sketch as we have done in the previous method.
We will require Jammer firmware which you can download from these links:
- ESP8266 flasher
- Deauther Firmware – Basically it is a .bin file. Download the correct version according to your board specification and flash memory (1MB, 4MB, 512 kB).
Step 1: Now first open the esp8266flasher.exe file.
Select ‘Config’ and then select the ‘Setting’ icon. Select the .bin file you have already downloaded and click ‘Operations’. Next select ‘Flash’ and your process will start uploading.
Now you will have to ‘Reset’ your NodeMCU and repeat all the steps for running the NodeMCU Wi-Fi jammer as we have done in the last method.
You can power your NodeMCU using your smartphone. For this, you will need an OTG cable and your portable WiFi jammer is ready for work but use this device on your risk as already warned!!
Project Demonstration Video ( watch in High Resolution 720p):
*Image and video Courtesy © circuitdigest.com | Project Link
Its posible for esp8266(esp 01) or esp 32 cam sir?? Because i just have that sir.