Privacy-Preserving DDoS Attack Detection Using Cross-Domain Traffic in Software Defined Networks

Liehuang Zhu, Xiangyun Tang, Meng Shen, Xiaojiang Du, Mohsen Guizani

Abstract

Distributed Denial-of-Service (DDoS) attacks often traverse multiple administrative domains, making detection within a single network challenging. This paper introduces Predis, a privacy-preserving system for cross-domain DDoS detection in Software Defined Networks (SDNs). Predis utilizes a decoupled two-server architecture and perturbation encryption to allow collaborative threat detection without exposing sensitive traffic data. By employing an optimized k-Nearest Neighbor (kNN) algorithm with KD-trees, the system achieves high detection accuracy and real-time performance, processing 10,000 flows in under one second.

Introduction

Distributed Denial-of-Service (DDoS) attacks are rarely confined to a single network. They often involve "puppet machines" and victims scattered across different administrative domains. Detecting these attacks within a single domain is difficult because local traffic might appear normal; the "big picture" only emerges when data from multiple domains is combined.

However, network operators are often reluctant to share raw traffic data (like IP addresses and port numbers) due to privacy concerns and competitive risks. Existing privacy-preserving methods, such as Secure Multi-party Computation (SMC), are often too computationally expensive for the high-speed requirements of SDN controllers. Predis addresses this by finding a balance between high detection accuracy, robust privacy, and low latency.

The Multi-Stage Attack Model

To effectively detect DDoS threats, it is essential to understand the lifecycle of an attack. As illustrated in Figure 1, attacks typically progress through several distinct phases: initial scanning of potential targets, intrusion into control puppets, and the final coordinated assault on the victim.

The multi-stage progression of a DDoS attack from initial scanning to the final victim assault.

Methodology

Predis utilizes a decoupled architecture to balance security and speed:

  • Two-Server Architecture: The system uses a Computing Server (CS) and a Detection Server (DS). This separation ensures that no single entity sees the full unmasked dataset.
  • Perturbation Encryption: Instead of heavy cryptographic protocols, Predis uses perturbation (adding random noise) to mask data. This allows the Computing Server to perform distance calculations on "disturbed" data without knowing the actual values.
  • Improved kNN Algorithm: The system uses the k-Nearest Neighbor (kNN) algorithm for classification. To meet real-time requirements, the authors implemented KD-trees and the Best Bin First (BBF) optimization, reducing search complexity from linear to roughly logarithmic.
  • Feature Selection: Predis extracts five specific features: Median of Packets per Flow (MPF), Median of Bytes per Flow (MBF), Percentage of Correlative Flow (PCF), Growth of Ports (GOP), and Growth of Source IP Addresses (GSI). Using medians instead of means makes the system more resilient to outliers.

Collaborative Detection Performance

The core strength of Predis lies in its ability to merge traffic data from disparate domains. As shown in the flow analysis in Figure 2, individual subnets may only see a fraction of the total malicious activity. By merging these flows, the system can identify the full scale of scanning and intrusion activities that would otherwise fly under the radar of a single domain operator.

Flow distribution across different network segments during attack stages, highlighting the benefit of merging cross-domain data.

Key Results

  • High Accuracy: In cross-domain scenarios, Predis achieved a precision of 0.9985 and a recall of 0.9923 on the LLDOS 1.0 dataset.
  • Early Detection: The system maintained high precision (>0.97) even during the "Scanning" phase, outperforming single-domain methods.
  • Real-time Performance: The system can process 10,000 flows in less than 1 second, meeting the demands of high-speed backbone links.

Conclusion

Predis demonstrates that cross-domain collaboration is significantly more effective at catching attacks in their early stages compared to isolated detection. By decoupling the workflow and using efficient perturbation encryption, the system provides a scalable, privacy-respecting solution for modern SDN environments. Future work will focus on expanding the feature set to detect a wider variety of network threats and further optimizing kNN search times.

Summary updated

BibTeX
@article{zhu2018privacy,
  author = {Liehuang Zhu and Xiangyun Tang and Meng Shen and Xiaojiang Du and Mohsen Guizani},
  title = {{Privacy-Preserving DDoS Attack Detection Using Cross-Domain Traffic in Software Defined Networks}},
  journal = {IEEE J. Sel. Areas Commun.},
  year = {2018},
  doi = {10.1109/jsac.2018.2815442},
}
Figure