Docsity

Understanding Firewalls and Proxy Servers: Security Mechanisms for Network Protection, Lecture notes of Computer Security

Partial preview of the text

Download Understanding Firewalls and Proxy Servers: Security Mechanisms for Network Protection and more Lecture notes Computer Security in PDF only on Docsity!

mechanisms

Firewall , Proxy Server,

IDS/IPS,VPN

1

mechanisms

A firewall is a set of related hardware

and software programs, deployed

strategically between a company’s

private network and one or more

unsecured network.

A firewall functions to protect the

resources of the private network from

users on the outside (external) networks.

The firewall separates the protected,

private network (the inside) from the

unsecured networks (the outside) and

Firewall

2

mechanisms

Hardware Firewalls

Protect an entire network

Implemented on the router level

Usually more expensive, harder

to configure

Hardware vs. Software

Firewalls

Software Firewalls

Protect a single computer

Usually less expensive, easier to

configure

4

mechanisms

Inspects each individual “packet” of

data as it arrives at either side of the

firewall

Determines whether it should be

allowed to pass through or if it should

be blocked

How does a software firewall work?

5

mechanisms

Focus for security decisions

Stop hackers from accessing your computer

Can enforce security policy

Protects your personal information

Limits your exposure to adware

Blocks “pop up” ads and certain cookies

Can log Internet activity efficiently

Determines which programs can access the

Internet

Can't protect you against malicious insiders

Can't protect you against connections that don't

go through it

What Can a Firewall Do?

7

mechanisms

General Firewall Features

Port Control

Network Address Translation

Application Monitoring

Packet Filtering

Access control

Additional features

Data encryption

Authentication

Connection relay (hide internal network)

reporting/logging

e-mail virus protection

spy ware protection

Firewall features

8

mechanisms

Default Deny

Prohibit all communication that is not expressly

permitted

Default Permit

Permit all communication that is not explicitly

prohibited

Least Privilege

reduces the authorization level at which various

actions are performed

Defense in Depth

security approach whereby each system on the

network is secured to the greatest possible

degree

Security Strategies Implemented

10

mechanisms

Egress Filtering

Restricting the flow of information from a private

TCP/IP computer network to the Internet

Outbound traffic from internal address  Drop

Ingress Filtering

Contrast with egress filtering, it ensure that

incoming packets are actually from the networks

from which they claim to originate

Inbound Traffic from external address  Drop

Default

Firewall Filtering Rule

Any

Dst

Port

Ingress In Int Any Int Any Any Any Deny

Egress Out Ext Any Ext Any Any Deny

Default Any Any Any Any Any Any Any Deny

Dst

Addr

Proto

Ack

Set?

Action

Src

Port

Src

Addr

Rule Dir

11

mechanisms

Recently the classification is updated to

3(4) type

Packet Filtering Firewalls

Proxy Server Firewalls or Application

level Gateway

Types of Firewalls

Two Major/primary types of firewalls

are:

Packet filtering firewall

Proxy-server firewall

Sometimes both are employed to

protect a network

13

mechanisms

Types of Firewalls

Firewalls can be designed to operate at

any of the following three layers in the

TCP/IP protocol stacks:

The application layer(eg: HTTP

proxy)

The network and transport layer(eg:

packet filtering)

The layer b/n the application layer

and the transport layer (eg: SOCKS

proxy)

14

mechanisms

Packet Filtering Firewalls/Routers

Packet-filtering Router…

Many network routers have the ability to

perform some firewall services.

Filtering firewalls can be thought of as a type

of router

16

mechanisms

Application Level Gateway

A proxy firewall is a network security system that

protects network resources by filtering messages at

filtering messages at

the application layer.

the application layer.

A proxy firewall is also be called an application

firewall or gateway firewall.

A proxy firewall is also a proxy server, but not all

proxy servers are proxy firewalls. A proxy server acts

A proxy server acts

as an intermediary between clients and servers.

as an intermediary between clients and servers.

It can cache webpages to reduce bandwidth

demands, compress data, filter traffic and detect

viruses.

A proxy server can also be used to hide user

information or to connect to services that would be

blocked.

17

mechanisms

Circuit Level Gateway

A circuit level gateway works at the session layer

of the open systems interconnection (OSI)

model.

The firewall analyzes transmission control

protocol handshaking between packets to

identify legitimate traffic and block

unauthorized access attempts.

Only the header information is checked to

ensure that the traffic meets the circuit level

gateway rules, while the content of data packets

is skipped.

It handles connections between trusted servers

and clients with untrusted hosts.

19

mechanisms

How does a circuit level gateway work

Circuit level gateways are designed to control

and monitor traffic flow based on network

connections' state.

When a user initiates a connection to a remote

host, the circuit level gateway sets up a circuit

or a virtual connection between the user and the

remote host.

The circuit level gateway then monitors the

traffic flowing over this circuit, checking

whether the traffic belongs to an established

connection and allowing only authorized traffic

to pass through.

Validated transmission control protocol/TCP or

user datagram protocol/UDP connections then

20