Computer Security Firewalls and Intrusion Prevention Systems.

Slides:



Advertisements
Similar presentations
Network Security Essentials Chapter 11
Advertisements

Lecture slides for “Computer Security: Principles and Practice”, 2/e, by William Stallings and Lawrie Brown, Chapter 9 “Firewalls and Intrusion Prevention.
Denial of Service, Firewalls, and Intrusion Detection
Firewalls By Tahaei Fall What is a firewall? a choke point of control and monitoring interconnects networks with differing trust imposes restrictions.
Computer Security: Principles and Practice EECS710: Information Security Professor Hossein Saiedian Fall 2014 Chapter 9: Firewalls and Intrusion Prevention.
Computer Security: Principles and Practice Chapter 9 – Firewalls and Intrusion Prevention Systems.
Computer Security: Principles and Practice First Edition by William Stallings and Lawrie Brown Lecture slides by Lawrie Brown Chapter 9 – Firewalls and.
Firewalls Uyanga Tserengombo
IUT– Network Security Course 1 Network Security Firewalls.
FIREWALLS Chapter 11.
Firewalls Dr.P.V.Lakshmi Information Technology GIT,GITAM University
Computer Security: Principles and Practice
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.
Fall 2008CS 334: Computer Security1 Firewalls Special Thanks to our friends at The Blekinge Institute of Technology, Sweden for providing the basis for.
Lecture 14 Firewalls modified from slides of Lawrie Brown.
Security Firewall Firewall design principle. Firewall Characteristics.
—On War, Carl Von Clausewitz
Chapter 11 Firewalls.
Chapter 10 Firewalls. Introduction seen evolution of information systems now everyone want to be on the Internet and to interconnect networks has persistent.
Electronic Commerce 2. Definition Ecommerce is the process of buying and selling products and services via distributed electronic media, usually the World.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Firewalls1 Firewalls Mert Özarar Bilkent University, Turkey
Firewall 2 * Essential Network Security Book Slides. IT352 | Network Security |Najwa AlGhamdi 1.
1 Lecture 20: Firewalls motivation ingredients –packet filters –application gateways –bastion hosts and DMZ example firewall design using firewalls – virtual.
Firewalls CS432. Overview  What are firewalls?  Types of firewalls Packet filtering firewalls Packet filtering firewalls Sateful firewalls Sateful firewalls.
Network Security (Firewall) Instructor: Professor Morteza Anvari Student: Xiuxian Chen ID: Term: Spring 2001.
CS426Fall 2010/Lecture 361 Computer Security CS 426 Lecture 36 Perimeter Defense and Firewalls.
Lecture 15 Firewalls modified from slides of Lawrie Brown.
Chapter 20 Firewalls.
Why do we need Firewalls? Internet connectivity is a must for most people and organizations  especially for me But a convenient Internet connectivity.
NW Security and Firewalls Network Security
Intranet, Extranet, Firewall. Intranet and Extranet.
Network Security Essentials Chapter 11 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
1 Pertemuan 13 IDS dan Firewall Matakuliah: H0242 / Keamanan Jaringan Tahun: 2006 Versi: 1.
The Security Aspect of Social Engineering Justin Steele.
OV Copyright © 2013 Logical Operations, Inc. All rights reserved. Network Security  Network Perimeter Security  Intrusion Detection and Prevention.
Windows 7 Firewall.
1 Internet Firewalls What it is all about Concurrency System Lab, EE, National Taiwan University R355.
Firewalls, etc.. Network Security2 Outline Intro Various firewall technologies: –Static Packet Filtering (or nonstateful packet filter) –Dynamic Packet.
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)
11 SECURING YOUR NETWORK PERIMETER Chapter 10. Chapter 10: SECURING YOUR NETWORK PERIMETER2 CHAPTER OBJECTIVES  Establish secure topologies.  Secure.
Data Security and Encryption (CSE348)
OV Copyright © 2011 Element K Content LLC. All rights reserved. Network Security  Network Perimeter Security  Intrusion Detection and Prevention.
Chapter 9 Firewalls and Intrusion Prevention Systems.
NS-H /11041 Intruder. NS-H /11042 Intruders Three classes of intruders (hackers or crackers): –Masquerader –Misfeasor –Clandestine user.
Firewalls  Firewall sits between the corporate network and the Internet Prevents unauthorized access from the InternetPrevents unauthorized access from.
© 2006 Cisco Systems, Inc. All rights reserved. Cisco IOS Threat Defense Features.
Securing the Network Infrastructure. Firewalls Typically used to filter packets Designed to prevent malicious packets from entering the network or its.
Karlstad University Firewall Ge Zhang. Karlstad University A typical network topology Threats example –Back door –Port scanning –…–…
Firewalls 1.
Firewalls Lesson Introduction Part of network defense-in-depth
1 An Introduction to Internet Firewalls Dr. Rocky K. C. Chang 12 April 2007.
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
Role Of Network IDS in Network Perimeter Defense.
Cryptography and Network Security
Unit 2 Personal Cyber Security and Social Engineering Part 2.
Computer Security: Principles and Practice
Why do we need Firewalls?
Firewall.
Computer Data Security & Privacy
Prepared By : Pina Chhatrala
Firewall – Survey Purpose of a Firewall Characteristic of a firewall
Lecture # 7 Firewalls الجدر النارية. Lecture # 7 Firewalls الجدر النارية.
* Essential Network Security Book Slides.
Firewalls Purpose of a Firewall Characteristic of a firewall
POOJA Programmer, CSE Department
Firewalls.
Presentation transcript:

Computer Security Firewalls and Intrusion Prevention Systems

 Firewalls can be an effective means of protecting a local system or network of systems an effective means of protecting a local system or network of systems from network-based security threats from network-based security threats  Internet connectivity is essential to the organization. Individual users within the organization want and need Internet access Individual users within the organization want and need Internet access

Firewalls and Intrusion Prevention Systems  However, while Internet access provides benefits to the organization, it enables the outside world to reach and interact with local network assets. This creates a threat to the organization. This creates a threat to the organization.  It is possible to equip each workstation and server on the premises network with strong security features but, this is not a practical or economical approach. but, this is not a practical or economical approach.

Firewalls and Intrusion Prevention Systems  The alternative, is the firewall, is the firewall, inserted between the premises network and the Internet inserted between the premises network and the Internet to establish a controlled link and to erect an outer security wall or perimeter. to establish a controlled link and to erect an outer security wall or perimeter.  The aim of this perimeter is to protect the premises network from Internet- based attacks and to protect the premises network from Internet- based attacks and to provide a single choke point where security and audit can be imposed. to provide a single choke point where security and audit can be imposed.

Firewall Capabilities & Limits  capabilities: defines a single choke point defines a single choke point provides a location for monitoring security events provides a location for monitoring security events  limitations: cannot protect against attacks bypassing firewall cannot protect against attacks bypassing firewall may not protect fully against internal threats may not protect fully against internal threats laptop, PDA, portable storage device infected outside then used inside laptop, PDA, portable storage device infected outside then used inside

Types of Firewalls

Packet Filtering Firewall  applies rules to packets in/out of firewall  based on information in packet header src/dest IP addr & port, IP protocol, interface src/dest IP addr & port, IP protocol, interface  typically a list of rules of matches on fields if match rule says if - forward or discard packet if match rule says if - forward or discard packet  two default policies: discard - prohibit unless expressly permitted discard - prohibit unless expressly permitted more conservative, controlled, visible to usersmore conservative, controlled, visible to users forward - permit unless expressly prohibited forward - permit unless expressly prohibited easier to manage/use but less secureeasier to manage/use but less secure

Packet Filter Rules

Packet Filter Weaknesses  weaknesses cannot prevent attack on application bugs because does not examine upper layer data cannot prevent attack on application bugs because does not examine upper layer data limited logging functionality because limited info is available limited logging functionality because limited info is available do no support advanced user authentication do no support advanced user authentication vulnerable to attacks on TCP/IP protocol bugs vulnerable to attacks on TCP/IP protocol bugs improper configuration can lead to breaches improper configuration can lead to breaches  attack IP address spoofing IP address spoofing

Stateful Inspection Firewall  reviews packet header information but also keeps info on TCP connections typically have low, “known” port no for server typically have low, “known” port no for server Less than 1024Less than 1024 and high, dynamically assigned client port no and high, dynamically assigned client port no simple packet filter must allow all return high port numbered packets back in simple packet filter must allow all return high port numbered packets back in stateful inspection packet firewall tightens rules for TCP traffic using a directory of TCP connections stateful inspection packet firewall tightens rules for TCP traffic using a directory of TCP connections only allow incoming traffic to high-numbered ports for packets matching an entry in this directory only allow incoming traffic to high-numbered ports for packets matching an entry in this directory may also track TCP seq numbers as well may also track TCP seq numbers as well

