Download ppt - Computer Science - University of Central Florida

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Modeling, Early Detection, and
Mitigation of Internet Worm Attacks
Cliff C. Zou
Assistant professor
School of Computer Science
University of Central Florida
Orlando, FL
Email: [email protected]
Web: http://www.cs.ucf.edu/~czou
1
Worm propagation process

Find new targets


Compromise
targets


IP random
scanning
Exploit
vulnerability
Newly infected
join infection army
2
Worm research motivation

Code Red (Jul. 2001) : 360,000 infected in 14 hours

Slammer (Jan. 2003) : 75,000 infected in 10 minutes
Congested parts of Internet (ATMs down…)

Blaster (Aug. 2003) : 150,000 ~ 8 million infected
DDOS attack (shut down domain windowsupdate.com)

Witty (Mar. 2004) : 12,000 infected in half an hour
Attack vulnerability in ISS security products

Sasser (May 2004) : 500,000 infected within two days
Infection faster than human response !
3
How to defend against worm
attack?

Automatic response required

First, understanding worm behavior


Basis for worm detection/defense
Next, early warning of an unknown worm
Detection based on worm model
 Prediction of worm damage scale


Last, autonomous defense
Dynamic quarantine
 Self-tuning defense

4
Outline

Worm propagation modeling

Early warning of an unknown worm

Autonomous defense

Summary and current work
5
Outline

Worm propagation modeling

Early warning of an unknown worm

Autonomous defense

Summary and current work
6
Simple worm propagation model

address space, size W

N : total vulnerable

It : infected by time t


W
N-It vulnerable at time t
scan rate (per host), h
Prob. of a scan
hitting vulnerable
# of increased
infected in a unit time
7
Simple worm propagation
5 x 10
5
4
It
3
2
1
0
0
100
200
300
Time t
400
500
600
8
Code Red worm modeling
600000

Simple worm
model matches
observed Code
Red data
500000
# of monitored scans
Model
400000
300000
200000
100000
0
2

“Ideal” network condition
4
6
8
10
12
14
16
18
Time (hour)
No human countermeasures
 No network congestions
 First model work to consider these [CCS’02]

9
Witty worm modeling

Witty’s destructive behavior:
1). Send 20,000 UDP scans to 20,000 IP addresses
2). Write 65KB in a random point in hard disk
 Consider an infected computer:

Constant bandwidth  constant time

Random point writing  infected host crashes with prob.

Crashing time approximate by
to send 20,000 scans
Exponential distribution ( )
10
Witty worm modeling
12000
Witty trace
Model
10000
# of vulnerable at t
: # of crashed infected
computers at time t
It
8000
6000
4000
Memoryless
# of vulnerable at t
property
2000
0
4:30
8:00
12:00 16:00 20:00 00:00 04:00
Time (UTC) in March 20 ~ 21, 2004
hours
*Witty trace provided by U. Michigan “Internet Motion Sensor”
11
Advanced worm modeling
— hitlist, routing worm

Hitlist worm — increase I0
Contains a list of known vulnerable hosts
 Infects hit-list hosts first, then randomly scans

Lasts less than a minute

Routing worm — decrease W
Only scan BGP routable space
32
 BGP table information: W = .32£ 2


32% of IPv4 space is Internet routable
12
Hitlist, routing worm
Code Red style worm

h = 358/min

N = 360,000
400000
350000
300000

hitlist, I(0) = 10,000

routing, W=.29£
232
No. infected

250000
200000
150000
Code Red worm
Hit-list worm
Routing worm
Hitlist routing worm
100000
50000
0
0
100
200
300
400
500
600
Time (minutes)
13
Outline

Worm propagation modeling

Early warning of an unknown worm

Autonomous defense

Summary and current work
14
How to detect an unknown
worm at its early stage?

Monitor:

Worm scans to
unused IPs



Internet
TCP/SYN packets
UDP packets
Monitored data is
noisy
Monitored
traffic
Local network
Unused
IP space
15
Reflection

Worm anomaly  other anomalies?


A worm has its own propagation dynamics
Deterministic models appropriate for worms
Can we take advantage of worm
model to detect a worm?
16
Worm model in early stage
5 x 10
5
10
6
4
It
It
3
2
10
10
4
1%
2%
2
1
0
0
200
Time t
400
600
10
0
0
100
Time t
200
300
Initial stage exhibits exponential growth
17
“Trend Detection”
 Detect traffic trend, not burst
