Firewalls and Intrusion Detection Flashcards
What is a firewall?
A security device that sits between the internet and an intranet
What are the goals of a firewall?
Enforces security policy (only authorized traffic passes)
Dependable (firewall is immune to subversion)
What is allowed to pass through the firewall?
Traffic such as address ranges, protocols, applications and content types
How is a firewall access policy created?
Developed from an organization’s information security risk assessment and policy
Depends on what kind of traffic the organization needs to support
What are the limitations of a firewall?
Internal traffic
Traffic routed around the firewall
Can be misconfigured
What else can firewalls do?
Encryption
Network Address Translation
Additional information through logging
What kinds of filtering can firewalls do?
Packet filtering
Session filtering
What is packet filtering?
Packets are allowed through based on individual packets (usually based on IP or TCP header)
No state information saved
Packets forwarded or discarded based on rule match
What are the two default policies for packet filtering firewalls?
Discard: prohibit unless expressly allowed (visible to users)
Forward: permit unless expressly prohibited (easier to manage, less secure)
What happens when dynamic protocols are in use?
An entire range of ports must be open (normally >1024)
What are the advantages of packet filtering?
Simple
Transparent to users
Very fast
What are the disadvantages of packet filtering?
Cannot prevent attacks that use application specific vulnerabilities or functions
Limited logging ability
Vulnerable to attacks that take advantage of TCP/IP
Can be improperly configured
What are defenses for packet filtering firewalls?
Discard packets with an inside source address that come in from the outside
Discard all packets where the source destination specifies the route to take
First fragment of a packet must contain the minimum amount of transport header
What is a Stateful Inspection Firewall?
Creates a directory of TCP connections
Packets must match profile of these directory entries
Keeps track of TCP sequence numbers
Inspects data for protocols like FTP, IM and SIPS
What is an application level gateway?
Also called an application proxy
Acts as a relay of application level traffic
Requester connects to proxy. Proxy accesses internal resources on their behalf and returns results.
Must have proxy code for each application
Secure, but at expense of processing overhead for each connection
What is a bastion host?
Serves as a platform for application level gateway
Critical strong point in network’s security
What are the characteristics of a bastion host?
Runs secure OS with only essential services
May require authentication
Each proxy can be restrictive
Each proxy is small, simple, checked for security
Limited disk use (read only code)
Each proxy runs as a non privileged user in private and secure directory
What are host based firewalls?
Used to secure an individual host Filters and restricts packet flows Can be flexible to host environment Independent of topology Additional layer of protection
What is a personal firewall?
Controls traffic between workstation and internet
Usually a software module on computer
Less complex
Primary role is to deny unauthorized remote access
What are some advanced firewall protective measures?
Stealth mode: drop unsolicited communication packets
Block UDP packets
Check for unwanted activity
Applications need authorization to provide services
What are internal firewalls?
Firewalls that sit inside a network
Provides two way protection with respect to the DMZ
Can protection parts of internal network from each other
What is distributed firewall deployment?
Multiple firewalls (internal, external, host) operating under a centralized administrative control
What are firewall topologies?
Host-resident firewall Screening router Single bastion inline Single bastion T Double bastion inline Double bastion T Distributed firewall configuration
What is a screening router?
Single router between internal and external networks with stateless or full packet filtering
What is a single bastion inline?
A single firewall device between internal and external router