Wireless sensor networks (WSNs) are critical components of modern communication systems but remain vulnerable to complex and diverse cyber threats. This paper proposes a hybrid framework integrating generative adversarial networks (GANs) and recurrent neural networks (RNNs) to address security challenges in WSNs. The RNN module captures temporal dependencies for precise attack detection, while the GAN module generates synthetic samples to mitigate data imbalance. The framework achieves a detection rate of 98.47% and an accuracy of 98.79%, outperforming traditional methods such as support vector machines, naïve bayes classifiers, and random forests by a statistically significant margin (p < 0.05). Moreover, the framework maintains a low false positive rate of 2%, ensuring minimal disruption to legitimate network operations. The adaptability of the framework is validated through case studies on heterogeneous WSN architectures, including low-power IoT sensor networks and large-scale industrial deployments. Specifically, tests on the CICIDS and UNSW-NB15 datasets demonstrate its effectiveness in dynamic environments where attack patterns evolve in real time. The framework’s real-time detection capability is further confirmed by achieving an average inference time of 1.25 seconds per sequence, making it suitable for time-sensitive applications such as military surveillance and industrial automation. To enhance adversarial robustness, the framework integrates adversarial training techniques, gradient regularization, and adversarial perturbation detection mechanisms, ensuring resilience against evasive attack strategies and adversarial samples. Empirical evaluations show that adversarial perturbation detection reduces attack evasion rates by 36.8%, strengthening the reliability of security measures in real-world deployments.
Afiliasi berasal dari OpenAlex; metadata OAI-PMH jurnal tidak memuatnya. Penulis tanpa ID OpenAlex dicocokkan berdasarkan nama, sehingga dua orang bisa tergabung atau satu orang bisa terpisah.