Skip to main navigation Skip to search Skip to main content

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

  • Menghao Zhang
  • , Guanyu Li
  • , Cheng Guo
  • , Han Bao
  • , Mingwei Xu
  • , Hongxin Hu
  • , Fenghua Li
  • Beihang University
  • Tsinghua University
  • Zhongguancun Laboratary

Research output: Contribution to journalArticlepeer-review

1 Scopus citations

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, 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.

Original languageEnglish
Article number3327667
Pages (from-to)601-615
Number of pages15
JournalIEEE Transactions on Information Forensics and Security
Volume19
DOIs
StatePublished - 2024

Keywords

  • Network scanner
  • programmable switch
  • single-packet probes

Fingerprint

Dive into the research topics of 'IMap: Toward a Fast, Scalable and Reconfigurable In-Network Scanner With Programmable Switches'. Together they form a unique fingerprint.

Cite this