WiFi Jammer Using ESP8266

94,195

303

216

Introduction: WiFi Jammer Using ESP8266

About: electronics,hacking running an online electronic shop on hackelectro.ml

First, I just want to mention about few things which were in my mind before I could make my project. As Samy Kamkar said in Hackaday superconference that we should move towards low-cost hacking/exploitation tools could think only about NodeMCU as it was the only cheap MCU I knew that has wifi.

Before that, I only knew the ESP8266 as an IoT module and I could only make things like home automation or the simple 2 led control using the ugly HTML page. Unlike other commercially available wifi jammers would burn several holes in my pockets having a hefty price tag of at least 45 $ (checked on amazon and eBay).

That time I had I had fewer savings as the raspberry pi was very costly for me (almost 43$, god only knows why it is so costly in India). not use many wifi jammers are proprietary and I could not make many tweaks in them. I could not resist myself to upload this instructable as this project is is a success for me.

When I had uploaded this instructable some people could not use the wifi jammer properly this is the revised version of the wifi jammer.

In this instructable, you will learn how to make a low-cost wifi jammer using ESP8266

check out my online electronic store https://hackelectro.ml/ where I sell electronic parts and modules at least 20 percent discount as compared to Amazon.flipkart,eBay.

Depiction

Assemble your own WiFi jammer with an ESP8266. You select the customers you need to disengage from their system and begin the assault. For whatever length of time that the assault is running, the chose gadgets can't associate with their system. You can examine for systems, filter for customer gadgets, and begin distinctive assaults.

Points of interest

Fabricate your own WiFi jammer with an ESP8266

What it will be: It's a gadget which plays out a deauth attack.You select the customers you need to separate from their system and begin the assault. For whatever length of time that the attack is running, the chosen gadgets can't interface with their system.

How it functions:

The 802.11 WiFi convention contains an alleged deauthentication outline. It is utilized to detach customers securely from a remote system. Since these bundles are decoded, you simply require the MAC address of the WiFi switch and of the customer gadget which you need to detach from the system. You don't should be in the system or know the password, it's sufficient to be in its range.

check out my online electronic store https://hackelectro.ml/ where I sell electronic parts and modules at least 20 percent discount as compared to Amazon.flipkart,eBay.

What an ESP8266 is:

The ESP8266 is an exceptionally shoddy microcontroller with implicit WiFi. It contains a capable 160 MHz processor and you can program it with the Arduino IDE. This makes it ideal for this venture.

Step 1: ​Disclaimer

Utilize it just to test purposes all alone gadgets!

If it's not too much trouble check the legitimate controls in your nation before utilizing it. Sticking transmitters are unlawful in many nations and this gadget can fall into a similar classification (regardless of the possibility that it's in fact not the same). My aim with This venture is to attract consideration regarding this issue. This attack indicates how vulnerable is the 802.11 WiFi standard is and that it must be settled.

Step 2: Installation

The main thing you will need is a PC and an ESP8266 /NodeMCU with no less than 1Mb of flash memory.

I prescribe you to purchase a USB breakout/developer board since they have 4Mb flash and are extremely easy to utilize. It doesn't make a difference which board you use, the length of it has an ESP8266 on it.(If you utilizing an ESP-01 with only 512kb, you can comment out the MAC Vendor list in data.h.)

1. Install Arduino and open it.

2. Go to File > Preferences

3. Add to the Additional Boards Manager URLs.

http://arduino.esp8266.com/stable/package_esp8266c...

4. Go to Tools>Board > Boards Manager

5. Type in esp8266

6. Select version 2.0.0 and click on Install (must be version 2.0.0!)

7. Go to File > Preferences

8. Open the folder path under More preferences can be edited directly in the file

9. Go to packages > esp8266 > hardware > esp8266 > 2.0.0 > tools > sdk > include

10. Open user_interface.h with a text editor 11. Scroll down and before #endif add following lines(from line 450):

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);

And don't forget to save!

12 Go to the SDK_fix folder of this project

13 Copy ESP8266WiFi.cpp and ESP8266WiFi.h

14 Paste these files here packages > esp8266 > hardware > esp8266 > 2.0.0 > libraries > ESP8266WiFi > src (watch the video above)

15 Open esp8266_deauther > esp8266_deauther.ino in Arduino (watch the video below)

16 Select your ESP8266 board at Tools > Board and the right port at Tools > Port If no port shows up you may have to reinstall the drivers.

17 Upload! Note: If you use a 512kb version of the ESP8266, you need to comment out a part of the mac vendor list in data.h. Your ESP8266 Deauther is now ready!

check out my online electronic store https://hackelectro.ml/ where I sell electronic parts and modules at least 20 percent discount as compared to Amazon.flipkart,eBay.

Step 3: How to Use It

Step 1

To begin with, begin your ESP8266 by giving it powering it . You can do as such by associating it to the power bank or the USB connector. You can likewise interface with USB ports in Laptops.

