IMap: Toward a Fast, Scalable and Reconfigurable In-Network Scanner With Programmable Switches

被引:0
|
作者
Zhang, Menghao [1 ]
Li, Guanyu [2 ]
Guo, Cheng [2 ]
Bao, Han [2 ]
Xu, Mingwei [3 ,4 ,5 ]
Hu, Hongxin [6 ]
Li, Fenghua [2 ]
机构
[1] Beihang Univ, Sch Software, Beijing 100191, Peoples R China
[2] Tsinghua Univ, Inst Network Sci & Cyberspace, Beijing 100084, Peoples R China
[3] Tsinghua Univ, Dept Comp Sci & Technol, Beijing 100084, Peoples R China
[4] Tsinghua Univ, Inst Network Sci & Cyberspace, Beijing 100084, Peoples R China
[5] Zhongguancun Lab, Beijing 100194, Peoples R China
[6] SUNY Buffalo, Dept Comp Sci & Engn, Buffalo, NY 14260 USA
基金
中国国家自然科学基金;
关键词
Network scanner; programmable switch; single-packet probes;
D O I
10.1109/TIFS.2023.3327665
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Network scanning has been a standard measurement technique to understand a network's security situations, e.g., revealing security vulnerabilities, monitoring service deployments. However, probing a large-scale scanning space with existing network scanners is both difficult and slow, since they are all implemented on commodity servers and deployed at the network edge. To address this, we introduce IMap, a fast, scalable and reconfigurable in-network scanner based on programmable switches. In designing IMap, we overcome key restrictions posed by computation models and memory resources of programmable switches, and devise numerous techniques and optimizations, including an address-random and rate-adaptive probe packet generation mechanism, and a correct and efficient response packet processing scheme, to turn a switch into a practical runtime-reconfigurable high-speed network scanner. We implement an open-source prototype of IMap, and evaluate it with extensive testbed experiments and real-world deployments in our campus network. Evaluation results show that even with one switch port enabled, IMap can survey all ports of our campus network (i.e., a total of up to 25 billion scanning space) in 8 minutes. This demonstrates a nearly 4 times faster scanning speed and 1.5 times higher scanning accuracy than the state of the art, which shows that IMap has great potentials to be the next-generation terabit network scanner with all switch ports enabled. Besides, our experiments also show that IMap supports the reconfiguration of scanning tasks at runtime, without incurring switch downtime. Leveraging IMap, we also discover several potential security threats in our campus network, and report them to our network administrators responsibly.
引用
收藏
页码:601 / 615
页数:15
相关论文
共 18 条
  • [1] IMap: Fast and Scalable In-Network Scanning with Programmable Switches
    Li, Guanyu
    Zhang, Menghao
    Guo, Cheng
    Bao, Han
    Xu, Mingwei
    Hu, Hongxin
    Li, Fenghua
    [J]. PROCEEDINGS OF THE 19TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION (NSDI '22), 2022, : 667 - 681
  • [2] Switches are Scanners Too! A Fast and Scalable In-Network Scanner with Programmable Switches
    Li, Guanyu
    Zhang, Menghao
    Guo, Cheng
    Bao, Han
    Xu, Mingwe
    Hu, Hongxin
    [J]. PROCEEDINGS OF THE THE 20TH ACM WORKSHOP ON HOT TOPICS IN NETWORKS, HOTNETS 2021, 2021, : 77 - 83
  • [3] Empowering In-Network Gray Failure Detection with Programmable Switches
    Liu, Hong-Yan
    Zhang, Dong
    Wu, Chun-Ming
    [J]. Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2024, 52 (10): : 3613 - 3622
  • [4] IIsy: Hybrid In-Network Classification Using Programmable Switches
    Zheng, Changgang
    Xiong, Zhaoqi
    Bui, Thanh T.
    Kaupmees, Siim
    Bensoussane, Riyad
    Bernabeu, Antoine
    Vargaftik, Shay
    Ben-Itzhak, Yaniv
    Zilberman, Noa
    [J]. IEEE-ACM TRANSACTIONS ON NETWORKING, 2024, 32 (03) : 2555 - 2570
  • [5] In-Network Volumetric DDoS Victim Identification Using Programmable Commodity Switches
    Ding, Damu
    Savi, Marco
    Pederzolli, Federico
    Campanella, Mauro
    Siracusa, Domenico
    [J]. IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2021, 18 (02): : 1191 - 1202
  • [6] Leveraging In-Network Computing and Programmable Switches for Streaming Analysis of Scientific Data
    Sankaran, Ganesh C.
    Chung, Joaquin
    Kettimuthu, Raj
    [J]. PROCEEDINGS OF THE 2021 IEEE 7TH INTERNATIONAL CONFERENCE ON NETWORK SOFTWARIZATION (NETSOFT 2021): ACCELERATING NETWORK SOFTWARIZATION IN THE COGNITIVE AGE, 2021, : 293 - 297
  • [7] Mousika: Enable General In-Network Intelligence in Programmable Switches by Knowledge Distillation
    Xie, Guorui
    Li, Qing
    Dong, Yutao
    Duan, Guanglin
    Jiang, Yong
    Duan, Jingpu
    [J]. IEEE CONFERENCE ON COMPUTER COMMUNICATIONS (IEEE INFOCOM 2022), 2022, : 1938 - 1947
  • [8] Do Switches Dream of Machine Learning? Toward In-Network Classification
    Xiong, Zhaoqi
    Zilberman, Noa
    [J]. PROCEEDINGS OF THE EIGHTEENTH ACM WORKSHOP ON HOT TOPICS IN NETWORKS (HOTNETS '19), 2019, : 25 - 33
  • [9] Empowering In-Network Classification in Programmable Switches by Binary Decision Tree and Knowledge Distillation
    Xie, Guorui
    Li, Qing
    Duan, Guanglin
    Lin, Jiaye
    Dong, Yutao
    Jiang, Yong
    Zhao, Dan
    Yang, Yuan
    [J]. IEEE-ACM TRANSACTIONS ON NETWORKING, 2024, 32 (01) : 382 - 395
  • [10] NetMQ: High-performance In-network Caching for Message Queues with Programmable Switches
    Ma, Junte
    Xie, Sihao
    Zhao, Jin
    [J]. IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC 2022), 2022, : 4595 - 4600