SlideShare a Scribd company logo
1 of 44
BGP Anomaly Detection
Bahaa Al-Musawi
PhD candidate
Supervisors: Dr. Philip Branch and Prof.
Grenville Armitage
balmusawi@swin.edu.au
Centre for Advanced Internet Architectures (CAIA)
Swinburne University of Technology
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 2CAIA Seminar
Outline
• BGP
• BGP Anomalies
• BGP Testbed
• Summary
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 3CAIA Seminar
Outline
• BGP
• BGP Anomalies
• BGP Testbed
• Summary
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 4CAIA Seminar
Border Gateway Protocol (BGP)
• The Internet is a decentralized global network
comprised of tens of thousands of Autonomous
Systems (ASes)
• BGP is the Internet’s default Inter-domain routing
protocol
An example of routing topology
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 5CAIA Seminar
Border Gateway Protocol (BGP)
• BGP (RFC1105), BGP2 (RFC1163), BGP3
(RFC1267), and BGP4 with last revision (RFC4271)
• BGP is a path vector protocol
• BGP supports Classless Inter-domain Routing (CIDR),
ex. prefix 192.2.2.0/24 192.2.2.1-192.2.2.255
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 6CAIA Seminar
Connecting a new BGP router
Border Gateway Protocol (BGP)
• BGP is an incremental protocol
• Routing Information Base (RIB)
• Updates
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 7CAIA Seminar
Announcing a new prefix by an AS
Border Gateway Protocol (BGP)
• BGP is an incremental protocol
• Routing Information Base (RIB)
• Updates
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 8CAIA Seminar
BGP Policies
• ASes are the unit of routing policy in BGP
• ASes relationships: customer-provider and peer-to-peer
• BGP routing policies:
• Business relationships
• Traffic engineering
• Scalability
• Security related policies
• Number of configuration lines in a single BGP
router can range from hundreds to thousands lines
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 9CAIA Seminar
Border Gateway Protocol (BGP)
Growth of BGP Table since 1994 from http://bgp.potaroo.net/
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 10CAIA Seminar
BGP Weakness
• BGP based on the trust between all its participants
• BGP does not employ any authentication measures for
advertising routes
• BGP is vulnerable to different types of attacks
• 2005, TTNet announced more than 100,000 incorrect routes
• 2006, AS27506 hijacked panix domain
• 2012, Dodo ISP incident
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 11CAIA Seminar
Outline
• BGP
• BGP Anomalies
• BGP Testbed
• Summary
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 12CAIA Seminar
BGP Anomalies
• Anomalies are patterns in a data set that do not follow
expected behavior
• No BGP updates are sent when there is no change in
topology and/or policies for a network running BGP
• In the real world, many ASes are unstable causing
propagation of many abnormal BGP updates
• Distinguishing abnormal BGP updates from a serious
attack is a challenge
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 13CAIA Seminar
Types of BGP Anomalies
1. Direct and Intended Disruptions
2. Direct and Unintended Disruptions
3. Indirect Attacks
4. Hardware Failure
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 14CAIA Seminar
1. Direct and Intended Disruptions
• This type of disruption refers to all types of BGP
hijacking which can appear in different scenarios such
as prefix and sub-prefix hijack.
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 15CAIA Seminar
1. Direct and Intended Disruptions
• False Positive
• Legitimate reasons for anomalous routing updates
• Multi-homing with static link aggregation
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 16CAIA Seminar
1. Direct and Intended Disruptions
• Examples
• May 2005, AS174 hijacked one of Google prefixes: lose connectivity to
the google.com domain for nearly an hour
• April 2011, Link Telecom incident: an attacker hijacked AS12812 and its
prefixes for a round 6 months
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 17CAIA Seminar
2. Direct and Unintended Disruptions
• Refers to BGP misconfiguration such as:
• Pakistan incident-2008: advertised an invalid YouTube prefix causing
many ASes to lose access to the site
• Indosat incident-2014: propagated over 320,000 incorrect routes
Pakistan event 2008
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 18CAIA Seminar
3. Indirect Disruptions
• Nimda-2001: around 30 fold increase of BGP updates
was observed
• Slammer-2003: dramatic spikes in number of BGP
updates
Updates Messages During Slammer Attack from 22-29 January 2003
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 19CAIA Seminar
4. Hardware Failure
• Moscow blackout-2005: Several hours
• Mediterranean cable-2008: > 20 countries
Number of BGP Updates during Moscow event
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 20CAIA Seminar
BGP Anomalies Detection Techniques
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 21CAIA Seminar
BGP Anomalies Detection Techniques
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 22CAIA Seminar
BGP Statistics
• The huge variance in the size of the Internet is leading
towards increasing instability of BGP
• 40K anomalous route events were reported in the 12
months from May 2011
• 20% of the hijacking and misconfigurations lasted less
than 10 minutes but with the ability to pollute 90% of
the Internet in less than 2 minutes
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 23CAIA Seminar
BGP Anomalies
Key Requirements for a next generation of BGP anomaly
detection:
• Detect in near real-time different types of BGP disruptions
• Identify type of BGP disruptions
• Locate the source of disruption
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 24CAIA Seminar
Outline
• BGP
• BGP Anomalies
• BGP Testbed
• Summary
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 25CAIA Seminar
BGP Testbed
Why BGP Testbed is important ?
1.Lack of ground truth timestamps for available BGP
anomalies events
2.Enable examination of different types of BGP anomalies
to help in their identification
3.On available BGP testbeds such as the PEER project,
no hijacking or misconfiguration is allowed
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 26CAIA Seminar
BGP Testbed
Types of BGP testbed that have been used:
1.Quagga
2.Swinburne/ ICT Cisco Labs
3.Virtual Internet Routing Lab (VIRL)
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 27CAIA Seminar
Quagga
• Routing S/W package that provides TCP/IP based
routing services.
• Supports many routing protocols such as RIP, OSPF,
IS-IS, and BGP
Simple BGP Topology on 9 VMs running Quagga
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 28CAIA Seminar
Quagga
• Difficult to manage large scale network topology
• No Virtualization support
• No. of nodes is limited to H/W specifications
• No chance to try other router OSs such as IOS and
Junos
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 29CAIA Seminar
Swinburne/ICT Cisco Labs
• Totally 265 Cisco routers
• 205 routers Cisco model 2811
• 60 routers Cisco model 2620XM
• Swinburne offers a tool to manage configuration of
devices
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 30CAIA Seminar
Swinburne/ICT Cisco Labs
Simple BGP topology
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 31CAIA Seminar
Swinburne/ICT Cisco Labs
• Time consuming to setup and tear-down a network
• Limited availability of labs because of teaching
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 32CAIA Seminar
Managing connections
• Difficult to manage network connections with a large
scale network
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 33CAIA Seminar
Swinburne/ICT Cisco Labs
• Still difficult to manage configuration of routers in a
large scale network
• No Virtualization capability
• No chance to try latest Cisco IOS versions or other
Routers OSs
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 34CAIA Seminar
VIRL Cisco Software
• Virtual Internet Routing Lab
• Uses VMMaestro, OpenStack, Autonetkit, and Ubuntu
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 35CAIA Seminar
VIRL Cisco Software
• Easy to setup and teardown a network
• Portability and repeatability
• Virtualization capability
• Simplified packet capture
• Deployment of different OSs
• Cisco IOS such IOS,IOS XR, IOS XE, and NX-OS
• Servers such as Ubuntu and FreeBSD
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 36CAIA Seminar
VIRL Cisco Software
15 nodes running on VIRL requires:
• 4 CPU cores
• 8 GB DRAM
• Internet Access
My target network is > 200 nodes which requires
• 40 CPU cores
• 512 GB DRAM
What can I do?
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 37CAIA Seminar
VIRL Cisco Software
• ASK ITS at Swinburne
• 10 nodes each with 8 cores and 24 GB DRAM
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 38CAIA Seminar
Accessing 10 nodes at EN building
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 39CAIA Seminar
VIRL Supports graphml format
http://www.topology-zoo.org/
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 40CAIA Seminar
Current/Future Work
• Apply one of exist global network topologies
• Inject BGP updates
• Create different anomalies and apply different
approaches to detecting them
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 41CAIA Seminar
Outline
• BGP
• BGP Anomalies
• BGP Testbed
• Summary
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 42CAIA Seminar
Summary
• BGP is responsible for managing and exchanging
Network NLRI between ASes with guarantee of
avoiding loops
• BGP is vulnerable to different types of anomalies
• Key requirements for a next generation of BGP
anomalies detection
• Challenges of building BGP testbed especially for
large scale network
• VIRL offers a variety of facilities and options with short
time to setup and tear down a network
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 43CAIA Seminar
Acknowledgment
• VIRL team at Cisco for providing free license and
support
• Simon Forsayeth from ITS / Swinburne University for
his help and support to make the use of 10 nodes
possible with VIRL
http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 44CAIA Seminar
Questions

