计算机科学 ›› 2026, Vol. 53 ›› Issue (11): 403-412.doi: 10.11896/jsjkx.251000120

• 信息安全 • 上一篇    下一篇

基于自适应图学习的域间路由异常检测方法

吴争, 周尧昱, 王雅轩, 樊卫北   

  1. 南京邮电大学计算机学院 南京 210003
  • 收稿日期:2025-10-27 修回日期:2026-02-05 出版日期:2026-11-15 发布日期:2026-11-10
  • 通讯作者: 樊卫北(wbfan@njupt.edu.cn)
  • 作者简介:(zwu@njupt.edu.cn)
  • 基金资助:
    国家自然科学基金(62402234)

Inter-domain Routing Anomaly Detection via Adaptive Graph Learning

WU Zheng, ZHOU Yaoyu, WANG Yaxuan, FAN Weibei   

  1. School of Computer,Nanjing University of Posts and Telecommunications,Nanjing 210003,China
  • Received:2025-10-27 Revised:2026-02-05 Published:2026-11-15 Online:2026-11-10
  • About author:WU Zheng,born in 1994,lecture,is a member of CCF(No.L1377M).His main research interests include BGP routing security and data center network.
    FAN Weibei,born in 1987,associate professor,is a member of CCF(No.80684S).His main research interests include data center network,and network optimization.
  • Supported by:
    National Natural Science Foundation of China(62402234).

摘要: 边界网关协议是互联网域间路由的核心协议,易受到配置错误或恶意通告的威胁,导致发生路由劫持、泄露等严重异常事件。为了能够及时处理异常事件,异常检测尤为重要。现有域间路由异常检测方法面临两大挑战:1)随着AS级拓扑规模不断膨胀,在有限环境下,常规图神经网络在计算资源与时延上难以适应;2)现有BGP观测点(如RouteViews与RIPE RIS)所构建的全球BGP路由观测系统提供的观测数据存在局部性。针对上述挑战,提出一种自适应图学习驱动的域间路由异常检测框架——AGLBAD。其核心设计包括3个部分:首先,为处理BGP的大规模网络拓扑结构,利用Metis对BGP网络进行定制化拓扑划分;其次,为解决数据局部观测的问题,设计基于图自编码器进行图的自适应学习,实现拓扑推断;最后,利用动态时间规整对比路由路径,衡量差异,实现实时异常检测。实验基于17起真实BGP异常事件进行分析。结果表明,AGLBAD能够有效检出异常,成功检测出17个异常事件,并且误报数相较于其他方法平均减少119次。

关键词: 边界网关协议, 异常检测, 图学习

Abstract: The border gateway protocol(BGP),the core protocol for inter-domain routing on the Internet,is highly vulnerable to misconfigurations and malicious announcements,which can lead to severe incidents such as route hijacking and route leaks.Therefore,anomaly detection is of critical importance for the timely handling of such incidents.Existing inter-domain routing anomaly-detection methods face two major challenges.Firstly,as the AS-level topology continues to expand,conventional graph neural networks are difficult to deploy in resource-constrained environments due to their computation and latency overhead.Secondly,global BGP monitoring systems built from existing BGP observation points,such as RouteViews and RIPE RIS,provide only partial and locally biased views of routing data.To address these challenges,this paper proposes AGLBAD,an adaptive graph learning-driven framework for inter-domain routing anomaly detection.The core design comprises three components.To handle the large-scale BGP network topology,Metis is employed to perform customized partitioning of the BGP network.To mitigate the problem of locally observed data,an adaptive graph-learning module based on a graph autoencoder for topology inference is designed.To achieve real-time anomaly detection,dynamic time warping is leveraged to compare routing paths and quantify their discrepancies.Experiments conducted on 17 real-world BGP anomaly events demonstrate that AGLBAD can effectively detect anomalies,successfully identifying all 17 events while reducing the number of false positives by an average of 119 compared with other me-thods.

Key words: Border gateway protocol, Anomaly detection, Graph learning

中图分类号: 

  • TP393
