SlideShare uma empresa Scribd logo
1 de 21
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Misused Top ASNs
Analysis of AS1, AS2 and AS3 misuse!
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Officially allocated to...
AS 1 - Level3 Communications
AS 2 - University of Delaware
AS 3 - MIT
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
How they are “misused” ?
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Reasons for mis-use...
● “Copy-paste” of sample prepend configuration “1 2 3”
● Mistakenly typing “1 2 or 3” in prepend rules in route
filter / export policy statement
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Impact of mis-use
Hard to determine statistically but ...
● Shows unexpected relationship of leaking AS with top ASN and among top ASNs!
● Considered to be “AS hijack” and bad for trust based BGP routing
● Can result in (a wrongly prepended) announcement getting filtered across parts of internet
● Chances of broken connectivity of these routes with top ASNs network due to BGP loop
prevention
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
AS1 Graph V4
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
AS1 Peer V4
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Hunting for leakers...
● Analysis of routing table from multiple RIPE RIS collectors and Oregon Route-views
● Analysis from Jan 2015 to Dec 2018
● Looking for cases where top 3 ASNs appear in AS_PATH for routes which belong to other
ASNs.
● Focus of top ASNs appearance with prepends in the routing table
● Leaks which appeared for less than 24hrs are not collected
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Leak or legitimate?
Logic used to detect leak:
● ASN in the AS_PATH is unrelated entity and is not a ASN owned by top 3 ASNs
● Prefix appearing to be originating from top ASN happens to be allocated to ASN on the left side
of the leaked ASN in the as_path
● Prefix appearing to be originated from top ASN has a less specific origination by ASN on the left
side of the leaked ASN in the as_path
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Leak or legitimate - An example
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Some of who leaked AS1...
AS Number Start Date End Date Days
26114 2015-01-01 2018-12-31 1460
13227 2015-01-01 2018-12-27 1456
27822 2017-04-17 2018-12-31 623
133498 2015-01-01 2016-08-31 608
199524 2017-09-16 2018-12-31 471
27932 2017-10-31 2018-12-31 426
18196 2017-12-14 2018-12-31 382
48085 2017-11-13 2018-11-21 373
43968 2018-01-14 2018-12-31 351
37157 2018-03-27 2018-12-31 279
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Some of who leaked AS2...
AS Number Start Date End Date Days
37628 2016-02-02 2018-12-31 1063
264135 2016-12-15 2018-12-31 746
41837 2017-03-02 2018-12-31 669
264582 2017-07-19 2018-10-10 448
53059 2017-12-29 2018-11-05 311
265396 2018-03-10 2018-12-31 296
136319 2018-03-20 2018-12-31 286
135853 2018-04-03 2018-12-31 272
267375 2018-11-06 2018-12-31 55
265036 2018-11-14 2018-12-31 47
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Some of who leaked AS3...
AS Number Start Date End Date Days
131758 2016-11-03 2018-12-31 788
56651 2017-02-05 2018-12-31 694
265636 2017-08-31 2018-12-31 487
61681 2018-07-09 2018-12-31 175
266177 2018-08-25 2018-12-31 128
267360 2018-08-27 2018-12-31 126
135437 2018-09-04 2018-12-31 118
27787 2018-09-11 2018-12-31 111
262480 2018-11-19 2018-12-31 42
266487 2018-12-04 2018-12-31 27
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Route leak visibility (in days)
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Most amusing AS_PATH ever!
31019 39326 39326 3356 7029 1614 1614 1614 1614 1 2 3 4 5
TABLE_DUMP_V2|02/02/14
00:00:01|A|195.69.146.99|50763|74.122.136.0/24|50763 8943 3549 7029 1614
1614 1614 1614 1 2 3 4 5|IGP
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Preventing such leaks
● If prepending is needed, prepend correctly i.e by repeating your own ASN multiple times
● Avoid typing ASNs by hand in config and prefer to copy paste (helps for long ASNs)
● Lookout for your router’s vendor's documentation on how to prepend
● Use tools like bgpq3 to generate filters for your neighbors
● Filter not only based on prefix but as ASN/AS_Path as well!
● IX’es can use tools like arouteserver to generate route server config with filtering
● Encourage and use RPKI!
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Prepend Sample Config - Cisco IPv4
Create route-map which would be applied in OUT direction with specific peer
route-map NetworkA-OUT permit 10
set as-path prepend 64520 64520 <--- Important to prepend your own ASN. Don’t use any other random number here!
Call the route-map in out direction on the BGP session for IPv4
router bgp 64520
no synchronization
bgp log-neighbor-changes
neighbor 192.168.1.2 remote-as 64521
neighbor 192.168.1.2 route-map NetworkA-OUT out
neighbor 192.168.1.2 route-map NetworkA-IN in
no auto-summary
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Prepend Sample Config - Cisco IPv6
Create route-map which would be applied in OUT direction with specific peer
route-map NetworkA-OUT permit 10
set as-path prepend 64520 64520 <--- Important to prepend your own ASN. Don’t use any other random number here!
Call the route-map in out direction on the BGP session for IPv6
!
address-family ipv6
neighbor 2001:DB8:1:1::2 activate
neighbor 2001:DB8:1:1::2 route-map NetworkA-OUT out
network 2001:DB8:2::/48
exit-address-family
!
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Prepend Sample Config - JunOS
Create export policy which would be applied to the peer
edit policy-options policy-statement Network-A-Out
set term a from prefix-list Pool-set1
set term a then as-path-prepend “64520 64520” <--- Important to prepend your own ASN. Don’t use any other random number here!
Call the route-map in out direction on the BGP session
set protocols bgp group transits neighbor 192.168.1.2 export Network-A-Out
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Reference
1. Oregon Route Views
2. RIPE RIS - http://www.ripe.net/data-tools/stats/ris/routing-information-
service
3. Hurricane Electric BGP toolkit - bgp.he.net
4. Bgpdump tool - https://bitbucket.org/ripencc/bgpdump/wiki/Home
Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea -
Misused Top ASNs
Thankyou!
Questions?
Peering?
Twitter: @anurag_bhatia
anurag@he.net
AS6939
http://he.net
http://as6939.peeringdb.com

