SpacehuhnTech/DeauthDetector
GitHub: SpacehuhnTech/DeauthDetector
基于 ESP8266 的低成本 Wi-Fi 解除认证攻击检测器,检测到攻击时点亮 LED 告警。
Stars: 921 | Forks: 202
# DeauthDetector
使用 ESP8266 检测解除认证帧

## 工作原理
如果 ESP8266 检测到[解除认证或取消关联帧](https://mrncciew.com/2014/10/11/802-11-mgmt-deauth-disassociation-frames/),它将点亮其 LED。就是这样 ¯\ (ツ)/¯。

所以这是检测 [Wi-Fi 解除认证攻击](https://en.wikipedia.org/wiki/Wi-Fi_deauthentication_attack)的一种既经济又有效的方法。
## 如何安装
**您只需要选择以下一种安装方法!**
### 上传 .bin 文件
使用 [nodemcu-flasher](https://github.com/nodemcu/nodemcu-flasher) 或 Espressif 的 [esptool](https://github.com/espressif/esptool) 上传 `deauth_detector.bin`。
### 使用 Arduino
**1** 安装 [Arduino](https://www.arduino.cc/en/Main/Software)
**2** 安装 [ESP8266 SDK](https://github.com/esp8266/Arduino)
**3** 下载此项目并使用 Arduino 打开
**4** 可能需要自定义代码:
```
#define channel 1 //the channel it should scan on (1-14)
#define channelHopping true //scan on all channels
#define maxChannel 13 //US = 11, EU = 13, Japan = 14
#define ledPin 2 //led pin ( 2 = built-in LED)
#define inverted true // invert HIGH/LOW for the LED
#define packetRate 3 //min. packets before it gets recognized as an attack
#define scanTime 500 //scan time per channel in ms
```
**5** 将代码上传到您的 ESP8266(别忘了设置正确的上传配置!)
**完成**
标签:802.11协议, Arduino, DeauthDetector, Disassociation Frame, DNS枚举, DoS攻击检测, ESP8266, ESP8266开发, IoT安全, UML, WiFi安全, 信道扫描, 去认证攻击检测, 廉价安全方案, 无线入侵检测, 无线网络, 智能家居安全, 硬件黑客, 网络安全工具