Real-time detection of Wi-Fi attacks using hybrid deep learning models on NodeMCU

Real-time defense against Wi-Fi Deauthentication attacks on the edge: Our hybrid deep learning model on NodeMCU achieves 96% accuracy in low-power IoT environments.
Like

Share this post

Choose a social network to share with, or copy the URL to share elsewhere

This is a representation of how your post may appear on social media. The actual post will vary between social networks

We are excited to share our new paper: "Real-time detection of Wi-Fi attacks using hybrid deep learning models on NodeMCU."

Wi-Fi Deauthentication (DA) attacks pose a significant threat. Existing detection systems are often cloud-based, making them unsuitable for resource-constrained, low-power Internet of Things (IoT) environments.

Our Novel Solution

We introduce a unique, cost-effective hybrid deep learning system tailored for the network edge. Our system:

  1. Platform: Utilizes the NodeMCU ESP8266 microcontroller for live packet sniffing and feature extraction, making it highly suitable for low-power IoT devices.

  2. Model: Integrates powerful sequential deep learning models (LSTM, GRU, RNN) with Logistic Regression (LR) to analyze Wi-Fi traffic in real-time based on key metrics like RSSI, DA packet count, and SNR.

Data logging setup using NodeMCU, Arduino IDE, and CoolTerm.

Key Findings & Impact

  • Achieved 96% detection accuracy on a dataset of over 7,000 labeled samples.

  • Demonstrated superior performance in identifying challenging minority-class threats.

  • Delivers a practical, transparent, and explainable AI (XAI) approach that can be readily adapted to diverse IoT and wireless security contexts.

This work addresses the critical need for real-time security at the network edge. We invite researchers, security professionals, and practitioners in edge computing to read our full paper and explore this innovative, embedded security solution.

paper Link: https://www.nature.com/articles/s41598-025-18947-2

Cite this article:
Moharam, M.H., Ashraf, K., Alaa, H. et al. Real-time detection of Wi-Fi attacks using hybrid deep learning models on NodeMCU. Sci Rep 15, 32544 (2025). https://doi.org/10.1038/s41598-025-18947-2

Please sign in or register for FREE

If you are a registered user on Research Communities by Springer Nature, please sign in

Follow the Topic

Control, Robotics, Automation
Technology and Engineering > Electrical and Electronic Engineering > Control, Robotics, Automation

Related Collections

With Collections, you can get published faster and increase your visibility.

Infectious disease diagnostics

This Collection welcomes original research into current challenges and advances within the field of infectious disease diagnostics.

Publishing Model: Open Access

Deadline: Sep 23, 2026

AI in Education

This Collection highlights research on the role of AI in education. This is a multidisciplinary collaboration bringing together psychological, educational, and computational perspectives.

Publishing Model: Open Access

Deadline: Oct 09, 2026