Intrusion Detection Systems. Definitions Intrusion –A set of actions aimed to compromise the security goals, namely Integrity, confidentiality, or availability,

Slides:



Advertisements
Similar presentations
Intrusion Detection Systems (I) CS 6262 Fall 02. Definitions Intrusion Intrusion A set of actions aimed to compromise the security goals, namely A set.
Advertisements

Network Security Essentials Chapter 11
Lecture slides for “Computer Security: Principles and Practice”, 2/e, by William Stallings and Lawrie Brown, Chapter 9 “Firewalls and Intrusion Prevention.
Firewalls By Tahaei Fall What is a firewall? a choke point of control and monitoring interconnects networks with differing trust imposes restrictions.
Firewalls Uyanga Tserengombo
1 Reading Log Files. 2 Segment Format
Firewalls.
FIREWALLS. What is a Firewall? A firewall is hardware or software (or a combination of hardware and software) that monitors the transmission of packets.
FIREWALLS The function of a strong position is to make the forces holding it practically unassailable —On War, Carl Von Clausewitz On the day that you.
Winter CMPE 155 Week 7. Winter Assignment 6: Firewalls What is a firewall? –Security at the network level. Wide-area network access makes.
Lecture 14 Firewalls modified from slides of Lawrie Brown.
6/4/2015National Digital Certification Agency1 Security Engineering and PKI Applications in Modern Enterprises Mohamed HAMDI National.
Firewalls and Intrusion Detection Systems
IDS/IPS Definition and Classification
Chapter 10 Firewalls. Introduction seen evolution of information systems now everyone want to be on the Internet and to interconnect networks has persistent.
Intrusion Detection/Prevention Systems. Objectives and Deliverable Understand the concept of IDS/IPS and the two major categorizations: by features/models,
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
© 2006 Cisco Systems, Inc. All rights reserved. Implementing Secure Converged Wide Area Networks (ISCW) Module 6: Cisco IOS Threat Defense Features.
Firewalls. What is a Firewall? A choke point of control and monitoring A choke point of control and monitoring Interconnects networks with differing trust.
FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. 6 Packet Filtering By Whitman, Mattord, & Austin© 2008 Course Technology.
What Learned Last Week Homework qn –What machine does the URL go to?
Chapter 9: Kinds of Firewalls Kate Solinger Tamara Teslovich.
Intrusion Detection/Prevention Systems. Definitions Intrusion –A set of actions aimed to compromise the security goals, namely Integrity, confidentiality,
Intrusion Detection Systems. Definitions Intrusion –A set of actions aimed to compromise the security goals, namely Integrity, confidentiality, or availability,
Firewalls.
Intrusion Detection - Arun Hodigere. Intrusion and Intrusion Detection Intrusion : Attempting to break into or misuse your system. Intruders may be from.
FIREWALL TECHNOLOGIES Tahani al jehani. Firewall benefits  A firewall functions as a choke point – all traffic in and out must pass through this single.
Intrusion Detection/Prevention Systems. Objectives and Deliverable Understand the concept of IDS/IPS and the two major categorizations: by features/models,
CS426Fall 2010/Lecture 361 Computer Security CS 426 Lecture 36 Perimeter Defense and Firewalls.
1 Figure 5-4: Drivers of Performance Requirements: Traffic Volume and Complexity of Filtering Performance Requirements Traffic Volume (Packets per Second)
Introduction to firewalls and IDS/IPS
Packet Filtering. 2 Objectives Describe packets and packet filtering Explain the approaches to packet filtering Recommend specific filtering rules.
Why do we need Firewalls? Internet connectivity is a must for most people and organizations  especially for me But a convenient Internet connectivity.
FIREWALL Mạng máy tính nâng cao-V1.
Network Security Essentials Chapter 11 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
January 2009Prof. Reuven Aviv: Firewalls1 Firewalls.
Chapter 6: Packet Filtering
IDS Intrusion Detection Systems CERT definition: A combination of hardware and software that monitors and collects system and network information and analyzes.
Firewall and Internet Access Mechanism that control (1)Internet access, (2)Handle the problem of screening a particular network or an organization from.
OV Copyright © 2013 Logical Operations, Inc. All rights reserved. Network Security  Network Perimeter Security  Intrusion Detection and Prevention.
FIREWALLS Vivek Srinivasan. Contents Introduction Need for firewalls Different types of firewalls Conclusion.
1 Chapter 20: Firewalls Fourth Edition by William Stallings Lecture slides by Lawrie Brown(modified by Prof. M. Singhal, U of Kentucky)
Firewalls. What is a Firewall? A choke point of control and monitoring A choke point of control and monitoring Interconnects networks with differing trust.
Chapter 20 – Firewalls The function of a strong position is to make the forces holding it practically unassailable —On War, Carl Von Clausewitz.
OV Copyright © 2011 Element K Content LLC. All rights reserved. Network Security  Network Perimeter Security  Intrusion Detection and Prevention.
Firewalls. What is a Firewall? A choke point of control and monitoring A choke point of control and monitoring Interconnects networks with differing trust.
CSCI 530 Lab Intrusion Detection Systems IDS. A collection of techniques and methodologies used to monitor suspicious activities both at the network and.
Packet Filtering Chapter 4. Learning Objectives Understand packets and packet filtering Understand approaches to packet filtering Set specific filtering.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco IOS Threat Defense Features.
1 Firewalls Types of Firewalls Inspection Methods  Static Packet Inspection  Stateful Packet Inspection  NAT  Application Firewalls Firewall Architecture.
Securing the Network Infrastructure. Firewalls Typically used to filter packets Designed to prevent malicious packets from entering the network or its.
Workpackage 3 New security algorithm design ICS-FORTH Ipswich 19 th December 2007.
Chapter 8 Network Security Thanks and enjoy! JFK/KWR All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking:
Intrusion Detection/Prevention Systems. Objectives and Deliverable Understand the concept of IDS/IPS and the two major categorizations: by features/models,
Intrusion Detection System
Cryptography and Network Security
Firewalls. Overview of Firewalls As the name implies, a firewall acts to provide secured access between two networks A firewall may be implemented as.
Firewalls.
Firewall – Survey Purpose of a Firewall Characteristic of a firewall
Principles of Computer Security
* Essential Network Security Book Slides.
Firewalls Purpose of a Firewall Characteristic of a firewall
Firewalls. What is a Firewall? A choke point of control and monitoring A choke point of control and monitoring Interconnects networks with differing trust.
POOJA Programmer, CSE Department
دیواره ی آتش.
Firewalls.
Firewalls.
Firewalls.
Session 20 INST 346 Technologies, Infrastructure and Architecture
Firewalls.
Presentation transcript:

