Computer Science ›› 2023, Vol. 50 ›› Issue (7): 261-269.doi: 10.11896/jsjkx.220700076

• Computer Network • Previous Articles     Next Articles

Deep Learning-based Algorithm for Active IPv6 Address Prediction

LI Yuqiang1, LI Linfeng2, ZHU Hao1, HOU Mengshu1   

  1. 1 Information Center,University of Electronic Science and Technology of China,Chengdu 611731,China
    2 School of Computer Science and Engineering,University of Electronic Science and Technology of China,Chengdu 611731,China
  • Received:2022-07-07 Revised:2022-11-08 Online:2023-07-15 Published:2023-07-05
  • About author:LI Yuqiang,born in 1979,master,lecturer.His main research interests include computer network and cyber security.
  • Supported by:
    Key Technologies Research and Development Program of Sichuan Science and Technology Plan(2022YFG0329).

Abstract: The huge address space of IPv6 makes it difficult to achieve a global IPv6 address scan based on the existing network speed and hardware computing power.Fast IPv6 address scanning can be achieved by using address generation algorithms to predict the possible IPv6 addresses in the network and subsequently using the predicted addresses as the targets of scanning.This paper explores potential allocation patterns by analyzing IPv6 address structures and allocation methods,and proposes a deep learning-based algorithm 6LMNS to predict potentially active IPV6 addresses by combining existing traditional language models and target generation algorithms.6LMNS first constructs IPv6 address word vector spaces with certain semantic relationships through the address vector space mapping model Add2vec.Subsequently,the language training model GPT-IPv6 is constructed based on Transformers to estimate the probability distribution of IPv6 address word sequences.Finally,nucleus sampling is introduced instead of traditional greedy search decoding to complete the generation of active addresses.It is verified that the addresses generated by 6LMNS have better diversity as well as higher activity rate compared with other language models and target generation algorithms.

Key words: Deep Learning, Word2Vec, GPT, Nucleus sampling, Greedy search

CLC Number: 

  • TP393
