On the classification and false alarm of invalid prefixes in RPKI based BGP route origin validation

Wenjie Xu, Deliang Chang, Xing Li

Introduction

Presented at IFIP 2019, this research addresses a critical barrier to securing the Internet's routing infrastructure: the "false alarm" problem in BGP security. While the Resource Public Key Infrastructure (RPKI) is designed to mitigate BGP hijacking by validating route origins, it frequently flags legitimate routes as "Invalid." This study systematically classifies these false alarms and reveals that a majority of invalid prefixes are benign, long-lived configurations rather than malicious attacks.

The Border Gateway Protocol (BGP) facilitates global routing based on mutual trust between Autonomous Systems (ASes). This trust is often exploited in prefix hijacking, where an AS illegitimately claims ownership of an IP range. RPKI introduces Route Origin Authorizations (ROAs), allowing network owners to specify which ASes are authorized to announce their prefixes. Routers performing Route Origin Validation (ROV) categorize announcements as Valid, Unknown, or Invalid. However, the risk of breaking connectivity due to false "Invalid" signals has significantly slowed global RPKI adoption.

Methodology

The authors developed a systematic approach to identify and classify "false invalid" prefixes using several data sources:

  • BGP Data: Three months of global BGP routing tables and updates (Feb–May 2018) collected via peering with AS4538 (China Education and Research Network).
  • ROA Data: Daily snapshots of the global RPKI repository processed through RIPE-NCC’s rpki-validator.
  • Active Probing: Using zmap to scan IP addresses within "Invalid" prefixes. Responses from these IPs suggested active, legitimate use, such as in the case of IP transfers.

Taxonomy of False Alarms

The researchers identified six primary categories of benign network behaviors that trigger RPKI "Invalid" states:

  1. Invalid Load-balancing: An AS announces specific sub-prefixes to different neighbors for traffic engineering, but the ROA only covers the broader parent prefix. Invalid load-balancing prefixes occur when specific sub-prefixes are announced for traffic engineering without corresponding ROA updates. On the classification and false alarm of invalid prefixes in RPKI based BGP route origin validation, page 2
Invalid load-balancing prefixes occur when specific sub-prefixes are announced for traffic engineering without corresponding ROA updates.
  1. Failing to Aggregate: Similar to load-balancing, where sub-prefixes are announced but the ROA's maximum length field is too restrictive.
  2. Invalid Multihoming/Singlehoming: A customer announces a prefix through a provider, but the ROA has not been updated to reflect this specific relationship.
  3. Invalid Provider: A provider fails to correctly include the customer's AS in the BGP path.
  4. Invalid Transfer: An IP range is sold or transferred, but the previous owner’s ROA remains active in the database. Invalid transfer prefixes arise when an IP range is sold but the original owner's ROA remains in the database. On the classification and false alarm of invalid prefixes in RPKI based BGP route origin validation, page 3
Invalid transfer prefixes arise when an IP range is sold but the original owner's ROA remains in the database.

Results and Analysis

Out of approximately 700,000 routing items analyzed, 90.87% were Unknown, 8.43% were Valid, and 0.71% (4,949 items) were Invalid. Crucially, 63.3% of these "Invalid" items were definitively mapped to the six false alarm categories. Load-balancing (18.7%) and IP transfers (14.9%) were the most significant contributors.

A vital insight from the study is that stability serves as a proxy for legitimacy. Malicious hijacking attacks are typically short-lived. In contrast, the researchers found that 79% to 97% of the prefixes in the false alarm categories were "long-lived," persisting throughout the entire three-month study. This longevity strongly suggests these are benign misconfigurations or intentional traffic engineering choices rather than transient attacks.

Conclusion

The study demonstrates that over 60% of RPKI "Invalid" prefixes are actually legitimate routes. The prevalence of these false alarms highlights the need for more dynamic and automated ROA management, especially concerning IP transfers and complex traffic engineering. Reducing these false positives is essential for encouraging network operators to move from passive monitoring to active dropping of invalid routes, thereby realizing the full security potential of RPKI.

Summary updated

BibTeX
@inproceedings{xu2019classification,
  author = {Wenjie Xu and Deliang Chang and Xing Li},
  title = {{On the classification and false alarm of invalid prefixes in RPKI based BGP route origin validation}},
  booktitle = {IM},
  year = {2019},
}
Figure