[1] KRENC T,BEVERLY R,SMARAGDAKIS G.AS-level BGPcommunity usage classification[C]//Proceedings of the 21st ACM Internet Measurement Conference.2021:577-592.
[2] LI Q,XU M,WU J,et al.Enhancing the trust of Internet routing with lightweight route attestation[C]//Proceedings of the 6th ACM Symposium on Information,Computer and Communications Security.2011:92-101.
[3] TOM S,JEREMY H.Cloudflare outage on June 21,2022 [EB/OL].[2022-06-21].https://blog.cloudflare.com/cloudflare-outage-on-june-21-2022.
[4] OVHCLOU D.Backbone incident notification:Incident Reportfor Network & Infrastructure [EB/OL].[2022-06-21].https://network.status-ovhcloud.com/incidents/qgb1ynp8x0c4.
[5] MORILLO R,FURUNESS J,MORRIS C,et al.ROV++:Improved Deployable Defense against BGP Hijacking[C]//NDSS.2021.
[6] AL-MUSAWI B,BRANCH P,ARMITAGE G.BGP anomalydetection techniques:A survey[J].IEEE Communications Surveys & Tutorials,2016,19(1):377-396.
[7] AZIMOV A,BOGOMAZOV E,BUSH R,et al.BGP AS_PATH verification based on autonomous system provider Authorization(ASPA) objects[R].Internet Engineering Task Force,Internet-Draft draft-ietf-sidrops-aspa-verification-16,2023.
[8] NI Z,XU Y,ZOU H,et al.From Address Blocks to Authorized Prefixes:Redesigning RPKI ROV with a Hierarchical Hashing Scheme for Fast and Memory-Efficient Validation[C]//22nd USENIX Symposium on Networked Systems Design and Implementation(NSDI 25).2025:1381-1397.
[9] CHEN W,WANG Z,HAN D,et al.ROV-MI:Large-Scale,Accurate and Efficient Measurement of ROV Deployment[C]//NDSS.2022.
[10] SCHLAMP J,HOLZ R,JACQUEMART Q,et al.HEAP:reliable assessment of BGP hijacking attacks[J].IEEE Journal on Selected Areas in Communications,2016,34(6):1849-1861.
[11] CHENG M,XU Q,LIU W,et al.MS-LSTM:A multi-scaleLSTM model for BGP anomaly detection[C]//2016 IEEE 24th International Conference on Network Protocols(ICNP).IEEE,2016:1-6.
[12] SERMPEZIS P,KOTRONIS V,GIGIS P,et al.ARTEMIS:Neutralizing BGP hijacking within a minute[J].IEEE/ACM Transactions on Networking,2018,26(6):2471-2486.
[13] QIN L,LI D,LI R,et al.Themis:Accelerating the detection of route origin hijacking by distinguishing legitimate and illegitimate {MOAS}[C]//31st USENIX Security Symposium(USENIX Security 22).2022:4509-4524.
[14] LI J,DOU D,WU Z,et al.An Internet routing forensics framework for discovering rules of abnormal BGP events[J].ACM SIGCOMM Computer Communication Review,2005,35(5):55-66.
[15] MINH D,WANG H X,LI Y F,etal.Explainable artificial intelligence:a comprehensive review[J].Artificial Intelligence Review,2022,55(5):3503-3568.
[16] CHEN Y,YIN Q,LI Q,et al.Learning with Semantics:To-wards a {Semantics-Aware} Routing Anomaly Detection System[C]//33rd USENIX Security Symposium(USENIX Security 24).2024:5143-5160.
[17] SRIRAM K,MONTGOMERY D,MCPHERSON D,et al.Problem definition and classification of BGP route leaks[R].IETF,Internet-Draft draft-ietf-grow-route-leak-problem-definition-02,2016.
[18] KARYPIS G,KUMAR V.A fast and high quality multilevelscheme for partitioning irregular graphs [J].SIAM Journal on Scientific Computing,1998,20(1):359-392.
[19] LUCKIE M,HUFFAKER B,DHAMDHERE A,et al.AS relationships,customer cones,and validation[C]//Proceedings of the 2013 Conference on Internet Measurement Conference.2013:243-256.
[20] XIANG S,NIE F,ZHANG C,et al.Nonlinear dimensionality reduction with local spline embedding[J].IEEE Transactions on Knowledge and Data Engineering,2008,21(9):1285-1298.
[21] NIE F,WANG X,HUANG H.Clustering and projected clustering with adaptive neighbors[C]//Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining.2014:977-986.
[22] BERNDT D J,CLIFFORD J.Using dynamic time warping tofind patterns in time series[C]//Proceedings of the 3rd International Conference on Knowledge Discovery and Data Mining.1994:359-370.
[23] SHAPIRA T,SHAVITT Y.AP2Vec:an unsupervised approach for BGP hijacking detection[J].IEEE Transactions on Network and Service Management,2022,19(3):2255-2268.
[24] KAMIYAMA N,MORI T,KAWAHARA R,et al.Analyzing influence of network topology on designing ISP-operated CDN[J].Telecommunication Systems,2013,52(2):969-977.
[25] PAPADOPOULOS S,MOUSTAKAS K,TZOVARAS D.BGPViewer:Using graph representations to explore BGP routing changes[C]//2013 18th International Conference on Digital Signal Processing(DSP).IEEE,2013:1-6.
[26] DUKLER Y,LI W,LIN A,et al.Wasserstein of Wasserstein loss for learning generative models[C]//International Confe-rence on Machine Learning.PMLR,2019:1716-1725.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!