Computer Science ›› 2026, Vol. 53 ›› Issue (9): 365-374.doi: 10.11896/jsjkx.260100029

• Computer Network • Previous Articles     Next Articles

BGP Anomaly Detection and Localization via Multi-view Neighborhood Perturbation Awareness

TAO Zekun1, CHEN Di1,2, ZHU Kaijie1,2, 3, XIA Yi1, ZHANG Yichen1,2, CHEN Yue1   

  1. 1 Information Engineering University,Zhengzhou 450001,China
    2 Key Laboratory of Cyberspace Security,Ministry of Education,Zhengzhou 450001,China
    3 Zhongguancun Laboratory,Beijing 100190,China
  • Received:2026-01-07 Revised:2026-05-17 Online:2026-09-15 Published:2026-09-10
  • About author:TAO Zekun,born in 1996,postgra-duate.His main research interests include inter-domain routing security and graph anomaly detection.
    CHEN Di,born in 1992,Ph.D,is a member of CCF(No.A31436M).Her main research interests include routing secu-rity and graph deep learning.
  • Supported by:
    National Natural Science Foundation of China(62402524).

Abstract: BGP(Border Gateway Protocol) serves as the de facto standard for inter-domain routing,facilitating global connectivity among autonomous systems(AS) across the Internet.However,the absence of a built-in validation mechanism allows malicious hijacking or misconfigurations to propagate rapidly across the inter-domain network,causing large-scale Internet outages and significant economic losses.Although security mechanisms such as the resource public key infrastructure(RPKI) have been proposed,their effectiveness remains limited by the deployment rate of route origin validation among ASes.Existing approaches typically detect route anomalies by extracting graph-based features.However,these approaches suffer from high computational complexity during feature extraction and require long observation windows,which introduce significant delays in graph updates and hinder real-time anomaly detection.To address these limitations,this paper proposes AnomLoc,an online,multi-view neighborhood perturbation-aware method for BGP anomaly detection and localization.AnomLoc constructs neighborhood views from hierarchical,geographical,and topological perspectives to capture perturbations in routing updates.Based on these views,AnomLoc accurately detects and localizes anomalies by evaluating whether newly introduced links in routing updates significantly deviate from the historical normal behavior of an AS.Real-world BGP data covering seven verified BGP anomaly events is gathered in experiments.Experimental results demonstrate that AnomLoc effectively detectsall test events,with an average detection latency of less than three minutes.Compared with existing feature-based methods,AnomLoc reduces the average number of false positives per event by 0.4~9.1.

Key words: Autonomous systems, Border Gateway protocol, Inter-domain routing security, Multi-view, Anomaly detection

CLC Number: 

  • TP311