Mais conteúdo relacionado

Mais de APNIC

'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119APNIC
 
draft-harrison-sidrops-manifest-number-01, presented at IETF 119
draft-harrison-sidrops-manifest-number-01, presented at IETF 119draft-harrison-sidrops-manifest-number-01, presented at IETF 119
draft-harrison-sidrops-manifest-number-01, presented at IETF 119APNIC
 
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119APNIC
 
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119APNIC
 
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119APNIC
 
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...APNIC
 
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85APNIC
 
NANOG 90: 'BGP in 2023' presented by Geoff Huston
NANOG 90: 'BGP in 2023' presented by Geoff HustonNANOG 90: 'BGP in 2023' presented by Geoff Huston
NANOG 90: 'BGP in 2023' presented by Geoff HustonAPNIC
 
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff HustonDNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff HustonAPNIC
 
APAN 57: APNIC Report at APAN 57, Bangkok, Thailand
APAN 57: APNIC Report at APAN 57, Bangkok, ThailandAPAN 57: APNIC Report at APAN 57, Bangkok, Thailand
APAN 57: APNIC Report at APAN 57, Bangkok, ThailandAPNIC
 
Lao Digital Week 2024: It's time to deploy IPv6
Lao Digital Week 2024: It's time to deploy IPv6Lao Digital Week 2024: It's time to deploy IPv6
Lao Digital Week 2024: It's time to deploy IPv6APNIC
 
AINTEC 2023: Networking in the Penumbra!
AINTEC 2023: Networking in the Penumbra!AINTEC 2023: Networking in the Penumbra!
AINTEC 2023: Networking in the Penumbra!APNIC
 
CNIRC 2023: Global and Regional IPv6 Deployment 2023
CNIRC 2023: Global and Regional IPv6 Deployment 2023CNIRC 2023: Global and Regional IPv6 Deployment 2023
CNIRC 2023: Global and Regional IPv6 Deployment 2023APNIC
 
AFSIG 2023: APNIC Foundation and support for Internet development
AFSIG 2023: APNIC Foundation and support for Internet developmentAFSIG 2023: APNIC Foundation and support for Internet development
AFSIG 2023: APNIC Foundation and support for Internet developmentAPNIC
 
AFNOG 1: Afghanistan IP Deployment Status
AFNOG 1: Afghanistan IP Deployment StatusAFNOG 1: Afghanistan IP Deployment Status
AFNOG 1: Afghanistan IP Deployment StatusAPNIC
 
AFSIG 2023: Internet routing and addressing
AFSIG 2023: Internet routing and addressingAFSIG 2023: Internet routing and addressing
AFSIG 2023: Internet routing and addressingAPNIC
 
AFSIG 2023: APNIC - Registry & Development
AFSIG 2023: APNIC - Registry & DevelopmentAFSIG 2023: APNIC - Registry & Development
AFSIG 2023: APNIC - Registry & DevelopmentAPNIC
 

Mais de APNIC (20)

'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119
 