[1]BOU-HARB E,DEBBABI M,ASSI C.Cyber Scanning:A Comprehensive Survey[J].IEEE Communications Surveys and Tutorials,2014,16(3):1496-1519.
[2]RYE E C,BEVERLY R.Discovering the IPv6 network peri-phery[C]//International Conference on Passive and Active Network Measurement.Cham,Springer,2020:3-18.
[3]BEVERLY R,DURAIRAJAN R,PLONKA D,et al.In the IP of the beholder,Strategies for active IPv6 topology discovery[C]//Proceedings of the Internet Measurement Conference 2018.2018:308-321.
[4]KÜHRER M,HUPPERICH T,ROSSOW C,et al.ExitfromHell?Reducing the Impact of Amplification DDoS Attacks[C]//Proceedings of the 23rd USENIX Security Symposium.USA,2014:111-125.
[5]BEVERLY R.Yarrp’ing the Internet: Randomized high-speed active topology discovery[C]//Proceedings of the 2016 Internet Measurement Conference.2016:413-420.
[6]PLONKA D,BERGER A.KIP,A measured approach to IPv6address anonymization[J].arXiv:1707.03900,2017.
[7]SARABI A,LIU M.Characterizing the internet host population using deep learning,A universal and lightweight numerical embedding[C]//Proceedings of the Internet Measurement Confe-rence 2018.2018:133-146.
[8]DURUMERIC Z,WUSTROW E,HALDERMAN J A.{ZMap},Fast Internet-wide Scanning and Its Security Applications[C]//22nd USENIX Security Symposium(USENIX Secu-rity 13).2013:605-620.
[9]GRAHAM R D.Masscan,Mass ip port scanner[EB/OL].https://github.com/robertdavidgraham/masscan.
[10]GASSER O,SCHEITLE Q,GEBHAR D S,et al.Scanning the IPv6 internet,towards a comprehensive hitlist[J].arXiv:1607.05179,2016.
[11]STROWES S D.Bootstrapping active IPv6 measurement withIPv4 and public DNS[J].arXiv:1710.08536,2017.
[12]FIEBIG T,BORGOLTE K,HAO S,et al.In rDNS we trust,revisiting a common data-source’s reliability[C]//International Conference on Passive and Active Network Measurement.Cham:Springer,2018:131-145.
[13]HOLTZMAN A,BUYS J,DU L,et al.The curious case of neural text degeneration[J].arXiv:1904.09751,2019.
[14]COULL S E,MONROSE F,BAILEY M.On Measuring theSimilarity of Network Hosts,Pitfalls,New Metrics,and Empirical Analyses[C]//NDSS.2011.
[15]RING M,DALLMANN A,LANDES D,et al.Ip2vec:Learning similarities between ip addresses[C]//2017 IEEE International Conference on Data Mining Workshops(ICDMW).IEEE,2017:657-666.
[16]MIKOLOV T,CHEN K,CORRADO G,et al.Efficient estimation of word representations in vector space[J].arXiv:1301.3781,2013.
[17]PLONKA D,BERGER A.Temporal and spatial classification of active IPv6 addresses[C]//Proceedings of the 2015 Internet Measurement Conference.2015:509-522.
[18]ULLRICH J,KIESEBERG P,KROMBHOLZ K,et al.On re-connaissance with IPv6:a pattern-based scanning approach[C]//2015 10th International Conference on Availability,Reliability and Security.IEEE,2015:186-192.
[19]FOREMSKI P,PLONKA D,BERGER A.Entropy/ip:Uncovering structure in IPv6 addresses[C]//Proceedings of the 2016 Internet Measurement Conference.2016:167-181.
[20]ZUO Z,MA Y,ZHANG P,et al.Predictional algorithm of active IPv6 address prefix[J].Iournal on Communications,2018,39(S1):1-8.
[21]MURDOCK A,LI F,BRAMSEN P,et al.Target generationforinternet-wide IPv6 scanning[C]//Proceedings of the 2017 Internet Measurement Conference.2017:242-253.
[22]LIU Z,XIONG Y,LIU X,et al.6Tree:Efficient dynamic disco-very of active addresses in the IPv6 address space[J].Computer Networks,2019,155:31-46.
[23]SONG G,HE L,WANG Z,et al.Towards the construction of global IPv6 hitlist and efficient probing of IPv6 address space[C]//2020 IEEE/ACM 28th International Symposium on Qua-lity of Service(IWQoS).IEEE,2020:1-10.
[24]CUI T,XIONG G,GOU G,et al.6veclm:Language modeling in vector space for IPv6 target generation[C]//Joint European Conference on Machine Learning and Knowledge Discovery in Databases.Cham:Springer,2020:192-207.
[25]CUI T,GOU G,XIONG G,et al.6GAN:IPv6 multi-pattern target generation via generative adversarial nets with reinforcement learning[C]//IEEE INFOCOM 2021-IEEE Conference on Computer Communications.IEEE,2021:1-10.
[26]VASWANI A,SHAZEER N,PARMAR N,et al.Attention isall you need[J].Advances in Neural Information Processing Systems,2017,1706:03762.
[27]BAHDANAU D,CHO K,BENGIO Y.Neural machine translation by jointly learning to align and translate[J].arXiv:1409.0473,2014.
[28]DAI Z,YANG Z,YANG Y,et al.Transformer-xl:Attentivelanguage models beyond a fixed-length context[J].arXiv:1901.02860,2019.
[29]DAUPHIN Y N,FAN A,AULI M,et al.Language modelingwith gated convolutional networks[C]//International Confe-rence on Machine Learning.PMLR,2017:933-941.
[30]ZAREMBA W,SUTSKEVER I,VINYALS O.Recurrent neural network regularization[J].arXiv:1409.2329,2014.
[31]RADFORD A,NARASIMHAN K,SALIMANS T,et al.Impro-ving language understanding by generative pre-training[J/OL].https://s3-us-west-2.amazonaws.com/openai-assets/research-covers/language-unsupervised/language_understanding_paper.pdf.
[32]FREITAG M,AL-ONAIZAN Y.Beam search strategies forneural machine translation[J].arXiv:1702.01806,2017.
[33]VIJAYAKUMAR A,COGSWELL M,SELVARAJU R,et al.Diverse beam search for improved description of complex scenes[C]//Proceedings of the AAAI Conferenceon Artificial Intelligence.2018.
[34]MEISTER C,VIEIRA T,COTTERELL R.If beam search is the answer,what was the question?[J].arXiv:2010.02650,2020.
[35]WELLECK S,KULIKOV I,ROLLER S,et al.Neural text ge-neration with unlikelihood training[J].arXiv:1908.04319,2019.
[36]SUNDERMEYER M,SCHLÜTER R,NEY H.LSTM neural networks for language modeling[C]//Thirteenth Annual Conference of the International SpeechCommunication Association.2012.
[1] WANG Mingxia, XIONG Yun. Disease Diagnosis Prediction Algorithm Based on Contrastive Learning [J]. Computer Science, 2023, 50(7): 46-52.
[2] SHEN Zhehui, WANG Kailai, KONG Xiangjie. Exploring Station Spatio-Temporal Mobility Pattern:A Short and Long-term Traffic Prediction Framework [J]. Computer Science, 2023, 50(7): 98-106.
[3] HUO Weile, JING Tao, REN Shuang. Review of 3D Object Detection for Autonomous Driving [J]. Computer Science, 2023, 50(7): 107-118.
[4] ZHOU Bo, JIANG Peifeng, DUAN Chang, LUO Yuetong. Study on Single Background Object Detection Oriented Improved-RetinaNet Model and Its Application [J]. Computer Science, 2023, 50(7): 137-142.
[5] MAO Huihui, ZHAO Xiaole, DU Shengdong, TENG Fei, LI Tianrui. Short-term Subway Passenger Flow Forecasting Based on Graphical Embedding of Temporal Knowledge [J]. Computer Science, 2023, 50(7): 213-220.
[6] LI Kun, GUO Wei, ZHANG Fan, DU Jiayu, YANG Meiyue. Adversarial Malware Generation Method Based on Genetic Algorithm [J]. Computer Science, 2023, 50(7): 325-331.
[7] HAN Junling, LI Bo, KANG Xiaodong, YANG Jingyi, LIU Hanqing, WANG Xiaotian. Cardiac MRI Image Segmentation Based on Faster R-CNN and U-net [J]. Computer Science, 2023, 50(6A): 220600047-9.
[8] LIU Haowei, YAO Jingchi, LIU Bo, BI Xiuli, XIAO Bin. Two-stage Method for Restoration of Heritage Images Based on Muti-scale Attention Mechanism [J]. Computer Science, 2023, 50(6A): 220600129-8.
[9] XIE Puxuan, CUI Jinrong, ZHAO Min. Electiric Bike Helment Wearing Detection Alogrithm Based on Improved YOLOv5 [J]. Computer Science, 2023, 50(6A): 220500005-6.
[10] WAN Haibo, JIANG Lei, WANG Xiao. Real-time Detection of Motorcycle Lanes Based on Deep Learning [J]. Computer Science, 2023, 50(6A): 220200066-5.
[11] WANG Xiaotian, LI Bo, KANG Xiaodong, LIU Hanqing, HAN Junling, YANG Jingyi. Study on Phased Target Detection in CT Image [J]. Computer Science, 2023, 50(6A): 220200063-10.
[12] LIANG Mingxuan, WANG Shi, ZHU Junwu, LI Yang, GAO Xiang, JIAO Zhixiang. Survey of Knowledge-enhanced Natural Language Generation Research [J]. Computer Science, 2023, 50(6A): 220200120-8.
[13] WANG Dongli, YANG Shan, OUYANG Wanli, LI Baopu, ZHOU Yan. Explainability of Artificial Intelligence:Development and Application [J]. Computer Science, 2023, 50(6A): 220600212-7.
[14] GAO Xiang, WANG Shi, ZHU Junwu, LIANG Mingxuan, LI Yang, JIAO Zhixiang. Overview of Named Entity Recognition Tasks [J]. Computer Science, 2023, 50(6A): 220200119-8.
[15] LI Yang, WANG Shi, ZHU Junwu, LIANG Mingxuan, GAO Xiang, JIAO Zhixiang. Summarization of Aspect-level Sentiment Analysis [J]. Computer Science, 2023, 50(6A): 220400077-7.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!