Introduction
Distributed Denial of Service (DDoS) attacks remain a critical threat to network security. While traditional volumetric attacks are easily identified by high traffic thresholds, modern attackers increasingly employ "Low Rate" or "Pulsing" strategies designed to evade detection. Furthermore, the rise of collaborative botnets allows for "mixed" attacks, where multiple techniques like SYN flooding and DNS amplification are deployed simultaneously. Existing detection tools often struggle with these hybrid or stealthy scenarios because they are typically optimized for specific attack signatures.
Methodology
The proposed framework addresses these challenges through advanced feature engineering. The core innovation is the use of "entropy rates" rather than raw entropy. While raw entropy can fluctuate based on traffic volume, the entropy rate—calculated by dividing entropy by the total number of flows or packets—consistently decreases during an attack. This provides a stable, unified signal across various DDoS types.
The framework extracts five key features:
- Entropy Rate of IP Source Flow: Captures source randomness normalized by flow count.
- Entropy Rate of Flow: Measures directional traffic randomness.
- Entropy of Packet Size: Analyzes packet length distribution.
- Entropy Rate of Packet Size: Normalizes packet size randomness.
- ICMP Destination Unreachable Count: Detects spoofing and scanning activities.
The pipeline consists of four main stages: data splitting, feature extraction, preprocessing (including Min-Max normalization and Pearson correlation to eliminate redundancy), and classification using standard machine learning algorithms such as Random Forest and Support Vector Machines (SVM).
Experimental Setup
The framework was validated using a combination of real-world datasets:
- Normal Traffic: ISCX (University of New Brunswick) and LLS (MIT Lincoln Lab).
- Attack Traffic: Real-world captures of SYN flooding, DNS amplification, Low Rate, Pulsing, and Spoofing attacks sourced from CAIDA and the Impact project.
Results and Discussion
The experimental results demonstrate the framework's superior performance. It achieved a near-perfect F1-score of 0.99 across both specific and mixed attack scenarios. Notably, the framework outperformed existing state-of-the-art methods like RADAR, Umbrella, and GE by margins ranging from 21% to 53%.
The high accuracy is attributed to the quality of the engineered features rather than model complexity, as basic models with default parameters were sufficient to achieve these results. Additionally, the system is highly efficient, with an average testing time of 0.52 microseconds per sample, making it suitable for real-time deployment in high-speed network environments.
Conclusion
This research presents a generalized and highly effective approach to DDoS detection. By focusing on entropy rates, the framework provides a consistent detection signal for a wide array of attack strategies. Future work will focus on refining labeling techniques for malicious packet fragments and adapting the feature set to counter increasingly sophisticated human-mimicking attack patterns.
Summary updated