draft-harrison-sidrops-manifest-number-01, presented at IETF 119
draft-harrison-sidrops-manifest-number-01, presented at IETF 119draft-harrison-sidrops-manifest-number-01, presented at IETF 119
draft-harrison-sidrops-manifest-number-01, presented at IETF 119
 
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
Making an RFC in Today's IETF, presented by Geoff Huston at IETF 119
 
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
IPv6 Operational Issues (with DNS), presented by Geoff Huston at IETF 119
 
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
 
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
Benefits of doing Internet peering and running an Internet Exchange (IX) pres...
 
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
APNIC Update and RIR Policies for ccTLDs, presented at APTLD 85
 
NANOG 90: 'BGP in 2023' presented by Geoff Huston
NANOG 90: 'BGP in 2023' presented by Geoff HustonNANOG 90: 'BGP in 2023' presented by Geoff Huston
NANOG 90: 'BGP in 2023' presented by Geoff Huston
 
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff HustonDNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
DNS-OARC 42: Is the DNS ready for IPv6? presentation by Geoff Huston
 
APAN 57: APNIC Report at APAN 57, Bangkok, Thailand
APAN 57: APNIC Report at APAN 57, Bangkok, ThailandAPAN 57: APNIC Report at APAN 57, Bangkok, Thailand
APAN 57: APNIC Report at APAN 57, Bangkok, Thailand
 
Lao Digital Week 2024: It's time to deploy IPv6
Lao Digital Week 2024: It's time to deploy IPv6Lao Digital Week 2024: It's time to deploy IPv6
Lao Digital Week 2024: It's time to deploy IPv6
 
AINTEC 2023: Networking in the Penumbra!
AINTEC 2023: Networking in the Penumbra!AINTEC 2023: Networking in the Penumbra!
AINTEC 2023: Networking in the Penumbra!
 
CNIRC 2023: Global and Regional IPv6 Deployment 2023
CNIRC 2023: Global and Regional IPv6 Deployment 2023CNIRC 2023: Global and Regional IPv6 Deployment 2023
CNIRC 2023: Global and Regional IPv6 Deployment 2023
 
AFSIG 2023: APNIC Foundation and support for Internet development
AFSIG 2023: APNIC Foundation and support for Internet developmentAFSIG 2023: APNIC Foundation and support for Internet development
AFSIG 2023: APNIC Foundation and support for Internet development
 
AFNOG 1: Afghanistan IP Deployment Status
AFNOG 1: Afghanistan IP Deployment StatusAFNOG 1: Afghanistan IP Deployment Status
AFNOG 1: Afghanistan IP Deployment Status
 
AFSIG 2023: Internet routing and addressing
AFSIG 2023: Internet routing and addressingAFSIG 2023: Internet routing and addressing
AFSIG 2023: Internet routing and addressing
 
AFSIG 2023: APNIC - Registry & Development
AFSIG 2023: APNIC - Registry & DevelopmentAFSIG 2023: APNIC - Registry & Development
AFSIG 2023: APNIC - Registry & Development
 

Último

Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Roomdivyansh0kumar0
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 

Último (20)

Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Model Towh Delhi 💯Call Us 🔝8264348440🔝
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 