More Related Content

Viewers also liked

Ayasdi Energy Summit, September 2014, Gunnar Carlsson
Ayasdi Energy Summit, September 2014, Gunnar CarlssonAyasdi Energy Summit, September 2014, Gunnar Carlsson
Ayasdi Energy Summit, September 2014, Gunnar CarlssonAyasdi
 
Listino prezzi Lexus IS Hybrid
Listino prezzi Lexus IS HybridListino prezzi Lexus IS Hybrid
Listino prezzi Lexus IS HybridAutoblog.it
 
Listino Prezzi McLaren 540C
Listino Prezzi McLaren 540CListino Prezzi McLaren 540C
Listino Prezzi McLaren 540CAutoblog.it
 
Renault Kadjar: scheda tecnica
Renault Kadjar: scheda tecnicaRenault Kadjar: scheda tecnica
Renault Kadjar: scheda tecnicaautoblogpuntoit
 
How to get http query parameters in mule
How to get http query parameters in muleHow to get http query parameters in mule
How to get http query parameters in muleRamakrishna kapa
 
Listino prezzi aggiornato BMW: gamma serie 1
Listino prezzi aggiornato BMW: gamma serie 1Listino prezzi aggiornato BMW: gamma serie 1
Listino prezzi aggiornato BMW: gamma serie 1autoblogpuntoit
 
