32
Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks Mohit Lad CEO, ThousandEyes

FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

Embed Size (px)

DESCRIPTION

The network is a key component in application delivery and is often a direct or indirect target of security attacks such as DDoS and BGP hijacking. Mitigation strategies often involve using a third party cloud service without any visibility into whether the mitigation is working well. Using real life examples, we will show how one can measure the user perceived impact of an ongoing attack, as well as identify which aspects of the mitigation are not working as desired. With this detailed availability and performance data at the various layers, financial firms can learn how to better manage ongoing attacks.

Citation preview

Page 1: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning

and BGP Hijacks

Mohit Lad CEO, ThousandEyes

Page 2: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

1

Network performance management designed for today’s dynamic and complex networks Used by 4 of the world’s top banks Founded in 2010 with an HQ in San Francisco CA and a London office Recognized by Gartner and EMA

About ThousandEyes

What We Do Our Customers’ Stories

Reduced time to troubleshoot globally load balanced infrastructure

Improved customer experience during the Brazil World Cup

Solved multi-week support issue due to an ISP cable cut in Asia

Page 3: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

2

•  Increasing size, frequency and severity of attacks

•  Exposure via external vendors (DNS, CDN, ISPs)

•  Greater complexity of corporate networks

•  Increasing importance of network for business operations

Today’s Cyber Threat Landscape

Page 4: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

3

More Networks Connected to the Internet

Source: CIDR Report

Global Routing Table Growth

Page 5: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

4

More Devices Connected to the Internet

Source: Akamai State of the Internet Reports, Q2 2010-14; Akamai blog

0

200

400

600

800

1,000

1,200

1,400

1,600

2007 2008 2009 2010 2011 2012 2013 2014

Mill

ions

IPv6

IPv4

Unique IP Addresses Observed

Page 6: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

5

Size of DDoS Attacks Increasing 50% YoY

Source: Verizon Data Breach Report 2014

Page 7: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

6

0

50

100

150

200

250

300

350

400

Q4 12 Q1 13 Q2 13 Q3 13 Q4 13 Q1 14 Q2 14

Major DDoS Attacks in 2014

February: Bitstamp

April: UltraDNS

August: PlayStation Network, Blizzard

Attack Volume Rising Major Attacks in 2014

Source: Akamai State of the Internet Q2 2014

Page 8: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

7

Three Network Security Threats We’ll Cover

BGP Hijacks DNS Poisoning DDoS Attacks

Page 9: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

BGP Hijacks

Page 10: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

9

A Primer on BGP Hijacks

AS 14340 Salesforce

AS 2914 NTT

AS 7018 AT&T

AS 3356 Level3

Border Router

Autonomous System

Salesforce advertises routes among BGP peers

to upstream ISPs

Salesforce.com advertises prefix 96.43.144.0/22

AT&T receives route advertisements to

Salesforce via Level3 and NTT

AS 4761 Indosat

Traffic Path

Page 11: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

10

A Primer on BGP Hijacks

AS 14340 Salesforce

AS 2914 NTT

AS 7018 AT&T

AS 3356 Level3

AS 4761 Indosat

Indosat also advertises prefix 96.43.144.0/22, ‘hijacking’ Salesforce’s

routes

AT&T now directs Salesforce-destined traffic

to Indosat

Traffic Path

Page 12: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

11

BGP Hijack: Normal Routes to PayPal

PayPal / Akamai prefix

Akamai Autonomous

System Comcast upstream

Page 13: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

12

BGP Hijack: Routes Advertised from Indosat

PayPal / Akamai prefix

Correct Autonomous System

Hijacked Autonomous System

Locations with completely hijacked routes

Page 14: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

13

BGP Hijack: PCCW Has No Routes to PayPal

PCCW Network only connected to Indosat

Not to Akamai / PayPal

Page 15: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

14

BGP Hijack: Causing All Traffic to Drop

Traffic transiting PCCW has no routes

and terminates

Page 16: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

DDoS Attacks

Page 17: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

16

Network Topology of a DDoS Attack

Chicago, IL

YourBank.com London

Tokyo

Atlanta

Portland, OR

Sydney

Attackers flood your web service from around the world

Internet Enterprise

Page 18: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

17

DDoS Mitigation Strategy 1: On-Premises

Chicago, IL

YourBank.com London

Tokyo

Atlanta

Portland, OR

Sydney

Appliance at network edge monitors and mitigates application-layer attacks

Internet Enterprise On-Premises DDoS Mitigation Appliance

Page 19: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

18

DDoS Mitigation Strategy 2: ISP Collaboration

Chicago, IL

YourBank.com London

Tokyo

Atlanta

Portland, OR

Sydney

Attack traffic is routed by ISPs to a remote-triggered black hole

Internet Enterprise Remote-Triggered Black Hole

ISP 1

ISP 2

Page 20: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

19

DDoS Mitigation Strategy 3: Cloud-Based

Chicago, IL

YourBank.com London

Tokyo

Atlanta

Portland, OR

Sydney

Traffic is rerouted, using DNS or BGP, to cloud-based scrubbing centers and ‘real’ traffic is routed back to your network

Internet Enterprise Scrubbing Center

Page 21: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

20

Why Monitor DDoS Attacks

Global Availability Mitigation Deployment

Mitigation Performance Vendor Collaboration

Page 22: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

21

DDoS Attack: Drop in Global Availability

Global availability issues

Problems at TCP connection and HTTP receive

phases

Availability dip to 0%

Page 23: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

22

DDoS Attack: Increased Packet Loss and Latency

Loss, latency

and jitter

Loss during height of attack

Page 24: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

23

DDoS Attack: Congested Nodes in Upstream ISPs

Nodes with >25% packet loss

Packet loss in upstream ISPs Verizon and

AT&T

HSBC bank website under

attack

High packet loss from all

testing points

Page 25: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

24

DDoS Attack: Mitigation Effectiveness

Verisign DDoS mitigation networks in yellow

Page 26: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

25

DDoS Attack: Mitigation Handoff Using BGP

New Autonomous System (VeriSign)

Prior Autonomous System (HSBC)

Withdrawn routes

New routes

HSBC prefix

Page 27: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

DNS Cache Poisoning

Page 28: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

27

DNS Cache Poisoning

Local DNS Cache

Authoritative DNS Server

dns.website.com

Attacker

www.website.com

Attacker DNS Server

dns.attack.com

www.attack.com

Attacker inserts a false record into the

DNS cache

Unsecured DNS server, no DNSSEC, no port

randomization

User

1

User requests DNS record for

www.website.com

2

Looks up record on spoofed name

server

3

User accesses spoofed URL

4

Page 29: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

28

Blocking Facebook in China

DNS availability in China <10%

Page 30: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

29

Redirecting Facebook to Alternate IP Addresses

Facebook is typically routed to

173.252.110.27, except in China

Page 31: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

30

•  Understand network topology and dependencies •  Focus on critical network services

Key Capabilities to Monitor Network Security

•  Reachability to your address blocks •  Path changes and more specific prefixes

upstream

Get global visibility

Alert on routing to your network

•  DNS, CDN and hosting providers •  DDoS mitigation vendors and ISPs

Track efficacy of external services

Implement DNSSEC

•  Prevent cache poisoning on your resolvers •  Monitor for poisoning of your records on other

networks

Page 32: FS-ISAC 2014 Troubleshooting Network Threats: DDoS Attacks, DNS Poisoning and BGP Hijacks

It’s time to see the entire picture. It’s time to see the entire picture.