Routing & BGP Security
Routing and BGP security explained: hijacks vs leaks with real incidents, RPKI/ROV adoption data, MANRS, IXPs and what a SOC can actually monitor.
Routing security is the part of network security that almost nobody sees until it fails. Every packet that leaves your network follows a path chosen by the Border Gateway Protocol (BGP), the protocol that decides how tens of thousands of independent networks reach each other. Encryption protects what travels; BGP decides where it travels. This page covers why BGP security is still a matter of trust, hijacks versus leaks, what RPKI and MANRS fix, what a SOC can monitor, and how my bachelor’s thesis frames route risk.
Why BGP runs on trust
BGP-4, specified in RFC 4271, lets each Autonomous System (AS) announce the IP prefixes it can deliver traffic to. Neighbours pass announcements on, each adding its AS number to the path. Nothing in the protocol proves that the announcing AS is entitled to the prefix or that the path is real: a router accepts a route because a neighbour sent it and local policy allowed it.
Two rules make this fragile. First, routers prefer the most specific prefix: a /24 beats the /22 that contains it, regardless of who announces it. Second, policy is local and inconsistent. One bad announcement can spread across the Internet in minutes, carried by networks that simply trusted their neighbours.
As my thesis puts it, the route is the one piece of metadata that cannot be encrypted, because the network has to read it to deliver the packet.
Hijacks, leaks and outages: three different failures
Most confusion around BGP security comes from treating every routing incident as a «hijack». Each failure has a different cause and a different control.
- Prefix hijack: an AS originates a prefix it does not hold, or a more specific part of it. Traffic for the victim is attracted to the wrong network.
- Route leak: RFC 7908 defines it as the propagation of routing announcements «beyond their intended scope». The typical case is a customer re-announcing one provider’s routes to another, becoming accidental transit.
- Self-inflicted withdrawal: a network withdraws its own routes because of an internal fault. Nobody else announced anything; the prefixes simply vanish.
Pakistan Telecom and YouTube, 2008 (hijack)
On 24 February 2008 Pakistan Telecom announced 208.65.153.0/24, a more specific part of YouTube’s 208.65.152.0/22. Its upstream propagated it and, by longest-prefix match, much of the Internet sent YouTube traffic to Pakistan for about two hours. YouTube countered with even more specific /25s until the upstream withdrew the bogus routes (RIPE NCC RIS case study).
Amazon Route 53 and MyEtherWallet, 2018 (targeted hijack)
On 24 April 2018 more specific routes for several of Amazon’s Route 53 DNS prefixes were announced from a network that did not hold them, for roughly two hours. Wallet users were sent by a rogue DNS server to a fake site with a self-signed certificate; those who clicked through the warning handed over their credentials (Cloudflare analysis). Availability was never lost; confidentiality was.
Rostelecom, April 2020 (mis-origination at scale)
On 1 April 2020 Rostelecom originated thousands of prefixes belonging to Amazon, Akamai and other networks, propagated by a transit provider that failed to filter them. Counts differ by vantage point: 4,569 unique announcements in one analysis, more than 8,800 prefixes according to Qrator Labs and BGPMon (MANRS).
Verizon and a BGP optimiser, 2019 (route leak)
On 24 June 2019 more specific routes generated by a small ISP’s BGP optimiser travelled through a customer to its transit provider, which advertised them to the world. Cloudflare reported losing about 15% of its global traffic at the worst point (Cloudflare). This is a textbook BGP leak: no malice, missing filters at every hop.
Facebook, October 2021 (not a hijack)
The Facebook outage of 4 October 2021 is often cited as a BGP attack. It was not. A maintenance command disconnected Facebook’s backbone; its DNS servers, unable to reach the data centres, withdrew their own BGP advertisements by design (Meta engineering post-mortem). RPKI was irrelevant; the lesson is about change control.
RPKI and Route Origin Validation: where adoption stands
The Resource Public Key Infrastructure (RFC 6480) lets address holders sign Route Origin Authorisations (ROAs) stating which AS may originate a prefix and up to which length. Routers performing Route Origin Validation (RFC 6811) classify each route as valid, invalid or not found, and can drop invalid ones.
On 10 November 2026 the NIST RPKI Monitor classified about 71.3% of unique IPv4 prefix-origin pairs seen in BGP as RPKI-valid, 1.5% as invalid and 27.2% as not found (no covering ROA). Signing is half the job: protection exists only where networks also enforce ROV. Cloudflare’s Is BGP safe yet? test lets anyone check whether their own ISP drops invalid routes.
Three limits:
- ROV validates the origin, not the path. A forged path ending in the legitimate origin AS still validates.
- ROV does not stop leaks, where the origin is genuine. Leak prevention relies on customer filtering and, more recently, BGP Roles and the Only-to-Customer attribute (RFC 9234).
- Loose ROAs (a generous maximum length) leave room for more-specific hijacks that still validate.
My thesis reproduced the 2008 pattern in an isolated lab: a /25 announcement diverted half of a victim’s /24 in a three-AS FRRouting topology. A manual prefix list and RPKI-based ROV both neutralised it; ROV needed no hand-written filter because the victim’s ROA capped the length at /24. The lab also showed ROV’s limit: an observer already on the path with the operator’s cooperation sees exactly the same traffic as a hijacker. Route hardening stops the attacker without resources, not the adversary who already holds a vantage point.
MANRS: the minimum baseline for operators
The Mutually Agreed Norms for Routing Security (MANRS) define four minimum actions for network operators:
- Filtering: ensure your own and your customers’ announcements are correct before they reach neighbours.
- Anti-spoofing: source address validation for at least single-homed customers, end users and your own infrastructure.
- Coordination: keep contact details current in routing databases.
- Global information: publish routing policy and ROAs so others can validate you.
Most of the incidents above would have been contained by the first action applied one hop from the source.
The role of IXPs
Internet Exchange Points are where many networks interconnect, often through a shared route server. That makes them both a risk concentrator and a control point. A route server that accepts everything spreads a bad announcement to every member at once; one that filters with IRR and RPKI data stops it for all of them. MANRS runs a dedicated IXP programme centred on route-server filtering.
My thesis adds a privacy angle: an IXP is not a surveillance point in itself, but an observer at a high-centrality exchange sees a disproportionate share of traffic, so hardening there protects confidentiality as well as resilience.
What a defender or SOC can actually monitor
You do not need a backbone to watch your own routes. A practical monitoring stack for an enterprise or hosting provider:
- Public route collectors. RIPE NCC RIS collects BGP updates at exchanges worldwide and offers RIS Live, a near-real-time feed for spotting incidents. RouteViews provides a comparable archive.
- Prefix alerting. Open-source BGPalerter alerts when your prefixes are hijacked, lose visibility, or when your AS announces RPKI-invalid or uncovered prefixes, and when ROAs touching your resources change.
- Leak detection. Cloudflare Radar’s route-leak detection classifies announcements against the valley-free model for the RFC 7908 leak types, using RouteViews and RIS data.
- Historical analysis. CAIDA’s BGPStream lets an analyst replay live or historical BGP data for post-incident work.
- Your own hygiene. Tight ROAs for every prefix you hold, accurate IRR objects, and upstreams that enforce ROV.
For a SOC, the useful signals are concrete: a new origin AS for your prefix, a more specific prefix you never announced, a sudden change in the AS path to a critical SaaS or DNS provider, or a loss of visibility from many collectors at once. Each deserves an alert and a runbook.
How the Active Balance Framework frames route risk
My bachelor’s thesis (Universidad Internacional de La Rioja, defended October 2026) argues that privacy is also an infrastructural property: it depends on who controls the route as much as on encryption. Its Active Balance Framework applies three ideas to routing:
- Baseline protection for everyone first. Every route and user gets the same default treatment.
- Proportional friction second. Controls escalate only on aggregated, verifiable signals: invalid origins, unexpected announcements, persistent anomalies, high-impact prefixes. In the lab, a defence guided by those signals reduced exposure with less collateral damage than a flat «block or accept everything» policy.
- Measure the cost. Every control is evaluated on exposure removed and collateral damage introduced.
The policy conclusion: regulation treats BGP hardening as an availability issue; the Route 53 case shows it is also a confidentiality issue. The full research summary is in Friction Asymmetry in Anonymity Networks, and the privacy side of the same question is covered in Anonymity networks. For collateral damage from coarse network-level controls, see twenty websites taken down by football blocking.
Frequently asked questions
What is routing security?
Routing security is the set of practices that protect how traffic is steered between networks on the Internet. In practice it means making sure BGP announcements are legitimate (RPKI and Route Origin Validation), filtering what customers and peers announce, preventing route leaks, validating source addresses and monitoring your own prefixes so that hijacks or leaks are detected within minutes rather than hours.
What is the difference between a BGP hijack and a BGP leak?
In a hijack, a network originates address space it does not hold, or a more specific part of it, attracting traffic it should never receive. In a leak, the routes are genuine but are propagated beyond their intended scope, typically by a customer re-announcing one provider’s routes to another. RPKI origin validation catches many hijacks but does not, by itself, stop leaks.
Does RPKI make BGP secure?
Not on its own. RPKI with Route Origin Validation stops announcements from an unauthorised origin AS, and around 71% of IPv4 prefix-origin pairs are now RPKI-valid (NIST). It does not validate the full AS path, it does not stop leaks of genuine routes, and it only protects networks whose upstreams actually drop invalid routes.
Can a small company monitor BGP without its own AS?
Yes, to a useful degree. Even if your addresses belong to a hosting or cloud provider, you can watch the prefixes behind your critical services and DNS through RIPE RIS, BGPalerter or Cloudflare Radar, and alert on new origins, more specific announcements or visibility loss. If you hold your own prefixes, publishing tight ROAs is the first and cheapest step.
Work with PathSentinel
PathSentinel is my DFIR and threat-intelligence practice, working across incident response, Internet infrastructure and routing risk. You can read more about my background on the about page, or get in touch if you want to discuss routing security, BGP monitoring for a SOC, or research collaboration.