Misused Top ASNs

  • 1. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Misused Top ASNs Analysis of AS1, AS2 and AS3 misuse!
  • 2. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Officially allocated to... AS 1 - Level3 Communications AS 2 - University of Delaware AS 3 - MIT
  • 3. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs How they are “misused” ?
  • 4. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Reasons for mis-use... ● “Copy-paste” of sample prepend configuration “1 2 3” ● Mistakenly typing “1 2 or 3” in prepend rules in route filter / export policy statement
  • 5. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Impact of mis-use Hard to determine statistically but ... ● Shows unexpected relationship of leaking AS with top ASN and among top ASNs! ● Considered to be “AS hijack” and bad for trust based BGP routing ● Can result in (a wrongly prepended) announcement getting filtered across parts of internet ● Chances of broken connectivity of these routes with top ASNs network due to BGP loop prevention
  • 6. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs AS1 Graph V4
  • 7. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs AS1 Peer V4
  • 8. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Hunting for leakers... ● Analysis of routing table from multiple RIPE RIS collectors and Oregon Route-views ● Analysis from Jan 2015 to Dec 2018 ● Looking for cases where top 3 ASNs appear in AS_PATH for routes which belong to other ASNs. ● Focus of top ASNs appearance with prepends in the routing table ● Leaks which appeared for less than 24hrs are not collected
  • 9. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Leak or legitimate? Logic used to detect leak: ● ASN in the AS_PATH is unrelated entity and is not a ASN owned by top 3 ASNs ● Prefix appearing to be originating from top ASN happens to be allocated to ASN on the left side of the leaked ASN in the as_path ● Prefix appearing to be originated from top ASN has a less specific origination by ASN on the left side of the leaked ASN in the as_path
  • 10. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Leak or legitimate - An example
  • 11. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Some of who leaked AS1... AS Number Start Date End Date Days 26114 2015-01-01 2018-12-31 1460 13227 2015-01-01 2018-12-27 1456 27822 2017-04-17 2018-12-31 623 133498 2015-01-01 2016-08-31 608 199524 2017-09-16 2018-12-31 471 27932 2017-10-31 2018-12-31 426 18196 2017-12-14 2018-12-31 382 48085 2017-11-13 2018-11-21 373 43968 2018-01-14 2018-12-31 351 37157 2018-03-27 2018-12-31 279
  • 12. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Some of who leaked AS2... AS Number Start Date End Date Days 37628 2016-02-02 2018-12-31 1063 264135 2016-12-15 2018-12-31 746 41837 2017-03-02 2018-12-31 669 264582 2017-07-19 2018-10-10 448 53059 2017-12-29 2018-11-05 311 265396 2018-03-10 2018-12-31 296 136319 2018-03-20 2018-12-31 286 135853 2018-04-03 2018-12-31 272 267375 2018-11-06 2018-12-31 55 265036 2018-11-14 2018-12-31 47
  • 13. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Some of who leaked AS3... AS Number Start Date End Date Days 131758 2016-11-03 2018-12-31 788 56651 2017-02-05 2018-12-31 694 265636 2017-08-31 2018-12-31 487 61681 2018-07-09 2018-12-31 175 266177 2018-08-25 2018-12-31 128 267360 2018-08-27 2018-12-31 126 135437 2018-09-04 2018-12-31 118 27787 2018-09-11 2018-12-31 111 262480 2018-11-19 2018-12-31 42 266487 2018-12-04 2018-12-31 27
  • 14. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Route leak visibility (in days)
  • 15. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Most amusing AS_PATH ever! 31019 39326 39326 3356 7029 1614 1614 1614 1614 1 2 3 4 5 TABLE_DUMP_V2|02/02/14 00:00:01|A|195.69.146.99|50763|74.122.136.0/24|50763 8943 3549 7029 1614 1614 1614 1614 1 2 3 4 5|IGP
  • 16. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Preventing such leaks ● If prepending is needed, prepend correctly i.e by repeating your own ASN multiple times ● Avoid typing ASNs by hand in config and prefer to copy paste (helps for long ASNs) ● Lookout for your router’s vendor's documentation on how to prepend ● Use tools like bgpq3 to generate filters for your neighbors ● Filter not only based on prefix but as ASN/AS_Path as well! ● IX’es can use tools like arouteserver to generate route server config with filtering ● Encourage and use RPKI!
  • 17. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Prepend Sample Config - Cisco IPv4 Create route-map which would be applied in OUT direction with specific peer route-map NetworkA-OUT permit 10 set as-path prepend 64520 64520 <--- Important to prepend your own ASN. Don’t use any other random number here! Call the route-map in out direction on the BGP session for IPv4 router bgp 64520 no synchronization bgp log-neighbor-changes neighbor 192.168.1.2 remote-as 64521 neighbor 192.168.1.2 route-map NetworkA-OUT out neighbor 192.168.1.2 route-map NetworkA-IN in no auto-summary
  • 18. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Prepend Sample Config - Cisco IPv6 Create route-map which would be applied in OUT direction with specific peer route-map NetworkA-OUT permit 10 set as-path prepend 64520 64520 <--- Important to prepend your own ASN. Don’t use any other random number here! Call the route-map in out direction on the BGP session for IPv6 ! address-family ipv6 neighbor 2001:DB8:1:1::2 activate neighbor 2001:DB8:1:1::2 route-map NetworkA-OUT out network 2001:DB8:2::/48 exit-address-family !
  • 19. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Prepend Sample Config - JunOS Create export policy which would be applied to the peer edit policy-options policy-statement Network-A-Out set term a from prefix-list Pool-set1 set term a then as-path-prepend “64520 64520” <--- Important to prepend your own ASN. Don’t use any other random number here! Call the route-map in out direction on the BGP session set protocols bgp group transits neighbor 192.168.1.2 export Network-A-Out
  • 20. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Reference 1. Oregon Route Views 2. RIPE RIS - http://www.ripe.net/data-tools/stats/ris/routing-information- service 3. Hurricane Electric BGP toolkit - bgp.he.net 4. Bgpdump tool - https://bitbucket.org/ripencc/bgpdump/wiki/Home
  • 21. Anurag Bhatia - Hurricane Electric - APRICOT 2019 - Daejeon, South Korea - Misused Top ASNs Thankyou! Questions? Peering? Twitter: @anurag_bhatia anurag@he.net AS6939 http://he.net http://as6939.peeringdb.com