MSc Thesis Presentation Title Page Thesis Committee Introduction

  • Slides: 24
Download presentation
MSc. Thesis Presentation Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What

MSc. Thesis Presentation Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System Melanie Rose Rieback (1113410) MACE Demo Questions dr. Marcel Spruit MSc. Thesis Presentation ir. Ronald Prins July 11, 2003

MSc. Thesis Committee Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What

MSc. Thesis Committee Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? dr. Jan Dietz (afstudeerhoogleerar) dr. Marcel Spruit (advisor) ir. Wouter de Jong (interdepartmental guest) IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions ir. Ronald Prins (advisor) MSc. Thesis Presentation July 11, 2003

Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF

Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Intrusion Detection – In Theory Title Page Thesis Committee Introduction to ID Filtering &

Intrusion Detection – In Theory Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Intrusion Detection – In Practice Title Page Thesis Committee Introduction to ID Filtering &

Intrusion Detection – In Practice Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Filtering and Meta-Alert Production Title Page Thesis Committee Introduction to ID Filtering & Metaalerts

Filtering and Meta-Alert Production Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Filtering and Meta-Alert Production Title Page Thesis Committee Introduction to ID Filtering & Metaalerts

Filtering and Meta-Alert Production Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Filtering and Meta-Alert Production Title Page Thesis Committee Introduction to ID Filtering & Metaalerts

Filtering and Meta-Alert Production Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Typical SOC View of IDS Alerts Title Page Thesis Committee Introduction to ID Filtering

Typical SOC View of IDS Alerts Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

MACE Overview Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is

MACE Overview Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

MACE Overview Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is

MACE Overview Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Intrusion Detection Message Exchange Format (IDMEF) Title Page Thesis Committee Introduction to ID Filtering

Intrusion Detection Message Exchange Format (IDMEF) Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor • The Intrusion Detection Working Group (IDWG) is an Internet Engineering Task Force (IETF) working group. • The IDWG was created to define data formats and exchange procedures to facilitate intrusion detection information management, correlation, and response. CLIPS Expert System MACE Demo Questions • The Intrusion Detection Message Exchange Format (IDMEF) was created by the IDWG as a proposed “standard” data format. MSc. Thesis Presentation July 11, 2003

Intrusion Detection Message Exchange Format – Cont. . . Title Page Thesis Committee Introduction

Intrusion Detection Message Exchange Format – Cont. . . Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions Sample IDMEF Message: <? xml version="1. 0"? > <!DOCTYPE IDMEF-Message PUBLIC "-//IETF//DTD RFC XXXX IDMEF v 1. 0//EN" ""> <IDMEF-Message version="1. 0"> <Alert ident="136092"><Analyzer analyzerid="2" class="snort"><Node><name>unknown: bge 0</name></Node></Analyzer><Create. Time ntpstamp="0 xc 2 a 14226. 0 x 0">2003 -06 -23 T 09: 08: 54 Z</Create. Time><Detect. Time ntpstamp="0 xc 1 a 4 b 37 c. 0 x 0">2002 -12 -13 T 19: 29: 00 Z</Detect. Time><Source interface="bge 0"><Node><Address><address>130. 161. 180. 56</address></Address ></Node><Service><port>3729</port><protocol>tcp</protocol></Service></Sour ce><Target interface="bge 0"><Node><Address><address>130. 161. 180. 55</address></Address ></Node><Service><port>139</port><protocol>tcp</protocol></Service></Targe t><Classification origin="vendor-specific"><name>NETBIOS NT NULL session</name><url>530</url></Classification><Additional. Data type="string" meaning="Packet Payload">000000 B 6 FF 534 D 4273000018038000002 AABC 6 B 4 F 918 DA 630000 FECA 0 0000 D 750084000411320000000010000000 D 400000047000000 0570069006 E 0064006 F 007700730020004 E 0054002000310033003800310000057006 9006 E 0064006 F 007700730020004 E 005400200034002 E 0030000004 FF 000000 1002700005 C 004 F 0053004100520030004 E 00540031005 C 0049005000430024000 00049504300</Additional. Data></Alert></IDMEF-Message> MSc. Thesis Presentation July 11, 2003