[1] MITSEVA A,PANCHENKO A,ENGEL T.The state of affairs in BGP security:A survey of attacks and defenses[J].Computer Communications,2018,124:45-60.
[2] SERMPEZIS P,KOTRONIS V,DAINOTTI A,et al.A Survey among Network Operators on BGP Prefix Hijacking[J].ACM SIGCOMM Computer Communication Review,2018,48(1):64-69.
[3] APOSTOLAKI M,ZOHAR A,VANBEVER L.Hijacking Bit-coin:Routing Attacks on Cryptocurrencies[C] //2017 IEEE Symposium on Security and Privacy(SP).IEEE,2017:375-392.
[4] MOHAPATRA P,SCUDDER J,WARD D,et al.BGP PrefixOrigin Validation:RFC 6811[S].Internet Engineering Task Force,2013.
[5] SCHULMANN H,VOGEL N,WAIDNER M.RPKI:Not Perfect But Good Enough[J].arXiv:2409.14518,2024.
[6] CHEN W,WANG Z,HAN D,et al.ROV-MI:Large-Scale,Accurate and Efficient Measurement of ROV Deployment[C] //Proceedings 2022 Network and Distributed System Security Symposium.San Diego,CA:Internet Society,2022.
[7] RouteViews Archive Project Page[EB/OL].[2026-01-04].https://archive.routeviews.org/.
[8] WU Z,LI Y,WANG X,et al.GraphBGP:BGP Anomaly Detection Based on Dynamic Graph Learning[J].IEEE Transactions on Information Forensics and Security,2025,20:9864-9877.
[9] SCOTT B A,JOHNSTONE M N,SZEWCZYK P,et al.BGPanomaly detection as a group dynamics problem[J].Computer Networks,2025,257:110926.
[10] LATIF-MARTÍNEZ H,PAILLISSÉ J,BARLET-ROS P,et al.BGP anomaly detection using the raw internet topology[J].Computer Networks,2025,273:111753.
[11] FU Y,ZHANG P,ZHANG H,et al.BGPFlow:Flow-based Feature Extraction for BGP Anomaly Detection[C] //Proceedings of the 1st Workshop on Next-Generation Network Observability.ACM,2025:13-20.
[12] BHATIA S,LIU R,HOOI B,et al.Real-Time Anomaly Detection in Edge Streams[J].ACM Transactions on Knowledge Discovery from Data,2022,16(4):1-22.
[13] HOLTERBACH T,ALFROY T,PHOKEER A,et al.A System to Detect Forged-Origin BGP Hijacks[C] //21st USENIX Symposium on Networked Systems Design and Implementation(NSDI 24).Santa Clara,CA:USENIX Association,2024:1751-1770.
[14] CHEN Y,YIN Q,LI Q,et al.Learning with Semantics:Towards a Semantics-Aware Routing Anomaly Detection System[J].arXiv:2402.16025,2024.
[15] DESHPANDE S,THOTTAN M,HO T K,et al.An Online Mechanism for BGP Instability Detection and Analysis[J].IEEE Transactions on Computers,2009,58(11):1470-1484.
[16] AL-ROUSAN N M,TRAJKOVIC L.Machine learning models for classification of BGP anomalies[C] //2012 IEEE 13th International Conference on High Performance Switching and Routing.IEEE,2012:103-108.
[17] SANCHEZ O R,FERLIN S,PELSSER C,et al.Comparing Machine Learning Algorithms for BGP Anomaly Detection using Graph Features[C] //Proceedings of the 3rd ACM CoNEXT Workshop on Big Data,Machine Learning and Artificial Intelligence for Data Communication Networks.ACM,2019:35-41.
[18] HOARAU K,TOURNOUX P U,RAZAFINDRALAMBO T.Suitability of Graph Representation for BGP Anomaly Detection[C] //2021 IEEE 46th Conference on Local Computer Networks(LCN).IEEE,2021:305-310.
[19] HOARAU K,TOURNOUX P U,RAZAFINDRALAMBO T.BGNN:Detection of BGP Anomalies Using Graph Neural Networks[C] //2022 IEEE Symposium on Computers and Communications(ISCC).IEEE,2022:1-6.
[20] HUANG J,ODIATHEVAR M,VALERA A,et al.RealtimeBGP Anomaly Detection Using Graph Centrality Features[M] //Advanced Information Networking and Applications:vol 201.Cham:Springer,2024:222-233.
[21] AS Rank:A ranking of the largest Autonomous Systems(AS) in the Internet[EB/OL].[2026-01-06].https://asrank.caida.org/.
[22] CHENG M,XU Q,LYU J M,et al.MS-LSTM:A multi-scale LSTM model for BGP anomaly detection[C] //2016 IEEE 24th International Conference on Network Protocols(ICNP).IEEE,2016:1-6.
[23] MORIANO P,HILL R,CAMP L J.Using bursty announcements for detecting BGP routing anomalies[J].Computer Networks,2021,188:107835.
[24] DONG Y,LI Q,SINNOTT R O,et al.ISP Self-Operated BGP Anomaly Detection Based on Weakly Supervised Learning[C] //2021 IEEE 29th International Conference on Network Protocols(ICNP).IEEE,2021:1-11.
[25] PENG S,NIE J,SHU X,et al.A Multi-View Framework for BGP Anomaly Detection via Graph Attention Network[J].ar-Xiv:2112.12793,2021.
[26] SHAPIRA T,SHAVITT Y.SASA:Source-Aware Self-Atten-tion for IP Hijack Detection[J].IEEE/ACM Transactions on Networking,2022,30(1):437-449.
[27] SHAPIRA T,SHAVITT Y.A Deep Learning Approach for IP Hijack Detection Based on ASN Embedding[C] //Proceedings of the Workshop on Network Meets AI & ML.ACM,2020:35-41.
[28] SHAPIRA T,SHAVITT Y.AP2Vec:An Unsupervised Ap-proach for BGP Hijacking Detection[J].IEEE Transactions on Network and Service Management,2022,19(3):2255-2268.
[29] LI J,CAO J,MENG Z,et al.RoLL+:Real-Time and Accurate Route Leak Locating With AS Triplet Features at Scale[J].IEEE/ACM Transactions on Networking,2024,32(6):5263-5278.
[30] CAO F,ESTERT M,QIAN W,et al.Density-Based Clustering over an Evolving Data Stream with Noise[C] //Proceedings of the 2006 SIAM International Conference on Data Mining.Society for Industrial and Applied Mathematics,2006:328-339.
[31] PERRY M B.The Exponentially Weighted Moving Average[M] //Wiley Encyclopedia of Operations Research and Management Science.Wiley,2011.
[1] DAI Yeqing, WANG Chunxue, DENG Chongyang. 3D Point Cloud Part Segmentation via Symmetry Prior and Co-training Multiview Subspace Clustering [J]. Computer Science, 2026, 53(9): 249-260.
[2] LIU Yanze, HAN Bo, YUAN Jidong, SU Dongliang, REN Jia, CAI Zhiming, WANG Zhihai. Anomaly Detection in Time Series Based on Time-Frequency Contrastive Learning [J]. Computer Science, 2026, 53(8): 20-28.
[3] GUO Peilin, ZOU Zhiyi, WANG Bo, LUO Jiawei. STMVF:Novel Multi-view Graph Convolutional Network for Spatial Transcriptomics Cell Deconvolution with Dual Cross-attention Mechanism [J]. Computer Science, 2026, 53(8): 40-49.
[4] WANG Jia, GAN Yongqiang. Multivariate Mimic Voting Method Based on Anomaly Perception [J]. Computer Science, 2026, 53(7): 414-421.
[5] CHEN Yifan, DING Cong, CAO Min. Image Anomaly Detection Based on Masked Convolutional Kernel [J]. Computer Science, 2026, 53(7): 45-53.
[6] XU Jian, CHEN Shijie, FENG Jiancong, YANG Geng. CBT-AD:CNN-BiLSTM-Transformer Hybrid Model for Time Series Anomaly Detection [J]. Computer Science, 2026, 53(7): 230-241.
[7] JI Wendi, WANG Yongquan. Autoregressive Sequence Reconstruction for Unsupervised Anomaly Detection in Medical Insurance [J]. Computer Science, 2026, 53(7): 298-307.
[8] ZHANG Juling, ZHAO Yibing, WANG Sheng, XI Ning, SHE Wenkui. Robust Time Series Anomaly Detection Model Based on Multi-view Cross Filtering [J]. Computer Science, 2026, 53(6A): 250600105-10.
[9] DUAN Lian. Diabetic Retinopathy Grading Based on Label Relaxation Multi-view Feature Fusion [J]. Computer Science, 2026, 53(6A): 250200048-6.
[10] YANG Xue, JIANG Bowen, LIU Yongxiang, ZHANG Likun, DENG Guiying. Review of Evaluation Methods for Resource Public Key Infrastructure Deployment Levels [J]. Computer Science, 2026, 53(6A): 251100048-7.
[11] HUANG Siyang, YAO Ye, ZHU Yian, HAI Duo, XIONG Zhihai. Anomaly Detection and Localization Technology for Gravity Wave Spectral Images Based onPre-trained Networks [J]. Computer Science, 2026, 53(5): 193-206.
[12] SHEN Ao, ZHOU Qingkai, XIA Tian, GAO Ruiling. Span-based Aspect Sentiment Triplet Extraction Based on Multi-view Graph Neural Networks [J]. Computer Science, 2026, 53(5): 319-327.
[13] TIAN Xin, ZHU Guosheng, XIONG Yuran, WU You. Study on Drug Target Affinity Prediction Based on Multi-view Comparison and Homology Information [J]. Computer Science, 2026, 53(5): 337-345.
[14] CHEN Peng, HAO Junfeng, XIA Yunni, LI Xi. Novel Multi-task Federated Learning Based Approach for Detecting and Diagnosing Anomalies inCloud Microservices [J]. Computer Science, 2026, 53(5): 388-403.
[15] XU Lijun, ZHAO Yujie, ZHAO Min, MA Weixuan, CHEN Kansong. Efficient Multi-view Stereo Reconstruction Based on Multi-granularity Feature Aggregation and Binary Search [J]. Computer Science, 2026, 53(3): 257-265.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!