Step 4:

Scan for WiFi networks and connect to pwned. The password is deauther. Once connected, you can open up your browser and go to 192.168.4.1

You can now scan for networks.

Step 5:

Scan for client devices.

Note: While scanning the ESP8266 will shut down its access point, so you may have to go to your settings and reconnect to the WiFi network manually.

Step 6:

And start different attacks.

Step 7:

FAQ

Would it be able to auto-deauth all APs in the range?

Yes. the wifi stack by espressif supports it but i dont know how to set it up :)

Can it sniff handshakes?

The ESP8266 has a promiscuous mode in which you can sniff bundles, yet handshake parcels are dropped and there is no other approach to get them with the capacities gave by the SDK.Maybe somebody will discover a route around this hurdle, however, I couldn't. Maybe in future...

espcomm_sync fizzled/espcomm_open while transferring

The Arduino IDE can't talk with the chip, ensure the correct port is selected!You can likewise experiment with various USB ports and cables.If this doesn't understand it you may need to introduce USB drivers.Which drivers you require relies on upon the board, most sheets utilize a cp2102, cp2104 or ch340.

AP check doesn't work

There is a revealed issue on this: exchanging the program or open the site with another device.A

Deauth attack won't work

In the event that you see 0 pkts/s on the site, you have made an error. Check on the off chance that you have taken after the means accurately and that the advantage SDK introduced, it must be 2.0.0!If it can send packets yet your objective don't free its association then the WiFi switch utilizes 802.11w and it's insured against such assaults or they impart by means of 5 GHz WiFi, which the ESP8266 doesn't.

On the off chance that you have different inquiries or issues with the ESP8266 you can likewise look at the official group discussion.

If my question /doubt is not clear, which is the immediate way to contact you?

sorry. i no longer offer support from 18 February 2018. Please Support me by buying electronic parts and modules from my store

check out my online electronic store https://hackelectro.ml/ where I sell electronic parts and modules at least 20 percent discount as compared to Amazon.flipkart,eBay.

Step 8:

Journey through Electronics

Hi, my name is Tejas. I am 18 years old. I have been interested in electronics since I was 10. My most favorite pastime activity was to disassemble toys and figure out the components. When I was 11 years of age, I started disassembling radios, mobile chargers, and watches. Sometimes people would get irritated because of these actions and thought that I am just breaking stuff.

When I got my first computer at the age of 13, it was amazing. The only thing I was interested was hacking hardware. In 2015 I heard about rubber ducky. I could never place hands one because For me in India it was a distant dream and I was just searching on youtube how to make one. some were fake some were too complicated.

Then on Instructables, I saw many posts about Arduino and learned electronics. that was the first time for me in actual DIY electronics. my first board was Arduino Uno. from then journey never stopped. I always kept researching about various dev boards-Arduino uno, pro micro, mini and the latest Raspberry pi 3. I was amused but the fact that Arduino pro micro (Leonardo) could be used as HID. Also, the Digispark was also cool. A board which myself and my friends found very interesting.

In late 2016 while I was watching ethical hacking tutorials-wifi hacking using aircrack in kali Linux, the instructor always mentioned that for cracking the wifi password, the client should reauthenticate with the AP. This lets me in thinking that if I kick out the client on theAP so that it will connect back then I will be able to capture authentication packets. That was the time this wifi jammer using esp8266 was born. just pressing a button job is done.

check out my online electronic store https://hackelectro.ml/ where I sell electronic parts and modules at least 20 percent discount as compared to Amazon.flipkart,eBay.

7 People Made This Project!

Recommendations

  • Metalworking Contest

    Metalworking Contest
  • Fix It! Contest

    Fix It! Contest
  • Water Contest

    Water Contest

216 Discussions

On

12 Go to the SDK_fix folder of this project

13 Copy ESP8266WiFi.cpp and ESP8266WiFi.h

Yes I have watched the video and yes I have searched for the .cpp and .h files.

sdk_fix does not exist. Are these files a necessity

3 more answers

@CharlesK63 yes sir you are correct, that is where the files were.

The SDK-fix folder, and those 2 files are inside the esp8266 master deauther zip file that you need to download from here. (along with the bin file). That step isnt very clear. It should say that you need to download the zip, open and extract it, ...then copy and replace the 2 files.

I'm having the same problem. I will se if I can find a solution!

Why do you take another authors work and pass it off as your own? You ruin the scene and it's not even a ferkin jammer, it s a Deauther and that's the attack it does. If anyone wants the genuine item, the author is called spacehuhn (try Google)

I keep getting this problem

Arduino: 1.8.5 (Windows 10), Board: "Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck"

Build options changed, rebuilding all

C:\Users\promi\AppData\Local\Temp\Temp1_esp8266_deauther-master.zip\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:11:17: fatal error: oui.h: No such file or directory

#include "oui.h"

^

compilation terminated.

exit status 1