MACE Preprocessor Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is

MACE Preprocessor Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? • Plugins filter out alerts based upon alert content • Plugins are written in C++ • Plugins are dynamically loadable IDMEF MACE Preprocessor CLIPS Expert System • Plugins are user customizable • Plugins could be downloaded from a central repository MACE Demo Questions MSc. Thesis Presentation July 11, 2003

MACE Preprocessor (Example) Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What

MACE Preprocessor (Example) Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Snort rule #885: alert tcp $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg: "WEB-CGI bash access"; flow: to_server, established; uricontent: "/bash"; nocase; reference: cve, CAN 1999 -0509; reference: url, www. cert. org/advisories/CA-1996 -11. html; classtype: webapplication-activity; sid: 885; rev: 6; ) Packet content: GET /nos/nieuws/images/buitenland/165/bashir_bakar_abu. jpg HTTP/1. 1 Accept: */* Referer: http: //www. omroep. nl/nos/nieuws/hoofdpunten. html Accept. Language: nl Accept-Encoding: gzip, deflate User-Agent: Mozilla/4. 0 (compatible; MSIE 6. 0; Windows NT 5. 0) Host: www. omroep. nl Connection: Keep-Alive or GET /syndicaat/pics/Bas. Hoekstra. jpg HTTP/1. 1 Accept: */* Referer: http: //spike. oli. tudelft. nl/syndicaat/index. cfm? ID=2 Accept-Language: nl Accept. Encoding: gzip, deflate If-Modified-Since: Sun, 19 May 2002 15: 40: 25 GMT If-None -Match: "5 a 14 c 87 e 4 bffc 11: 395 d" User-Agent: Mozilla/4. 0 (compatible; MSIE 5. 5; Windows 98; Wanadoo cable) Host: spike. oli. tudelft. nl Connection: Keep-Alive Questions MSc. Thesis Presentation July 11, 2003

CLIPS Expert System Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What

CLIPS Expert System Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Expert System Core - Architecture Title Page Thesis Committee Introduction to ID Filtering &

Expert System Core - Architecture Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Example Attack Fact (Page 1) Title Page Thesis Committee Introduction to ID Filtering &

Example Attack Fact (Page 1) Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions (assert (idmef_node (mid "2 -129941") (index "1") (ident "UNKNOWN") (category "UNKNOWN") (location "UNKNOWN") (name "unknown: bge 0") (Address "UNKNOWN")) (idmef_analyzer (mid "2 -129941") (index "2") (analyzerid "2") (manufacturer "UNKNOWN") (model "UNKNOWN") (version "UNKNOWN") (class "snort") (ostype "UNKNOWN") (osversion "UNKNOWN") (Node "1") (Process "UNKNOWN")) (idmef_time (mid "2 -129941") (index "3") (ntpstamp "0 xc 29 af 37 f. 0 x 0") (datetime "2003 -06 -18 T 14: 19: 43 Z") (unix_timestamp 1055945983)) (idmef_time (mid "2 -129941") (index "4") (ntpstamp "0 xc 1 a 48805. 0 x 0") (datetime "2002 -12 -13 T 16: 23: 33 Z") (unix_timestamp 1039796613)) (idmef_address (mid "2 -129941") (index "5") (ident "UNKNOWN") (category "UNKNOWN") (vlan_name "UNKNOWN") (vlan_num "UNKNOWN") (address "217. 83. 14. 216") (netmask "UNKNOWN")) (idmef_node (mid "2 -129941") (index "6") (ident "UNKNOWN") (category "UNKNOWN") (location "UNKNOWN") (name "UNKNOWN") (Address "5")) (idmef_service (mid "2 -129941") (index "7") (ident "UNKNOWN") (name "UNKNOWN") (port "1027") (portlist "UNKNOWN") (protocol "tcp") (Webservice "UNKNOWN") (Snmpservice "UNKNOWN")) (idmef_source (mid "2 -129941") (index "8") (ident "UNKNOWN") (spoofed "UNKNOWN") (interface "bge 0") (Node "6") (User "UNKNOWN") (Process "UNKNOWN") (Service "7")) (idmef_address (mid "2 -129941") (index "9") (ident "UNKNOWN") (category "UNKNOWN") (vlan_name "UNKNOWN") (vlan_num "UNKNOWN") (address "130. 161. 180. 142") (netmask "UNKNOWN")) MSc. Thesis Presentation July 11, 2003

Example Attack Fact (Page 2) Title Page Thesis Committee Introduction to ID Filtering &

Example Attack Fact (Page 2) Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System (idmef_node (mid "2 -129941") (index "10") (ident " UNKNOWN") (category "UNKNOWN") (location "UNKNOWN") (name "UNKNOWN") (Address "9")) (idmef_service (mid "2 -129941") (index "11") (ident "UNKNOWN") (name "UNKNOWN") (port "1080") (portlist "UNKNOWN") (protocol "tcp") (Webservice "UNKNOWN") (Snmpservice "UNKNOWN")) (idmef_target (mid "2 -129941") (index "12") (ident "UNKNOWN") (decoy "UNKNOWN") (interface "bge 0") (Node "10") (User "UNKNOWN") (Process "UNKNOWN") (Service "11") (Filelist "UNKNOWN")) (idmef_classification (mid "2 -129941") (index "13") (origin "vendorspecific") (name "SCAN SOCKS Proxy attempt") (url "615")) (idmef_additionaldata (mid "2 -129941") (index "14") (type "string") (meaning "Packet Payload") (data "NULL")) (idmef_alert (mid "2 -129941") (index "15") (ident"129941") (Analyzer "2") (Createtime "3") (Detecttime "4") (Analyzertime "UNKNOWN") (Source "8") (Target "12") (Classification "13") (Assessment "UNKNOWN") (Correlationalert "UNKNOWN") (Toolalert "UNKNOWN") (Overflowalert "UNKNOWN") (Additionaldata "14")) (idmef_message (mid "2 -129941") (index "16") (version "1. 0") (Alert "15") (Heartbeat "UNKNOWN")) MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Target System Information Template: Title Page Thesis Committee Introduction to ID Filtering & Metaalerts

Target System Information Template: Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions (deftemplate system-info "Define a default template for holding our systems information" (slot my-ip-address ; IP address for this machine (type STRING) (default "N/A")) ; Sets the value to "N/A", if none is ; provided (multislot my-operating-system ; Operating system types in use (type STRING) (default "N/A")) ; Sets the value to "N/A", if none is ; provided (multislot my-services ; The types of services available (type STRING) (default "N/A"))) ; Sets the value to "N/A", if none is ; provided Example Fact: (assert (system-info (my- ip-address "2191646306") (my-operating-system "Windows 2000")(my-services " Quicktime 5. 02" "Powerftp 2. 24"))) MSc. Thesis Presentation July 11, 2003

Attack ID Conversion Title Page Thesis Committee Introduction to ID Bugtraq Filtering & Metaalerts

Attack ID Conversion Title Page Thesis Committee Introduction to ID Bugtraq Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System Snort CVE/CAN ISS X-Force MACE Demo Questions Whitehats MSc. Thesis Presentation July 11, 2003

Metaalert Correlation Rule (Example) Title Page Thesis Committee Introduction to ID Filtering & Metaalerts

Metaalert Correlation Rule (Example) Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF ; Platform specific attack is targeting one of our monitored computers (defrule my-platform-attacked (system-info (my-operating-system $? osbefore ? my. OS $? osafter) (my-ipaddress ? ip_addr)) (vulnerable ? my. OS ? mid_value) (idmef_address (mid ? mid_value) (index ? address_index) (address ? ip_addr)) (idmef_node (mid ? mid_value) (index ? node_index) (Address ? address_index)) (idmef_target (mid ? mid_value) (Node ? node_index)) => (assert (generate-metaalert-for-mid ? mid_value)) ) MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

MACE Live Demonstration Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What

MACE Live Demonstration Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003

Questions? Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE?

Questions? Title Page Thesis Committee Introduction to ID Filtering & Metaalerts What is MACE? IDMEF MACE Preprocessor CLIPS Expert System MACE Demo Questions MSc. Thesis Presentation July 11, 2003