Detecting Unauthorized Announcements of Your IPv4 Prefixes
Unauthorized IPv4 announcements can move traffic away from the legitimate origin ASN, create outages, expose data paths, or damage address reputation. Detection must combine live BGP visibility, RPKI checks, IRR data, peer reports, and incident response steps.
BGP hijacking detection is the process of finding a false or unexpected route announcement for an IP block. It helps network teams detect an unauthorized announcement, detect theft of address space, and protect reachability through prefix monitoring, validation, and fast coordination with peers.
Why do unauthorized announcements happen?
An unauthorized route can be malicious, but it can also be a mistake. A provider may leak a customer route. A tenant may announce a leased prefix from the wrong ASN. A stale IRR object may authorize an old path. A transfer may finish before every database and peer filter is updated.
The impact depends on scope. A short leak may affect only one region. A more-specific hijack can attract traffic from many networks because BGP prefers the more specific prefix. If the path reaches a rogue peer route, users may see packet loss, wrong geolocation, failed TLS checks, or complete service failure.
How should teams monitor network routing leaks?
Teams should monitor network routing leaks before they cause user tickets. Monitoring must compare expected routing with the global control plane. It should know which ASN may originate each prefix, which upstreams may carry it, and which route length is valid.
A practical detection plan includes:
- expected origin ASN for every prefix;
- backup ASN and approved upstreams;
- allowed prefix length and ROA max length;
- IRR route objects and route-set membership;
- geolocation and reputation baselines;
- escalation contacts for each transit provider.
This list becomes the reference model for every alert. If BGP shows a different origin, path, or prefix length, the event should be reviewed.
Which tools help detect unauthorized announcements?
Useful tools include BGP collectors, route servers, looking glasses, RPKI validators, IRR checks, flow telemetry, and commercial monitoring platforms. No single tool is enough because each one has a different view of the Internet.
A real time alert system should watch for:
- a new origin ASN for the prefix;
- a more-specific route that was not approved;
- a change from RPKI Valid to Invalid or Unknown;
- a route visible in one region but missing in another;
- traffic shifts that do not match planned changes;
- blackhole, DDoS, or community changes outside policy.
For leased ranges, the tenant and the resource holder should agree who receives alerts. Teams that lease IPv4 addresses should define this before production. Teams that require direct control can compare leasing with Buy IPv4 Addresses.
How can prefix monitoring support tracking address ownership?
Prefix monitoring must connect routing data with business records. The team should know who owns the resource, who can announce it, and who can update ROA or IRR records. This is important for tracking address use during leasing, acquisition, transfer, or customer migration.
The monitoring file should include:
- RIR holder and contract owner;
- authorized origin ASN and backup ASN;
- current ROA, IRR, LOA, and abuse contact;
- expected upstreams and peers;
- lease start date, renewal date, and end date;
- incident owner and escalation path.
This structure helps separate a real hijack from an authorized change that was not documented.
What defense steps reduce hijack impact?
Routing defense starts before an incident. The resource holder should publish correct ROAs, maintain IRR objects, keep prefix filters narrow, and test reachability from several networks. Peers should reject invalid or unexpected routes where policy allows it.
During an incident, the team should:
- confirm the unexpected origin and affected prefix;
- compare BGP data from several collectors;
- check ROA state and IRR authorization;
- contact upstreams and route server operators;
- announce the legitimate route where policy allows;
- keep evidence for legal, abuse, and partner follow-up.
Do not assume every event is theft. Some incidents are route leaks or stale filters. The response should still be fast because reachability and reputation can degrade within minutes.
How should incident response handle a rogue route?
A suspected hijack should enter the same process as a security incident. The team needs time, prefix, ASN, path, affected regions, service impact, and screenshots or exports from monitoring systems. Then it must ask peers to drop the false route and refresh filters.
If the event involves a leased block, confirm authorization before changing ROA or IRR data. A rushed update can create a new invalid route and make the outage worse.
FAQ: What do teams ask about unauthorized announcements?
**Can RPKI stop every hijack?**No. RPKI helps verify origin authorization, but not every network filters invalid routes, and some attacks can use valid-looking paths.
**How fast should alerts trigger?**Alerts should trigger within minutes for production prefixes. Daily checks are too slow for critical services.
**Is a new origin ASN always malicious?**No. It can be a planned migration, backup route, or provider change. It still must match the approved record.
**What is the first response to a hijack alert?**Validate the event with several sources, confirm whether the change was authorized, and contact upstreams if the route is false.