Error compiling for board Generic ESP8266 Module.

This report would have more information with

"Show verbose output during compilation"

option enabled in File -> Preferences.

check out my online electronic store https://hackelectro.ml/ where I sell electronic parts and modules at least 20 percent discount as compared to Amazon.flipkart,eBay.

i still can not find the sdk_fix file can someone help me?

I found the solution you have to change the line that becomes red to this

results = WiFi.scanNetworks(false); // lets scanNetworks return hidden APs. (async = false & show_hidden = true)

the only thing you do is take out what is between the false and the bracket.

The problem was that both are contredictory settings.

then afterwards you will connect to the wifi that will be name pwned and the password will be deauther

1 reply

if(wifi_send_pkt_freedom(packet, packetSize, 0) == -1){

got this error...pls help

Arduino:1.8.5 (Windows Store 1.8.10.0) (Windows 10), Płytka:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"

Opcje projektu zmienione, przeładuj całość

In file included from sketch\Attack.h:9:0,

from sketch\Attack.cpp:1:

C:\Users\szymon\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:452:39: error: 'freedom_outside_cb__t' was not declared in this scope

int wifi_register_send_pkt_freedom_cb(freedom_outside_cb__t cb);

^

C:\Users\szymon\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:459:62: error: 'int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t)' redeclared as different kind of symbol

int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);

^

C:\Users\szymon\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:452:5: error: previous declaration of 'int wifi_register_send_pkt_freedom_cb'

int wifi_register_send_pkt_freedom_cb(freedom_outside_cb__t cb);

^

In file included from sketch\ClientScan.h:13:0,

from sketch\Attack.h:15,

from sketch\Attack.cpp:1:

C:\Users\szymon\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:459:62: error: 'int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t)' redeclared as different kind of symbol

int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb);

^

In file included from sketch\Attack.h:9:0,

from sketch\Attack.cpp:1:

C:\Users\szymon\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.0.0/tools/sdk/include/user_interface.h:452:5: error: previous declaration of 'int wifi_register_send_pkt_freedom_cb'

int wifi_register_send_pkt_freedom_cb(freedom_outside_cb__t cb);

^

exit status 1

Błąd kompilacji dla płytki NodeMCU 1.0 (ESP-12E Module).

Ten raport powinien zawierać więcej informacji jeśli w

File -> Preferencje zostanie włączona opcja "Pokaż

szczegółowe informacje podczas kompilacji"

got an error help

You lost me at step 12. Where are the folders for this project? I haven't a clue what you are referring to.

1 more answer

i really want to know where thes floder come from

I did everything it said to do but when i power it on, i cant find pwned

When I try to upload the code to my ESP8266 NODEMCU, it does not show up on the port list. Any help would be greatly appreciated.

My take on installing on ESP8266 NODEMCU LUA CP2102 ESP-12E

After some troubleshooting, turns out I had to first install Silicon Labs VCP CP210x USB to UART driver, which can be found my googling the driver and downloading from Silicon Labs, and installing the correct version whether your running x64 or x86 operating system. This can be confirmed by right clicking start, goto system, then "about", then check "system type" which will state either x64 or x86. After going to Device Manager in windows and checking my "other devices" I noticed an exclamation mark next to the board connected. once I downloaded new driver, it cleared the exclamation mark and moved device under "ports" (COM and LPT).

Also you can check here under the "ports" section which port your board is on. I have a Bluetooth dongle for example, which is listed as Port 4 and Port 5, and next listed is the Silicon Labs USB to UART bridge marked COM 3.

Then in the NodeMCU Firmware Programmer, COM 3 was available after installing the driver I listed above.( only COM 4 and 5 were previously listed before I updated driver, which as stated were Bluetooth ports) After selecting the bin file you probably already downloaded, and confirming under Advanced tab that baudrate is 230400, flash size is 4mb and flash speed is 80mhz, and DIO selected, I flashed to COM3 and it completed with a green check mark. Scanned wifi on another device, selected pwned and entered deauther for the password. goto 192.168.4.1 and your in business

Well, I start an attack and I get (On the webserver) Error loading attackData.json

Having problems uploading , ive repeated all the steps twice and looked at other forums however can't seem to fix my problem. If somone could get back to me please as I've spent a while on this one step. 8-D

Untitled.jpg

I have a problem with compiling the code, can somone help me please?

Arduino: 1.8.2 (Windows 8.1), Board:"NodeMCU 0.9 (ESP-12 Module), 80 MHz, Serial, 115200, 4M (3M SPIFFS)"

C:\Users\raven\AppData\Local\Temp\Temp1_esp8266_deauther-master.zip\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:60:18: fatal error: data.h: No such file or directory

#include "data.h"

^

compilation terminated.

exit status 1

foult of compiling of board NodeMCU 0.9 (ESP-12 Module)

This report would have more information with

"Show verbose output during compilation"

option enabled in File -> Preferences.

1 reply

Got more or less the same problem.