Skip to content
Gateways
ASD ISMISM-2018

ASD ISM 2018 Reject or deprioritise BGP routes that fail RPKI validation

What it says

Routes for RPKI-registered IP addresses that are advertised from invalid Autonomous Systems, or that are longer than allowed, are rejected or deprioritised by routers that exchange routes via BGP.

Quoted as published. Everything else on this page is written by Control Stack.

In plain English

BGP routers must reject, or give lower preference to, routes that fail origin validation: from an Autonomous System the ROA does not authorise, or more specific than it allows.

Routers that exchange routes via BGP, the protocol networks use to share internet routes, must reject or deprioritise routes for RPKI-registered IP addresses when the route:

  • is originated, meaning first announced, by an Autonomous System (a network with its own routing number) that the range's ROA does not authorise, or
  • is longer, meaning more specific, than the ROA allows.

RPKI-registered addresses are those covered by a ROA, the holder's signed record of who may announce them. Addresses with no ROA are outside this control.

Why it matters

A false BGP announcement, accidental or deliberate, can pull traffic for another organisation's addresses to the wrong network, where it is dropped or intercepted. Rejecting or deprioritising invalid routes means your routers follow the holder's ROA rather than trusting every announcement.

How to implement

  1. List every router and external BGP session.

    Include edge routers peering with transit providers, internet exchanges and cloud interconnects, and routers a provider manages for you. Build the list from each router's neighbour table, not only design documents. Internal routers that learn routes only from the edge inherit its result.

  2. Set up RPKI validation for the routers.

    Run more than one relying party validator, software that fetches and checks every published ROA, and connect each router to them over the RPKI-to-Router protocol. With more than one, losing a validator does not switch validation off.

  3. Reject or deprioritise invalid routes on every external session.

    In each import policy, match the validation state Invalid and drop the route, or set its local preference below valid routes. Leave NotFound routes alone. Rejecting is stronger, because preference only compares routes for the same prefix: an invalid more-specific prefix still attracts traffic.

  4. Test with a known invalid route.

    On each router, confirm that a received route marked Invalid, such as a published RPKI-invalid test prefix, is dropped, or carries a lower local preference than valid routes and is never preferred over a valid route for the same prefix. Where a provider manages the routers, get the configuration and test result from it.

Keep it running

Alert when a router loses its validator session or validated data stops updating: once that data expires, every route reads as NotFound and invalid routes are accepted. Recheck the policy whenever a BGP session or router is added.

Evidence and audit

  1. Check 1 of 3What an auditor asks for

    Ask for

    The list of BGP routers and external sessions, with each router's live neighbour table and the organisation's neighbouring Autonomous Systems in public BGP data.

    Look at

    Whether every external session found is on the list and has an import policy that acts on the RPKI validation state.

    Good evidence

    Every neighbouring Autonomous System in the public data has a listed session, every external session applies a policy that rejects or deprioritises routes marked Invalid, and any BGP router without such a policy learns routes only from routers that have one.

  2. Check 2 of 3What an auditor asks for

    Ask for

    A live check on a sampled router of received routes marked Invalid for each of the two reasons (a wrong origin Autonomous System, a prefix longer than the ROA allows), or of published RPKI-invalid test prefixes.

    Look at

    Each route's validation state, and whether it was dropped or given a lower local preference, or other lower ranking, than valid routes.

    Good evidence

    Routes originated by an Autonomous System the ROA does not authorise, and routes longer than the ROA allows, are both marked Invalid and are either absent from the routing table or carry a lower local preference, or other lower ranking, than valid routes, and none is preferred over a valid route for the same prefix. An Invalid route treated like a valid one fails, even when no valid route exists for its prefix.

  3. Check 3 of 3What an auditor asks for

    Ask for

    The RPKI session status on each router and each validator's last successful update.

    Look at

    Whether every router with an external BGP session holds current validated data from a working validator.

    Good evidence

    Every router with an external BGP session has a working session to a validator and current validated data, so routes are being checked rather than all reading as NotFound.

Mappings

Closest match in ISO/IEC 27001: A.8.20, Networks security, which this control partially meets.

ISO 27001

ISO/IEC 27001: 1 mapping

  • A.8.20Networks securityPartially meets

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.