Skip to main content
QUICK REVIEW

[Paper Review] Spoki: Unveiling a New Wave of Scanners through a Reactive Network Telescope

Raphael Hiesgen, Marcin Nawrocki|arXiv (Cornell University)|Oct 11, 2021
Network Security and Intrusion DetectionComputer Science6 citations
TL;DR

Spoki introduces a reactive network telescope that actively responds to TCP SYN packets from two-phase scanners, enabling real-time detection and analysis of post-scan reconnaissance behavior. By engaging in TCP handshakes, Spoki captures the first data payload from scanners, revealing targeted, geographically localized, and exploit-laden scanning campaigns—particularly from IoT and mobile devices—demonstrating that two-phase scanning is a dominant, highly targeted threat wave since 2014.

ABSTRACT

Large-scale Internet scans are a common method to identify victims of a specific attack. Stateless scanning like in ZMap has been established as an efficient approach to probing at Internet scale. Stateless scans, however, need a second phase to perform the attack, which remains invisible to network telescopes that only capture the first incoming packet and is not observed as a related event by honeypots. In this work, we examine Internet-wide scan traffic through Spoki, a reactive network telescope operating in real-time that we design and implement. Spoki responds to asynchronous TCP SYN packets and engages in TCP handshakes initiated in the second phase of two-phase scans. Because it is extremely lightweight it scales to large prefixes where it has the unique opportunity to record the first data sequence submitted within the TCP handshake ACK. We analyze two-phase scanners during a three months period using globally deployed Spoki reactive telescopes as well as flow data sets from IXPs and ISPs. We find that a predominant fraction of TCP SYNs on the Internet has irregular characteristics. Our findings also provide a clear signature of today's scans as: (i) highly targeted, (ii) scanning activities notably vary between regional vantage points, and (iii) a significant share originates from malicious sources.

Motivation & Objective

  • To address the blind spot in passive network telescopes, which miss the second phase of two-phase scanners that use stateless probing followed by full TCP handshakes.
  • To develop a scalable, real-time reactive system capable of interacting with scanning sources to observe and analyze their behavior post-initial scan.
  • To characterize the behavior, targets, origins, and payloads of two-phase scanners across global vantage points, especially focusing on irregular TCP SYN packets.
  • To uncover the extent and nature of malicious scanning activities, including exploit delivery and malware injection, through content analysis of early handshake data.
  • To provide actionable insights for network operators, system maintainers, and researchers on defending against high-speed, targeted scanning campaigns.

Proposed method

  • Spoki is a lightweight, real-time component deployed on network telescopes that responds to incoming TCP SYN packets by initiating full TCP three-way handshakes.
  • It correlates source IP addresses and timing to link stateless scans to their follow-up handshake phases, enabling detection of two-phase scanners.
  • The system leverages global deployment across two reactive telescopes (US, Europe), four control telescopes, and core network flow data from an IXP and an Asian ISP.
  • Spoki captures and analyzes the first data sequence in the TCP ACK packet, enabling content-level inspection of scanner behavior and malware payloads.
  • It uses real-time state management to ensure low response latency, critical for maintaining connection state with fast scanners.
  • The analysis combines passive telescope data, active handshake logging, and flow data to validate findings across diverse network topologies.

Experimental results

Research questions

  • RQ1How prevalent are two-phase scanners compared to one-phase scanners in modern Internet traffic?
  • RQ2What behavioral patterns distinguish two-phase scanners from traditional stateless scanners in terms of targeting, timing, and geographic localization?
  • RQ3What types of services and vulnerabilities do two-phase scanners target, and what payloads do they deliver during the handshake phase?
  • RQ4How do scanning behaviors vary across different regional vantage points, and what does this reveal about the scanning infrastructure?
  • RQ5Can reactive telescopes like Spoki detect previously unseen malware signatures and exploit patterns through early data sequence analysis?

Key findings

  • Two-phase scanners account for over two-thirds of all TCP SYN traffic observed, indicating they are now the dominant scanning paradigm.
  • Approximately one-third of scanning hosts that initiate SYN packets respond to Spoki’s connection offers, confirming they are engaged in two-phase scanning.
  • Two-phase scanners exhibit highly targeted behavior, with strong evidence of destination-specific port selection and regional scanning patterns, particularly in Europe where scanning is localized to the same /16 prefix as victims.
  • Content analysis of the first data sequence in TCP handshakes reveals extensive banner grabbing and repeated signatures of known exploits, including previously unseen malware injections targeting IoT, mobile, and home router devices.
  • Scanning activities in Europe show a strong correlation between source and victim IP prefixes, suggesting deliberate geographic targeting, a pattern not observed in the US or Asia.
  • The study reveals that two-phase scanning is not random but highly orchestrated, with scanners actively seeking vulnerable devices in specific regions, indicating a mature and evolving threat ecosystem.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.