[Paper Review] Carrier-Grade Anomaly Detection Using Time-to-Live Header Information
This paper presents a carrier-grade anomaly detection system using Time-to-Live (TTL) header values in IP packets to detect IP spoofing and validate packet origin. By passively capturing 2 weeks of 40 Gbit/s traffic and conducting active measurements, the authors find that 69% of IPv4 and 81% of IPv6 hosts exhibit stable TTL values, enabling reliable source validation and spoofing detection with minimal false positives when combined with active probing.
Time-to-Live data in the IP header offers two interesting characteristics: First, different IP stacks pick different start TTL values. Second, each traversed router should decrement the TTL value. The combination of both offers host and route fingerprinting options. We present the first work to investigate Internet-wide TTL behavior at carrier scale and evaluate its fit to detect anomalies, predominantly spoofed source IP addresses. Using purpose-built software, we capture 2 weeks of raw TTL data at a 40 Gbit/s Internet uplink. For further insight, we actively measure observed hosts and conduct large-scale hitlist-based measurements, which yields three complementary data sets for IPv4 and IPv6. A majority (69% IPv4; 81% IPv6) of passively observed multi-packet hosts exhibit one stable TTL value. Active measurements on unstable hosts yield a stable anchor TTL value for more than 85% of responsive hosts. We develop a structure to further classify unstable hosts taking, for example, temporal stability into account. Correlation of TTL values with BGP data is clear, yet unpredictive. The results indicate that carrier-grade TTL anomaly detection can yield significant insights in the following categories: First, the method can flag anomalies based on TTL observations (yet likely at a difficult false positive/false negative trade-off). Second, the method can establish trust that a packet originates from its acclaimed source.
Motivation & Objective
- To develop a carrier-grade anomaly detection system based on TTL header values for identifying spoofed IP addresses.
- To analyze Internet-wide TTL behavior across IPv4 and IPv6 at scale using passive and active measurements.
- To establish a reliable method for validating packet origin by determining anchor TTL values for hosts.
- To assess the feasibility of using TTL and Hop Count for large-scale network security filtering.
- To provide open data and source code for reproducibility and future research.
Proposed method
- Passive capture of raw TTL data at a 40 Gbit/s Internet uplink over 14 days to observe real-world TTL behavior.
- Active pingback measurements sent within minutes of passive observations to determine stable anchor TTL values for responsive hosts.
- Large-scale hitlist-based active scans to evaluate TTL and Hop Count stability across the Internet.
- Classification of unstable hosts into tractable subgroups based on temporal and TTL amplitude stability.
- Correlation of passive TTL data with BGP routing data to assess path length consistency.
- Dynamic subnet aggregation and splitting strategies evaluated to reduce false positive/negative rates in anomaly detection.
Experimental results
Research questions
- RQ1Can TTL values be used to detect IP spoofing at carrier scale with acceptable false positive and negative rates?
- RQ2What is the stability of TTL values across IPv4 and IPv6 hosts in real-world traffic?
- RQ3How do TTL and Hop Count characteristics vary across different network topologies and subnets?
- RQ4Can active measurements reliably determine an anchor TTL value for multi-TTL hosts?
- RQ5To what extent can BGP path lengths predict expected Hop Counts for IP subnets?
Key findings
- 69% of IPv4 and 81% of IPv6 multi-packet hosts exhibit a single, stable TTL value in passive observations.
- Over 85% of responsive hosts identified via active pingback measurements show a stable anchor TTL value.
- Unstable hosts can be classified into tractable subgroups based on temporal stability and TTL amplitude, enabling targeted filtering.
- A clear but unpredictable correlation exists between BGP AS path length and observed Hop Count, limiting predictive use.
- Hitlist scans confirm that active measurements yield stable TTL and Hop Count characteristics, even with different initial TTL values.
- Dynamic subnet aggregation with permissive ranges increases the risk of false positives, with an 18.6% chance of random match for a filter using median ±1 on 60% of /24 subnets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.