• No results found

3767 0 01 17 2001 pdf

N/A
N/A
Protected

Academic year: 2020

Share "3767 0 01 17 2001 pdf"

Copied!
20
0
0

Loading.... (view fulltext now)

Full text

(1)

Distributed Denial-of-Service Attack Prevention using

Route-Based Distributed Packet Filtering

Heejo Lee

[email protected]

Network Systems Lab and CERIAS

This is joint work with Prof. Kihong Park.

CERIAS Security Seminar Jan. 17, 2001

l

Introduction to Denial-of-Service (DoS) attacks

l

Related works and research motivation

(2)

3/40 Distributed Filtering for DDoS Attack Prevention

Attacker

Normal User

Server

Overwhelming of fake requests consumes all resources on a server or network!

l

DoS Attack Style

− Demanding more resources than the target system

can supply

− Network-based DoS attacks with IP spoofing − Launching a distributed DoS (DDoS) attack

l

DoS Attack Impact

− Complete shutdown a web site.

Ÿ Yahoo, CNN, Amazon, eBay (Feb. 2000)

(3)

5/40 Distributed Filtering for DDoS Attack Prevention

l 2000 Information Security Industry Survey, Sep. 2000

− 51% companies experienced DoS attacks.

l Top 10 Security Stories of 2000, ZDNet News, Dec. 2000

− No.1 and No.2 stories are related to DoS.

l New Year’s DDoS Advisory, NIPC, Dec. 2000

− More effective DDoS exploits have been developed.

− Trin00,Tribal Flood Net, TFN2K,MStream, Stacheldraht, Trinity V3, Shaft, Godswrath…

l

Vulnerability

− Any system is susceptible to DoS attacks.

l

Traceback Problem

− IP spoofing enables an attacker to hide his identity.

(4)

7/40 Distributed Filtering for DDoS Attack Prevention

l

Resource management

− Mitigating the impact on a victim [Schuba97, Banga99]. − Does not eliminate the problem.

l

Edge filtering

− Ingress filtering in border gateways [Ferguson00]. − Requires prolonged period for broad deployment.

l

IP traceback

− Trace back to the origin of the attacking source. − Recently a few approaches have been proposed:

Traffic analysis,ICMP trace messages, packet marking.

l

Traffic analysis

[Sager98]

− Trace via traffic logs at routers

− High storage and processing overhead

l

ICMP traceback messages

[Bellovin00]

− IETF itrace working group

− Extra traffic and authentication problem

l

Probabilistic packet marking

[Savage00]
(5)

9/40 Distributed Filtering for DDoS Attack Prevention

s

t

v1 v2

v3

Router vi inscribes (vi-1,vi) onto a packet with probability p.

t

s

Attack path reconstruction

v1

v2

v3

l

Probabilistic packet marking (PPM)

− Probabilistically inscribe its local path information − Use constant space in the packet header

− Reconstruct the attack path with high probability

l

Merits

− Efficiency and implementability

l

Weaknesses

(6)

11/40 Distributed Filtering for DDoS Attack Prevention

s

t

v1 v2

v3

s’

Attack path Forged path

An attacker can use fake marking to forge a path that is equally likely as the true attack path.

t

s

v1

v2

v3

s’

Reconstructed attack path

Analysis under marking field spoofing:

l

Single source attacks

− Effective localization to within 2~5 sites.

l

Distributed attacks

− Uncertainty amplification on DDoS.

l

Further information

− Park and Lee, Tech. Rep. CSD-00-013, Purdue University,

(7)

13/40 Distributed Filtering for DDoS Attack Prevention

O X X X X X Scalability O X X X ∆ ∆ Protection O O O O X X Traceback O O ∆ ∆ ∆ O Deployment ∆ ∆ ∆ X O X Cost DPF PPM ICMP Messages Traffic Analysis Ingress Filtering Resource Manage

X: poor, ∆: good, O: excellent

l

Weaknesses of IP Traceback Mechanisms

− Post-mortem: debilitating effect before corrective actions − Bad scalability: susceptible to DDoS

l Demand for DDoS protection

(8)

15/40 Distributed Filtering for DDoS Attack Prevention

