In this blog post, we will explore how to create a WiFi monitor using the ESP8266 microcontroller. The project involves detecting and analyzing WiFi packets, and specifically focuses on identifying deauthentication attacks. We will utilize the ESP8266WiFi library, along with the SSD1306 library for controlling an OLED display. So, let's dive into the details and get started!
Components
Circuit Connection
OLED to ESP8266
Push Button to ESP8266
Refer to the circuit diagram for proper wiring.
Programing the ESP8266 or D1 Mini
To upload code to ESP8266/D1 Mini, use an ESP8266 flasher. The flasher and program files are available in our GitHub repository. Download the file,and extract it.
Download File
The OLED display will show available WiFi networks. The WiFi monitor will continuously scan the WiFi channels and display real-time statistics, including the current channel, total packets, deauthentication packets, and a graphical representation of packet counts. Press the push button to switch channels and update the displayed information accordingly.
Conclusion
By following this guide, you have successfully built a WiFi monitor with deauthentication detection using an ESP8266. The flashed firmware allows the WiFi monitor to automatically start upon powering on the circuit, displaying real-time statistics on an OLED display. This can be a valuable tool for analyzing WiFi networks and enhancing network security. Remember to explore further possibilities, such as integrating additional features like logging, notifications, or remote monitoring capabilities. Experiment, learn, and continue to build upon this project to make it even more powerful and versatile.
Thanks to Spacehuhn’s for providing the code for this project, go check out his website with awesome content.
Happy hacking!
#wardriving #wifipentesting #hackernowful #hypesecinfotech #deauther #wifirecon #packetmonitor