IMap: Fast and Scalable In-Network Scanning with Programmable Switches
Guanyu Li, Menghao Zhang, Cheng Guo, Han Bao, Mingwei Xu, Hongxin Hu, Fenghua Li
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 78b31d80-643a-4815-8274-85c18d75c9ebCited by top-tier papers8
- P4runpro: Enabling Runtime Programmability for RMT Programmable SwitchesYifan Yang, Lin He, Jiasheng Zhou, Xiaoyi Shi et al.SIGCOMM 2024 · 12 citations
- Understanding the Micro-Behaviors of Hardware Offloaded Network Stacks with LuminaZhuolong Yu, Bowen Su, Wei Bai, Shachar Raindel et al.SIGCOMM 2023 · 11 citations
- Norma: Towards Practical Network Load TestingYanqing Chen, Bingchuan Tian, Chen Tian, Li Dai et al.NSDI 2023 · 9 citations
- Empower Programmable Pipeline for Advanced Stateful Packet ProcessingYong Feng, Zhikang Chen, Haoyu Song, Yinchao Zhang et al.NSDI 2024 · 8 citations
- Minos : A Lightweight and Dynamic Defense against Traffic Analysis in Programmable Data PlanesZihao Wang, Qing Li, Guorui Xie, Dan Zhao et al.USENIX ATC 2025 · 4 citations
Builds on6
- DROWN: Breaking TLS Using SSLv2Nimrod Aviram, Sebastian Schinzel, Juraj Somorovsky, Nadia Heninger et al.USENIX Security 2016 · 192 citations
- TLS in the Wild: An Internet-wide Analysis of TLS-based Protocols for Electronic CommunicationRalph Holz, Johanna Amann, Olivier Mehani, Mohamed Ali Kâafar et al.NDSS 2016 · 117 citations
- Sailfish: accelerating cloud-scale multi-tenant multi-service gateways with programmable switchesTian Pan, Nianbing Yu, Chenhao Jia, Jianwen Pi et al.SIGCOMM 2021 · 111 citations
- NetHide: Secure and Practical Network Topology ObfuscationRoland Meier, Petar Tsankov, Vincent Lenders, Laurent Vanbever et al.USENIX Security 2018 · 84 citations
- Programmable In-Network Security for Context-aware BYOD PoliciesQiao Kang, Lei Xue, Adam Morrison, Yuxin Tang et al.USENIX Security 2020
Related papers
- 6Map: Enabling Fast Active IPv6 Address Discovery with Programmable SwitchesJiasheng Zhou, Lin He, Yifan Yang, Xiaoyi Shi et al.INFOCOM 2025 · 10 citations
- Lessons Learned from Operating a Large Network TelescopeAlexander Männel, Jonas Mücke, K. C. Claffy, Max Gao et al.SIGCOMM 2025 · 9 citations
- Continuous in-network round-trip time monitoringSatadal Sengupta, Hyojoon Kim, Jennifer RexfordSIGCOMM 2022 · 54 citations
- Making Multi-String Pattern Matching Scalable and Cost-Efficient with Programmable Switching ASICsShicheng Wang, Menghao Zhang, Guanyu Li, Chang Liu et al.INFOCOM 2021 · 5 citations
- Excalibur: A Scalable and Low-Cost Traffic Testing Framework for Evaluating DDoS Defense SolutionsXiang Chen, Hongyan Liu, Tingxin Sun, Qun Huang et al.INFOCOM 2023 · 3 citations
