Join our Newsletter — 33% off our NHI Course
Home› Guides› BGP Hijack Response: Steps When Your Prefixes Are…
Template Network Security

BGP Hijack Response: Steps When Your Prefixes Are Announced Elsewhere

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 11 min read
On this page

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.

EventWhat is announcedRPKI state seen by validators (RFC 6811)Typical cause
Exact-prefix origin hijackYour prefix, wrong origin ASInvalid if you have a ROA; NotFound if notMisconfiguration or deliberate hijack
More-specific hijackA longer prefix inside your block, wrong originInvalid if your ROA covers it and its maxLength does not allow itDeliberate redirection, or an internal route leaked
Forged-origin hijackYour prefix or a sub-prefix with your AS faked as originCan be Valid; a ROA with a loose maxLength makes sub-prefix versions Valid (RFC 9319)Deliberate
Route leakYour legitimate route, propagated beyond its intended scopeValid (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

RoleResponsibilityNamed person or rota
Incident leadOwns the response, severity and decisions[Network on-call lead]
Routing engineerCollector analysis, RPKI checks, announcements[Network engineering rota]
External liaisonContacts upstreams, peers, the offending AS, IXPs and CERTs[NOC manager]
Security analystChecks for interception: certificate issuance, credential use, DNS changes[SOC on-call]
CommunicationsCustomer, status page and internal updates[Communications lead]
ApproverAuthorises 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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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

OptionWhen to useTrade-off
Contact upstreams of the offending ASEvery confirmed hijack or leakDepends on their response time; usually the fastest effective fix
Contact the offending AS directlyEvery case, in parallelOften accidental and quickly fixed; may be unreachable or hostile
Announce more-specifics of your own prefixExact-prefix hijack of a block shorter than the longest prefix widely acceptedWins 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 ROAsSub-prefix or forged-origin hijacks enabled by a loose maxLengthOnly helps where networks perform origin validation; propagation takes time
Ask upstreams to filter at their edgeLeaks via a customer of a providerRequires the provider's cooperation
Shift traffic to unaffected pathsPartial leaks or regional impactCan reduce capacity or add latency
  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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

  1. 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.
  2. 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.
  3. Confirm traffic volumes and latency per prefix are back to baseline, and run external traceroutes again.
  4. Close interception checks: review certificate transparency results, unusual authentication events and DNS records for the window. Revoke any certificate issued without authorisation.
  5. Confirm with the other networks in writing that the cause is fixed and filters are in place.
  6. Send the closing update to customers and internal stakeholders.

6. Post-incident actions

6.1 Lessons log. Within [5 working days] record:

FieldEntry
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

Related NHI Mgmt Group resources: BGP and Routing Security Guide · RPKI vs BGP Prefix Filtering · DNS Hijack Playbook · Incident Communication Plan Template

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.