Docsity

Firewalls Part 2-Computer Network Security-Lecture Slides, Slides of Computer Security

Partial preview of the text

Download Firewalls Part 2-Computer Network Security-Lecture Slides and more Slides Computer Security in PDF only on Docsity!

Firewall Policy Who gets to do what via the Internet?  What Internet usage is not allowed?  Who makes sure the policy works and isbeing complied with?  When can changes be made to policy/rules?  What will be done with the logs?  Will we cooperate with law enforcement?

32

Firewall Policy  High-level policy : service access policy  Low-level policy : firewall design policyFirewall policy should be flexible!

34

Firewall Design PolicyApproaches:  Open system : Permit any service unlessexplicitly denied (maximal accessibility)  Closed system : Deny any service unlessexplicitly permitted (maximal security)

35

Firewalls – Packet Filters  Simplest of components  Foundation of any firewall system  IP packets are filtered based on  source IP address + source port number  destination^ IP^ address^ +

destination^ port

number.  Often^ implemented^ by a router (screeningrouter).

Content filtering  Since an enterprise^ owns^ the^ computing

and^ network facilities used by employees, it is perfectly within it’s rightsto attempt to limit internet access to sites that could besomehow related to business  Since^ the^ proxy^ server

is^ a^ natural^ bottle^ neck

for observing all of the external requests being made from theinternal network it is the natural place to check content.  This^ is^ usually^ done^ by

subscription^ to^ a^ vendor

that specializes^ in^ categorizing

websites^ into^ content^

types based on observation.  Usually an agent is installed into the proxy server thatcompares URL requests to a database of URLs to reject.^ ^ All access are then logged and reported, most companies thenreview the reported access violations and usually a committeereviews and decides whether or not any action should be taken(letter of reprimand, dismissal, etc)

37

38

Proxy Server Firewalls  Also called^ Application^ Gateways

since^ they

work at Application Layer.  Separate proxy for each application.  Interconnects^ one^ network

to^ another^ for^ a

specific application  Good for higher-level restrictions  Proxy Types:^ ^ Classical Proxies: clients have to connect to proxyfirst^ ^ Transparent^ Proxies:^

proxies^ intercept^ client^

IP

packets and issue the connection to remote server

40

Circuit-Level Gateways  Application independent  Generic IP^ traffic^ filtering:^ no

examination^ the

contents of TCP segment.  SOCKS – most widely know circuit-level gateway

41

Circuit-Level Gateways  Advantages:  Don’t need a separate proxy server for each application  Simpler to implement than application specific proxyservers  Disadvantages:  No knowledge of higher level protocols – can’t scan foractive content or disallowed commands  Can only handle TCP connections – new extensionsproposed for UDP though.  Proprietary packages, TCP/IP stacks must be modifiedby vendor to use circuit-level gateways

Firewalls  Idea: separate local network from theInternet Trusted hosts andnetworks Firewall Router Intranet Demilitarized Zone: DMZ^ publicly accessibleservers and networks

DMZ CustomerWebServer Router Firewall FTPServer Internal Private Network DMZ^ External Public Network

Hacker Hacker Server Server Client

46

Example

47

Access Control  Given that 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

49

Bell La Padula (BLP) Model  One of the most famous security models  Designed for trusted systems  Implemented as mandatory policies on system  Has two key policies:  no read up^ (simple security property)  a subject can only read an object of less or equalsecurity level  no write down^ (*-property)  a subject can only append/write to an object ofgreater or equal security  The BLP^ Model^ is^ the^

basis^ of^ Reference

Monitor System.

50

Reference Monitor System, RMS