IMap: Fast and Scalable In-Network Scanning with Programmable Switches
Guanyu Li, Menghao Zhang, Cheng Guo, Han Bao, Mingwei Xu, Hongxin Hu, Fenghua Li
摘要
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 and scalable 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 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. Leveraging IMap, we also discover several potential security threats in our campus network, and report them to our network administrators responsibly.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DROWN: Breaking TLS Using SSLv2 引用了 TLS in the Wild: An Internet-wide Analysis of TLS-based Protocols for Electronic Communication
- Norma: Towards Practical Network Load Testing 引用了 Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switches
- P4runpro: Enabling Runtime Programmability for RMT Programmable Switches 引用了 Programmable In-Network Security for Context-aware BYOD Policies
- P4runpro: Enabling Runtime Programmability for RMT Programmable Switches 引用了 Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switches
引用它的顶会 Paper8
- P4runpro: Enabling Runtime Programmability for RMT Programmable SwitchesYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi 等SIGCOMM 2024 · 12 次引用
- Understanding the Micro-Behaviors of Hardware Offloaded Network Stacks with LuminaZhuolong Yu, Bowen Su, Wei Bai, Shachar Raindel 等SIGCOMM 2023 · 11 次引用
- Norma: Towards Practical Network Load TestingYanqing Chen, Bingchuan Tian, Chen Tian, Li Dai 等NSDI 2023 · 9 次引用
- Empower Programmable Pipeline for Advanced Stateful Packet ProcessingYong Feng, Zhikang Chen, Haoyu Song, Yinchao Zhang 等NSDI 2024 · 8 次引用
- Minos : A Lightweight and Dynamic Defense against Traffic Analysis in Programmable Data PlanesZihao Wang, Qing Li, Guorui Xie, Dan Zhao 等USENIX ATC 2025 · 4 次引用
它引用的 Paper6
- DROWN: Breaking TLS Using SSLv2Nimrod Aviram, Sebastian Schinzel, Juraj Somorovsky, Nadia Heninger 等USENIX Security 2016 · 192 次引用
- TLS in the Wild: An Internet-wide Analysis of TLS-based Protocols for Electronic CommunicationRalph Holz, Johanna Amann, Olivier Mehani, Mohamed Ali Kâafar 等NDSS 2016 · 117 次引用
- Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switchesTian Pan, Nianbing Yu, Chenhao Jia, Jianwen Pi 等SIGCOMM 2021 · 111 次引用
- NetHide: Secure and Practical Network Topology ObfuscationRoland Meier, Petar Tsankov, Vincent Lenders, Laurent Vanbever 等USENIX Security 2018 · 84 次引用
- Programmable In-Network Security for Context-aware BYOD PoliciesQiao Kang, Lei Xue, Adam Morrison, Yuxin Tang 等USENIX Security 2020
相关 Paper
- 6Map: Enabling Fast Active IPv6 Address Discovery with Programmable SwitchesJiasheng Zhou, Lin He, Yifan Yang, Xiaoyi Shi 等INFOCOM 2025 · 10 次引用
- Lessons Learned from Operating a Large Network TelescopeAlexander Männel, Jonas Mücke, K. C. Claffy, Max Gao 等SIGCOMM 2025 · 9 次引用
- Continuous in-network round-trip time monitoringSatadal Sengupta, Hyojoon Kim, Jennifer RexfordSIGCOMM 2022 · 54 次引用
- Making Multi-String Pattern Matching Scalable and Cost-Efficient with Programmable Switching ASICsShicheng Wang, Menghao Zhang, Guanyu Li, Chang Liu 等INFOCOM 2021 · 5 次引用
- Excalibur: A Scalable and Low-Cost Traffic Testing Framework for Evaluating DDoS Defense SolutionsXiang Chen, Hongyan Liu, Tingxin Sun, Qun Huang 等INFOCOM 2023 · 3 次引用
