Top Banner
Low-intensity DoS attacks on BGP infrastructure Paul Neumann One need not fear superior numbers if the opposing force has been properly scouted and appraised. George Armstrong Custer [email protected]
25

Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Mar 21, 2018

Download

Documents

VuHanh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Low-intensity DoS attacks on BGP infrastructure

Paul Neumann

One need not fear superior numbers if the opposing force has been properly scouted and appraised.

George Armstrong Custer

[email protected]

Page 2: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

DoS attacks

Aim:Wholenetworksand/orsystems,aswellasindividualhosts.

Goals:Toconsumeresourcesinorderofshu=ngdownorsubstan@aldeteriora@ngservicestothelegi@mateusers.

Resources:Bandwidth,servers/routerscompu@ng@me,[email protected],DNSflood,pingflood,packetdrop,etc.

Page 3: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

DoS attack detection

AnomaliesinthetrafficpaIern:Eventsorcondi@onswithsignificantsta@s@caldevia@onfromtheusualpaIernbasedonthedatapreviouslycollectedinstandardcondi@ons.

SIEM:Anydevia@onoverthethresholdmeantriggersincidentalert.

Inefficientforthelow-intensityDoSaIacks.

Tradi@onalmeansofdefence(firewalls,IDS,etc.)areinefficient.

Page 4: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Low-intensity DoS attacks

Newtrendinthecyberwarfare:Low-intensityDoSaIacksindis@nguishablefromregulartraffic.

Low-intensityDoSaIacksmaybeadaptedagainstHTTP,SMTP,and/orDNStraffic.

Apache-andMicroso,IIS-basedsystemsmostvulnerable.

Communica@onchannelsnotoverloadedbuthavesignificantdroppageoftherequest/acknowledgementpackets.

Page 5: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Low-intensity DoS attacks

Requireanumberofpar@cipa@ngorcompromisedhostsforroguefloodingofthetargetwithuselesspackets.

Rogueimplementa@onoftheDoSmethodswillfailifamassiveamountofanomaloustrafficisdetectedbythefirewalls.

Low-intensityDoSaIackimplementperiodicincrease(splashes)oftheroguetraffic.

Page 6: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Low-intensity DoS attacks ForbeIerefficiencysplashesaremadeclosetothe@me-outoftheopensessiontokeepthesessionalive.

Server/routerbuffersbecomegraduallyoverloaded,leadingtothedenialofservicecondi@on.

Low-intensityDoSaIacksdonotrequiresignificantlybigbandwidthorcompu@ngpower.

Page 7: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

TCP stack vulnerability Addi@ve-Increase/Mul@plica@ve-Decrease(AIMD)algorithmcombineslineargrowthoftheconges@onwindowwithanexponen@alreduc@[email protected]@onisdetected,transmiIerdecreasestransmissionratebyamul@plica@vefactor.

Mul@plica@vedecreaseistriggeredwhena@meoutoracknowledgementmessageindicatesapacketwaslost.

Itispossibletoenforcezero-bandwidththroughinjec@ngDoStrafficintotheregulartraffic.

Page 8: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Network bandwidth DoS DoSconsistsofshortpeaksofrogueimpulseswithcarefullysynchronizedperiod.

Ifcombinedtrafficduringthepeaksisbigenoughtocausepacketdroppage,transmissionwillfail.