Trend: worm exponential growth trend at the beginning
Detection: estimated exponential rate a be a positive, constant value
Monitored illegitimate traffic rate
60
60
60
50
50
50
40
40
40
30
30
30
20
20
20
10
10
0
0
10
20
30
40
50
10
10
20
30
40
50
Exponential rate a on-line estimation
0.2
0
10
0.2
0.2
0.15
0.15
0.1
0.1
0.1
0.05
0.05
0.05
0
0
0
-0.05
-0.05
-0.05
0.15
-0.1
20
30
40
50
30
40
50
30
40
50
-0.1
-0.1
10
20
10
Non-worm burst traffic
20
30
40
50
10
20
Worm traffic
18
Why exponential growth
at the beginning?



Attacker’s incentive: infect as many as
possible before people’s counteractions
If not, a worm does not reach its spreading
speed limit
Slow spreading worm detected by other
ways

Security experts manual check

Honeypot, …
19
Model for estimate of worm
exponential growth rate a
Exponential model:
Zt : # of monitored scans at time t
: monitoring noise
yield
20
Code Red simulation experiments
Population: N=360,000,
Infection rate: a = 1.8/hour,
Scan rate h = N(358/min, 1002),
Monitored IP space 220,
Initially infected: I0=10
Monitoring interval: 1 minute
Consider background noise
3.5
x 10
5
0.2
Real value of a
Estimated value of a
3
0.15
2.5
It
a
2
0.1
1.5
1
0.05
0.5
0
100 200 300 400 500 600
Time t (minute)
700
0
128
150
170 190 210 230
Time t (minute)
250
At 0.3% (157 min): estimate stabilizes at a positive constant value
21
Damage evaluation —
Prediction of global vulnerable population N
yield
Estimated population N
6 x 10
5
5
4
3
2
1
0
128
150
170 190 210 230
Time t (minute)
250
Accurate prediction when less than 1% of N infected
22
Damage evaluation —
Estimation of global infected population It
: per host scan rate
: fraction of address space
monitored
# of infected hosts
: cumulative # of observed
infected hosts by time t
4 x 10
: Prob. an infected to be observed
by the monitor in a unit time
# of newly
observed
(tt+1)
# of unobserved
Infected by t
3
5
Real infected It
Observed Ct
Estimated It
2
1
0
100 200 300 400 500 600 700
Time t (minute)
Monitoring 214 IP space
(p=4£ 10-6)
23
Outline

Worm propagation modeling

Early warning of an unknown worm

Autonomous defense

Summary and current work
24
Autonomous defense principles

Principle #1  Preemptive Quarantine
Compared to attack potential damage, we
are willing to tolerate some false alarm cost
 Quarantine upon suspicious, confirm later
 Basis for our Dynamic Quarantine [WORM’03]


Principle #2  Adaptive Adjustment
More serious attack, more aggressive defense
 At any time t, minimize:

(attack damage cost) + (false alarm cost)
25
Self-tuning defense against
various network attacks

Principle #2 : Adaptive Adjustment


More severe attack, more aggressive defense
Self-tuning defense system designs:



SYN flood Distributed Denial-of-Service (DDoS) attack
Internet worm infection
DDoS attack with no source address spoofing
26
Motivation of self-tuning defense
: False positive prob.
blocking normal traffic
1
Severe attack
: False negative prob.
missing attack traffic
: Detection sensitivity
Light attack
: Fraction of attack in traffic
0
1
Q: Which operation point is “good”?
A: All operation points are good
Optimal one depends on attack severity p
27
Self-tuning defense design
Filter
Incoming
Self-tuning
optimization
Passed
Attack
estimation
Discrete time k  k+1
Optimization:
Fraction of
Fraction of
: Costdropped
of dropping
a normal traffic
passed attack
normal
: Cost of passing an attack traffic
28
Outline

Worm propagation modeling

Early warning of an unknown worm

Autonomous defense

Summary and current work
29
Worm research contribution

Worm modeling:



Early detection:



Detection based on “exponential growth trend”
Estimate/predict worm potential damage
Autonomous defense:



Two-factor model: Human counteractions; network congestion
Diurnal modeling; worm scanning strategies modeling
Dynamic quarantine (interviewed by NPR)
Self-tuning defense (patent filed by AT&T)
Email-based worm modeling and defense
30
Related documents