l

Packet filtering using routing information

− Filter spoofed packets traveling unexpected routes

from their specified addresses.

l

Distributed filtering

− Collective filtering on autonomous systems (AS).

0

1

2

4 3

6

7

5

8

9

Routing path of node 2

(9)

17/40 Distributed Filtering for DDoS Attack Prevention

l

G: network topology

l

T: filtering nodes

l

R: routing policies

l

F: filtering function

0

1 2

4 3

6

7

5

8

9

Routing paths from node 2

l

AS Connectivity Graph

G(V,E)

V: a set of nodes, where a node is an AS. |V|=n.

E: a set of links in G.

l

Node Type

T-node: a set of filtering nodes.

Ÿ Filter internal traffic as well as incoming traffic

U-node: a set of nodes without filtering.

(10)

19/40 Distributed Filtering for DDoS Attack Prevention

l

Routing (R)

R(u,v)

L

(u,v)

where

L

(u,v) is set of all loop-free paths from u to v.

l

Routing Policies

− Tight: single shortest-path routing, |R(u,v)| = 1.

− Multipath: multiple routing paths, 1 < |R(u,v)| < |L(u,v)|.

− Loose: any loop-free path routing, R(u,v) = L(u,v).

l

Filter for a link

e

− A function of a source and a destination

l

Route-based filters

− Maximal filter − Semi-maximal filter

} 1 , 0 { :V 2

(11)

21/40 Distributed Filtering for DDoS Attack Prevention

l

Maximal filter

− Use of all (src/dst) pairs of routing paths.

− Huge filtering table O(n2), e.g., 4GB for 16bit AS’s.

l

Semi-maximal filter

− Use of only source addresses coming via the link. − O(n), e.g., 8KB for all AS’s.

   ∈ = . otherwise , 1 ); , ( if , 0 ) ,