Mitsubishi Outlander PHEV
Mitsubishi Outlander PHEVMitsubishi Outlander PHEV
Mitsubishi Outlander PHEVAutoblog.it
 
Monitoring co2 emissions from new passenger cars in the eu
Monitoring co2 emissions from new passenger cars in the euMonitoring co2 emissions from new passenger cars in the eu
Monitoring co2 emissions from new passenger cars in the euAutoblog.it
 
16 Campaign brochure_pages_print
16 Campaign brochure_pages_print16 Campaign brochure_pages_print
16 Campaign brochure_pages_printCortney Christensen
 
Reglamento Estatal de Jalisco de Zonificación
Reglamento Estatal de Jalisco de ZonificaciónReglamento Estatal de Jalisco de Zonificación
Reglamento Estatal de Jalisco de ZonificaciónCharlsarq
 
Listino prezzi Nissan NV400 Bus Van Combi
Listino prezzi Nissan NV400 Bus Van CombiListino prezzi Nissan NV400 Bus Van Combi
Listino prezzi Nissan NV400 Bus Van CombiAutoblog.it
 
Listino prezzi BMW Serie 3 Touring
Listino prezzi BMW Serie 3 Touring Listino prezzi BMW Serie 3 Touring
Listino prezzi BMW Serie 3 Touring autoblogpuntoit
 
Volkswagen Golf: listino prezzi
Volkswagen Golf: listino prezziVolkswagen Golf: listino prezzi
Volkswagen Golf: listino prezziautoblogpuntoit
 
