BGPFlow: Flow-based Feature Extraction for BGP Anomaly Detection
The Border Gateway Protocol (BGP) plays a pivotal role in inter-domain routing, but its decentralized nature and lack of inherent security make it vulnerable to various anomalies. Efficient detection of these anomalies relies on appropriate aggregation methods that extract both quantitative and topological features from routing updates. However, due to the immense scale and complexity of the Internet, inappropriate feature aggregation methods may introduce data noise, thereby increasing detection latency and degrading the overall accuracy of the system. In this paper, we propose BGPFlow, a flexible and scalable feature extraction framework that supports multiple levels of aggregation and integrates both quantitative and graph-based features. We organize the BGP feature flows using the Original Autonomous System (Original AS) as the key and performs aggregation at the country level. To reduce the computational complexity of graph-based features, we apply a graph clustering method based on Graph Autoencoder (GAE) to compress country-level BGP topologies, preserving structural semantics while enhancing the detection of both large-scale and smaller anomalies. Through case studies involving routing anomalies of various scales, we demonstrate the efficiency of BGPFlow in detecting real-world network incidents.
Authors
- Yanxu Fu (ORCID: https://orcid.org/0009-0008-1798-9907)
- Xiaohong Huang (ORCID: https://orcid.org/0000-0002-7275-2274)
- Yan Ma (ORCID: https://orcid.org/0000-0001-8065-591X)
- Han Zhang (ORCID: https://orcid.org/0000-0003-4429-9959)
- Pei Zhang (ORCID: https://orcid.org/0000-0002-9789-7277)
- Dandan Li (ORCID: https://orcid.org/0000-0003-2779-240X)
- Kun Xie (ORCID: https://orcid.org/0000-0003-4009-6601)
Institutions
- Beijing University of Posts and Telecommunications (CN)
- Communication University of China (CN)
Publication Details
- Published
- 2025-08-20
- DOI
- https://doi.org/10.1145/3748496.3748993
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00