Intrusion Detection Systems

Definitions Intrusion –A set of actions aimed to compromise the security goals, namely Integrity, confidentiality, or availability, of a computing and networking resource Intrusion detection –The process of identifying and responding to intrusion activities

Elements of Intrusion Detection Primary assumptions: –System activities are observable –Normal and intrusive activities have distinct evidence Components of intrusion detection systems: –From an algorithmic perspective: Features - capture intrusion evidences Models - piece evidences together –From a system architecture perspective: Audit data processor, knowledge base, decision engine, alarm generation and responses

Components of Intrusion Detection System Audit Data Preprocessor Audit Records Activity Data Detection Models Detection Engine Alarms Decision Table Decision Engine Action/Report system activities are observable normal and intrusive activities have distinct evidence

Intrusion Detection Approaches Modeling –Features: evidences extracted from audit data –Analysis approach: piecing the evidences together Misuse detection (a.k.a. signature-based) Anomaly detection (a.k.a. statistical-based) Deployment: Network-based or Host-based Development and maintenance –Hand-coding of “expert knowledge” –Learning based on audit data

Misuse Detection Intrusion Patterns activities pattern matching intrusion Can’t detect new attacks Example: if (src_ip == dst_ip) then “land attack”

Anomaly Detection activity measures probable intrusion Relatively high false positive rate - anomalies can just be new normal activities.

Key Performance Metrics Algorithm –Alarm: A; Intrusion: I –Detection (true alarm) rate: P(A|I) False negative rate P( ¬ A|I) –False alarm rate: P(A| ¬ I) True negative rate P( ¬ A| ¬ I) Architecture –Scalable –Resilient to attacks

Host-Based IDSs Using OS auditing mechanisms –E.G., BSM on Solaris: logs all direct or indirect events generated by a user –strace for system calls made by a program Monitoring user activities –E.G., Analyze shell commands Monitoring executions of system programs –E.G., Analyze system calls made by sendmail

