-
Notifications
You must be signed in to change notification settings - Fork 0
|| How deauth atthack works ?||
Wi-Fi deauthentication attack is a type of denial-of-service attack that targets communication between a user and a Wi-Fi wireless access point.
The deauthentication attack isn’t some special exploit of a bug. It’s a created protocol and is being used in real world applications.
The attacker can spoof the MAC address of the victim and send the deauth frame to the AP on behalf of the victim
The IEEE 802.11 (Wi-Fi) protocol contains the provision for a deauthentication frame
There are three types of 802.11 frames: management, control, and data. Management frames are used to manage the BSS,control frames control access
to the
medium, and data frames contain payloads that are the layer 3-7 information. We will focus on deauthentication under Management Frame
The attacker can spoof the MAC address of the victim and send the deauth frame to the AP on behalf of the victim then the connection to the client is
dropped
The cool thing about this attack is that even in 2019 where all networks are using a WPA2 encryption you can still easily deauth anything or anyone
without even being inside the network!
1.Nodemcu board(esp8266)
2.USB Micro for nodemcu board
For Nodemcu Board I always recommend the v1.0 (might be sold under a different version number).
It's the board from Amica. It is cheap, breadboard friendly and uses the cp2102,a better alternative to the old CH340 USB to serial chip.
You can install software into esp8266 in two ways
1.using flash tool to upload(flash) .bin file into esp8266 board
2.using arduinoIDE to compile and upload it into esp8266 board
Using flash tool
NodeMCU flasher is a firmware programmer for NodeMCU DEVKIT V0.9.You can use it to program NodeMCU DEVKIT or your own ESP8266 board. you MUST set GPIO0 to LOW before programming, and NodeMCU DEVKIT V0.9 will do it automatically make sure that your esp8266 dev board (nodemcu) is connected to you pc
download the necessary flash tools files from here
select folder Win32/Win64 according to your computer OS bit
open release folder and run espflasher.exe file.
select the COM port you Nodemcu is connected to.
go to config and select your .bin file at 0x000000. and flash it
Using ArduinoIDE
First you have to install and open the Arduino IDE.
In Arduino go to File -> Preferences add both URLs in Additional Boards Manager URLs https://raw.githubusercontent.com/SpacehuhnTech/arduino/main/package_spacehuhn_index.json
Go to Tools -> Board -> Boards Manager, search "deauther" and install Deauther ESP8266 Boards
Select your board at Tools -> Board (NodeMCU) and be sure it is at Deauther ESP8266 Boards (and not at ESP8266 Modules)!
Download the source code for this project from the releases page. You can also clone the project to get the latest changes, but you will also get the latest bugs ;)
Extract the whole .zip file, navigate to esp8266_deauther and open esp8266_deauther.ino with Arduino.
Check your upload settings and press upload!
You might want to adjust the display, LED and button configurations. You can do that in the A_config.h file (second tab in Arduino). You can also find predefined configfor certain boards there: A_config.h.