Listino prezzi Jeep Cherokee 2016 agosto
Listino prezzi Jeep Cherokee 2016 agostoListino prezzi Jeep Cherokee 2016 agosto
Listino prezzi Jeep Cherokee 2016 agostoAutoblog.it
 
Volkswagen eco up!: Scheda tecnica
Volkswagen eco up!: Scheda tecnicaVolkswagen eco up!: Scheda tecnica
Volkswagen eco up!: Scheda tecnicaautoblogpuntoit
 
Caratteristiche Tecniche Renault Megane Sporter diesel
Caratteristiche Tecniche Renault Megane Sporter dieselCaratteristiche Tecniche Renault Megane Sporter diesel
Caratteristiche Tecniche Renault Megane Sporter dieselAutoblog.it
 

Viewers also liked (20)

Ayasdi Energy Summit, September 2014, Gunnar Carlsson
Ayasdi Energy Summit, September 2014, Gunnar CarlssonAyasdi Energy Summit, September 2014, Gunnar Carlsson
Ayasdi Energy Summit, September 2014, Gunnar Carlsson
 
Apple in 2010
Apple in 2010Apple in 2010
Apple in 2010
 
Listino prezzi Lexus IS Hybrid
Listino prezzi Lexus IS HybridListino prezzi Lexus IS Hybrid
Listino prezzi Lexus IS Hybrid
 
Listino Prezzi McLaren 540C
Listino Prezzi McLaren 540CListino Prezzi McLaren 540C
Listino Prezzi McLaren 540C
 
Renault Kadjar: scheda tecnica
Renault Kadjar: scheda tecnicaRenault Kadjar: scheda tecnica
Renault Kadjar: scheda tecnica
 
How to get http query parameters in mule
How to get http query parameters in muleHow to get http query parameters in mule
How to get http query parameters in mule
 
Listino prezzi aggiornato BMW: gamma serie 1
Listino prezzi aggiornato BMW: gamma serie 1Listino prezzi aggiornato BMW: gamma serie 1
Listino prezzi aggiornato BMW: gamma serie 1
 
Sap
SapSap
Sap
 
Mitsubishi Outlander PHEV
Mitsubishi Outlander PHEVMitsubishi Outlander PHEV
Mitsubishi Outlander PHEV
 
Monitoring co2 emissions from new passenger cars in the eu
Monitoring co2 emissions from new passenger cars in the euMonitoring co2 emissions from new passenger cars in the eu
Monitoring co2 emissions from new passenger cars in the eu
 
16 Campaign brochure_pages_print
16 Campaign brochure_pages_print16 Campaign brochure_pages_print
16 Campaign brochure_pages_print
 
Pig
PigPig
Pig
 
Reglamento Estatal de Jalisco de Zonificación
Reglamento Estatal de Jalisco de ZonificaciónReglamento Estatal de Jalisco de Zonificación
Reglamento Estatal de Jalisco de Zonificación
 
Listino prezzi Nissan NV400 Bus Van Combi
Listino prezzi Nissan NV400 Bus Van CombiListino prezzi Nissan NV400 Bus Van Combi
Listino prezzi Nissan NV400 Bus Van Combi
 
Hsqldb tutorial
Hsqldb tutorialHsqldb tutorial
Hsqldb tutorial
 
Listino prezzi BMW Serie 3 Touring
Listino prezzi BMW Serie 3 Touring Listino prezzi BMW Serie 3 Touring
Listino prezzi BMW Serie 3 Touring
 
Volkswagen Golf: listino prezzi
Volkswagen Golf: listino prezziVolkswagen Golf: listino prezzi
Volkswagen Golf: listino prezzi
 
Listino prezzi Jeep Cherokee 2016 agosto
Listino prezzi Jeep Cherokee 2016 agostoListino prezzi Jeep Cherokee 2016 agosto
Listino prezzi Jeep Cherokee 2016 agosto
 
