close-circle
Close
0%
0%

Wifi Hacking using ESP8266

Based on
NodeMCU ESP8266 Lua multi-mode WiFi hacking kit

Similar projects worth following
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 attacks.

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 post, you will learn how to make a low-cost wifi jammer using ESP8266

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.

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.

https://github.com/spacehuhn/esp8266_deauther

Installation

Installation

arduino_screenshot_2.png

notepad_screenshot_1.png

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/stable/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 Past these files here packages > esp8266 > hardware...

Read more »

octet-stream - 536.97 kB - 04/06/2017 at 12:14

download-circle
Download

octet-stream - 536.97 kB - 04/06/2017 at 12:14

download-circle
Download

octet-stream - 399.31 kB - 04/06/2017 at 12:14

download-circle
Download

Zip Archive - 896.20 kB - 04/06/2017 at 12:02

download-circle
Download

  • 1 × NodeMCU ESP8266 IoT board In fact any ESP8266 with memory above 1 Mb will work.

  • Contact

    Tejas Lotlikar05/31/2017 at 05:27 0 comments

    i have made a server at discord. join it if you want too solve your issues.

    https://discord.gg/AQvccvW

  • Contributions for this project

    Tejas Lotlikar05/14/2017 at 19:06 0 comments

    How to donate for this project?

    *If anyone wants to contribute to this projects you can do so via PayPal (lotlikartejas17@gmail.com) or PayTM(+918407975073). I also accept BitCoin (15fR1pF4PcxenVnZcHab4mY9sTx8fH8GF6).This money is used to buy Hardware for the projects.

  • where to copy files?

    Tejas Lotlikar04/25/2017 at 18:35 0 comments

    some guys were unable to copy and paste the header file (step 13 and 14 of this project) so i have made a video to help them. Check it out.


  • FAQ

    Tejas Lotlikar02/27/2017 at 19:00 0 comments

    Could it deauth multiple APs in the range?

    It definitely could! But I will not implement this 'feature' for ethical and legal reasons.

    Can it sniff handshakes?

    The ESP8266 has a promiscuous mode in which you can sniff nearly all packets, but handshake packets are dropped and there is no other way to get them with the functions provided by the SDK.
    Maybe someone will find a way around this barrier but I wasn't able to.

    espcomm_sync failed/espcomm_open when uploading

    The ESP upload tool can't communicate with the chip, make sure the right port is selected!
    You can also try out different USB ports and cables.
    If this doesn't solve it you may have to install USB drivers.
    Which drivers you need depends on the board, most boards use a cp2102, cp2104 or ch340.

    Deauth attack won't work

    If you see 0 pkts/s on the website you have made a mistake. Check if you have followed the the installation steps correctly and that the right SDK installed, it must be version 2.0.0!
    If it can send packets but your target don't loose its connection then the WiFi router uses 802.11w and it's protected against such attacks or they communicate via 5 GHz WiFi, which the ESP8266 doesn't support.

    If you have other questions or problems with the ESP8266 you can also check out the official community forum.

    License

    This project is licensed under the MIT License - see the license file file for details

