Skip to content

Commit ece4df8

Browse files
authored
Update README.md
1 parent 063f38a commit ece4df8

File tree

1 file changed

+49
-14
lines changed

1 file changed

+49
-14
lines changed

README.md

Lines changed: 49 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
1-
# esp8266_deauther
2-
Build your own WiFi jammer for under $10 with an ESP8266.
1+
# ESP8266 Deauther
2+
Build your own WiFi jammer with an ESP8266.
33

4-
# Introduction
4+
![esp8266 deauther with a smartphone](https://raw.githubusercontent.com/spacehuhn/esp8266_deauther/master/screenshots/smartphone_esp_1.jpg?token=ADphfABZE5u9AIYeyizA0936U90pZUFtks5Ygm63wA%3D%3D)
55

6-
## What it is:
6+
## Contents
7+
- [Introduction](#introduction)
8+
- [What it is](#what-it-is)
9+
- [How it works](#how-it-works)
10+
- [What an ESP8266 is](#what-an-esp8266-is)
11+
- [How to protect against it](#how-to-protect-against-it)
12+
- [Disclaimer](#disclaimer)
13+
- [Installation](#installation)
14+
- [How to use it](#how-to-use-it)
15+
- [Sources and additional links](#sources-and-additional-links)
16+
- [License](#license)
17+
18+
## Introduction ##
19+
20+
### What it is
721

822
Basically it’s a device which performs a [deauth attack](https://en.wikipedia.org/wiki/Wi-Fi_deauthentication_attack).
923
You select the clients you want to disconnect from their network and start the attack. As long as the attack is running, the
1024
selected devices are not able to connect to the network.
1125

12-
## How it works:
26+
### How it works
1327

1428
The 802.11 WiFi protocol contains a so called [deauthentication frame](https://mrncciew.com/2014/10/11/802-11-mgmt-deauth-disassociation-frames/). It is used to disconnect clients safely from a wireless
1529
network.
@@ -24,14 +38,14 @@ prevent errors, these packets were invented.
2438
Because they are unencrypted, you just need the mac address of the WiFi router and of the client device which you want to
2539
disconnect from the network. You don’t even have to be in the network or know the password, it’s enough to be in its range.
2640

27-
## What an ESP8266 is:
41+
### What an ESP8266 is
2842

2943
The [ESP8266](https://de.wikipedia.org/wiki/ESP8266) a very cheap micro controller with build in WiFi. It contains a powerfull 160 MHz processor and you can program it
3044
with the [Arduino IDE](https://www.arduino.cc/en/Main/Software). This makes it perfect for this project.
3145

3246
You can buy these chips for under $2 from China!
3347

34-
## How to protect yourself:
48+
### How to protect against it
3549

3650
With [802.11w-2009](https://en.wikipedia.org/wiki/IEEE_802.11w-2009) WiFi got an update to encrypt management frames.
3751
So make sure your router is up to date and has management frame protection enabled. But be sure that your client device
@@ -40,7 +54,7 @@ supports it too, both ends need to have it enabled!
4054
The only problem is that most devices don’t use it. I tested it with different WiFi networks and client devices now
4155
and it worked every time. It seems that even newer devices which support frame protection, don’t use it by default.
4256

43-
# Disclaimer
57+
## Disclaimer
4458

4559
Use it only for testing purposes on your own devices!
4660

@@ -51,12 +65,13 @@ My intention with this project is to draw attention to this issue.
5165
This attack shows how vulnerable the 802.11 WiFi standard is and that it has to be fixed.
5266
**A solution is already there, why don’t we use it?**
5367

54-
# Tutorial
68+
## Installation
5569

5670
The only thing you will need is a computer and an ESP8266.
5771

58-
I recommend you to buy one of the USB breakout/developer boards.
59-
It doesn’t matter which board you use, as long as it has an ESP8266 on it.
72+
I recommend you to buy one of the USB breakout/developer boards with 4mb flash size.
73+
It doesn’t matter which board you use, as long as it has an ESP8266 on it.
74+
If you using an ESP-01 or other chips with just 1mb, you can comment out the mac vendor list in data.h.
6075

6176
**1** Install [Arduino](https://www.arduino.cc/en/Main/Software) and open it.
6277

@@ -72,7 +87,7 @@ It doesn’t matter which board you use, as long as it has an ESP8266 on it.
7287

7388
![screenshot of arduino, selecting the right version](https://raw.githubusercontent.com/spacehuhn/esp8266_deauther/master/screenshots/arduino_screenshot_1.JPG)
7489

75-
**7** Go to `File` > `Preferences`again
90+
**7** Go to `File` > `Preferences`
7691

7792
**8** Open the folder path under `More preferences can be edited directly in the file`
7893

@@ -102,16 +117,32 @@ If no port shows up you may have to reinstall the drivers.
102117

103118
**Your ESP8266 Deauther is now ready!**
104119

120+
## How to use it
121+
122+
First start your ESP8266 by giving it power.
123+
124+
You can use your smartphone if you have a OTG USB cable.
125+
![esp8266 deauther with a smartphone](https://raw.githubusercontent.com/spacehuhn/esp8266_deauther/master/screenshots/smartphone_esp_2.jpg?token=ADphfAcPwuqXZ3iZnLa5l2TZM4e4FO05ks5Ygm65wA%3D%3D)
126+
105127
Scan for WiFi networks and connect to `pwned`. The password is `deauther`.
106128
Once connected, you can open up your browser and go to `192.168.4.1`.
107129
![webinterface of the deauther device](https://raw.githubusercontent.com/spacehuhn/esp8266_deauther/master/screenshots/web_screenshot_1.JPG)
108130

109-
You can now scan for networks, client devices and start different attacks.
131+
You can now scan for networks...
132+
![webinterface AP scanner](https://raw.githubusercontent.com/spacehuhn/esp8266_deauther/master/screenshots/web_screenshot_1.JPG?token=ADphfCKndMnVl6dv8a_IX2ZO4t2Vs4GCks5Ygm3JwA%3D%3D)
133+
134+
scan for client devices...
135+
![webinterface client scanner](https://raw.githubusercontent.com/spacehuhn/esp8266_deauther/master/screenshots/web_screenshot_2.JPG?token=ADphfGv3ziQy3LmQvqB1yIAECuQmhAlOks5Ygm3KwA%3D%3D)
136+
137+
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.
138+
139+
...and start different attacks.
140+
![webinterface attack menu](https://raw.githubusercontent.com/spacehuhn/esp8266_deauther/master/screenshots/web_screenshot_3.JPG?token=ADphfA6PIeuMzISlWw5BJM-qzY7KbTtDks5Ygm3MwA%3D%3D)
110141

111142
Happy hacking :)
112143

113144

114-
# Sources and additional links
145+
## Sources and additional links
115146

116147
deauth attack: https://en.wikipedia.org/wiki/Wi-Fi_deauthentication_attack
117148

@@ -131,3 +162,7 @@ packet injection with ESP8266:
131162
wifi_send_pkt_freedom function limitations: http://esp32.com/viewtopic.php?f=13&t=586&p=2648&hilit=wifi_send_pkt_freedom#p2648
132163

133164
esp32 esp_wifi_internal function limitations: http://esp32.com/viewtopic.php?f=13&t=586&p=2648&hilit=wifi_send_pkt_freedom#p2648
165+
166+
## License
167+
168+
This project is licensed under the MIT License - see the [license file](LICENSE) file for details

0 commit comments

Comments
 (0)