Volkswagen eco up!: Scheda tecnica
Volkswagen eco up!: Scheda tecnicaVolkswagen eco up!: Scheda tecnica
Volkswagen eco up!: Scheda tecnica
 
Caratteristiche Tecniche Renault Megane Sporter diesel
Caratteristiche Tecniche Renault Megane Sporter dieselCaratteristiche Tecniche Renault Megane Sporter diesel
Caratteristiche Tecniche Renault Megane Sporter diesel
 

Similar to BGP Anomaly Detection

Detecting BGP Instability Using RQA
Detecting BGP Instability Using RQADetecting BGP Instability Using RQA
Detecting BGP Instability Using RQAUniversity of Kufa
 
IPv6 Development in ITB 2013
IPv6 Development in ITB 2013IPv6 Development in ITB 2013
IPv6 Development in ITB 2013Affan Basalamah
 
How to Implement SDN Technology in ITB
How to Implement SDN Technology in ITBHow to Implement SDN Technology in ITB
How to Implement SDN Technology in ITBSDNRG ITB
 
#vBrownbag EMEA VCAP5-CIA Objectives 3
#vBrownbag EMEA VCAP5-CIA Objectives 3#vBrownbag EMEA VCAP5-CIA Objectives 3
#vBrownbag EMEA VCAP5-CIA Objectives 3Andrea Mauro
 
Rapid Detection of BGP Anomalies
Rapid Detection of BGP AnomaliesRapid Detection of BGP Anomalies
Rapid Detection of BGP AnomaliesAPNIC
 
Implementation ans analysis_of_quic_for_mqtt
Implementation ans analysis_of_quic_for_mqttImplementation ans analysis_of_quic_for_mqtt
Implementation ans analysis_of_quic_for_mqttPuneet Kumar
 
Internet Measurements of the COVID-19 Pandemic
Internet Measurements of the COVID-19 PandemicInternet Measurements of the COVID-19 Pandemic
Internet Measurements of the COVID-19 PandemicRIPE NCC
 
Service Provider Wi-Fi
Service Provider Wi-FiService Provider Wi-Fi
Service Provider Wi-FiCisco Canada
 
ARM 7: IPv6 deployment - where are we now?
ARM 7: IPv6 deployment - where are we now?ARM 7: IPv6 deployment - where are we now?
ARM 7: IPv6 deployment - where are we now?APNIC
 
Myanmar Member Gathering
Myanmar Member GatheringMyanmar Member Gathering
Myanmar Member GatheringAPNIC
 
ASCC Network Experience in IPv6
ASCC Network Experience in IPv6ASCC Network Experience in IPv6
ASCC Network Experience in IPv6Ethern Lin
 
Community tools to fight against DDoS
Community tools to fight against DDoSCommunity tools to fight against DDoS
Community tools to fight against DDoSFakrul Alam
 
Unicon July 2015 IAM Briefing
Unicon July 2015 IAM BriefingUnicon July 2015 IAM Briefing
Unicon July 2015 IAM BriefingJohn Gasper
 
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
 
fiware-lab-dev-4.pdf
fiware-lab-dev-4.pdffiware-lab-dev-4.pdf
fiware-lab-dev-4.pdfssuser8c74ba
 

Similar to BGP Anomaly Detection (20)

Detecting BGP Instability Using RQA
Detecting BGP Instability Using RQADetecting BGP Instability Using RQA
Detecting BGP Instability Using RQA
 
BGP Replay Tool (BRT) V0.1
BGP Replay Tool (BRT) V0.1BGP Replay Tool (BRT) V0.1
BGP Replay Tool (BRT) V0.1
 
IPv6 Development in ITB 2013
IPv6 Development in ITB 2013IPv6 Development in ITB 2013
IPv6 Development in ITB 2013
 
IPv6 and Telecom: IPv4 Is FInally Running Out. Now What?
IPv6 and Telecom: IPv4 Is FInally Running Out. Now What?IPv6 and Telecom: IPv4 Is FInally Running Out. Now What?
IPv6 and Telecom: IPv4 Is FInally Running Out. Now What?
 
