16
INFSO-RI-508833 Enabling Grids for E-sciencE www.eu-egee.org Grid-wide Intrusion Detection Stuart Kenny*, Brian Coghlan Dept. of Computer Science Trinity College Dublin 27th Oct. 2005

Grid-wide Intrusion Detection

Embed Size (px)

DESCRIPTION

Grid-wide Intrusion Detection. Stuart Kenny*, Brian Coghlan Dept. of Computer Science Trinity College Dublin 27th Oct. 2005. Introduction. Goal “To provide the Grid-Ireland OpsCentre with an overall picture of the state of security of the entire Grid-Ireland infrastructure at any time” - PowerPoint PPT Presentation

Citation preview

Page 1: Grid-wide Intrusion Detection

INFSO-RI-508833

Enabling Grids for E-sciencE

www.eu-egee.org

Grid-wide Intrusion Detection

Stuart Kenny*, Brian Coghlan

Dept. of Computer Science

Trinity College Dublin

27th Oct. 2005

Page 2: Grid-wide Intrusion Detection

2

Enabling Grids for E-sciencE

INFSO-RI-508833

Introduction

• Goal – “To provide the Grid-Ireland OpsCentre with an overall picture of the state of

security of the entire Grid-Ireland infrastructure at any time” Starting with intrusion detection

• Difficulties for Grid– Infrastructure spans multiple networks– Don’t know about state of security at other sites– Similar infrastructure at sites, i.e. OS, services– Speed of response depends on speed of access to information

• Grid-Ireland approach– Develop Grid-wide intrusion detection system

Instrument all sites to detect attempted security intrusions All security alerts generated at sites to be visible at OpsCentre

Page 3: Grid-wide Intrusion Detection

3

Enabling Grids for E-sciencE

INFSO-RI-508833

Grid-wide Intrusion Detection

• System building blocks:– Snort

Open-source network intrusion detection system

– CrossGrid NetTracer System for accessing log files through Grid InfoSys Supports Tcpdump and Snort

– R-GMA Relational grid monitoring and information system

Page 4: Grid-wide Intrusion Detection

4

Enabling Grids for E-sciencE

INFSO-RI-508833

Grid-wide Intrusion Detection

• System comprised of two levels:1. Alert aggregation

Snort + NetTracer Sensor• Snort: generates alerts for suspect packets

• NetTracer: streams alerts to R-GMA R-GMA Secondary Producer

• Collects alerts to central ‘Grid-wide intrusion log’

Page 5: Grid-wide Intrusion Detection

5

Enabling Grids for E-sciencE

INFSO-RI-508833

Alert Aggregation

R-GMA

SNORT+

SENSOR

SNORT+

SENSOR

SNORT+

SENSOR

SNORT+

SENSOR

Site A

Site CSite B

Site D

SnortAlerts,

“where siteId = ‘Site A’”

SnortAlerts,

“where siteId = ‘Site C’”

SnortAlerts,

“where siteId = ‘Site B’”

SnortAlerts,

“where siteId = ‘Site D’”

Page 6: Grid-wide Intrusion Detection

6

Enabling Grids for E-sciencE

INFSO-RI-508833

Alert Aggregation

Grid Operations Centre

Grid-wideIntrusion Log

SecondaryProducer

R-GMA

Alerts

Alerts

Alerts

Alerts

Page 7: Grid-wide Intrusion Detection

7

Enabling Grids for E-sciencE

INFSO-RI-508833

Alert Analysis

• System comprised of two levels:1. Alert aggregation

Snort + NetTracer sensor• Snort: generates alerts for suspect packets

• NetTracer: streams alerts to R-GMA R-GMA Secondary Producer

• Collects alerts to central ‘Grid-wide intrusion log’

2. Alert analysis Custom R-GMA consumers

• Currently 3 different kinds Detect attempted attack on grid infrastructure Generate ‘Grid-alert’

Page 8: Grid-wide Intrusion Detection

8

Enabling Grids for E-sciencE

INFSO-RI-508833

Alert Analysis

Grid Operations Centre

Grid-wideIntrusion Log

SecondaryProducer

Alert AnalysisConsumer

Alert AnalysisConsumer

Alert AnalysisConsumer

Snort AlertsGrid-wide

Intrusion Alerts

Page 9: Grid-wide Intrusion Detection

9

Enabling Grids for E-sciencE

INFSO-RI-508833

Example Analyser

• Detect scanning of Grid infrastructure• Consumer filters log for portscan alerts

• If multiple sites scanned by single source– Grid infrastructure portscan ‘grid-alert’– Alert generated:

email published to R-GMA

Consumer alert = consumerFactory.createConsumer(timeInterval,

“SELECT * FROM snortAlerts

WHERE generator_id=122”, QueryProperties.CONTINUOUS);

Page 10: Grid-wide Intrusion Detection

10

Enabling Grids for E-sciencE

INFSO-RI-508833

Example Analyser

Grid Alert: Grid Infrastructure Portscan

From: <[email protected]>To: [email protected]: Yesterday 00:26:05

[**] 08/04-00:26:05.244 Grid Infrastructure Portscan [**]Source: 59.44.51.80 (59.44.51.80)Site: giULie08/04-00:17:56.418485 (portscan) TCP Portscan gridmon.grid.ul.ie (193.1.96.134)Site: giRCSIie08/04-00:26:04.005235 (portscan) TCP Portscan gridmon.rcsi.ie (193.1.229.24)Site: giAITie08/04-00:13:41.395764 (portscan) TCP Portscan 192.168.32.154 (192.168.32.154)

Page 11: Grid-wide Intrusion Detection

11

Enabling Grids for E-sciencE

INFSO-RI-508833

Sample Results

Portscans

Scans

MS SQL

RPC

ICMP

Bad Traffic

DNS

First 4 week period: 25,378

Current Total: 194,390 (16 weeks)

Page 12: Grid-wide Intrusion Detection

12

Enabling Grids for E-sciencE

INFSO-RI-508833

Sample Results

Page 13: Grid-wide Intrusion Detection

13

Enabling Grids for E-sciencE

INFSO-RI-508833

Sample Results

0

500

1000

1500

2000

2500

3000

3500

17/1

0/20

05

18/1

0/20

05

19/1

0/20

05

20/1

0/20

05

21/1

0/20

05

22/1

0/20

05

23/1

0/20

05

Nu

mb

er

of

Ale

rts

Page 14: Grid-wide Intrusion Detection

14

Enabling Grids for E-sciencE

INFSO-RI-508833

Deployment

• Deployment– Site

R-GMA MON box Snort NetTracer, 2 components:

• Sensor – must be co-located with Snort• QueryEngine – requires the R-GMA API

– GOC Intrusion log secondary producer Intrusion log analysers

• Configuration– Manual

configuration script

– Automatic LCFG component Quattor component (to be tested) YAIM will be provided

Page 15: Grid-wide Intrusion Detection

15

Enabling Grids for E-sciencE

INFSO-RI-508833

Future Work

• Customise Snort rules for Grid– Based on:

Site configurations Host types Services

• Incorporate additional security components– Tripwire– Bro

• Attack detection– New intrusion log analysers

Bayesian AI/Category Theory

• Active response– Automated responses to detected attacks

Page 16: Grid-wide Intrusion Detection

16

Enabling Grids for E-sciencE

INFSO-RI-508833

The End

• Any Questions?

• Email:– [email protected]