Lesson 7 of 9 · 24m
Hijacks and Route Leaks: What They Look Like
Origin hijacks, more-specific announcements, AS-path manipulation, and route leaks have distinct signatures; knowing what telemetry changes first makes incidents diagnosable instead of mysterious.
Most internet routing incidents are not sophisticated attacks. They are configuration errors with global blast radius: a typo in a prefix list, an optimization appliance announcing space it should not, a provider failing to filter a customer, or a lab router connected to production. The response begins by distinguishing a hijack from a leak, because the fix and the evidence differ.
Origin hijack
An origin hijack happens when the wrong AS originates your prefix or a more-specific part of it:
legitimate: 203.0.113.0/24 origin AS64500
observed: 203.0.113.0/25 origin AS64601Because /25 is more specific, it can capture traffic even if the legitimate /24 remains globally visible. This is why longest-prefix match is central to incident analysis. RPKI can help when the unauthorized origin violates a ROA, but only if networks validate and drop invalids.
Route leak
A route leak is propagation beyond the intended relationship, often with correct origin information. Example: a customer learns routes from one transit provider and announces them to another, unintentionally becoming transit between them. The prefix owner did nothing wrong; the intermediate network did. Symptoms include sudden AS-path inflation, unexpected transit ASes, and huge traffic shifts.
What changes first in telemetry
Look for these signals before a ticket arrives:
origin AS changes
more-specific prefixes appear
AS path gains unexpected transit networks
traffic volume shifts to one interface or provider
latency rises without local utilization rising
RPKI-invalid count jumps for your prefixesRoute collectors and BGP monitoring services show control-plane evidence. NetFlow, interface counters, and latency probes show forwarding consequences. You need both; control-plane visibility alone cannot prove packets reached the right place.
A practical triage loop
- Confirm whether your routers still originate the intended prefix.
- Query multiple looking glasses or route collectors from different regions.
- Compare prefix lengths, origin AS, AS paths, and timestamps.
- Check recent configuration changes inside your network before accusing anyone else.
- Contact the immediate upstream or network operations center with specific evidence.
A useful report is concise: prefix, expected origin, observed origin/path, collector examples, first seen time, impact. We are down gets queued; concrete route evidence gets action.
Defensive posture
ROAs help others reject bad origins. Strict customer filtering helps you avoid carrying leaks. Monitoring catches what prevention misses. None replaces operational discipline: do not announce address space you do not control, even temporarily, without explicit authorization and rollback planning.
Field notes
- Cloud and CDN traffic may legitimately shift origins during migrations; verify change windows before escalating.
- Not every weird traceroute is a hijack — MPLS, NAT, anycast, and asymmetric routing produce confusing output.
- More-specific hijacks are more dangerous than exact-prefix hijacks because they win even while your route looks normal.
- Keep emergency contacts for upstreams current; the middle of an incident is the wrong time to discover a dead NOC email address.
- Preserve raw BGP updates and packet captures where possible. Memory and screenshots are weak incident evidence.
Was this lesson helpful?