How to Implement SDN Technology in ITB
How to Implement SDN Technology in ITBHow to Implement SDN Technology in ITB
How to Implement SDN Technology in ITB
 
#vBrownbag EMEA VCAP5-CIA Objectives 3
#vBrownbag EMEA VCAP5-CIA Objectives 3#vBrownbag EMEA VCAP5-CIA Objectives 3
#vBrownbag EMEA VCAP5-CIA Objectives 3
 
Rapid Detection of BGP Anomalies
Rapid Detection of BGP AnomaliesRapid Detection of BGP Anomalies
Rapid Detection of BGP Anomalies
 
Implementation ans analysis_of_quic_for_mqtt
Implementation ans analysis_of_quic_for_mqttImplementation ans analysis_of_quic_for_mqtt
Implementation ans analysis_of_quic_for_mqtt
 
Internet Measurements of the COVID-19 Pandemic
Internet Measurements of the COVID-19 PandemicInternet Measurements of the COVID-19 Pandemic
Internet Measurements of the COVID-19 Pandemic
 
Service Provider Wi-Fi
Service Provider Wi-FiService Provider Wi-Fi
Service Provider Wi-Fi
 
ARM 7: IPv6 deployment - where are we now?
ARM 7: IPv6 deployment - where are we now?ARM 7: IPv6 deployment - where are we now?
ARM 7: IPv6 deployment - where are we now?
 
Myanmar Member Gathering
Myanmar Member GatheringMyanmar Member Gathering
Myanmar Member Gathering
 
WiFi Insecurity2013
WiFi Insecurity2013WiFi Insecurity2013
WiFi Insecurity2013
 
ASCC Network Experience in IPv6
ASCC Network Experience in IPv6ASCC Network Experience in IPv6
ASCC Network Experience in IPv6
 
Community tools to fight against DDoS
Community tools to fight against DDoSCommunity tools to fight against DDoS
Community tools to fight against DDoS
 
Community Tools to Fight Against DDoS
Community Tools to Fight Against DDoS Community Tools to Fight Against DDoS
Community Tools to Fight Against DDoS
 
Unicon July 2015 IAM Briefing
Unicon July 2015 IAM BriefingUnicon July 2015 IAM Briefing
Unicon July 2015 IAM Briefing
 
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
 
BGP
BGPBGP
BGP
 
fiware-lab-dev-4.pdf
fiware-lab-dev-4.pdffiware-lab-dev-4.pdf
fiware-lab-dev-4.pdf
 

Recently uploaded

notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfRagavanV2
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoordharasingh5698
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 

Recently uploaded (20)

notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 

