KRACK Detector is a Python script to detect possible KRACK attacks (https://www.krackattacks.com/) against client devices on your network. The script is meant to be run on the Access Point rather than the client devices. It listens on the Wi-Fi interface and waits for duplicate message 3 of the 4-way handshake. It then disconnects the suspected device, preventing it from sending any further sensitive data to the Access Point.
KRACK Detector currently supports Linux Access Points with hostapd. It uses Python 2 for compatibility with older operating systems. No external Python packages are required.
+ Python 2.6.x or Higher
apt install hostapd
git clone https://github.com/securingsam/krackdetector && cd krackdetector
python krack_detect.py wlan0
python krack_detect.py -n wlan0