[Paper Review] ORACLE: Collaboration of Data and Control Planes to Detect DDoS Attacks
ORACLE proposes an SDN/P4-based architecture that delegates flow feature extraction and processing to the data plane, enabling high-granularity intra-flow feature calculation for DDoS detection. By offloading feature computation from the control plane, it achieves up to 96% detection accuracy using K-Nearest Neighbor, reducing controller load while overcoming OpenFlow limitations.
The possibility of programming the control and data planes, enabled by the Software-Defined Networking (SDN) paradigm, represents a fertile ground on top of which novel operation and management mechanisms can be fully explored, being Distributed Denial of Service (DDoS) attack detection based on machine learning techniques the focus of this work. To carry out the detection, this paper proposes ORACLE: cOllaboRation of dAta and Control pLanEs to detect DDoS attacks, an architecture that promotes the coordination of control and data planes to detect network attacks. As its first contribution, this architecture delegates to the data plane the extraction and processing of traffic information collected per flow. This is done in order to ease the calculation and classification of the feature set used in the attack detection, as the needed flow information is already processed when it arrives at the control plane. Besides, as the second contribution, this architecture breaks the limitations to calculate some features that are not possible to implement in a traditional OpenFlow-based environment. In the evaluation of ORACLE, we obtained up to 96% of accuracy in the testing phase, using a K-Nearest Neighbor model.
Motivation & Objective
- To address control plane overload in ML-based DDoS detection systems by offloading feature processing to the data plane.
- To overcome the limitations of traditional OpenFlow in calculating fine-grained, intra-flow traffic features for attack detection.
- To enable real-time, high-fidelity feature extraction for machine learning models using programmable data planes.
- To design a collaborative framework between control and data planes that enhances detection accuracy and reduces latency.
- To demonstrate the feasibility of detecting DDoS attacks using intra-flow features previously unattainable in standard SDN environments.
Proposed method
- The data plane uses P4 to implement a hash-based data structure that stores per-flow traffic statistics, including inter-arrival times and packet sequence information.
- A periodic reporting mechanism sends processed flow data from the data plane to the control plane at configurable intervals (5s to 60s).
- The control plane receives and aggregates flow reports to compute a comprehensive feature set, including intra-flow level features such as inter-arrival time variance and packet sequence patterns.
- Machine learning models (K-Nearest Neighbor and Random Forest) are trained on the feature set to classify flows as benign or DDoS.
- The system uses P4Runtime for communication between the control plane and programmable switches, enabling dynamic configuration and data retrieval.
- Feature calculation includes metrics such as mean, standard deviation, and coefficient of variation of inter-arrival times, which are not feasible in standard OpenFlow.
Experimental results
Research questions
- RQ1Can offloading feature extraction to the data plane reduce control plane overhead in ML-based DDoS detection?
- RQ2Can programmable data planes in SDN/P4 environments enable the calculation of fine-grained intra-flow features for attack detection?
- RQ3How does the detection accuracy of ML models vary with different time window durations in a data-plane-assisted detection system?
- RQ4What is the trade-off between detection accuracy, false positive rate, and detection latency in a collaborative control-data plane architecture?
- RQ5Can the proposed architecture detect DDoS attacks with higher accuracy than traditional control-plane-only approaches?
Key findings
- The K-Nearest Neighbor model achieved the highest detection accuracy of 96% with a 60-second time window, outperforming Random Forest models.
- For a 40-second time window, the KNN model M7 achieved a balanced F1-score of 0.962, with 97.0% recall and 96.7% selectivity, indicating low false negatives and false positives.
- The Random Forest model M4 with a 60-second window achieved 95.9% F1-score, with 96.3% recall and 94.1% selectivity, showing strong performance with moderate false alarm rates.
- The detection accuracy for all models exceeded 93% across all time windows, with the highest accuracy observed at 60 seconds, though this introduces higher detection latency.
- The KNN model showed consistently higher accuracy than Random Forest across all time windows, with a maximum difference of 1.2% in accuracy.
- The system demonstrated that intra-flow features such as inter-arrival time variance can be effectively extracted and used in ML models when the data plane is programmable, overcoming OpenFlow limitations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.