Application-Level Gateway  acts as a relay of application-level traffic user contacts gateway with remote host name user contacts gateway with remote host name authenticates themselves authenticates themselves gateway contacts application on remote host and relays TCP segments between server and user gateway contacts application on remote host and relays TCP segments between server and user  must have proxy code for each application may restrict application features supported may restrict application features supported  more secure than packet filters Only allow approved/selected applications Only allow approved/selected applications  but have higher overheads

Circuit-Level Gateway  sets up two TCP connections, to an inside user and to an outside host  relays TCP segments from one connection to the other without examining contents hence independent of application logic hence independent of application logic just determines whether relay is permitted just determines whether relay is permitted  typically used when inside users trusted may use application-level gateway inbound and circuit-level gateway outbound may use application-level gateway inbound and circuit-level gateway outbound hence lower overheads hence lower overheads

SOCKS Circuit-Level Gateway  SOCKS v5 defined as RFC1928 to allow TCP/UDP applications to use firewall  components: SOCKS server on firewall SOCKS server on firewall SOCKS client library on all internal hosts SOCKS client library on all internal hosts SOCKS-ified client applications SOCKS-ified client applications  client app contacts SOCKS server, authenticates, sends relay request  server evaluates & establishes relay connection  UDP handled with parallel TCP control channel UDP forward data, TCP authenticate user UDP forward data, TCP authenticate user

Firewall Locations  several options for locating firewall: bastion host bastion host individual host-based firewall individual host-based firewall personal firewall personal firewall

Bastion Hosts  critical strongpoint in network  hosts or platform for application/circuit-level gateways  common characteristics: runs secure O/S, only essential services runs secure O/S, only essential services may require user auth to access proxy or host may require user auth to access proxy or host each proxy can restrict features, hosts accessed each proxy can restrict features, hosts accessed limited disk use, hence read-only code limited disk use, hence read-only code

Host-Based Firewalls  used to secure individual host  available in/add-on for many O/S  filter packet flows  often used on servers  advantages: taylored filter rules for specific host needs taylored filter rules for specific host needs protection from both internal / external attacks protection from both internal / external attacks additional layer of protection to org firewall additional layer of protection to org firewall

Personal Firewall  controls traffic flow to/from PC/workstation  for both home or corporate use  may be software module on PC  or in home cable/DSL router/gateway  typically much less complex  primary role to deny unauthorized access  may also monitor outgoing traffic to detect/block worm/malware activity

Firewall Locations

Virtual Private Networks

 VPN consists of a set of computers that interconnect by means of a relatively unsecure network.  Use of a public network exposes corporate traffic to eavesdropping and eavesdropping and provides an entry point for unauthorized users. provides an entry point for unauthorized users.  To counter this problem, a VPN is needed.

Virtual Private Networks  In essence, a VPN uses encryption and authentication a VPN uses encryption and authentication in the lower protocol layers in the lower protocol layers to provide a secure connection to provide a secure connection through an otherwise insecure network, typically the Internet. through an otherwise insecure network, typically the Internet.

Virtual Private Networks  VPNs are generally cheaper than real private networks using private lines but rely on having the same encryption and authentication system at both ends.  The encryption may be performed by firewall software or possibly by routers.  The most common protocol mechanism used for this purpose is at the IP level and is known as IPSec.

Intrusion Prevention Systems (IPS)  recent addition to security products which inline net/host-based IDS that can block traffic inline net/host-based IDS that can block traffic functional addition to firewall that adds IDS capabilities functional addition to firewall that adds IDS capabilities  can block traffic like a firewall  using IDS algorithms  may be network or host based

Host-Based IPS  identifies attacks using both: signature techniques signature techniques malicious application packetsmalicious application packets anomaly detection techniques anomaly detection techniques behavior patterns that indicate malwarebehavior patterns that indicate malware  can be tailored to the specific platform e.g. general purpose, web/database server specific e.g. general purpose, web/database server specific  can also sandbox applets to monitor behavior Quarantine and run applet to monitor its behaviour Quarantine and run applet to monitor its behaviour If malicious then halt If malicious then halt

Network-Based IPS  inline NIDS that can discard packets or terminate TCP connections  uses signature and anomaly detection  may provide flow data protection monitoring full application flow content monitoring full application flow content  can identify malicious packets using: pattern matching, stateful matching, protocol anomaly, traffic anomaly, statistical anomaly pattern matching, stateful matching, protocol anomaly, traffic anomaly, statistical anomaly

Summary  introduced need for & purpose of firewalls  types of firewalls packet filter, stateful inspection, application and circuit gateways packet filter, stateful inspection, application and circuit gateways  firewall locations, topologies  VPN  intrusion prevention systems