CSCE 815 Network Security Lecture 23 Jails and such April 15, 2003.

Slides:



Advertisements
Similar presentations
Computer Science CSC 474Dr. Peng Ning1 CSC 474 Information Systems Security Topic 4.1 Firewalls.
Advertisements

Network Security Essentials Chapter 11
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.
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.
CSCI 530 Lab Firewalls. Overview Firewalls Capabilities Limitations What are we limiting with a firewall? General Network Security Strategies Packet Filtering.
Lecture 14 Firewalls modified from slides of Lawrie Brown.
—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.
Chapter 10 Firewalls. Introduction seen evolution of information systems now everyone want to be on the Internet and to interconnect networks has persistent.
1 Pertemuan 05 Firewall Matakuliah: H0451/Praktikum Jaringan Komputer Tahun: 2006 Versi: 1/0.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Cryptography and Network Security Chapter 20 Fourth Edition by William Stallings.
1 Firewall & IP Tables. 2 Firewall IP Tables FIREWALLS All previous security measures cannot prevent Eve from sending a harmful message to a system.
1 Lecture 20: Firewalls motivation ingredients –packet filters –application gateways –bastion hosts and DMZ example firewall design using firewalls – virtual.
Cryptography and Network Security Chapter 20 Firewalls
1 Enabling Secure Internet Access with ISA Server.
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.
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.
Intranet, Extranet, Firewall. Intranet and Extranet.
Network Security Essentials Chapter 11 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
NetFilter – IPtables Firewall –Series of rules to govern what Kind of access to allow on your system –Packet filtering –Drop or Accept packets NAT –Network.
The Security Aspect of Social Engineering Justin Steele.
CSCE 815 Network Security Lecture 22 Intrusions April 10, 2003.
1 Internet Firewalls What it is all about Concurrency System Lab, EE, National Taiwan University R355.
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)
Packet Filtering Chapter 4. Learning Objectives Understand packets and packet filtering Understand approaches to packet filtering Set specific filtering.
Network and Perimeter Security Paula Kiernan Senior Consultant Ward Solutions.
Firewalling With Netfilter/Iptables. What Is Netfilter/Iptables? Improved successor to ipchains available in linux kernel 2.4/2.6. Netfilter is a set.
Firewall Tutorial Hyukjae Jang Nc lab, CS dept, Kaist.
Security fundamentals Topic 10 Securing the network perimeter.
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
Role Of Network IDS in Network Perimeter Defense.
Cryptography and Network Security
Computer Security Firewalls and Intrusion Prevention Systems.
LINUX® Netfilter The Linux Firewall Engine. Overview LINUX® Netfilter is a firewall engine built into the Linux kernel Sometimes called “iptables” for.
25/09/ Firewall, IDS & IPS basics. Summary Firewalls Intrusion detection system Intrusion prevention system.
Firewalls. A Firewall is: a) Device that interconnects two networks b) Network device that regulates the access to an internal network c) Program that.
Security fundamentals
Cryptography and Network Security Chapter 20
Why do we need Firewalls?
Computer Data Security & Privacy
Firewall – Survey Purpose of a Firewall Characteristic of a firewall
IS3440 Linux Security Unit 6 Using Layered Security for Access Control
* Essential Network Security Book Slides.
Firewalls Purpose of a Firewall Characteristic of a firewall
Setting Up Firewall using Netfilter and Iptables
Subject Name: NETWORK SECURITY Subject Code: 10EC832
OPS235: Configuring a Network Using Virtual Machines – Part 2
POOJA Programmer, CSE Department
Firewalls Jiang Long Spring 2002.
Cryptography and Network Security Chapter 20 Firewalls
Chapter 20: Firewalls Fourth Edition by William Stallings
Firewalls.
Cryptography and Network Security Chapter 20
Presentation transcript:

CSCE 815 Network Security Lecture 23 Jails and such April 15, 2003

– 2 – CSCE 815 Sp 03 Network Administrator Tools Network Administration tools (MSDOS/Windows) ipconfig ifconfig netstat /etc/… not really tools as much as files /sbin/… Find ethernet/IP addresses More tools

– 3 – CSCE 815 Sp 03 ARP Spoofing Revisited Linux World /sbin arp Iptables, ipchains, ipfwadm Arp comand –print the table Ping somewhere then use arp to look at the table again

– 4 – CSCE 815 Sp 03 Firewall Limitations cannot protect from attacks bypassing it eg sneaker net, utility modems, trusted organisations, trusted services (eg SSL/SSH) cannot protect against internal threats eg disgruntled employee cannot protect against transfer of all virus infected programs or files because of huge range of O/S & file types

– 5 – CSCE 815 Sp 03 Firewalls – Packet Filters

– 6 – CSCE 815 Sp 03 Firewalls – Packet Filters simplest of components foundation of any firewall system examine each IP packet (no context) and permit or deny according to rules hence restrict access to services (ports) possible default policies that not expressly permitted is prohibited that not expressly prohibited is permitted

– 7 – CSCE 815 Sp 03 Firewalls – Packet Filters

