A Deep CNN Ensemble Framework for Efficient DDoS Attack Detection in Software Defined Networks

Shahzeb Haider, Adnan Akhunzada, Iqra Mustafa, Tanil Bharat Patel, Amanda S. Fernandez, Kim-Kwang Raymond Choo, Javed Iqbal

Introduction

Distributed Denial of Service (DDoS) attacks pose a critical threat to modern network availability. Software Defined Networking (SDN) offers a centralized control mechanism that decouples the network's "brain" (control plane) from its "brawn" (data plane). While this architecture enables flexible management, it also introduces a significant vulnerability: the SDN controller becomes a single point of failure. If an attacker overwhelms the controller with a DDoS flood, the entire network can collapse.

Standard SDN architecture illustrating the separation of control and data planes.

Existing intrusion detection systems (IDS) often struggle with high false-positive rates or excessive computational overhead that can degrade controller performance. This research proposes a robust, high-accuracy deep learning ensemble framework specifically designed to protect the SDN control plane.

Methodology: The Deep CNN Ensemble

The proposed framework leverages a Deep CNN Ensemble to improve detection robustness. Unlike single-model approaches, an ensemble combines multiple neural networks to reduce variance and bias, leading to more reliable classification.

Feature Engineering and Architecture

To prepare network traffic for the CNN, the researchers employed Z-score normalization and "dimensional reconstruction." This process transforms 1D flow features into a 2D format suitable for convolutional layers, allowing the model to "see" spatial patterns in traffic behavior.

The core architecture consists of an ensemble of two CNNs. Each network includes:

  • Three 2D-Convolutional layers (128, 64, and 64 filters) for feature extraction.
  • Max-pooling layers for spatial downsampling.
  • A final 2D-Conv layer (32 filters) followed by flattening and fully connected (FC) layers.
  • A Sigmoid classifier for binary decision-making (Benign vs. Attack).

Dataset and Feature Selection

The framework was evaluated using the CICIDS2017 (ISCX Dataset), which contains modern, flow-based traffic more representative of SDN environments than older datasets like KDD99. The study utilized 140,000 samples with a 60:40 split between benign and DDoS traffic.

To ensure efficiency, the researchers used a Random Forest Regressor to identify the most impactful features from the 80 available in the dataset.

Table 2: Key features selected for DDoS attack detection.

As shown in Table 2, four features—Backward Packet Length Std, Avg Packet Size, Flow Duration, and Flow IAT—were identified as the most critical indicators of malicious activity, allowing the model to maintain high performance with minimal data input.

Key Results and Performance

The CNN Ensemble demonstrated superior performance compared to traditional sequence models like RNNs and LSTMs across almost all metrics:

  • Accuracy: 99.45% (significantly higher than the 83.28% achieved by RNNs).
  • Precision and Recall: 99.57% and 99.64%, respectively.
  • Operational Efficiency: While training the ensemble took approximately 39 minutes, the inference time was remarkably low at 0.061 minutes. Furthermore, the system maintained a low CPU footprint (~6.02%), ensuring it can run on an SDN controller without causing significant latency.

Conclusion

By restructuring network flow data for convolutional processing and employing an ensemble strategy, this framework achieves near-perfect detection accuracy for DDoS attacks in SDN environments. Its low inference time and resource efficiency make it a viable candidate for real-time network defense. Future research will focus on testing the model against zero-day attacks in large-scale distributed environments and investigating its resilience against adversarial machine learning techniques.

Summary updated

BibTeX
@article{haider2020deep,
  author = {Shahzeb Haider and Adnan Akhunzada and Iqra Mustafa and Tanil Bharat Patel and Amanda S. Fernandez and Kim-Kwang Raymond Choo and Javed Iqbal},
  title = {{A Deep CNN Ensemble Framework for Efficient DDoS Attack Detection in Software Defined Networks}},
  journal = {IEEE Access},
  year = {2020},
  doi = {10.1109/access.2020.2976908},
}
Figure