Network IDSs Deploying sensors at strategic locations –E.G., Packet sniffing via tcpdump at routers Inspecting network traffic –Watch for violations of protocols and unusual connection patterns Monitoring user activities –Look into the data portions of the packets for malicious command sequences May be easily defeated by encryption –Data portions and some header information can be encrypted Other problems …

Architecture of Network IDS Network libpcap Event Engine Policy Script Interpreter Packet stream Filtered packet stream Event stream Alerts/notifications Policy script Event control tcpdump filters

Firewall Versus Network IDS Firewall –Active filtering –Fail-close Network IDS –Passive monitoring –Fail-open FW IDS

Requirements of Network IDS High-speed, large volume monitoring –No packet filter drops Real-time notification Mechanism separate from policy Extensible Broad detection coverage Economy in resource usage Resilience to stress Resilience to attacks upon the IDS itself!

Case Study: Snort IDS

Problems with Current IDSs Knowledge and signature-based: –“We have the largest knowledge/signature base” –Ineffective against new attacks Individual attack-based: –“Intrusion A detected; Intrusion B detected …” –No long-term proactive detection/prediction Statistical accuracy-based: –“x% detection rate and y% false alarm rate” Are the most damaging intrusions detected? Statically configured.

Firewalls

What is a Firewall? A choke point of control and monitoring Interconnects networks with differing trust Imposes restrictions on network services –only authorized traffic is allowed Auditing and controlling access –can implement alarms for abnormal behavior Itself immune to penetration Provides perimeter defence

Classification of Firewall Characterized by protocol level it controls in Packet filtering Circuit gateways Application gateways Combination of above is dynamic packet filter

Firewalls – Packet Filters

Simplest of components Uses transport-layer information only –IP Source Address, Destination Address –Protocol/Next Header (TCP, UDP, ICMP, etc) –TCP or UDP source & destination ports –TCP Flags (SYN, ACK, FIN, RST, PSH, etc) –ICMP message type Examples –DNS uses port 53 No incoming port 53 packets except known trusted servers

Usage of Packet Filters Filtering with incoming or outgoing interfaces –E.g., Ingress filtering of spoofed IP addresses –Egress filtering Permits or denies certain services –Requires intimate knowledge of TCP and UDP port utilization on a number of operating systems

How to Configure a Packet Filter Start with a security policy Specify allowable packets in terms of logical expressions on packet fields Rewrite expressions in syntax supported by your vendor General rules - least privilege –All that is not expressly permitted is prohibited –If you do not need it, eliminate it

Every ruleset is followed by an implicit rule reading like this. Example 1: Suppose we want to allow inbound mail (SMTP, port 25) but only to our gateway machine. Also suppose that mail from some particular site SPIGOT is to be blocked.

Solution 1: Example 2: Now suppose that we want to implement the policy “any inside host can send mail to the outside”.

Solution 2: This solution allows calls to come from any port on an inside machine, and will direect them to port 25 on the outside. Simple enough… So why is it wrong?

Our defined restriction is based solely on the outside host’s port number, which we have no way of controlling. Now an enemy can access any internal machines and port by originating his call from port 25 on the outside machine. Now for a better solution…

The ACK signifies that the packet is part of an ongoing conversation Packets without the ACK are connection establishment messages, which we are only permitting from internal hosts

Backup Slides

90% of DoS attacks use TCP SYN floods Streaming spoofed TCP SYNs Takes advantage of three way handshake Server start “half-open” connections These build up… until queue is full and all additional requests are blocked SYN Flooding Attack

Security & Performance of Packet Filters IP address spoofing –Fake source address to be trusted –Add filters on router to block Degradation depends on number of rules applied at any point Order rules so that most common traffic is dealt with first Correctness is more important than speed

Port Numbering TCP connection –Server port is number less than 1024 –Client port is number between 1024 and Permanent assignment –Ports <1024 assigned permanently 20,21 for FTP, 23 for Telnet 25 for server SMTP, etc. Variable use –Ports >1024 must be available for client to make any connection –This presents a limitation for stateless packet filtering If client wants to use port 2048, firewall must allow incoming traffic on this port –Better: stateful filtering knows outgoing requests

Stateful Filtering