How to build a WiFi Jammer using ESP8266

WiFi Jammer Using ESP8266

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 availably 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
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.
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.

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/engineer 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/versions/2.3.0/package_esp8266com_index.json




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:

typedef void (*freedom_outside_cb_t)(uint8 status); <br>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 below)
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 > PortIf 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!

Step 3: How to Use It


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:










Step 7:


FAQ 
Do you have a GitHub page where I can simply get the refreshed code for the activities?
Obviously. I will always keep the refreshed code at GitHub. Here is the URL
Would it be able to auto-deauth all APs in the range?
Yes, yet I won't actualize this "highlight" for moral and legitimate reasons.
Can it sniff handshakes?
The ESP8266 has an unbridled 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 obstruction however, I couldn't. Maybe in future...
espcomm_sync fizzled/espcomm_open while transferring
The Arduino IDE can't speak 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 committed an error. Check on the off chance that you have taken after the means accurately and that the privilege SDK introduced, it must be 2.0.0!If it can send parcels yet your objective don't free its association then the WiFi switch utilizes 802.11w and it's ensured 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.
License
This venture is authorized under the MIT License - see the Licence document display in for points of interest

Step 8:

Journey through Electronics
Hi, my name is Tejas. I am 18 years old. I have been interested in electronics since I was a 9-year-old kid. My most favourite 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 deeds and thought that I am just breaking stuff.
When I got my first computer at 12 years, it was amazing. Using it I learnt about something called the internet which was way wonderful than books. 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 due to which I found ethical hacking too interesting. for that, I again turned to youtube. Learnt some practical work was unable to learn things like crypto which were way boring.
Then on Instructables, I saw many posts about Arduino and learnt electronics. that was the first time of 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 Leonardo, pro micro 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 authenticate 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. Made my jobs much easier and enjoying it.


Post a Comment

Previous Post Next Post