Abstract
Wireless networks face increasing threats from jamming attacks, which disrupt legitimate communications through noise injection. Traditional detection systems often struggle with real-world signal complexities and the adaptive nature of modern jammers. This paper presents JamShield, a dynamic machine-learning-based detection system designed for real-world "over-the-air" jamming. By utilizing a hybrid feature selection process and an automated module that switches between classification algorithms in real-time, JamShield achieves a 97.9% detection rate and significantly reduces false alarms compared to existing state-of-the-art methods.
1. Introduction
Wireless networks are inherently vulnerable to jamming—a form of Denial-of-Service (DoS) attack where malicious actors drown out legitimate signals with radio interference. While Machine Learning (ML) has been proposed as a solution for detecting these attacks, existing research often suffers from three critical limitations: reliance on simulated data that ignores real-world physics, "feature tunnel vision" focusing on narrow metrics like Signal-to-Noise Ratio (SNR), and static models that fail to adapt to changing attack strategies (e.g., reactive vs. constant jamming).
JamShield addresses these gaps by employing a cross-layer data collection approach and a system architecture that adapts its detection strategy dynamically based on network conditions.
2. System Architecture
The JamShield framework operates through two distinct phases: Online Detection for real-time monitoring and Offline Optimization for continuous model refinement.
2.1 Hybrid Feature Selection
To ensure the system remains efficient enough for real-time deployment, JamShield utilizes a hybrid feature selection mechanism. Starting with 40 network features, the system identifies the 20 most impactful metrics using a weighted voting mechanism. This mechanism combines Principal Component Analysis (PCA), which captures features with the highest variance, and Mutual Information (MI), which quantifies the statistical dependence between a feature and the presence of an attack. This approach reduced redundant data by 56% without sacrificing detection accuracy.
2.2 Auto-Classification Module (AutoCM)
Recognizing that no single ML algorithm is optimal for every scenario, JamShield incorporates an Auto-Classification Module (AutoCM). This module manages six distinct algorithms: K-Nearest Neighbors (KNN), Decision Trees (DT), Long Short-Term Memory (LSTM), Support Vector Machines (SVM), Multi-Layer Perceptrons (MLP), and Random Forest (RF).
The system employs a Threshold Control mechanism that monitors real-time performance metrics, specifically sensitivity and recall. If performance falls below a predefined threshold (e.g., 91%), the AutoCM triggers a re-evaluation to switch to the algorithm best suited for the current environment, whether it be Line-of-Sight (LOS) or Non-Line-of-Sight (NLOS).
3. Experimental Methodology
To validate JamShield, the authors developed a high-fidelity testbed in an 80 m² laboratory environment. The setup included wireless PCs, OnePlus 8T smartphones, an ASUS Access Point, and a USRP X310 Software-Defined Radio (SDR) to serve as the jammer.
The study evaluated three distinct jamming behaviors:
- Constant: Continuous noise injection.
- Random: Noise injected at irregular intervals.
- Reactive: Noise injected only when the jammer senses legitimate transmissions.
Data was collected across both LOS and NLOS conditions, and the resulting dataset has been released publicly to support further research.
4. Results and Analysis
JamShield's performance was benchmarked against three state-of-the-art (SOTA) models. The results demonstrate significant improvements across all key metrics:
- Detection Rate: JamShield achieved a peak detection rate of 97.9%.
- Accuracy Metrics: The system reached 88.5% precision and 90.3% recall, resulting in a balanced F1-score of 89.4%.
- Error Rates: JamShield maintained a false alarm rate of only 3.9% and a misdetection rate of 9.7%, both of which represent substantial improvements over existing benchmarks.
These results highlight the effectiveness of combining cross-layer data (physical, data link, and application layers) with an adaptive classification strategy.
5. Conclusion and Future Work
JamShield demonstrates that adaptability is essential for securing wireless networks against sophisticated jamming. By moving away from static models and utilizing a hybrid feature selection process, the system provides a robust, real-time defense mechanism.
Future work will focus on reducing the computational overhead of the "Offline Optimization" phase, which currently requires high-end GPU resources, and addressing driver dependencies to ensure broader hardware compatibility. Additionally, the authors plan to explore the integration of JamShield into "Digital Twin" frameworks for predictive attack modeling.
Summary updated