evaluating network security with two-layer attack g raphs

35
Evaluating Network Security with Two- Layer Attack Graphs Anming Xie Zhuhua Cai Cong Tang Jianbin Hu Zhong Chen ACSAC (Dec., 2009) 2010/6/15 1

Upload: pascha

Post on 22-Feb-2016

36 views

Category:

Documents


0 download

DESCRIPTION

Evaluating Network Security with Two-Layer Attack G raphs. Anming Xie Zhuhua Cai Cong Tang Jianbin Hu Zhong Chen ACSAC (Dec., 2009) . Outline. Introduction Related Work Model Examples Conclusion. Attack Graphs. Describe attack scenarios - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Evaluating  Network Security with Two-Layer Attack  G raphs

1

Evaluating Network Security with Two-Layer Attack

GraphsAnming XieZhuhua CaiCong TangJianbin Hu

Zhong Chen

ACSAC (Dec., 2009)

2010/6/15

Page 2: Evaluating  Network Security with Two-Layer Attack  G raphs

2

Outline

• Introduction• Related Work• Model• Examples• Conclusion

2010/6/15

Page 3: Evaluating  Network Security with Two-Layer Attack  G raphs

3

Attack Graphs

• Describe attack scenarios• Play important roles in analyzing network

vulnerabilities

2010/6/15

Page 4: Evaluating  Network Security with Two-Layer Attack  G raphs

4

Problems

• Although there are many previous works on attack graphs about evaluating network security, some problems still need to be addressed– Scalability– Several targets for overall security of networks– Inside malicious attackers’ attacks

2010/6/15

Page 5: Evaluating  Network Security with Two-Layer Attack  G raphs

5

The Work of The Paper

• Firstly, propose a new generation model– Generate two-layer attack graphs model to reduce

computation costs

• Then, propose a measurement methodology– Evaluate network security based on adjacency

matrixes

2010/6/15

Page 6: Evaluating  Network Security with Two-Layer Attack  G raphs

6

Network Security Metrics

• Traditionally, focus on vulnerabilities as static values in different networks

• However, ignore how they could be exploited by the attackers

• An attack graph describe s all the possible ways to break into a network, and reveals actual effect among vulnerabilities

2010/6/15

Page 7: Evaluating  Network Security with Two-Layer Attack  G raphs

7

Outline

• Introduction• Related Work• Model• Examples• Conclusion

2010/6/15

Page 8: Evaluating  Network Security with Two-Layer Attack  G raphs

8

Related Works

• Resulting attack graphs are sometimes too large to be computed

• Lacks meaningful and efficient suggestions to evaluate network security

2010/6/15

Page 9: Evaluating  Network Security with Two-Layer Attack  G raphs

9

Outline

• Introduction• Related Work• Model• Examples• Conclusion

2010/6/15

Page 10: Evaluating  Network Security with Two-Layer Attack  G raphs

10

A. Generation Model

• Two assumptions– Preconditions on an exploit would never be

changed from satisfied to unsatisfied– Attackers only need user access privileges at

source host when exploiting vulnerabilities at target host

2010/6/15

Page 11: Evaluating  Network Security with Two-Layer Attack  G raphs

11

A. Generation Model

• The two-layer model– Lower layer• Describe all of the detailed attack scenarios between

each host-pair• Set up host-pair attack graphs to describe attack

sequences from one source host to one target host directly• Show how attackers obtain user or root access

privileges at the target host• N * N host-pair attack graphs at most with N hosts

2010/6/15

Page 12: Evaluating  Network Security with Two-Layer Attack  G raphs

12

A. Generation Model

• The two-layer model– Upper layer• Set up host access attack graphs to show the direct

access relationships among hosts• A node represents a host in networks, and a directed

edge between two nodes represents the access relationship between the corresponding two hosts

2010/6/15

Page 13: Evaluating  Network Security with Two-Layer Attack  G raphs

13

A. Generation Model

• Generation of host-pair attack graphs– Just deal with host’s configurations,

vulnerabilities, its network connection with source host

– Be generated very quickly and the size is small

2010/6/15

Page 14: Evaluating  Network Security with Two-Layer Attack  G raphs

14

A. Generation Model

• Generation of hosts access attack graphs– Built on the results of the host-pair attack graphs– Add a directed edge to the corresponding nodes in

hosts access graph– Edge’s label shows the corresponding privilege

which could be obtained

2010/6/15

Page 15: Evaluating  Network Security with Two-Layer Attack  G raphs

15

A. Generation Model

2010/6/15

Page 16: Evaluating  Network Security with Two-Layer Attack  G raphs

16

B. Analysis on probability of success

• Used in analysis of network security• Firstly– apply probability of success to each atomic exploit

• Secondly– calculate the probabilities of obtaining user and root

privileges successfully for each host-pair attack graph• Finally– change the edges’ label of the hosts access graph as

(HPAGID, Puser, Proot)

2010/6/15

Page 17: Evaluating  Network Security with Two-Layer Attack  G raphs

17

B. Analysis on probability of success

2010/6/15

