Skip to content

Latest commit

 

History

107 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Instructions

Raspberry Pi

  • Clone this repository on your Raspberry Pi
git clone git@github.com:scast3/deauth_detect.git
cd deauth_detect
  • Run Raspberry Pi setup script to install DuckDB and necessary libraries.
sudo chmod +x pi_setup.sh
sudo ./pi_setup.sh
  • Build the C++ program on your Raspberry Pi
g++ rpi/src/main.cpp rpi/src/esp32_to_uart.cpp -o rpi/build/deauthdetect -lduckdb -I /usr/local/include -L /usr/local/lib 
  • Run the program
rpi/build/deauthdetect

ESP32 Sensor

  • Clone this repository on your local machine
git clone git@github.com:scast3/deauth_detect.git
cd deauth_detect/esp32sensor
  • Plug in your ESP32 via USB to your machine
  • Find which serial port the ESP32 is using
ls /dev/* | grep USB
  • Set permissions I/O permissions for this port
sudo chmod a+rw [PORT]
source /opt/esp-idf/export
  • Set the idf.py device as the ESP32
idf.py set-target esp32
  • Set your WiFi Sniffing channel (default is 11)
idf.py menuconfig
  • Component config > Sniffer Configuration > WiFi Channel
  • Clean and build
idf.py fullclean && idf.py build
  • For this next step, do this for every ESP32 that you will designate as a sensor

  • Flash
  • This may error on the first try. If it does, try it again
idf.py -p [PORT] flash
  • Optionally monitor debug output while ESP32 is plugged in
idf.py -p [PORT] monitor

ESP32 Gateway

  • Clone this repository on your local machine if you haven't done so already
git clone git@github.com:scast3/deauth_detect.git
cd deauth_detect/esp32sensor
  • Plug in your ESP32 via USB to your machine
  • Find which serial port the ESP32 is using
ls /dev/* | grep USB
  • Set permissions I/O permissions for this port
sudo chmod a+rw [PORT]
source /opt/esp-idf/export
  • Set the idf.py device as the ESP32
idf.py set-target esp32
  • Clean and build
idf.py fullclean && idf.py build
  • Flash
  • This may error on the first try. If it does, try it again
idf.py -p [PORT] flash
  • Optionally monitor debug output while ESP32 is plugged in
idf.py -p [PORT] monitor

About

Detection and Localization of a Wifi deauth attack. Wireless communication between ESP32 devices and UART data transfer to Raspberry Pi. RSSI localization done via least squares multilateration

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages