Presentation is loading. Please wait.

Presentation is loading. Please wait.

Secure Border Gateway Protocol (S-BGP): Real World Performance & Deployment Issues Stephen Kent, Charles Lynn, Joanne Mikkelson, and Karen Seo BBN Technologies.

Similar presentations


Presentation on theme: "Secure Border Gateway Protocol (S-BGP): Real World Performance & Deployment Issues Stephen Kent, Charles Lynn, Joanne Mikkelson, and Karen Seo BBN Technologies."— Presentation transcript:

1 Secure Border Gateway Protocol (S-BGP): Real World Performance & Deployment Issues Stephen Kent, Charles Lynn, Joanne Mikkelson, and Karen Seo BBN Technologies A Part of

2 BBN Technologies A Part of Outline l BGP Model l BGP security concerns & requirements l S-BGP design l S-BGP performance & scaling l Conclusions

3 BBN Technologies A Part of Basic BGP Model DSP-A ISP-2 DSP-B Org-X Org-Z ISP-3 ISP-4 ISP-1 Org-Y DSP-C non-BGP RouterBGP Router - path vector inter-domain routing protocol - UPDATEs generated in response to loss of connectivity or receipt of an UPDATE from a peer router, that results in a LOCRIB change NAP

4 BBN Technologies A Part of The BGP Security Problem l BGP is the critical infrastructure for Internet, inter-domain routing l Benign configuration errors have wreaked havoc for portions of the Internet address space l The current system is highly vulnerable to human errors, as well as a wide range of attacks l At best, BGP uses point-to-point keyed MAC, with no automated key management l Most published BGP security proposals have been pedagogic, not detailed, not deployable l Solutions must take into account Internet topology, size, update rates,...

5 BBN Technologies A Part of Attack Model l BGP can be attacked in various ways active or passive wiretapping of communications links between routers tampering with BGP speaker software tampering with router management data en route tampering with router management workstations/servers (the last three can result in Byzantine failures) l Addition of the proposed countermeasures introduces a new concern compromise of secret/private keying material in the routers or in the management infrastructure

6 BBN Technologies A Part of BGP Security Requirements l Verification of address space “ownership” l Authentication of Autonomous Systems (AS) l Router authentication and authorization (relative to an AS) l Route and address advertisement authorization l Route withdrawal authorization l Integrity and authenticity of all BGP traffic on the wire l Timeliness of BGP traffic

7 BBN Technologies A Part of S-BGP Design Overview l IPsec: authenticity and integrity of peer-to-peer communication, automated key management l Public Key Infrastructures (PKIs): secure identification of BGP speakers and of owners of AS’s and of address blocks l Attestations --> authorization of the subject (by the issuer) to advertise specified address blocks l Validation of UPDATEs based on a new path attribute, using certificates and attestations l Distribution of countermeasure data: certificates, CRLs, attestations

8 BBN Technologies A Part of S-BGP Residual Vulnerabilities l Failure to advertise route withdrawal l Premature re-advertisement of withdrawn routes l Erroneous application of local policy l Erroneous traffic forwarding, bogus traffic generation, etc. (not really a BGP issue)

9 BBN Technologies A Part of Internet Address Space Ownership DSP-A ORG-X ORG-ZISP-2 DSP-D DSP-B ORG-XX ISP-1 DSP-C ORG-YY ICANN/IANA ARIN/RIPE/APNIC ORG-Y ORG-ZZ

10 BBN Technologies A Part of Simplified PKI for Address Blocks - Only networks that execute BGP need certificates - All ISPs are BGP users, but only about ~10% of DSPs, maybe 5% of subscribers, are BGP users

11 BBN Technologies A Part of PKI for Speaker ID & AS Assignment rs RIPE AS Numbers AT&T AS Numbers DSP 1 AS# W ISP 2 AS Numbers MCI AS Numbers AS# XDSP 3 AS# Y Routers in AS# X AS# X, Router BGP I ISP 4 AS# Z AS# YRouters in AS# Y AS# Y, Router BGP I AS# ZRouters in AS# Z AS# Z, Router BGP I

12 BBN Technologies A Part of Securing UPDATE messages l A secure UPDATE consists of an UPDATE message with a new, optional, transitive path attribute for route authorization l This attribute consists of a signed sequence of route attestations, nominally terminating in an address space attestation l This attribute is structured to support both route aggregation and AS sets l Validation of the attribute verifies that the route was authorized by each AS along the path and by the ultimate address space owner

13 BBN Technologies A Part of An UPDATE with Attestations

14 BBN Technologies A Part of Simplified Attribute Format AA: Owning Org, NLRI, first Hop AS, SIG RA: Issuer, Cert ID, Validity, Subject, Path, NLRI, SIG BGP Hdr: Withdrawn NLRI, Path Attributes, Dest. NLRI RA: Issuer, Cert ID, Validity, Subject, Path, NLRI, SIG (usually omitted)

15 BBN Technologies A Part of Distributing Certificates, CRLs, & AAs l Putting certificates & CRLs in UPDATEs would be redundant and make UPDATEs too big l Same is true for address attestations l Solution: use servers for these data items replicate for redundancy & scalability locate at NAPs for direct (non-routed) access download options: –whole certificate/AA/CRL databases –queries for specific certificates/AAs/CRLs l To minimize processing & storage overhead, NOCs should validate certificates & AAs, and send processed extracts to routers

16 BBN Technologies A Part of Distributing Route Attestations l Distributed with BGP UPDATEs as path attributes l RAs have implicit encoding option to reduce size, avoid exceeding UPDATE size limit (4096b) l Cache with associated routes in ADJ-RIBs to reduce validation overhead l Expiration date present, but no revocation mechanism chosen yet

17 BBN Technologies A Part of BGP Statistics l ~ 1,800 organizations own AS numbers l ~ 44,000 own address prefixes (NLRI) l ~ 7,500 BGP speakers l ~ 75,000 routes in an ISP BGP database l Few AS sets (~100), little address aggregation l Average path length (NAP perspective) is 2.6 hops; 50% of routes ≤ 2 hops, 96% ≤4 hops l ~ 43,000 UPDATEs received each day at a BGP speaker at a NAP (30 peers)

18 BBN Technologies A Part of S-BGP Storage Statistics l ~ 58,000 certificates in database (~550b each) l Certificate & CRL database ~35Mb l Address attestation database ~4 Mbytes l Extracted certificate & AA database (with data structure overhead in GateD) ~ 42Mb l Route attestations occupy ~16 Mb per ADJ-RIB: about 64 Mb (4 peers) to 480 Mb (at NAP) l ADJ-RIB caching for received UPDATEs increases storage requirements by about 50%, and yields about 58% validation savings

19 BBN Technologies A Part of Route Attestation Overhead l Transmission RAs add ~450 bytes to a typical (3.6 ASes in path) UPDATE of 63 bytes, 700% overhead! But UPDATEs represent a very small portion of all traffic, so steady state bandwidth for RA transmission is only ~ 1.4Kb/s l Processing Average of 3.6 signature validations per received UPDATE and 1 generation per emitted UPDATE Peak rates ~ 18/s validation and ~5/s generation w/o caching (peak estimated as ten times average) UPDATE caching reduces validation rate by ~50% Start up transient would overwhelm a speaker, thus some form of NV storage or heuristic is required

20 BBN Technologies A Part of Conclusions l The transmission and processing costs of S-BGP are not significant l The proposed distribution mechanisms for certificates, CRLs, and AAs is viable l Storage overhead exceeds the capacity of existing routers, but adding adequate storage is feasible, especially for ISP BGP speakers l Testing and deployment issues Cisco handling of optional, transitive path attributes Intra-domain distribution of S-BGP attribute l But deployment poses a chicken and egg problem!


Download ppt "Secure Border Gateway Protocol (S-BGP): Real World Performance & Deployment Issues Stephen Kent, Charles Lynn, Joanne Mikkelson, and Karen Seo BBN Technologies."

Similar presentations


Ads by Google