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