(s t e R s t Fe    ∈ ∈ = otherwise. ; some for if , 1 , 0 ) , (

' s t e R(s,v) v V

Fe 0 1 2 4 3 6 7 5 8 9 BGP (Border Gateway Protocol) Routing Updates - Initiated by node 2

- Shortest path routing

2:2 2:2 2:2

2:2

2:3→2

2:5→2 2:4→3→2

2: 6→5→2

2: 6→5→2

2: 7→ 6→5→2

After Completing BGP Updates from Every Nodes

Routing Table of Node 2 0: 0

1:1 3:3 4: 3 →4

Filtering Tables of Node 2 (0,2): 0111111111 (1,2): 1011111111 (3,2): 1110011111

(12)

23/40 Distributed Filtering for DDoS Attack Prevention

l Attack a:(s,t)

− Attacker at node a sends (s,t) packets to node t.

l Spoofing range Sa,t– attacker’s point of view

− a set of nodes with which node a can send spoofed packets to node t.

l Candidate range Cs,t – victim’s point of view

− a set of nodes which can send (s,t) packets.

s

a (s,t) t

S

a,t

attacker victim

C

s,t

F2 F1

Filtering at F1: S1,9={0,1,2,3,4,5} 8

6

3

5

9 7

4 2

1

0

Attacker

Victim

Routes to victim

(13)

25/40 Distributed Filtering for DDoS Attack Prevention

l

Topology

G

− Internet AS connectivities from 1997~1999.

− Random topologies.

l

Routing

R

− Tight, multi-path routing policies.

l

T-nodes

T

− R30: 30 percent of nodes chosen randomly. − R50: 50 percent of nodes chosen randomly. − VC: a vertex cover of G(V,E).

l

VC of G(V,E)

− ∀(u,v) E, u ∈VC or v∈ VC

l

T=VC

− Any node in U has only T nodes

as its neighbors.

l

Finding a minimal VC

− NP-complete problem

− Two well-known algorithms used

(14)

27/40 Distributed Filtering for DDoS Attack Prevention

n S V a

t at τ

τ = ∀ ∈ ≤

Φ , 1 , : { ) ( n S V t

a at τ

τ = ∀ ∈ ≤

Φ , 2 , : { ) ( 2 , 2 , ) 1 ( : ) , , {( ) 1 ( : ) , , {( − ∈ = − ∈ = Θ n n C a t s a n n S s t s

a at st

l Perfect proactivity

l Φ1(1): fraction of AS’s safe from spoofing attack

l DDoS prevention

l Φ2(1): fraction of AS’s from which no spoofed packets coming l Attack volume reduction

l Θ: penetrating ratio of spoofed packets

l

Impractical perfect proactivity

− Φ1(1)≈1 is hard to be achieved.

l

Effective DDoS attack prevention

− Φ2(1)≈0.88 renders most attack sites impotent.

l

Significant attack volume reduction

(15)

29/40 Distributed Filtering for DDoS Attack Prevention

l G: 1997 Internet connectivity (n=3015,|E|=5230) l T: VC→ n

l R: Tight

l F: Semi-maximal

Φ1(1)≈1 is hard to achieve!

Perfect proactivity is practically useless objective.

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

Φ2

1997 1998 1999

l G: 1997~1999 Internet connectivity

l T: VC

l R: Tight

l F: Semi-maximal

(16)

31/40 Distributed Filtering for DDoS Attack Prevention

l Θ =0.0004 when T=VC

l 99.96% attack volume

reduction

Randomly generated spoofed address has almost zero chance to reach its target!

n

C

V

s

t

st

τ

τ

=

Ψ

1 ,

,

:

{

)

(

l

IP Traceback Capability

l Localization: meaningful for τ greater than 1.

l Ψ1(5): fraction of AS’s which can resolve the attack

(17)

33/40 Distributed Filtering for DDoS Attack Prevention

l Traceback capability

− Ψ1(5)=1 for 1997~1999

AS connectivities

− Localization to within

5 possible sites

Filtering out many spoofed flows allows source identification of an attack location.

(18)

35/40 Distributed Filtering for DDoS Attack Prevention

l

Gradual reduction of traceback capability

− Ψ1(τ) ≈ 1 for =5~10

when the number of routing paths are 2~3.

DPF is still effective on multi-path routing policies!

l

Benchmarking network topologies

− Internet AS connectivities from 1997-1999 − Random graphs with link probability p − Power-law connectivity by Inet generator

l

Topological impacts

− Intimate relation to VC size and filtering performance − Internet has good characteristics for DPF

(19)

37/40 Distributed Filtering for DDoS Attack Prevention

l

Small VC on Internet

− Vertex covering with 18% nodes − Incremental

deployment feasible

1997 Internet Connectivity - Red nodes are in VC

l

Random graph generation

− Connecting any two nodes with a link probability p.

− VC on random graphs requires 55% nodes.

(20)

39/40 Distributed Filtering for DDoS Attack Prevention

l

Inet Generator

(http://topology.eecs.umich.edu/)

− Generate a graph with power-law connectivity. − VC on Inet graphs requires 32% nodes.

− Small VC has more effectiveness.

l Distributed packet filtering

− Packet filtering mechanism using routing information

l Practicality

− Implementable with BGP − Incrementally deployable

l Effectiveness

References

Related documents

Judgmental Adjustment, the 50-50 Combination, and the Divide-and-Conquer. Forecaster expertise, credibility of system forecasts and the need to rectify system forecasts were

We obtain an information-theoretic lower bound on both the peak normalized delivery time (NDT), and the expected NDT of cache-aided interference networks with uniform

There would certainly be cases where the related class (series) descriptions would be provided, with a linkage. Sharing item records might be required in particular cases, and

From health insurance to travel insurance, home and contents to automotive insurance – members can save through the CPSU’s arrangements with Union Shopper and Member

If you have any hesitation about providing information to us and/or having your information displayed on the Lanyon website or otherwise used in any manner permitted in this

By combining a regression discontinuity (RD) framework (based on a nonparametric local polynomial regression approach) with a standard event study, we find a negative and

16 look for who used e-Textbooks, then the other remaining questions include frequency, such as types of e-Textbooks used, awareness of downloading and reading offline, way of

14 The results here might suggest that nonprofits that do increase unsecured liabilities might successfully use their weakened financial position as a fundraising tool, or that