WiFi Hacking Using ESP8266 Node MCU Wifi Development Board | Captive portal | Deauth

Description:

This tutorial guides you through two fascinating techniques: creating a Captive Portal and executing Deauthentication attacks.

Join the Community for bugs and Doubts

 Things needed : 

  1. 2 Node MCU 8266 boards (one for Deauth, one for Captive Portal)
  2. Data cables to connect Node MCU boards
  3. Internet connection for downloading necessary files

    Setting Up Deauthentication Attack:

    1. Scan for WiFi devices, selectively block connections, generate multiple networks, and confuse WiFi scanners.
    2. Connect a Node MCU to your laptop using a data cable.
    3. Download the required Bin file.
    4. Flash the Bin file following the provided steps.
    5. Look for a new WiFi network named 'pwned' (password: deauther).
    6. Access the dashboard by navigating to http://192.168.4.1/
    7. You will find the de-authentication options in the dashboard for testing purposes.


    1. You can Try testing this for now.

    Setting Up Captive portal: 

    1. Download the Arduino IDE to your computer.
    2. Open the code in the IDE.
    3. In the Arduino IDE, go to "File" > "Preferences" > "Additional Boards Manager URLs" and add this URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json
    4. Access the "Board Manager" and install the ESP8266 package.
    5. Follow the instructions in the provided image to complete the setup.
    6. Refer this image
    • After uploading the code you will see new wifi with your SSID_NAME = 'Baka'
    • when you try to connect it will redirect you to the Captive portal 

            Final walk:

            1. Begin by executing the de-authentication attack on your target network.
            2. The victim will notice an open WiFi network and attempt to connect, leading them to the Captive Portal.
            3. The captive portal might appear as a router update.
            4. The victim enters the network password and tries to sign in.
            5. As they input the password, the Node MCU will blink (30 times).
            6. To view the captured password, visit http://172.0.0.1/creds.




            Please note that this content is for educational purposes only, and unauthorized use of these techniques may be illegal and unethical. Always ensure you have the necessary permissions to perform such experiments.


















            Post a Comment

            If you have any doubts, please let me know

            Previous Post Next Post