In the contemporary cybersecurity landscape, robust attack detection mechanisms are important for organizations. However, the current state of research in Software-Defined Networking (SDN) suffers from a notable lack of recent SDN-OpenFlow-based datasets. This study seeks to bridge this gap by introducing a novel dataset for intrusion detection in Software-Defined Networking named SDNFlow. The dataset, derived from OpenFlow statistics gathered from real traffic, integrates a comprehensive range of network activities. An empirical evaluation leveraging diverse Machine and deep Learning algorithms was performed. Namely, Logistic regression, decision tree, random forest, K-nearest neighbors, Support Vector Machines, and Multilayer Perceptron were tested getting pretty good results with a precision average of 98% to 99% in binary classification and from 97% to 99% in multiclass classification depending of the attack, we highlight the efficacy of K-Nearest Neighbors (KNN) for traffic classification, particularly in detecting DDoS attacks and port scanning. The dataset is valuable for evaluating intrusion detection systems within SDN environments and deepening the understanding of traffic patterns in Software Defined Networks.
The field of cybersecurity has witnessed a significant shift towards Programmable Data Planes with the emergence of the P4 programming P4. The existing literature lacks a comprehensive taxonomy that provides collaborative classifications and characterization of P4-based cybersecurity solutions. In this paper, we propose a novel taxonomy to better characterize published works in the field of cybersecurity solutions developed leveraging P4 and Programmable Data Planes. Our taxonomy introduces three main categories: detection techniques, mitigation actions, and deployment platforms. Unlike existing classification approaches present in literature, our taxonomy allows categorizing a given work according to different criteria, thus enabling collaborative classifications and the identification of shared features by highlighting intra-category and inter-category relationships that can be established among different works. Through our comprehensive characterization of the works identified in the literature, we present key findings that contribute to extend the current understanding of the field. By identifying the diverse range of techniques employed and the platforms utilized, we aim at addressing the needs to understand the area, which is fundamental for future advancements. Notably, we emphasize the significance of security provisioning through the adoption of cybersecurity functional abstractions. These abstractions enable the emulation of the behavior of conventional security devices, leveraging the capabilities of P4. Furthermore, we discuss several research challenges and possible future directions that have emerged from our analysis. This paper focuses on providing valuable insights and knowledge for researchers and practitioners in the field of cybersecurity solutions based on Programmable Data Planes leveraging P4, with the final goal of opening avenues for new research.
DDoS attacks are relevant threats that continue to grow in number, power, and complexity. These attacks are not only materialized through stealthy and fast variants in different network layers but also adapt their behavior and objectives, increasingly targeting less protected devices, particularly those prevalent in Internet of Things (IoT) environments. Recent studies have demonstrated the effectiveness of employing paradigms such as Software-defined Networking (SDN) and its complete realization through programmable data planes for the detection and mitigation of DDoS attacks. However, the complexity of real-world implementation, especially leveraging the Programming Protocol-Independent Packet Processors (P4) programming language (de facto standard in programmable data planes), has posed significant challenges, prompting researchers to concentrate primarily on simulation-based approaches. In this work, we propose an SDN-based Intrusion Prevention System (IPS) that leverages the coordination between the programmable data plane and the control plane to detect and mitigate slow-rate DDoS attacks in IoT environments. A decision tree model is deployed within a programmable switch (P4) to detect the attacks. Furthermore, an SDN controller is responsible for generating mitigation policies and deploying them to the programmable switches, effectively blocking malicious flows. Notably, we implement our solution on a high-performance Tofino P4 ASIC switch, achieving an accuracy of up to 88.74% in detecting attacks, with less than 3% of false positives in mitigation.