Spring 2004 CMPE 151: Network Administration Lecture 6.

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.
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 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
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.
Access Control for Networks Problems: –Enforce an access control policy Allow trust relationships among machines –Protect local internet from outsiders.
Firewalls and Intrusion Detection Systems
5/4/01EMTM 5531 EMTM 553: E-commerce Systems Lecture 7b: Firewalls Insup Lee Department of Computer and Information Science University of Pennsylvania.
K. Salah 1 Chapter 31 Security in the Internet. K. Salah 2 Figure 31.5 Position of TLS Transport Layer Security (TLS) was designed to provide security.
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
Winter 2005 CMPE 151: Network Administration Network Gateways.
FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. 6 Packet Filtering By Whitman, Mattord, & Austin© 2008 Course Technology.
1 Lecture 20: Firewalls motivation ingredients –packet filters –application gateways –bastion hosts and DMZ example firewall design using firewalls – virtual.
FIREWALL TECHNOLOGIES Tahani al jehani. Firewall benefits  A firewall functions as a choke point – all traffic in and out must pass through this single.
Network Security (Firewall) Instructor: Professor Morteza Anvari Student: Xiuxian Chen ID: Term: Spring 2001.
A Brief Taxonomy of Firewalls
BY- NIKHIL TRIPATHI 12MCMB10.  What is a FIREWALL?  Can & Can’t in Firewall perspective  Development of Firewalls  Firewall Architectures  Some Generalization.
CS426Fall 2010/Lecture 361 Computer Security CS 426 Lecture 36 Perimeter Defense and Firewalls.
Packet Filtering. 2 Objectives Describe packets and packet filtering Explain the approaches to packet filtering Recommend specific filtering rules.
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.
January 2009Prof. Reuven Aviv: Firewalls1 Firewalls.
Chapter 6: Packet Filtering
1 Pertemuan 13 IDS dan Firewall Matakuliah: H0242 / Keamanan Jaringan Tahun: 2006 Versi: 1.
Chapter 11 Firewalls.
8: Network Management1 Firewalls. 8: Network Management2 Firewalls Two firewall types: m packet filter m application gateways To prevent denial of service.
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)
Firewalls, etc. (Some of the slides in this file were adapted from Oppliger’s online slides at
NS-H /11041 Intruder. NS-H /11042 Intruders Three classes of intruders (hackers or crackers): –Masquerader –Misfeasor –Clandestine user.
Firewall – Survey Purpose of a Firewall – To allow ‘proper’ traffic and discard all other traffic Characteristic of a firewall – All traffic must go through.
Karlstad University Firewall Ge Zhang. Karlstad University A typical network topology Threats example –Back door –Port scanning –…–…
1 OFF SYMB - 12/7/2015 Firewalls Basics. 2 OFF SYMB - 12/7/2015 Overview Why we have firewalls What a firewall does Why is the firewall configured the.
Chapter 8 Network Security Thanks and enjoy! JFK/KWR All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking:
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.
Cryptography and Network Security
Computer Security Firewalls and Intrusion Prevention Systems.
Unit 2 Personal Cyber Security and Social Engineering Part 2.
Firewalls. Overview of Firewalls As the name implies, a firewall acts to provide secured access between two networks A firewall may be implemented as.
Polytechnic University Firewall and Trusted Systems Presented by, Lekshmi. V. S cos
Why do we need Firewalls?
Firewall.
Computer Data Security & Privacy
Firewall – Survey Purpose of a Firewall Characteristic of a firewall
* Essential Network Security Book Slides.
Firewalls Purpose of a Firewall Characteristic of a firewall
POOJA Programmer, CSE Department
دیواره ی آتش.
Firewalls.
Presentation transcript:

Spring 2004 CMPE 151: Network Administration Lecture 6

Spring 2004 Project 6: Network Gateway Firewall. NAT.

Spring 2004 Firewalls What is a firewall? Security at the network level. Wide-area network access makes vital information/resources available (corporations, educational and research institutions). But, security threats from (mainly) the “outside world”. Secure each machine and/or protect the whole network.

Spring 2004 Firewalls “Outer security wall”. Protect organization’s network from attacks originating outside network. Also, single “choke point” for security and auditing purposes. Firewall can be a single machine or a group of machines performing the firewall functions collaboratively.

Spring 2004 Firewalls (cont’d) Convenient location for other “Internet- related” functions, e.g., NAT’ing, auditing Internet usage, etc.

Spring 2004 Firewall operation All incoming/outgoing traffic must pass through firewall. Only authorized traffic (as defined by local security policy) allowed to pass. Firewall itself immune to penetration (trusted system + secure OS).

Spring 2004 Types of access control Service control: types of service that can be accessed (inside and outside). Filtering based on IP address and TCP port #. Proxy services that receives and interprets traffic. May host service, e.g., Web server. Direction control: determines directions in which certain traffic allowed to flow.

Spring 2004 Types of access control (cont’d) User control: determines which user allowed to access which service. Behavior control: controls access to particular services (e.g., filtering out e- mail spam, enabling external access to only portion of Web server information, etc.).

Spring 2004 Types of firewalls Packet-filtering. Application-level. Stateful inspection. Circuit-level.

Spring 2004 Packet-filtering firewalls Restricts type of traffic that go through. Applies set of rules to each IP packet. Decides to forward or discard it. Filters packets in both directions. Filtering based on packet header (IP and transport) information (e.g., destination/source address, port number, IP protocol field).

Spring 2004 Rules Consist of and. : IP/TCP/UDP fields and values. : discard or forward. Default policies: Discard: whatever is not expressly permitted is discarded. Forward: … Rules are added as new threats become known.

Spring 2004 Example rules actionourhostporttheirhostport allow OUR-GW 25 * * block * * SPIGOT *

Spring 2004 Observations Service-specific filtering based on client using non-privileged port to contact privileged server port. FTP uses 2 TCP connections: one for control and another for data. Client initiates control connection and server initiates data connection. If FTP is allowed, need to allow inbound access to all non-privileged (> 1024) TCP ports.

Spring 2004 Two-stage filtering One machine gateways to the Internet; the other lies between the outer gateway and the rest of the local net. Outer gateway relatively open. Inner gateway very conservative. FTP and other “less secure” network services available from outer gateway.

Spring 2004 Limitations Cannot protect against attacks bypassing the firewall (e.g., local users with dial-up connections to ISP). Cannot protect against internal threats (e.g., malicious local user). Cannot protect against transfer of virus- infected files.

Spring 2004 Application-level firewalls Also called service proxy firewalls. Acts as relay for application-level traffic. Intercepts connections to/from outside world and establish connections to service outside/inside local network. User contacts firewall using specific application (e.g., telnet, http, etc.); firewall contacts remote host and relays application traffic between two endpoints. Firewall must support specific applications.

Spring 2004 Observations Application-level firewalls tend to be more secure: they only need to secure a few applications. Easier to log and audit application-level traffic. Drawbacks: Non-transparent. Slower. Less flexible.

Spring 2004 Stateful inspection firewalls Inspect traffic that flows through to detect “abnormal” activity. Example: Examine FTP control exchange for data port; firewall should expect data connection to that port. Problem: keep state for all active connections using different protocols. Current stateful inspection firewalls inspect limited number of connections/protocols. Or, search for known attack patterns.

Spring 2004 Circuit-level firewalls Acts as intermediate to all TCP connections. Always sets up 2 connections: between local user and itself and itself and remote host. Usually relays data without inspection. Security relies on determining which connections to allow.

Spring 2004 Circuit-level gateway example SOCKS package. SOCKS version 5 specified in RFC Client opens connection to appropriate SOCKs port on SOCKs server (port 1080). Authentication exchange and then relay request. Server evaluates request and establishes TCP connection or denies it.

Spring 2004 Firewall configurations More complex configurations. Combine multiple firewalls. For more details, “Network Security Essentials”, Stallings.

Spring 2004 How safe are firewalls? Should not be the single defense. Supplemental security measure. Negative effect if it causes other defenses to be weakned/not employed. Individual hosts should be protected. Tools like crack, COPS, tripwire, etc.

Spring 2004 Security policies Local users should be able to connect to any Internet service. But, outside users should only be allowed to connect to limited set of local services (e.g., FTP access to local archive, SMTP connections to mail server).

Spring 2004 Sources of security-related information CERT Computer Emergency Response Team. DARPA sponsored organization at CMU. Basically, informational: CERT advisories. Vendor security patches. Security tool announcements. Known security attacks.

Spring 2004 More sources of security info… SecurityFocus.com Security information repository: news, relevant papers, tools. BugTraq mailing list. Discussion of security vulnerabilities and fixes. Mail to SANS System Administrator, Networking and Security Institute. Sponsors conferences, training, etc.

Spring 2004 NAT

Spring 2004 NAT Network address translation. Quick fix to address depletion problem. Organization assigned one or a few IP addresses. NAT box replaces “internal” addresses with real IP address on the way out.

Spring 2004 NAT Illustration Internet Private network NAT Pool of IP addresses and/or ports Operation:Sp wants to talk to Dg: Create Sg-Sp mapping Replace Sp with Sg for outgoing packets Replace Sg with Sp for incoming packets DgSp data DgSg data D PG Q: what happens if we reverse the question and Dg wants to talk to Sp?

Spring 2004 NAT disadvantages Need to keep track of who originated the connection to be able to route back to that host/port. TCP source port field replaced with index into NAT box translation table which holds internal IP address and port number.

Spring 2004 NAT disadvantages (cont’d) Violates “IP address uniqueness”. Violates “stateless” design principle. Violates layering principle or Internet’s “end2end”ness. What if TCP and UDP are not used? Application-specific gateways.

Spring 2004 More details “Network Security Essentials”, Stallings. “UNIX System Administrator Handbook”, Nemeth et al. Also, look at references on both books.