– 8 – CSCE 815 Sp 03 Firewalls with IPtables (Linux) IPtablesIPchainsNetfilter “10 minutes to an iptables-based Linux firewall” by Joshua Drake Joshua DrakeJoshua Drake “Taming the Wild Netfilter” September 01, 2001 by David A. Bandel David A. BandelDavid A. Bandel

– 9 – CSCE 815 Sp 03 Firewalls with IPtables (Linux) root]# /sbin/iptables -h iptables v1.2.1 Usage: iptables -[ADC] chain rule-specification [options] iptables -[RI] chain rulenum rule-specification [options] iptables -D chain rulenum [options] iptables -[LFZ] [chain] [options] iptables -[NX] chain iptables -E old-chain-name new-chain-name iptables -P chain target [options] iptables -h (print this help information) Commands: Either long or short options are allowed. --append -A chain Append to chain --delete -D chain Delete matching rule from chain --delete -D chain rulenum [...]

– 10 – CSCE 815 Sp 03 Firewalls with IPtables (Linux) No incoming traffic (tcp connections) /sbin/iptables -A INPUT -p tcp --syn -j DROP Accept incoming SSH (port 22) why? /sbin/iptables -A INPUT -p tcp --syn -s /32 -- destination-port 22 -j ACCEPT /sbin/iptables -A INPUT -p tcp --syn -j DROP Add rule to allow a web server to the chain /sbin/iptables -A INPUT -p tcp --syn -s /32 -- destination-port 22 -j ACCEPT /sbin/iptables -A INPUT -p tcp --syn --destination-port 80 -j ACCEPT /sbin/iptables -A INPUT -p tcp --syn -j DROP

– 11 – CSCE 815 Sp 03 Chroot Jails References: general purpose security/Linux site chroot environment:

– 12 – CSCE 815 Sp 03 Chroot Implementation

– 13 – CSCE 815 Sp 03 User-mode Linux UML (binding problem) creates a virtual Machine allows you to run multiple instances of Linux on the same system at the same time designed for a variety of purposes, such as kernel debugging, testing applications

– 14 – CSCE 815 Sp 03 Firewalls – Stateful Packet Filters examine each IP packet in context keeps tracks of client-server sessions checks each packet validly belongs to one better able to detect bogus packets out of context

– 15 – CSCE 815 Sp 03 Firewalls - Application Level Gateway (or Proxy)

– 16 – CSCE 815 Sp 03 Firewalls - Application Level Gateway (or Proxy) use an application specific gateway / proxy has full access to protocol user requests service from proxy proxy validates request as legal then actions request and returns result to user need separate proxies for each service some services naturally support proxying others are more problematic custom services generally not supported

– 17 – CSCE 815 Sp 03 Firewalls - Circuit Level Gateway

– 18 – CSCE 815 Sp 03 Firewalls - Circuit Level Gateway relays two TCP connections imposes security by limiting which such connections are allowed once created usually relays traffic without examining contents typically used when trust internal users by allowing general outbound connections SOCKS commonly used for this

– 19 – CSCE 815 Sp 03 Bastion Host highly secure host system potentially exposed to "hostile" elements hence is secured to withstand this may support 2 or more net connections may be trusted to enforce trusted separation between network connections runs circuit / application level gateways or provides externally accessible services

– 20 – CSCE 815 Sp 03 Firewall Configurations

– 21 – CSCE 815 Sp 03 Firewall Configurations

– 22 – CSCE 815 Sp 03 Firewall Configurations

– 23 – CSCE 815 Sp 03 Access Control given system has identified a user determine what resources they can access general model is that of access matrix with subject - active entity (user, process) object - passive entity (file or resource) access right – way object can be accessed can decompose by columns as access control lists rows as capability tickets

– 24 – CSCE 815 Sp 03 Access Control Matrix

– 25 – CSCE 815 Sp 03 Trusted Computer Systems information security is increasingly important have varying degrees of sensitivity of information cf military info classifications: confidential, secret etc subjects (people or programs) have varying rights of access to objects (information) want to consider ways of increasing confidence in systems to enforce these rights known as multilevel security subjects have maximum & current security level objects have a fixed security level classification

– 26 – CSCE 815 Sp 03 Bell LaPadula (BLP) Model one of the most famous security models implemented as mandatory policies on system has two key policies: no read up (simple security property) a subject can only read/write an object if the current security level of the subject dominates (>=) the classification of the object no write down (*-property) a subject can only append/write to an object if the current security level of the subject is dominated by (<=) the classification of the object

– 27 – CSCE 815 Sp 03 Reference Monitor

– 28 – CSCE 815 Sp 03 Evaluated Computer Systems governments can evaluate IT systems against a range of standards: TCSEC, IPSEC and now Common Criteria define a number of “levels” of evaluation with increasingly stringent checking have published lists of evaluated products though aimed at government/defense use can be useful in industry also

– 29 – CSCE 815 Sp 03 Summary have considered: firewalls types of firewalls configurations access control trusted systems

– 30 – CSCE 815 Sp 03 References Librenix: types of firewalls configurations access contro Newsforge: