• No results found

Intrusion Detection Systems

N/A
N/A
Protected

Academic year: 2021

Share "Intrusion Detection Systems"

Copied!
30
0
0

Loading.... (view fulltext now)

Full text

(1)

Intrusion Detection

Systems

Advanced Computer Networks 2007

Reinhard Wallner

(2)

Outline

n Introduction

n Types of IDS

n How works an IDS

n Attacks to IDS

n Intrusion Prevention Systems

n Limits of IDS

n Operation examples

(3)

What is an IDS …

n

System to detect unwanted manipulations

to computer systems

n

Identification of misuse and abnormal

behavior

n

Detect many types of malicious network

(4)

Motivation

n Other security measures are not sufficient (Authentication, Firewall, …) n Attacks motivated by ¨ financial ¨ political ¨ military or ¨ personal reasons

(5)

What does an IDS?

n

Logging and preparing for analysis

n

Analysis

n

Presentation (i.e. an Alarm)

n

Reaction (only in Intrusion Prevention

(6)

Types of IDS

n

Host based IDS (HIDS)

n

Network based IDS (NIDS)

n

Hybrid IDS (combination of HIDS and

(7)

Passive vs. Reactive System

n

Passive System

¨Detects a potential security breach ¨Logs the information

¨Signals an Alert

n

A Reactive System additionally

¨Resets the connection ¨Reprograms the firewall ¨Automatically or manually

(8)

Host based IDS (HIDS) 1

n Installed on a host

n Monitors system objects and remembers its attributes, e.g. file-system objects

n Creates a checksum (optional)

n Database to store objects and attributes

n Reports anomalies in form of logs, e-mails or similar

n Detects unauthorized insider activity or file

(9)

Host based IDS (HIDS) 2

n

Pro

¨Detailed information about attack

n

Con

¨HIDS itself can be attacked (and if attacked host is down, HIDS is also down)

¨Local installation on each host ¨Host resources are needed

(10)

Network based IDS (NIDS) 1

n

Monitors network traffic

n

Try to find suspicious patterns

n

I.e. Portscan detection

n

NIDS collaborates with other systems like

Firewall

n

Detects attempts from outside the trusted

(11)

Network based IDS (NIDS) 2

n Pro

¨ Controls a network segment, not only one host

¨ A defect of one host is no risk for the NIDS

n Con

¨ The bandwidth of the NIDS can be overloaded

¨ In switched networks

n Using of Taps

(12)

Hybrid IDS

n

Combination of HIDS and NIDS

n

Management console necessary

n

Network sensors

(13)

Logging

n Differently on different IDS’s

n On HIDS

¨ Detailed Information à specific Analysis possible

n On NIDS

¨ Distributed Sensors

¨ Management station

(14)

Analysis 1

• Integrity check / Target monitoring

¨ Cryptographic signature or checksum to secure the integrity of files

¨ On demand (post mortem or reactive) integrity check

¨ Simple to implement

n Signature detection / Misuse detection

¨ Compares network traffic with known signatures of attacks

¨ Pattern matching procedures

(15)

Analysis 2

n Anomaly detection

¨ Detects anomalies on user behavior

¨ I.e. a secretary uses at 11 p.m. applications like nmap, gcc

¨ Privacy problem!!!

n Stealth Probes

¨ attempts to detect attackers that act over prolonged periods of time

¨ combination of Signature detection and Anomaly detection

(16)

Attacks to IDS

n Integrity check with signature

¨ is secure if the cryptograpical system is good enough (i.e. RSA) and

¨ if private key isn’t stored on the host

n Integrity check with checksum

¨ the integrity of the initial database can be tampered (à WORM-Medium)

n Signature detection can be attacked by

¨ DDoS

(17)

Insertion Attack

n

Idea: uses packets accepted by the IDS

accept but not by the host

n

i.e. attacker sends packets

¨

¨Packet with * isn’t accepted by host

¨Host will Stop because IDS don’t know this Signature

(18)

Intrusion Prevention Systems (IPS)

n

Extended IDS

n

Automated reactions to alarms from IDS

¨i.e. updates a firewall blacklist

¨Changes or interrupts actively network traffic ¨Try to prevent attacks in real time

n

Honeypots

(19)

Honeypot

n Runs alone on a server

n Simulates services or proxy servers (Sugarcane)

n Logs activity

n Legitimated users don’t know and therefore never address a honeypot

n Automated attacks cannot distinguish the honeypot from a normal host

n Used for

¨ attracting and binding attacks

¨ detecting and analyzing of new attacks

¨ protecting of production systems

(20)

Tarpit

n Tries to delay the distribution velocity of Spammers and Worms

n IP-, TCP- or Application-Level Tarpits n Example: HTTP-Tarpit

¨ Tries to block the Harvester (Search engine that searches email addresses on web pages) of the spammer

¨ Delivers web page very late

¨ Inserts a lot of links to himself

(21)

Limits of IDS / IPS

n Positive and negative failures

n Unknown attacks cannot detected or prevented n Cryptographically methods can be a problem

n Legal restrictions in identification and logging of attackers

n Needs other tools (Firewall, Router,…) to prevent intrusion

(22)
(23)

Operation examples 2

(24)
(25)

Intrusion Detection Message

Exchange Format (IDMEF)

n Standardized communication protocol

n Protocol to communicate between the IDS

components (Sensors – Management console, …)

n Main requirements to the protocol

¨ Authentication of the sender

¨ Reliable information

(26)

Summary

n IDS are necessary because security incidents become more numerous and other security measures aren’t sufficient

n IDS is an active System à needs administration n IDS itself can be attacked

n Cryptographically data can be a problem

n Never 100% protection

(27)

IDS/IPS Applications

n Snort [http://www.snort.org/ ] (NIPS)

n Prelude [ http://www.prelude-ids.org/ ] (Hypbid IDS)

n Hogwash [http://hogwash.sourceforge.net/ ], combination of IDS and Firewall

n Honeyd [ http://www.honeyd.org/ ], Honeypot

n LaBrea

[ http://labrea.sourceforge.net/labrea-info.html ], Honeypot and IDS

(28)

Literature

n [1] http://en.wikipedia.org/wiki/Intrusion_detection_system n [2] http://de.wikipedia.org/wiki/Intrusion_Detection_System n [3] http://en.wikipedia.org/wiki/Honeypot_%28computing%29 n [4] Einbruchserkennung in Netzwerke http://www.net-tex.de/net/ids.html

n [5] Bundesamt für Sicherheit in der Informationstechnik, Intrusion-Detection Grundlagen

http://www.bsi.de/literat/studien/ids02/dokumente/Grundlagenv10.pdf

n [6] The Internet Engineering Task Force (IETF),

Intrusion Detection Message Exchange Format(IDMEF)

(29)

Questions

n

Explain the three kinds of IDS. What are

the advantages and disadvantages?

¨Slides 8-12

n

Which methods about analyzing in IDS do

you know? How can these methods

attacked?

(30)

Thanks for your attention!

Reinhard Wallner

References

Related documents

Include high school, college, vocational or business school apprenticeship, military training, etc... List any other professional or educational experiences you have had which

PLO7 Skills in the planning and design of meaningful learning activities that support and have positive impact on student learning based upon knowledge of subject matter,

However, the SDSS optical spectrum exhibits strong and very narrow nebular emis- sion lines, and the RGB image and g r color distribution in- dicate a blue core in the central

While several algorithms have been proposed to manage the scheduling of jobs and allocation of different servers, in separate papers, we intend to combine a job scheduling

Learning from the examples of successful blogs by elementary teachers, four common types of classroom blogs with accompanying examples are shared: Classroom News Blogs, Mirror Blogs,

The birth of cryptocurrency (or “virtual currency”) kickstarted a new era for technology, banking, and finance. The United States Government Accountability Office defines

A map unit dominated by a soil with a very dark mineral surface horizon, 30 cm thick, with high base saturation, no secondary carbonates, clay illuviation features and

Most of the recent history of Italian local public finance can be read as an attempt to come to terms with these problems. Since the beginning of the 1990s, several reforms have