BGP Anomaly Detection

  • 1. BGP Anomaly Detection Bahaa Al-Musawi PhD candidate Supervisors: Dr. Philip Branch and Prof. Grenville Armitage balmusawi@swin.edu.au Centre for Advanced Internet Architectures (CAIA) Swinburne University of Technology
  • 2. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 2CAIA Seminar Outline • BGP • BGP Anomalies • BGP Testbed • Summary
  • 3. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 3CAIA Seminar Outline • BGP • BGP Anomalies • BGP Testbed • Summary
  • 4. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 4CAIA Seminar Border Gateway Protocol (BGP) • The Internet is a decentralized global network comprised of tens of thousands of Autonomous Systems (ASes) • BGP is the Internet’s default Inter-domain routing protocol An example of routing topology
  • 5. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 5CAIA Seminar Border Gateway Protocol (BGP) • BGP (RFC1105), BGP2 (RFC1163), BGP3 (RFC1267), and BGP4 with last revision (RFC4271) • BGP is a path vector protocol • BGP supports Classless Inter-domain Routing (CIDR), ex. prefix 192.2.2.0/24 192.2.2.1-192.2.2.255
  • 6. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 6CAIA Seminar Connecting a new BGP router Border Gateway Protocol (BGP) • BGP is an incremental protocol • Routing Information Base (RIB) • Updates
  • 7. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 7CAIA Seminar Announcing a new prefix by an AS Border Gateway Protocol (BGP) • BGP is an incremental protocol • Routing Information Base (RIB) • Updates
  • 8. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 8CAIA Seminar BGP Policies • ASes are the unit of routing policy in BGP • ASes relationships: customer-provider and peer-to-peer • BGP routing policies: • Business relationships • Traffic engineering • Scalability • Security related policies • Number of configuration lines in a single BGP router can range from hundreds to thousands lines
  • 9. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 9CAIA Seminar Border Gateway Protocol (BGP) Growth of BGP Table since 1994 from http://bgp.potaroo.net/
  • 10. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 10CAIA Seminar BGP Weakness • BGP based on the trust between all its participants • BGP does not employ any authentication measures for advertising routes • BGP is vulnerable to different types of attacks • 2005, TTNet announced more than 100,000 incorrect routes • 2006, AS27506 hijacked panix domain • 2012, Dodo ISP incident
  • 11. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 11CAIA Seminar Outline • BGP • BGP Anomalies • BGP Testbed • Summary
  • 12. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 12CAIA Seminar BGP Anomalies • Anomalies are patterns in a data set that do not follow expected behavior • No BGP updates are sent when there is no change in topology and/or policies for a network running BGP • In the real world, many ASes are unstable causing propagation of many abnormal BGP updates • Distinguishing abnormal BGP updates from a serious attack is a challenge
  • 13. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 13CAIA Seminar Types of BGP Anomalies 1. Direct and Intended Disruptions 2. Direct and Unintended Disruptions 3. Indirect Attacks 4. Hardware Failure
  • 14. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 14CAIA Seminar 1. Direct and Intended Disruptions • This type of disruption refers to all types of BGP hijacking which can appear in different scenarios such as prefix and sub-prefix hijack.
  • 15. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 15CAIA Seminar 1. Direct and Intended Disruptions • False Positive • Legitimate reasons for anomalous routing updates • Multi-homing with static link aggregation
  • 16. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 16CAIA Seminar 1. Direct and Intended Disruptions • Examples • May 2005, AS174 hijacked one of Google prefixes: lose connectivity to the google.com domain for nearly an hour • April 2011, Link Telecom incident: an attacker hijacked AS12812 and its prefixes for a round 6 months
  • 17. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 17CAIA Seminar 2. Direct and Unintended Disruptions • Refers to BGP misconfiguration such as: • Pakistan incident-2008: advertised an invalid YouTube prefix causing many ASes to lose access to the site • Indosat incident-2014: propagated over 320,000 incorrect routes Pakistan event 2008
  • 18. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 18CAIA Seminar 3. Indirect Disruptions • Nimda-2001: around 30 fold increase of BGP updates was observed • Slammer-2003: dramatic spikes in number of BGP updates Updates Messages During Slammer Attack from 22-29 January 2003
  • 19. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 19CAIA Seminar 4. Hardware Failure • Moscow blackout-2005: Several hours • Mediterranean cable-2008: > 20 countries Number of BGP Updates during Moscow event
  • 20. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 20CAIA Seminar BGP Anomalies Detection Techniques
  • 21. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 21CAIA Seminar BGP Anomalies Detection Techniques
  • 22. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 22CAIA Seminar BGP Statistics • The huge variance in the size of the Internet is leading towards increasing instability of BGP • 40K anomalous route events were reported in the 12 months from May 2011 • 20% of the hijacking and misconfigurations lasted less than 10 minutes but with the ability to pollute 90% of the Internet in less than 2 minutes
  • 23. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 23CAIA Seminar BGP Anomalies Key Requirements for a next generation of BGP anomaly detection: • Detect in near real-time different types of BGP disruptions • Identify type of BGP disruptions • Locate the source of disruption
  • 24. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 24CAIA Seminar Outline • BGP • BGP Anomalies • BGP Testbed • Summary
  • 25. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 25CAIA Seminar BGP Testbed Why BGP Testbed is important ? 1.Lack of ground truth timestamps for available BGP anomalies events 2.Enable examination of different types of BGP anomalies to help in their identification 3.On available BGP testbeds such as the PEER project, no hijacking or misconfiguration is allowed
  • 26. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 26CAIA Seminar BGP Testbed Types of BGP testbed that have been used: 1.Quagga 2.Swinburne/ ICT Cisco Labs 3.Virtual Internet Routing Lab (VIRL)
  • 27. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 27CAIA Seminar Quagga • Routing S/W package that provides TCP/IP based routing services. • Supports many routing protocols such as RIP, OSPF, IS-IS, and BGP Simple BGP Topology on 9 VMs running Quagga
  • 28. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 28CAIA Seminar Quagga • Difficult to manage large scale network topology • No Virtualization support • No. of nodes is limited to H/W specifications • No chance to try other router OSs such as IOS and Junos
  • 29. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 29CAIA Seminar Swinburne/ICT Cisco Labs • Totally 265 Cisco routers • 205 routers Cisco model 2811 • 60 routers Cisco model 2620XM • Swinburne offers a tool to manage configuration of devices
  • 30. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 30CAIA Seminar Swinburne/ICT Cisco Labs Simple BGP topology
  • 31. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 31CAIA Seminar Swinburne/ICT Cisco Labs • Time consuming to setup and tear-down a network • Limited availability of labs because of teaching
  • 32. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 32CAIA Seminar Managing connections • Difficult to manage network connections with a large scale network
  • 33. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 33CAIA Seminar Swinburne/ICT Cisco Labs • Still difficult to manage configuration of routers in a large scale network • No Virtualization capability • No chance to try latest Cisco IOS versions or other Routers OSs
  • 34. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 34CAIA Seminar VIRL Cisco Software • Virtual Internet Routing Lab • Uses VMMaestro, OpenStack, Autonetkit, and Ubuntu
  • 35. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 35CAIA Seminar VIRL Cisco Software • Easy to setup and teardown a network • Portability and repeatability • Virtualization capability • Simplified packet capture • Deployment of different OSs • Cisco IOS such IOS,IOS XR, IOS XE, and NX-OS • Servers such as Ubuntu and FreeBSD
  • 36. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 36CAIA Seminar VIRL Cisco Software 15 nodes running on VIRL requires: • 4 CPU cores • 8 GB DRAM • Internet Access My target network is > 200 nodes which requires • 40 CPU cores • 512 GB DRAM What can I do?
  • 37. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 37CAIA Seminar VIRL Cisco Software • ASK ITS at Swinburne • 10 nodes each with 8 cores and 24 GB DRAM
  • 38. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 38CAIA Seminar Accessing 10 nodes at EN building
  • 39. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 39CAIA Seminar VIRL Supports graphml format http://www.topology-zoo.org/
  • 40. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 40CAIA Seminar Current/Future Work • Apply one of exist global network topologies • Inject BGP updates • Create different anomalies and apply different approaches to detecting them
  • 41. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 41CAIA Seminar Outline • BGP • BGP Anomalies • BGP Testbed • Summary
  • 42. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 42CAIA Seminar Summary • BGP is responsible for managing and exchanging Network NLRI between ASes with guarantee of avoiding loops • BGP is vulnerable to different types of anomalies • Key requirements for a next generation of BGP anomalies detection • Challenges of building BGP testbed especially for large scale network • VIRL offers a variety of facilities and options with short time to setup and tear down a network
  • 43. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 43CAIA Seminar Acknowledgment • VIRL team at Cisco for providing free license and support • Simon Forsayeth from ITS / Swinburne University for his help and support to make the use of 10 nodes possible with VIRL
  • 44. http://caia.swin.edu.au balmusawi@swin.edu.au 11 June 2015 44CAIA Seminar Questions