计算机科学 ›› 2026, Vol. 53 ›› Issue (9): 365-374.doi: 10.11896/jsjkx.260100029

• 计算机网络 • 上一篇    下一篇

基于多视图邻域扰动感知的BGP异常检测与定位方法

陶泽坤1, 陈迪1,2, 祝凯捷1,2,3, 夏毅1, 张一辰1,2, 陈越1   

  1. 1 信息工程大学 郑州 450001
    2 网络空间安全教育部重点实验室 郑州 450001
    3 中关村实验室 北京 100190
  • 收稿日期:2026-01-07 修回日期:2026-05-17 出版日期:2026-09-15 发布日期:2026-09-10
  • 通讯作者: 陈迪(chendi166@aliyun.com)
  • 作者简介:(zk.tao@foxmail.com)
  • 基金资助:
    国家自然科学基金(62402524)

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 Published:2026-09-15 Online: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).

摘要: 边界网关协议(Border Gateway Protocol,BGP)是互联网各自治系统(Autonomous Systems,AS)互联互通的现行路由协议。然而,协议缺乏路由验证机制,恶意劫持或错误配置可在域间路由网络中迅速传播,导致大范围互联网中断并造成重大经济损失。尽管资源公钥基础设施(RPKI)等BGP安全机制已被提出,但其效能严重受限于各AS部署源地址验证等机制意愿。现有研究多基于BGP更新报文构建网络拓扑,通过提取图特征实现路由异常检测。然而,已有方法普遍存在图特征计算复杂度高、依赖长周期时间窗口导致图更新延迟等问题,难以满足实时异常检测需求。为此,提出一种在线多视图邻域扰动感知BGP异常检测与定位方法AnomLoc。从层级、地理与拓扑的视角构建能够感知路由更新扰动的邻域视图,据此设计邻域扰动感知模块,通过评估路由更新所引入的新链路是否显著偏离AS历史正常行为模式,实现BGP异常的检测与定位。实验基于公共BGP路由观测项目采集的真实数据,覆盖7起已确认的典型路由异常事件。实验结果表明,AnomLoc能够有效检测全部测试事件,且平均检测延迟控制在3 min内。相较于主流特征方法,其将每起异常事件的误报次数平均减少0.4~9.1次。

关键词: 自治系统, BGP协议, 域间路由安全, 多视图, 异常检测

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

中图分类号: 

  • 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.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!