Page 18: Evaluating  Network Security with Two-Layer Attack  G raphs

18

C. Analysis on Adjacency Matrixes

• In order to evaluate the overall network, composite these attack probabilities to a global measurement dynamically based on adjacency matrixes

• A network with N nodes, draw a hosts access graph with N +1 nodes

• Use H1, H2, · · ·, Hn to indicate hosts in the target network, and use H0 to indicate an attacker’s host.

2010/6/15

Page 19: Evaluating  Network Security with Two-Layer Attack  G raphs

19

C. Analysis on Adjacency Matrixes

• Element uij indicates the probability of obtaining user privilege from host Hi to host Hj

• C = F(A,B)– A, B, C are matrixes– F is defined as

2010/6/15

Nkji

bababa

bac

NjiNjiji

kjikkij

,,0

)*,...*,*max(

)*(max

2100

)*(max kjikkij bac )*,...*,*max( 2100 NjiNjiji bababa

Nkji ,,0

Page 20: Evaluating  Network Security with Two-Layer Attack  G raphs

20

C. Analysis on Adjacency Matrixes

• Define the power iterations of Function F

• Stable matrix– User adjacency matrix U• maximum

– Root adjacency matrix R• maximum

2010/6/15

R),(UR

1-NM(U)(U)U

I)U(,0

)U),U(()U(

1

0

1

succsucc

MN-succ

mm

F

FF

Fm

FFF

)U),U(()U( 1 mm FFF I)U(,0 0 Fm

(U)(U)U 1 MN-succ FF

R),(UR succsucc F

1-NM

Page 21: Evaluating  Network Security with Two-Layer Attack  G raphs

21

D. Network Security Measurement

• Total prospective damage of whole network brought by this attacker in host Hi is

– the set of important hosts in network is C, C H⊆• Dangerous Score

– Indicate the security level of a network– use wk rather than duk and drk. For each host Hk in C,

wk is its important factor, where 0 ≤ wk ≤ 12010/6/15

)*(

))*,*(max(

0kkCH

ikkikkCHi

rwDS

rdruduTDH

k

k

)*( 0kkCHrwDS

k

))*,*(max( ikkikkCHi rdruduTDHk

Page 22: Evaluating  Network Security with Two-Layer Attack  G raphs

22

D. Network Security Measurement

• Transition score, which evaluates the host’s action as a stepping stone when an outside attacker attacks the network

2010/6/15

CHkk

CHikki

k

k

rw

rwrTSi

)*(

)*(*

0

0

CHkk

CHikki

k

k

rw

rwrTSi

)*(

)*(*

0

0

Page 23: Evaluating  Network Security with Two-Layer Attack  G raphs

23

Outline

• Introduction• Related Work• Model• Examples• Conclusion

2010/6/15

Page 24: Evaluating  Network Security with Two-Layer Attack  G raphs

24

A. Network Environment

2010/6/15

Page 25: Evaluating  Network Security with Two-Layer Attack  G raphs

25

A. Network Environment

2010/6/15

Page 26: Evaluating  Network Security with Two-Layer Attack  G raphs

26

B. Result Attack Graphs

2010/6/15

Page 27: Evaluating  Network Security with Two-Layer Attack  G raphs

27

B. Result Attack Graphs

2010/6/15

Page 28: Evaluating  Network Security with Two-Layer Attack  G raphs

28

C. Network Security Evaluation

2010/6/15

Page 29: Evaluating  Network Security with Two-Layer Attack  G raphs

29

C. Network Security Evaluation

2010/6/15

Page 30: Evaluating  Network Security with Two-Layer Attack  G raphs

30

C. Network Security Evaluation

• Assume the set of important hosts in network is C = {F,D}

• Obtain user privilege– Prospective damage du = {200, 2000}

• Obtain root privilege– Prospective damage dr = {2000, 10000}

2010/6/15

Page 31: Evaluating  Network Security with Two-Layer Attack  G raphs

31

C. Network Security Evaluation

• Total prospective damage potentially caused by outside attackers

• Total prospective damage potentially caused by inside attackers

2010/6/15 1

Page 32: Evaluating  Network Security with Two-Layer Attack  G raphs

32

C. Network Security Evaluation

• Set important factors wk for each host Hk in C– set w = {0.2, 1}– 0.2 for host F, 1 for host D

• Dangerous Score

• Transition Score

2010/6/15

Page 33: Evaluating  Network Security with Two-Layer Attack  G raphs

33

Outline

• Introduction• Related Work• Model• Examples• Conclusion

2010/6/15

Page 34: Evaluating  Network Security with Two-Layer Attack  G raphs

34

Conclusion

• A novel generation approach and a measurement methodology

• Apply the probability of success to our attack graphs

• Results not only describe the potential attack probabilities of success launched from an outside attacker, but also describe the potential attack probabilities launched from inside malicious users

• Draw gray scale images to indicate the overall network security

2010/6/15

Page 35: Evaluating  Network Security with Two-Layer Attack  G raphs

35

Q & A

Thank you!

2010/6/15