A Flexible SDN-Based Architecture for Identifying and Mitigating Low-Rate DDoS Attacks Using Machine Learning

Jesús Arturo Pérez Díaz, Ismael Amezcua Valdovinos, Kim-Kwang Raymond Choo, Dakai Zhu

Introduction

Software-Defined Networking (SDN) has revolutionized network management by centralizing control. However, this centralization introduces a single point of failure and a prime target for cyberattacks. Among the most challenging threats are Low-Rate Distributed Denial of Service (LR-DDoS) attacks. Unlike traditional volumetric attacks that overwhelm bandwidth, LR-DDoS attacks are stealthy, mimicking legitimate traffic patterns to exploit protocol vulnerabilities. This paper presents a modular architecture that leverages machine learning (ML) to detect and mitigate these attacks without compromising SDN controller performance.

The Stealthy Threat of Low-Rate DDoS

Traditional DDoS attacks are easily detected due to their high volume. In contrast, LR-DDoS attacks send short, periodic bursts of traffic. These bursts are timed to trigger specific network behaviors, such as TCP retransmission timeouts or the exhaustion of HTTP "keep-alive" resources.

Periodic burst pattern of a typical Low-Rate DDoS attack.

As shown in the figure above, the average traffic rate remains low, allowing the attack to blend in with normal user activity. In an SDN environment, if the central controller attempts to inspect every packet for such subtle patterns, it can quickly become a bottleneck, leading to network-wide latency.

A Modular SDN-Based Architecture

To address the performance bottleneck, the researchers proposed a decoupled architecture. The system splits security functions into two primary components:

  1. Intrusion Prevention System (IPS): Integrated directly into the SDN controller (using the ONOS framework), the IPS handles lightweight tasks like flow management and enforcing "drop" rules based on a blacklist.
  2. Intrusion Detection System (IDS): This is the "brain" of the system, hosted on a separate machine to offload heavy computational tasks. It uses an Identification API to pull flow statistics and applies machine learning models to identify malicious behavior.
Standard Software-Defined Networking (SDN) architecture layers.

By separating the IDS from the control plane, the architecture ensures that the SDN controller remains responsive even during intensive traffic analysis. This decoupling also allows the IDS to utilize specialized hardware, such as GPUs, for deep learning tasks.

Machine Learning for Detection

The effectiveness of the IDS depends on the underlying ML model. The researchers evaluated six different algorithms—J48, Random Tree, REP Tree, Random Forest, Multi-Layer Perceptron (MLP), and Support Vector Machines (SVM)—using the Canadian Institute of Cybersecurity (CIC) DoS 2017 dataset. This dataset includes various low-rate attack types like Slowloris and GoldenEye.

To ensure the models learned behavioral patterns rather than specific targets, identifying features like IP addresses and ports were removed during preprocessing. The Multi-Layer Perceptron (MLP) emerged as the top performer, achieving an accuracy of 95.01% with a remarkably low False Alarm Rate (FAR) of 0.52%. The MLP's ability to model complex, non-linear relationships made it particularly suited for identifying the subtle timing of LR-DDoS bursts.

Mitigation and Results

Once an attack is detected, the system employs a probabilistic mitigation strategy. Instead of immediately blocking all traffic from a suspicious source—which could harm legitimate users in the event of a false positive—the IPS uses a flow drop probability table. The drop rate starts low (e.g., 10%) and increases as the IDS gains higher confidence in the attack, eventually reaching 100%.

In real-world simulations using Mininet and the ONOS controller, the architecture successfully mitigated 100% of the attacks identified by the IDS. This demonstrates that the modular design effectively protects the network while maintaining the performance of the SDN control plane.

Conclusion and Future Directions

The proposed modular architecture provides a robust defense against stealthy LR-DDoS attacks. By decoupling detection from the controller and utilizing high-accuracy ML models like MLP, the system achieves high detection rates with minimal impact on network performance. Future work will focus on scaling this architecture for high-speed production data centers and integrating advanced statistical filters to further refine mitigation and protect against evolving adversarial AI.

Summary updated

BibTeX
@article{diaz2020flexible,
  author = {Jesús Arturo Pérez Díaz and Ismael Amezcua Valdovinos and Kim-Kwang Raymond Choo and Dakai Zhu},
  title = {{A Flexible SDN-Based Architecture for Identifying and Mitigating Low-Rate DDoS Attacks Using Machine Learning}},
  journal = {IEEE Access},
  year = {2020},
  doi = {10.1109/access.2020.3019330},
}
Figure