View all 4 project logs

  • 1
    Step 1

    How to Use It

    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.

  • 2
    Step 2

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

  • 3
    Step 3


    And start different attacks.

    6.PNG

    11.png

    9.png

    View all 3 instructions

    Enjoy this project?

    Share

    Discussions

    nolton wrote 3 hours ago point

    Hi, I'm getting this error when compiling:

    Arduino:1.6.5 (Windows 7), Placa:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"


    In file included from esp8266_deauther.ino:5:0:
    C:\Users\xxxx\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0-rc2\libraries\ESP8266mDNS/ESP8266mDNS.h:117:3: error: 'WiFiEventHandler' does not name a type
       WiFiEventHandler _disconnectedHandler;
       ^
    C:\Users\xxxx\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0-rc2\libraries\ESP8266mDNS/ESP8266mDNS.h:118:3: error: 'WiFiEventHandler' does not name a type
       WiFiEventHandler _gotIPHandler;
       ^
    Error de compilación

    --

    Thank you for your help

      Are you sure? yes | no

    Gangwisch wrote 06/19/2017 at 12:04 point

    Hello,

    I have all installed an I can now connect with my smartphone to the esp.

    and when i go with the browser to ip 192.168.4.1 the site will not open.

    Can you help me what i can do.

    Thank you for your help and the Project is nice

      Are you sure? yes | no

    Leon Bagaric wrote 06/14/2017 at 14:08 point

    Error:

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




    sketch\Attack.cpp: In member function 'bool Attack::send()':




    Attack.cpp:102: error: 'wifi_send_pkt_freedom' was not declared in this scope




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




                                                     ^




    exit status 1
    'wifi_send_pkt_freedom' was not declared in this scope




    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

      Are you sure? yes | no

    Tejas Lotlikar wrote a day ago point

    you definitely have mads an error here -> Go to the SDK_fix folder of this project

    13 Copy ESP8266WiFi.cpp and ESP8266WiFi.h
    14 Past these files here packages > esp8266 > hardware > esp8266 > 2.0.0 > libraries > ESP8266WiFi > src

      Are you sure? yes | no

    Michael Sutton wrote 06/08/2017 at 00:09 point

    Love this project, works perfectly for what I needed it for, thanks for sharing it.

      Are you sure? yes | no

    Tejas Lotlikar wrote a day ago point

    thanks

      Are you sure? yes | no

    MinhAnh wrote 06/07/2017 at 11:58 point

    I like it, great!!! Thank you!

      Are you sure? yes | no

    Tejas Lotlikar wrote a day ago point

    welcome

      Are you sure? yes | no

    Tejas Lotlikar wrote 05/14/2017 at 19:08 point

    Please help by donating me. Paypal: lotlikartejas17@gmail.com  PayTm:+918407975073  Bitcoin: 15fR1pF4PcxenVnZcHab4mY9sTx8fH8GF6

      Are you sure? yes | no

    Aravindhdnivara07 wrote 05/05/2017 at 17:43 point

    how can i buy thisss

      Are you sure? yes | no

    Tejas Lotlikar wrote 05/14/2017 at 19:08 point

    amazon and ebay will help 

      Are you sure? yes | no

    Sanjay ramalingam wrote 04/23/2017 at 07:04 point

    I understand that we can jam WiFi network using this.can we hack it and use the data?

      Are you sure? yes | no

    Tejas Lotlikar wrote 04/23/2017 at 08:11 point

    Yes of course. First you have to deauth any user connected to the access point to be hacked then the user will connect to the access point again. At the same time capture the handshake packet using airmon- ng and crack them using airodump in Kali Linux. Then you will get the password. Then you can connect to access point with the password. Enjoy hacking.

      Are you sure? yes | no

    maliksarvesh1998 wrote 04/06/2017 at 06:56 point

    works great

      Are you sure? yes | no

    Ember Leona wrote 03/31/2017 at 22:53 point

    Good for battlebots if you kill control the bot is useless yours needs to be Autonomous though. I wanted another spining on the augerSlog was a hoverRound chair with an auger welded to it to hammer stuff but it needs the flywheel. Also Thors hammer needed an array of 9volt batteries that only connect in a defense mechanisim to weld the other bot with two chains  power wires are cut causeing a short. Need to flip off circuit with a relay or something Im not sure of the stabilitry safety of 9volts in series. _DANGEROUS DONT TRY THAT

      Are you sure? yes | no

    madhavanmaddy wrote 03/30/2017 at 07:28 point

    Cool project mate!!

      Are you sure? yes | no

    Tejas Lotlikar wrote 03/31/2017 at 11:45 point

    thanks

      Are you sure? yes | no

    Tejas Lotlikar wrote 03/08/2017 at 22:38 point

    Good news for you all guys. Please flash the NodeMCU firmware with the firmware which is available for download above. This project will work only with the above firmware. Also the code and the steps are updated. please check it. I have submitted this project for microcontroller projects contest at instructables. please vote me for the same. URL: https://www.instructables.com/id/WiFi-Jammer-Using-ESP8266/

      Are you sure? yes | no

    vcch wrote 03/05/2017 at 17:12 point

    Status is 0 pkts/s...

      Are you sure? yes | no

    Tejas Lotlikar wrote 03/05/2017 at 20:41 point

    If you see 0 pkts/s on the website you have made a mistake. Check if you have followed the the installation steps correctly and that the right SDK installed, it must be version 2.0.0!
    If it can send packets but your target don't loose its connection then the WiFi router uses 802.11w and it's protected against such attacks or they communicate via 5 GHz WiFi, which the ESP8266 doesn't support.
    If you have other questions or problems with the ESP8266 you can also check out the official community forum.

      Are you sure? yes | no

    vcch wrote 03/05/2017 at 20:45 point

    WIth 2.0.0, it doesnt even find the APs on a wemos D1 mini.

      Are you sure? yes | no

    vcch wrote 03/05/2017 at 17:09 point

    On wemos D1, when i used esp libe 2.0.0 it does not find any network. If i use 2.3, it finds them, but deauth attack is not working - only fake ssids

      Are you sure? yes | no

    Tejas Lotlikar wrote 03/05/2017 at 20:43 point

    please update NodeMCU  firmware 

      Are you sure? yes | no

    vcch wrote 03/05/2017 at 21:49 point

    Yes I did it too. Just installed the lastest nodemcu firmware. When connected to the serial port i only get a message telling me AP pwned is started. then I can connect to it, but when I scan i get no network. If i use the 2.3 version of esp8266, i can find all the APs but the deauth is not working...

      Are you sure? yes | no

    vcch wrote 03/05/2017 at 22:15 point

    Same if i use nodemcu 1.0 board instead of wemos. 

      Are you sure? yes | no

    vcch wrote 03/05/2017 at 22:16 point

    Do you have a link to the firmware you used ? I should flash the same to make it work...

      Are you sure? yes | no

    Tejas Lotlikar wrote 02/28/2017 at 19:02 point

    first flash the Wemos d1 mini with latest nodemcu firmware. it should work perfect

      Are you sure? yes | no

    Kevin van de'n Broek wrote 02/28/2017 at 07:31 point

    Running this on me Wemos d1 mini makes it crash when scanning for network's,  sadly

      Are you sure? yes | no

    Similar Projects

    Does this project spark your interest?

    Become a member to follow this project and never miss any updates