P2 L3+Firewalls
P2 L3+Firewalls
Lesson Introduction
●Deployment strategies
Defense-in-Depth
What is a Firewall?
Firewalls Quiz
Mark the box next to all those items that
firewalls can stop:
●When misconfigured
Additional, Convenient
Firewall Features
●Inbound &
outbound affect when
policy is checked
Filtering Types
●Packet filtering
●Access Control Lists
●Session filtering
●Dynamic Packet Filtering
●Stateful Inspection
●Context Based Access Control
Packet Filtering
●Source IP address
●Destination IP address
●Source and destination transport-level
address:
●IP protocol field
●Interface
Packet Filtering Firewall
●Two default policies:
●Advantages:
●Simplicity
●Typically transparent to
users and are very fast
Packet Filtering Weaknesses
●Cannot prevent attacks that employ application
specific vulnerabilities or functions
●Limited logging functionality
●Vulnerable to attacks and exploits that take
advantage of TCP/IP
●Packet filter firewalls are susceptible to security
breaches caused by improper configurations
Packet Filtering Firewall
Countermeasures
●IP Address spoofing Countermeasure: Discard
packets with an inside source address if the packet
arrives on an external interface.
●Source Routing Attacks Countermeasure: Discard
all packets in which the source destination specifies
the route.
●Tiny Fragment Attack Countermeasure: Enforcing
a rule that the first fragment of a packet must contain
a predefined minimum amount of the transport header
Packet Filtering Quiz
In order for a fragmented packet to be successfully
reassembled at the destination each fragment must obey
the following rules. Mark all answers that are true:
Must not share a common fragment identification number.
Each fragment must say what its place or offset is in the original
unfragmented packet.
Each fragment must tell the length of the data carried in the
fragment.
●Acts as a relay of
application-level traffic
(basically a man or system in
the middle)
Application-Level Gateway
Application-Level Gateway
●Must have proxy code for each
application
●May restrict application features
supported
●Tend to be more secure than
packet filters
Disadvantage
– Additional processing overhead on each
connection
Filtering Quiz
Mark each statement as either
T for True of F for False:
A packet filtering firewall is typically configured to filter
packets going in both directions.
A prime disadvantage of an application-level gateway is the
additional processing overhead on each connection.
A packet filtering firewall can decide if the current packet is
allowed based on another packet that it has just examined.
A stateful inspection firewall needs to keep track of
information of an active connection in order to decide on the
current packet.
Bastion Hosts
An important aspect of
distributed firewall
configuration:
●Security Monitoring
Firewall Deployment Quiz
Choose the most correct answer and
enter the corresponding letter in the text box.