Anomaly Based Intrusion Detection in Distributed Applications without global clock
Eric Totel, Mouna Hkimi, Michel Hurfin, Mourad Leslous, Yvan Labiche SEC2-2016 5 July 2016
Anomaly Based Intrusion Detection in Distributed Applications - - PowerPoint PPT Presentation
Anomaly Based Intrusion Detection in Distributed Applications without global clock Eric Totel, Mouna Hkimi, Michel Hurfin, Mourad Leslous, Yvan Labiche SEC2-2016 5 July 2016 Outline of the Presentation Position of the problem Building
Eric Totel, Mouna Hkimi, Michel Hurfin, Mourad Leslous, Yvan Labiche SEC2-2016 5 July 2016
CentraleSupelec 2
drift)
CentraleSupelec 3
independent
between the nodes
CentraleSupelec 4
CentraleSupelec 5
i
CentraleSupelec 6
1
2
p1 p2 a b c1!m d c1?m e
CentraleSupelec 7
a b c1!m d c1?m e p1 p2
CentraleSupelec 8
1
2
Generating the lattice of consistent cuts A valid sequence is a sequence
in the lattice of consistent cut
a b c1!m d c1?m e p1 p2
CentraleSupelec 9
1 a 16 d 6 2 7 d 3 c1!m 13 c1!m 9 c1?m b 17 d e d b a
Generation of an automaton containing all the paths in the lattice of consistent cuts
10
Execution α Execution β Eα
1
Eα
2
Eβ
1
Eβ
2
1 a d a f 2 b c1?m c1!m c1?m 3 c1!m e g
Merge the start states
automaton
CentraleSupelec 11
12
sequences of events Disadvantage: can introduce incorrect sequences
k=1 (a low k permits a higher generalization)
CentraleSupelec 13
CentraleSupelec 14
(total of 59 invariants) Generalization
CentraleSupelec 15
Model Invariants that can be violated by the generalized automaton Generalized Automaton
(total of 10 invariants)
events
CentraleSupelec 16
∑' sequences accepted by the generalized automaton ∑'' acceptable sequences ∑ valid sequences
CentraleSupelec 17
CentraleSupelec 18
Process (p2)
P2-P1!SEARCH P1-P2?AVAILABLE P2-P1!BUY P1-P2?SOLD P3-P1!SEARCH P1-P3?AVAILABLE P3-P1!BUY P1-P3?SOLD P2-P1?SEARCH P3-P1?SEARCH P1-P3!AVAILABLE P2-P1?BUY P3-P1?BUY P1-P2!SOLD P1-P3!SOLD
Server (p1) Process (p3)
P1-P2?AVAILABLE P1-P2!AVAILABLE
CentraleSupelec 19
CentraleSupelec 20
decreases the rate of the false positives, even with a low number of traces learnt
65% 70% 75% 84% 85% 19% 31% 39% 68% 71% 9% 16% 22% 42% 52% 6% 8% 10% 18% 30% 1% 3% 3% 9% 19% 0% 0% 0% 2% 8% 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 1 2 3 4 5
k
False Positive Rate
traces learned=10 traces learned=20 traces learned=30 traces learned=40 traces learned=50 traces learned=60
CentraleSupelec 21
CentraleSupelec 22
invariants lower
states) of the automaton grows (k- tail applied with k=1)
CentraleSupelec 23
100 200 300 400 500 600 700 800 6200 6400 6600 6800 7000 7200 7400 7600 7800 10 50 100 200 300 400 500
Number of States Number of invariants Number of Traces
Model Size
invariants States
CentraleSupelec 24
1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 100 200 300 400 500
Number of traces learned
Average Detection time (ms)
is complete, the less it generates false positives
CentraleSupelec 25
0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 50 100 150 200 250 300 350 400 450 500
False Positive Rate Number of traces learned
False Positive Rate
CentraleSupelec 26