RetransmissionwillbeaIempteda[erRetransmissionTime-Out(RTO).

IftheDoSperiodcoincideswithRTO,regulartrafficwillconstantlyencounter@me-out.

Packetlosseswillcloseto100%,andbandwidthto0.

Page 9: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Experimental topology VirtualmachinesbasedonVirtualBoxplaaorm.

EmulatedIntel Core [email protected].

Opera@ngsystem:Ubuntu Linux 14.04.HTTPservers:Apache2andnginx.DNSservers:bind9.ICMPandBGProuters:ZebraandQuagga.Networktopology:PacketTracer.AIackingOS:Kali Linux.

Page 10: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Network topology

Branchedtopology:emulatereal-worldsystems.

Dynamicrou@ng:availabilityofnodesandservices.

Page 11: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Model of DoS attack Att==0rogueusersendsthefirstimpulse,shutsdownthesystem.

Legi@mateuserencounters@me-out,forcedtowaitforretransmission,anddoubletheRTO.

RogueuserrepeatsaIackatt==1+2RTT(Round-TripTime).

Iegi@mateuserencounters@me-out,forcedtowaitforretransmissiondoublethe@me,anddoubletheRTO.

Rogueuserwillshutdowntheservicebysendingpacketsatlowrate–everyoddpointin@me.

Page 12: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

PC12,PC13–sourcesofaIack.MethodofaIack:SlowLoris.

HTTP attack

PC10–target; Main–monitorclient.

Page 13: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

HTTP attack AIackmadewiththeslowhttptestDoSsimulator:

where:-H–SlowLorismode;-u–aIackedURL;-p–@me-out;-cnumberofconnec@ons;-knumberofaIempts.

where:-c–concurrentnumberofsimulatedusers;-t–selectedperiodoftest@me.

Monitoringwasmadewithsiegestresstester:

Page 14: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Losses vs. availability

SuccessfulDoSaIackw/oseriousinvestmentinthebandwithofaIackinghosts.

Page 15: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

DoS attack on BGP system

AIackwasdrivenagainstthenetworksegmentonRouter3andRouter4.

Page 16: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

DoS attack on BGP system Networkthroughputmeasuredwithiperfu@lity.

AIack:

Scenario1:DirectaIackonQuagga.

Scenario2:AIackonBGPinfrastructurebehindRouter4tocompromiserou@ngchannel.

Page 17: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Attack on Quagga SYN-ACKpacketssentwith5sec.@me-out.

UsingscapyPythonscrip@ngu@lity:

Page 18: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Attack on Quagga Handshakeini@alizedandprocessedexcepttheESTABLISHEDstatus.

QuaggarespondswithRSTpackettotheroguerequests.

Changingtime.sleep()parameterinthe1to300rangeresultedinclosingconnec@onwithSYN-RECVstatus.

Noproblemswithavailability:

Page 19: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Analysis Successfullow-intensityDoSaIackrequiresBGPemula@ngso[ware.

Legi@mateconnec@ontoroguerequestspossibleonlyonmisconfiguredservers.

DataexchangebetweenBGPneighboursbasedonAccessLists(ACL):

- permissiontotransmitroutestoaneighbour,- permissiontoreceiveroutesfromaneighbour.

Page 20: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Router-in-the-Middle attack AIackdrivenattheserverbehindaIackedrouter.

Goal:Toforcetheroutertolowerthebandwidthduetoprocessingroguetrafficgeneratedfromlow-intensityDoSaIack.

AIackedwasPC13behindRouter4:

Networkthroughputmeasuredwithiperfu@lity.

Page 21: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Analysis Nochangesinthethroughput:

Slightdroppageofthespeedresultsfrominterfaceset-uptomatchreal-worldcondi@ons.Trafficgeneratedfromlow-intensityDoSaIackdoesn’taffecttheborderrouter’sbandwidth.Networkthroughputmeasuredwithiperfu@lity.

Page 22: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Analysis AIacksonsystemswithdefaultconfigura@onweresuccessful.

Low-intensityDoSaIacksdeterioratechannelbandwidth.

Asaruledefaultconfigura@onsignoreparameterstocounter-actaIacks.Quaggaisaremarkableexcep@on.

ItresultsindenialofHTTPservicestolegi@mateusers.

Page 23: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Comparison

Normaltraffic.

TrafficunderaIack.

Page 24: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Conclusions Aleksandar Kuzmanovic, Edward W. Knightly. Low-rate TCP-targeted denial of service attacks and counter strategies. IEEE/ACM Trans. Netw. – 2006. – No 14 (4). – С. 683-696.

discusseshowlow-intensityDoSaIacksonrou@ngprotocolsmaycauseavalancheeffectanddestroysubstan@alsegmentsoftheInternet.

ExperimentprovesthatsuchanaIackmaysucceedonlyinthepresenceofmanyfactors,includingroutersmisconfigura@on,substan@alamountofcompu@ngresources,andwell-coordinatedscenariooftheaIack.

Page 25: Low-intensity DoS attacks on BGP infrastructure - RIPE DoS attacks on... · Low-intensity DoS attacks on BGP infrastructure ... Kali Linux. Network topology ... Using scapy Python

Questions?

Thank you for your attention!