All exams← All Cyber Essentials notes

Boundary Firewalls and Internet Gateways: Cyber Essentials revision notes

Revision notes

## Boundary Firewalls and Internet Gateways

Boundary firewalls and Internet Gateways are critical components of an organisation's cybersecurity posture, acting as the first line of defence between an internal network and the untrusted internet. Their primary purpose is to control and filter network traffic, preventing unauthorised access and malicious activity. They sit at the perimeter of your network, scrutinising all traffic attempting to enter or leave.

## Core Principles

The fundamental principle for configuring firewalls under Cyber Essentials is "default deny". This means that all network traffic, both inbound and outbound, is blocked by default unless explicitly permitted by a specific rule. This approach minimises the attack surface by only allowing essential services and connections, significantly reducing the risk of compromise.

## Inbound and Outbound Rules

  • Inbound Firewall Rules: These rules control traffic attempting to enter your network from the internet. By default, all incoming connections should be blocked. Exceptions are only made for specific, justified services (e.g., a public web server, email server) that require external access. Each permitted service must have a clear business need, and the rules should be as restrictive as possible, specifying source IP addresses where practical.
  • Outbound Firewall Rules: These rules control traffic originating from your internal network attempting to connect to the internet. While often overlooked, controlling outbound traffic is vital for preventing malware from "phoning home," stopping data exfiltration, and limiting access to malicious websites. Organisations should identify necessary outbound connections for business operations and block all others.

## Firewall Rule Management

Effective firewall management is crucial for maintaining security:

  • Justification: Every firewall rule must have a clear business justification and be documented.
  • Minimisation: Rules should be kept to the absolute minimum required for business operations.
  • Regular Review: Firewall rules, including those for cloud services (e.g., security groups), must be reviewed at least annually to ensure they are still necessary and correctly configured.
  • Secure Configuration: Firewalls themselves must be securely configured. This includes using strong, unique administrator passwords, disabling unnecessary management interfaces, and patching the firewall software regularly.

## Host-Based Firewalls

In addition to boundary firewalls, host-based firewalls (also known as personal firewalls) are essential. These operate on individual devices (laptops, desktops, servers) and provide an additional layer of protection, particularly for devices that connect to untrusted networks or leave the organisation's premises. They enforce similar "default deny" principles at the device level, acting as a final defence layer.

Key facts

Flashcards

What is the primary purpose of a boundary firewall?
To control and filter network traffic between an internal network and the internet, preventing unauthorised access.
tap to reveal
What is the fundamental principle for configuring firewalls under Cyber Essentials?
"Default deny" – all traffic is blocked unless explicitly permitted.
tap to reveal
Why are outbound firewall rules important?
They prevent malware from "phoning home" and stop data exfiltration from internal systems.
tap to reveal
How often should firewall rules be reviewed according to Cyber Essentials?
At least annually.
tap to reveal
What is a host-based firewall?
A firewall that operates on individual devices (laptops, desktops, servers) to provide an additional layer of protection.
tap to reveal
What type of traffic should be blocked by default on an inbound firewall rule?
All incoming connections from the internet.
tap to reveal
What is a key security requirement for firewall administrator passwords?
They must be strong and unique.
tap to reveal
What should be done with unnecessary services on a firewall?
They should be disabled.
tap to reveal
Practice questions

Boundary Firewalls and Internet Gateways: 5 practice questions

Q1. What is the fundamental rule a Cyber Essentials compliant boundary firewall must enforce for all inbound network traffic?
  • A.  Allow all traffic by default, but log suspicious connections.
  • B.  Block all unauthenticated inbound connections by default.
  • C.  Only allow traffic from IP addresses located within the UK.
  • D.  Scan all inbound traffic for malware and allow if clean.
Show answer & explanation
✓ Answer: B. Block all unauthenticated inbound connections by default.
The 'default deny' principle is a core requirement, ensuring that only traffic which is explicitly and deliberately approved is allowed to enter the network.
Q2. An employee works from home using their personal laptop and home Wi-Fi to access company data. What is the minimum firewall requirement for their device?
  • A.  No firewall is needed as the home router provides protection.
  • B.  A host-based (software) firewall must be enabled on the laptop.
  • C.  They must purchase a dedicated hardware firewall for their home.
  • D.  The company's central firewall is sufficient for all remote workers.
Show answer & explanation
✓ Answer: B. A host-based (software) firewall must be enabled on the laptop.
When a device used for business is outside the main office boundary, it must be protected by its own properly configured, host-based firewall.
Q3. Under what specific condition is it permissible for a firewall's administrative interface to be accessible from the public internet?
  • A.  If the firewall is less than one year old.
  • B.  It is never permissible under any circumstances.
  • C.  When there is a documented business need and it is protected by multi-factor authentication.
  • D.  If the default password has been changed to one over 16 characters long.
Show answer & explanation
✓ Answer: C. When there is a documented business need and it is protected by multi-factor authentication.
While strongly discouraged, internet access to admin interfaces is allowed only with a documented business case and essential compensating controls like MFA.
Q4. What is the most critical security action that must be taken immediately after deploying a new internet gateway router or firewall?
  • A.  Change all default administrative passwords.
  • B.  Register the device with the Internet Service Provider.
  • C.  Enable a rule to allow all outbound traffic for users.
  • D.  Update the device's physical asset register.
Show answer & explanation
✓ Answer: A. Change all default administrative passwords.
Default administrative passwords are often publicly known and represent a major vulnerability. They must be changed to a secure, non-default value immediately.
Q5. A company needs to allow an external supplier to access a specific internal server. What is the most compliant way to configure the firewall rule?
  • A.  Create a rule that allows all traffic from the supplier's entire country.
  • B.  Create a specific rule allowing only the required service from the supplier's specific IP addresses to the specific server.
  • C.  Temporarily disable the firewall during the supplier's working hours.
  • D.  Place the server on the guest Wi-Fi network for easy access.
Show answer & explanation
✓ Answer: B. Create a specific rule allowing only the required service from the supplier's specific IP addresses to the specific server.
This follows the principle of least privilege. Rules must be as restrictive as possible, only permitting the exact traffic required for the business purpose.
Test yourself
See the Cyber Essentials page

More Cyber Essentials topics