MIDeA: A Multi-Parallel Intrusion Detection Architecture
Giorgos Vasiliadis, FORTH-ICS, Greece Michalis Polychronakis, Columbia U., USA Sotiris Ioannidis, FORTH-ICS, Greece CCS 2011, 19 October 2011
Detection Architecture Giorgos Vasiliadis, FORTH-ICS, Greece Michalis - - PowerPoint PPT Presentation
MIDeA: A Multi-Parallel Intrusion Detection Architecture Giorgos Vasiliadis, FORTH-ICS, Greece Michalis Polychronakis, Columbia U., USA Sotiris Ioannidis, FORTH-ICS, Greece CCS 2011, 19 October 2011 Network Intrusion Detection Systems
Giorgos Vasiliadis, FORTH-ICS, Greece Michalis Polychronakis, Columbia U., USA Sotiris Ioannidis, FORTH-ICS, Greece CCS 2011, 19 October 2011
10 GbE
gvasil@ics.forth.gr 2
gvasil@ics.forth.gr 3
gvasil@ics.forth.gr 4
gvasil@ics.forth.gr 5
gvasil@ics.forth.gr 6
gvasil@ics.forth.gr 7
gvasil@ics.forth.gr 8
gvasil@ics.forth.gr 9
NIC Preprocess Pattern matching Output Preprocess Pattern matching Output Preprocess Pattern matching Output
gvasil@ics.forth.gr 10
NIC cores
11
RSS NIC Pattern matching Output Preprocess Pattern matching Output Pattern matching Output Preprocess Preprocess
12
gvasil@ics.forth.gr 13
gvasil@ics.forth.gr 14
RSS NIC Pattern matching Output Preprocess Pattern matching Output Pattern matching Output Preprocess Preprocess
15
gvasil@ics.forth.gr 16
gvasil@ics.forth.gr 17
Rx Rx Queue Assigned Rx Rx Rx
Network Interface
Ring buffers
Kernel space User space
gvasil@ics.forth.gr 18
– Process affinity
– Remove ambiguities – Detect attacks that span multiple packets
– No synchronization – Cache locality
pattern matching
– How to access the GPU?
gvasil@ics.forth.gr 19
gvasil@ics.forth.gr 20
P1 P1 Transfer to GPU: GPU execution: Transfer from GPU: P1 P1 P1 P1 14.6 Gbit/s
64 Gbit/s
gvasil@ics.forth.gr 21
P1 P2 P3 P1 P2 P3 Transfer to GPU: GPU execution: Transfer from GPU: P1 P2 P3 P1 P1 P1
48.1 Gbit/s
64 Gbit/s
gvasil@ics.forth.gr
CPU-core Scan
Push Push Push
GPU
GPU core Matches GPU core GPU core GPU core Packet Buffer GPU core GPU core
gvasil@ics.forth.gr 23
Packet buffers
gvasil@ics.forth.gr 24
1-10Gbps
Demux Per-flow protocol analysis Data-parallel content matching
Packet streams Reassembled packet streams Packets
gvasil@ics.forth.gr 25
gvasil@ics.forth.gr 26
Memory
IOH IOH
Memory
CPU-0 CPU-1
gvasil@ics.forth.gr 27
Model Specs
2 x CPU Intel E5520 2.27 GHz x 4 cores 2 x GPU NVIDIA GTX480 1.4 GHz x 480 cores 1 x NIC 82599EB 10 GbE
Bounded by PCIe capacity
1
14.6 26.7 42.5 48.1
2 4 8
gvasil@ics.forth.gr 28
70.7
Adding a second GPU
gvasil@ics.forth.gr 29
1
14.6 26.7 42.5 48.1
2 4 8
gvasil@ics.forth.gr 30
gvasil@ics.forth.gr 31
gvasil@ics.forth.gr 32
gvasil@ics.forth.gr 33
gvasil@ics.forth.gr 34