When another network announces your IP prefixes, or leaks routes it should never have propagated, your traffic can be dropped, delayed or read in transit by a network you have no contract with, and you cannot fix it from your own routers alone. This template gives [Organisation] a ready-to-adopt playbook for responding to BGP origin hijacks, more-specific hijacks and route leaks affecting its address space. It covers confirming the event from public route collectors and RPKI validation, contacting upstreams and the offending network, mitigating with your own announcements, and recovering cleanly. It is written for network operations, NOC and SOC staff, and the managers who approve upstream escalations and customer messages. Replace every [bracketed] placeholder and fill in the contact sheet before you need it.
How to use this template
- Adopt, then tailor: copy sections 1 to 7 into your incident response plan. See the Incident Response Plan Template and, for prevention, the BGP and Routing Security Guide.
- Do the preparation first: sections 2 and 7 only work if ROAs, contacts and monitoring exist before an incident. The RPKI and Route Origin Validation Deployment Guide covers ROA design.
- Know the event type: an origin hijack, a more-specific hijack and a route leak look similar in a traceroute but need different conversations with other networks. Section 1 defines them.
- If the cause is a DDoS mitigation change or a scrubbing provider announcement you forgot about, stop and check internal change records before escalating externally. See the DDoS Response Playbook.
- Review annually and after every incident, upstream change or new prefix allocation. Owner: [Head of Network Engineering].
1. Trigger conditions
1.1 This playbook covers unexpected BGP announcements of address space held by [Organisation] ([list prefixes and origin ASNs, e.g. ASXXXXX]) and leaks that redirect traffic towards or away from it.
1.2 Event types.
| Event | What is announced | RPKI state seen by validators (RFC 6811) | Typical cause |
|---|---|---|---|
| Exact-prefix origin hijack | Your prefix, wrong origin AS | Invalid if you have a ROA; NotFound if not | Misconfiguration or deliberate hijack |
| More-specific hijack | A longer prefix inside your block, wrong origin | Invalid if your ROA covers it and its maxLength does not allow it | Deliberate redirection, or an internal route leaked |
| Forged-origin hijack | Your prefix or a sub-prefix with your AS faked as origin | Can be Valid; a ROA with a loose maxLength makes sub-prefix versions Valid (RFC 9319) | Deliberate |
| Route leak | Your legitimate route, propagated beyond its intended scope | Valid (origin is correct) | Usually accidental; RFC 7908 defines six types, from hairpin turns to leaked internal more-specifics |
1.3 Trigger this playbook when any of these occur:
- A routing monitor alerts on a new origin AS, a new more-specific prefix, or an unexpected upstream in the AS path for [Organisation] prefixes.
- Users or customers in one region report loss, latency or certificate warnings for [Organisation] services while others are unaffected.
- An upstream, peer, CERT or researcher notifies [Organisation] of suspicious announcements.
- Traffic volume on a prefix drops sharply with no internal change recorded.
1.4 Severity. Sev 1: production prefixes hijacked or leaked with confirmed traffic loss or interception risk. Sev 2: announcement visible at some collectors with limited impact. Sev 3: unused or reserved prefixes announced by another network.
2. Roles and contacts
| Role | Responsibility | Named person or rota |
|---|---|---|
| Incident lead | Owns the response, severity and decisions | [Network on-call lead] |
| Routing engineer | Collector analysis, RPKI checks, announcements | [Network engineering rota] |
| External liaison | Contacts upstreams, peers, the offending AS, IXPs and CERTs | [NOC manager] |
| Security analyst | Checks for interception: certificate issuance, credential use, DNS changes | [SOC on-call] |
| Communications | Customer, status page and internal updates | [Communications lead] |
| Approver | Authorises more-specific announcements and external statements | [Head of Network Engineering] |
2.1 Contact sheet (keep outside your own network, e.g. printed and in a shared vault): each upstream transit provider's 24x7 NOC and abuse contacts and your circuit IDs; IXP route server operators; your Regional Internet Registry (RIR) RPKI portal access holders; national CERT; your DNS and certificate providers.
2.2 Your published contacts: MANRS Action 3 asks operators to maintain globally accessible, up-to-date contact information in common routing databases. Check yours are correct, so others can reach you when you are the one leaking.
2.3 Access: the RIR portal and ROA management accounts are high-value credentials. Store them in [vault], require MFA, and list at least two people who can use them out of hours.
3. Phase 1: confirm and scope
- Check internal changes first (target: 10 minutes). Review change records for router configuration, new upstreams, DDoS scrubbing activation or recently moved prefixes. Many alerts are self-inflicted.
- Look from outside. Query public route collectors: RIPE NCC's Routing Information Service (RIS), including the RIS Live near-real-time feed, and the University of Oregon RouteViews looking glass and archive. Record for each affected prefix: the announced prefix, origin AS, AS path, first-seen time and how many collector peers see it.
- Check RPKI state. Confirm your ROAs exist for the affected prefixes and note the origin ASN and maxLength. Classify the bogus route as Valid, Invalid or NotFound under RFC 6811. An Invalid route will be dropped by networks that perform route origin validation, which limits spread; a NotFound route will not.
- Classify the event using table 1.2: origin hijack, more-specific, forged origin or leak. For a leak, identify the leaking AS from the path and which RFC 7908 type it resembles.
- Measure impact. Compare traffic per prefix with baseline, run traceroutes from external vantage points or partner networks in the affected regions, and ask the security analyst to check whether services saw logins or certificate requests from unusual paths.
- Set severity and open the incident record with collector screenshots or exports, timestamps in UTC and the classification.
Decision point: if the announcement is from your own AS or a provider acting for you, switch to your change rollback procedure. If not, continue to Phase 2.
4. Phase 2: contain and mitigate
| Option | When to use | Trade-off |
|---|---|---|
| Contact upstreams of the offending AS | Every confirmed hijack or leak | Depends on their response time; usually the fastest effective fix |
| Contact the offending AS directly | Every case, in parallel | Often accidental and quickly fixed; may be unreachable or hostile |
| Announce more-specifics of your own prefix | Exact-prefix hijack of a block shorter than the longest prefix widely accepted | Wins on longest-prefix match, but does not help if the hijacker already announces the most specific length networks accept, and adds routing table entries |
| Tighten ROAs | Sub-prefix or forged-origin hijacks enabled by a loose maxLength | Only helps where networks perform origin validation; propagation takes time |
| Ask upstreams to filter at their edge | Leaks via a customer of a provider | Requires the provider's cooperation |
| Shift traffic to unaffected paths | Partial leaks or regional impact | Can reduce capacity or add latency |
- Contact the offending AS and its upstreams. Use contacts from RIR records, routing databases and the upstreams' published NOC details. Send the template in 4.1 with evidence. Phone the upstream NOCs for Sev 1; do not rely on email alone.
- Ask your own upstreams for help. They may have direct relationships with the offending network or its providers and can apply filters on sessions they control.
- Consider more-specifics, with approval. If your /22 is hijacked as a /22, announcing two /23s or four /24s draws traffic back on longest-prefix match. Create ROAs for the more-specifics first, so they are Valid, and record them for removal in Phase 3.
- Fix ROA gaps. If you had no ROA, create one with your origin AS. If your maxLength is looser than the prefixes you announce, RFC 9319 (BCP 185) recommends minimal ROAs listing only the prefixes you originate, which makes forged-origin sub-prefix announcements Invalid.
- Protect services while routing recovers. Ask the security analyst to watch for certificate issuance for your domains, force re-authentication for sessions established during the window if interception is suspected, and confirm DNS records were not changed.
- Update stakeholders every [30] minutes for Sev 1 using template 4.2.
4.1 Template: message to the offending network or its upstream
Subject: [URGENT] Unauthorised BGP announcement of [prefix] by AS[number], ticket [reference]
We are [Organisation], holder of [prefix] (RIR record [link or handle]), originated by AS[our ASN]. Since [UTC time] AS[number] has been announcing [prefix or more-specific], seen at [collectors] with path [AS path]. Our ROA authorises AS[our ASN] only, so this route is RPKI Invalid. Please withdraw the announcement or filter it on your sessions with AS[number] and confirm by reply. Evidence attached. Our 24x7 NOC reference is [ticket].
4.2 Template: customer and status page update
Since [time UTC] some users in [regions] may be unable to reach [service] because another network has incorrectly announced routes for our addresses. Our systems have not been compromised [or: we are checking our systems as a precaution]. We are working with network providers to correct the routing. Next update by [time].
5. Phase 3: recover and verify
- Verify withdrawal at collectors. Confirm the bogus route has gone from RIS and RouteViews peers, and that your legitimate origin and expected paths are back. Watch for at least [2 hours] for re-announcement.
- Remove temporary more-specifics in a planned change once the hijack has gone, and remove or adjust their ROAs so that a later hijacker cannot use them as Valid cover. Keep any you decide to retain documented.
- Confirm traffic volumes and latency per prefix are back to baseline, and run external traceroutes again.
- Close interception checks: review certificate transparency results, unusual authentication events and DNS records for the window. Revoke any certificate issued without authorisation.
- Confirm with the other networks in writing that the cause is fixed and filters are in place.
- Send the closing update to customers and internal stakeholders.
6. Post-incident actions
6.1 Lessons log. Within [5 working days] record:
| Field | Entry |
|---|---|
| Event type and RFC 7908 leak type (if a leak) | [ ] |
| Prefixes, offending AS, first seen and withdrawn times (UTC) | [ ] |
| How detected and time to detect | [ ] |
| Time to first external contact and to withdrawal | [ ] |
| RPKI state of the bogus route, and whether ROAs helped | [ ] |
| Mitigations used and their effect | [ ] |
| Evidence of interception or data exposure | [ ] |
| Actions, owners and due dates | [ ] |
6.2 Typical improvements: ROAs for every announced prefix with minimal maxLength; ROAs with origin AS 0 for space you hold but do not announce (a VRP with AS 0 never matches, so any announcement is Invalid under RFC 6811); route origin validation on your own edge; prefix filters for customers; BGP Roles and the Only to Customer attribute (RFC 9234) on eBGP sessions where your routers support them, so leaks are detected at session level; and updated contacts.
6.3 Metrics to track across incidents: time to detect; time to first external contact; time to withdrawal; percentage of announced prefixes covered by a Valid ROA; percentage of address space with AS 0 ROAs where unannounced; number of false-positive alerts per month.
7. Implementation guidance
- Monitoring: subscribe to a routing monitor fed by public collectors, alerting on new origins, new more-specifics and new upstreams for your prefixes. RIS Live supports near-real-time detection; RouteViews offers a looking glass and API. Name the alert routes and owners in section 2.
- Exercises: run a tabletop at least yearly using a past public leak as the scenario. RFC 7908 lists examples such as a 2014 leak of about 22,000 more-specific prefixes and a 2015 leak of about 179,000 prefixes accepted by a large transit provider.
- Small organisations with provider-assigned space should agree with their ISP who creates ROAs and who leads the response; the ISP usually does both.
- Large or multi-homed organisations should hold their own RPKI access, pre-approve more-specific mitigation in the change policy and test it in a maintenance window.
- Framework fit: NIST SP 800-189 Rev. 1, Border Gateway Protocol Security and Resilience (initial public draft, January 2025), covers RPKI, ROV, prefix filtering and related controls; MANRS gives four operator actions (filtering, anti-spoofing, coordination, global information). See the MANRS Network Operator Actions Guide.
Practitioner checklist
- List every prefix and origin ASN [Organisation] announces, and every prefix it holds but does not announce.
- Create minimal ROAs for announced prefixes and AS 0 ROAs for unannounced space.
- Configure routing monitoring on public collector data with named alert owners.
- Complete and test the contact sheet for upstreams, IXPs, RIR access holders and CERT.
- Keep published routing database contacts current.
- Pre-approve the more-specific announcement procedure, including ROA creation and later removal.
- Agree the customer message template with communications.
- Run a yearly tabletop and update this playbook afterwards.
Standards and references
- IETF: RFC 7908 Problem Definition and Classification of BGP Route Leaks
- IETF: RFC 6811 BGP Prefix Origin Validation
- IETF: RFC 9319 The Use of maxLength in the RPKI (BCP 185)
- IETF: RFC 9234 Route Leak Prevention and Detection Using Roles in UPDATE and OPEN Messages
- NIST: SP 800-189 Rev. 1 Border Gateway Protocol Security and Resilience (draft)
- MANRS: Network Operators Programme actions
- RIPE NCC: Routing Information Service (RIS)
- University of Oregon: RouteViews
Related NHI Mgmt Group resources: BGP and Routing Security Guide · RPKI vs BGP Prefix Filtering · DNS Hijack Playbook · Incident Communication Plan Template