Enhancing interoperability and stateful analysis of cooperative - - PowerPoint PPT Presentation

enhancing interoperability and stateful analysis of
SMART_READER_LITE
LIVE PREVIEW

Enhancing interoperability and stateful analysis of cooperative - - PowerPoint PPT Presentation

ANCS 2007, 3-4-December 2007 Enhancing interoperability and stateful analysis of cooperative netw ork intrusion detection system s Michele Colajanni, Daniele Gozzi and Mirco Marchetti Department of Information Engineering University of


slide-1
SLIDE 1

Enhancing interoperability and stateful analysis of cooperative netw ork intrusion detection system s

Michele Colajanni, Daniele Gozzi and Mirco Marchetti Department of Information Engineering University of Modena and Reggio Emilia ANCS 2007, 3-4-December 2007

slide-2
SLIDE 2

ANCS 2007, 3-4 December 2007 2 / 15

Network Intrusion Detection System

Analyzes network traffic

− looks for illicit activities (intrusions)‏ − emits alerts

Stateful signature analysis

− common approach in many NIDS − connection tracking, reordering and

reassembling

− counters insertion and evasion attacks

[ Ptaceck, Newsham]

slide-3
SLIDE 3

ANCS 2007, 3-4 December 2007 3 / 15

NIDS architectures in modern networks

Increasing link

bandwidth

Complex/ evolving

network topologies

Parallel (redundant)

network links

Mobile nodes

Parallel and distributed NIDS architectures are required...

slide-4
SLIDE 4

ANCS 2007, 3-4 December 2007 4 / 15

Evading stateful analysis

... but sensors do not distribute their state

− state is maintained by a single sensor − sensor needs all the packets belonging to the

same connection

How to evade stateful analysis:

− split the connection over links analyzed by

different NIDS sensors

− eg, parallel NIDS cluster with load balancing − eg, connection to/ from mobile nodes

slide-5
SLIDE 5

ANCS 2007, 3-4 December 2007 5 / 15

Solution: NIDS cooperation

Cooperative NIDS state management

− each NIDS builds its partial state − sensors cooperation by partial state exchange − partial states merged to obtain the state

Challenges:

− sensor communication − partial state management

Requirements:

− low detection delay‏ − unmodified detection rate

slide-6
SLIDE 6

ANCS 2007, 3-4 December 2007 6 / 15

Our contributions

Definition of a state migration framework

− generally applicable

Definition of an external state representation

− easy to extend (new detection engines)‏

Reference implementation

− demonstrate viability

Performance evaluation

− meets delay and detection rate requirements

slide-7
SLIDE 7

ANCS 2007, 3-4 December 2007 7 / 15

State migration framework

slide-8
SLIDE 8

ANCS 2007, 3-4 December 2007 8 / 15

External state representation

slide-9
SLIDE 9

ANCS 2007, 3-4 December 2007 9 / 15

Reference implementation

Patch against

Snort 2.6.1.1

Multithread Stream4

preprocessor

slide-10
SLIDE 10

ANCS 2007, 3-4 December 2007 10 / 15

Experiment summary

Prototype validation

− detection of splitted attacks

Low performance overhead

− avoid packet loss

Low state migration delay

− compatible with live signature based analysis

slide-11
SLIDE 11

ANCS 2007, 3-4 December 2007 11 / 15

Prototype validation

Known network attack splitted in two parts

  • 1. send the first part of the attack to the first

sensor

  • 2. merge the first sensor state with the second

sensor state

  • 3. send the second part of the attack to the

second sensor

The second sensor correctly detects the attack

− order independent (2 and 3 can be swapped

and/ or overlapped)‏

− loose synchronization required

slide-12
SLIDE 12

ANCS 2007, 3-4 December 2007 12 / 15

Performance overhead

300 KB buffer prevents packet loss (200Mb/ s link)‏

− internal state locked for less than 0.012 sec − compatible with live traffic analysis

slide-13
SLIDE 13

ANCS 2007, 3-4 December 2007 13 / 15

State migration delay

Migration time dominated by network latency Not an issue for signature based intrusion detection

slide-14
SLIDE 14

ANCS 2007, 3-4 December 2007 14 / 15

Application: parallel NIDS architecture

Stateful analysis and load balancing

slide-15
SLIDE 15

ANCS 2007, 3-4 December 2007 15 / 15

Conclusions

Novel NIDS cooperation approach

− cooperative NIDS state management − stateful analysis of traffic flowing in links monitored by different sensors − Snort-based reference implementation − limited performance overhead − suitable for stateful analysis of network traffic generated by mobile nodes

slide-16
SLIDE 16

Enhancing interoperability and stateful analysis of cooperative netw ork intrusion detection system s

Michele Colajanni, Daniele Gozzi and Mirco Marchetti Department of Information Engineering University of Modena and Reggio Emilia ANCS 2007, 3-4-December 2007