Requirement 1 in the Payment Card Industry Data Security Standard is largely concerned with firewalls and how they are such a critical protection mechanism for network security.
What is a firewall and what is it supposed to do?
Let’s start with the basics. Firewalls have been with us since the late 1980s—security industry luminary Stephen Bellovin is credited with making use of the term Firewall to describe the process of filtering (including blocking) network traffic. They can be used to reduce the risk of unauthorised inbound traffic and data loss via outbound traffic.
There are different types of firewall that can operate at different levels of the TCP/IP stack; for example, a Web Application Firewall (WAF) as opposed to a packet filtering firewall that is not capable of filtering at the application layer. WAFs are included in PCI DSS requirement 6 and are not the focus of this article.
Over the ensuing years, network firewalls have steadily become more and more sophisticated to include additional functionality such as advanced threat intelligence, IDS/IPS capability and so on. However, they are not an ‘out of the box’ silver bullet solution and must be configured and maintained appropriately to continue as an effective control.
What does PCI DSS require from a firewall?
Excluding other security configuration requirements (such as not disclosing private IP addresses, and implementing anti-spoofing measures), here is a summary of the main objectives that firewall rules must meet to assist with compliance:
- Restrict inbound and outbound traffic to that which is necessary for the cardholder data environment (CDE);
- Specifically deny all other traffic;
- Prohibit direct public access between the Internet and any system component in the CDE;
- Implement a DMZ to limit inbound traffic to only systems that provide publicly accessible services (like a web site);
- Prohibit unauthorised outbound traffic from the CDE to the Internet.
Over time, larger companies may have implemented an extensive firewall rule-set, and some of the common problems that can occur include rules that have become redundant and not required any more, duplicated or conflicting rules, or ones that are too promiscuous (i.e. they do not provide strict restrictions based upon source, destination, port, or protocol).
PCI DSS specifically requires organisations to carry out a review of firewall rule sets at least every 6 months (requirement 1.1.7), to ensure that only authorised rules are currently in place to match documented business justifications.
Those organisations that have a high volume of firewall changes may need to consider performing a review even more frequently.
How firewall rules can be a security issue
Let’s take a look at a few examples of how firewall rules can pose a security issue and be deemed non-compliant.
Here is a simulated network diagram and matching firewall rule-set. Can you spot any potential issues?
Line 1 define network internet (0.0.0.0/0)
Line 2 define network dmz (188.8.131.52/24)
Line 3 define network secure_area (184.108.40.206/24)
Line 4 define network internal (192.168.0.0/24)
Line 5 define host firewall (220.127.116.11)
Line 6 define host acquirer (18.104.22.168)
Line 7 define host dbserver (22.214.171.124)
Line 8 define host webservers (126.96.36.199, 188.8.131.52, 184.108.40.206)
Line 9 allow ssh from (internal, dmz) to firewall
Line 10 allow (http, https) from internet to dmz
Line 11 allow (https) from internet to 192.168.0.9 comment “temporary testing for project acme”
Line 12 allow (http) from internal to dmz comment “Monitoring”
Line 13 allow (http) from 192.168.0.10 to dmz
Line 14 allow * from internal to internet comment “allow regular staff access to everything”
Here are some indicators:
- Line 7 defines a database server as being placed in the DMZ, when it should be in the secure_area;
- Line 11 has 2 potential issues. It’s commented as a temporary rule, so is it still relevant or now obsolete? Also, it allows access from the internet directly into an IP address that is defined as being in the internal network;
- Lines 13 appears to be redundant as the previous line is allowing all internal IP addresses to access the DMZ;
- Line 14 is allowing unfettered outbound access for everyone.
There are plenty of PCI non-compliances there, which would hopefully be picked up by a diligent firewall administrator carrying out regular reviews as required by the standard. Don’t forget you will also need to maintain some form of evidence—such as details of rules amended, sign-off activity and dates—to show that the review process has occurred.
How PGI can help
PGI consultants can help by reviewing your firewall configuration, rule-sets, and procedures as part of our PCI gap assessment service. If you would like to discuss your PCI DSS compliance, contact us to talk to one of our experts: Call on +44 845 600 4403 or email us via firstname.lastname@example.org
Your free global geopolitical
PGI’s Risk Portal tool provides daily intelligence feeds, country threat assessments and analytical insights, enabling clients to track, understand and navigate geopolitical threats.
The Risk Portal gives users up-to-date information and analysis on global affairs.
The Risk Portal allows users to visualise information in a unique and instantly understandable way. Mapping filters enable the visualisation of incidents by threat category, time period, perpetrator and target type.
Risk Portal users can upgrade their accounts to include the Report Builder and Country Profile Generator features. The Report Builder allows users to select information, data and images from the Risk Portal and create bespoke reports and emails.
Subscribers to PGI’s Bespoke services receive tailored analysis on specific sectors and geographies of interest, delivered at a frequency they determine.
Making ongoing compliance easier for you and your business
GDPR is now in force. Make sure your business meets the necessary requirements, providing assurance for all of your customers and employees.
A full audit of your business to assess the level of your compliance against GDPR requirements.
Become GDPR compliant with minimal work. We will conduct an analysis, review, report and implement any necessary changes to your business.
We will conduct simple security assessments to help you understand and mitigate the potential risks to your business.
Get your business ready to face the cyber challenge.
We provide a full range of accredited, certified and bespoke services that assess the resilience of your cyber security posture.
PGI’s Qualified Security Assessors (QSA) will help you meet Payment Card Industry Data Security Standards (PCI DSS).
Find out more on PCI DSS
Demonstrate your commitment to cyber security by achieving and maintaining accreditation for the globally-recognised information security standard.
Find out more on ISO 27001
Understand the threats of phishing and malware to avoid being targeted.
Undertake our phishing vulnerability assessment to reduce your organisation’s risk of attack, by measuring the cyber awareness of your workforce.
PGI will conduct a tailored phishing campaign, using multiple methods, to identify realism and train employees where necessary to mitigate future attacks.
PGI monitor multiple metrics to identify the types of phishing, generate in-depth analytical reports and provide an informed decision to help improve your organisation’s level of security and awareness.
Prevent attacks, respond to breaches and protect your business.
Our bespoke range of cyber security services not only protect your critical assets but provide the education you need to keep your operations and data safe.
Implement this cost-effective cyber security measure launched by the government to prevent cyber-attacks, demonstrate information security commitment to your clients, and attract new business by being recognised as a secure organisation.
Find out more on Cyber Essentials Accreditation
The most effective way to identify how attackers target your organisation’s weaknesses is by evaluating your system, your network security, and reporting on any vulnerabilities that could have an impact on your business.
Find out more on Penetration Testing
If your business has experienced breaches, network compromises or operational disruption, our team of cyber security specialists can deploy quickly, and will begin the process of detecting and eliminating the threat efficiently.
Find out more on Data Breach Response & Recovery
Data Breach Response & Recovery
We prevent attacks, respond to security breaches, and protect your business
Our team of specialists can deploy quickly and efficiently to begin the process of detecting, eliminating and preventing future threats of a breach.
A vital part of the response process is making a copy of your data for safe forensic analysis. We will work with you to preserve and use this evidence to discover the extent of an intrusion.
Find out more on Digital Forensics
We will identify and minimise the risks, as well as the possibility of future risks to your business.
Consistent interaction with your management team and recommendations on how to approach all outcomes that need attention.
Subscribe to our Cyber Bytes Newsletter
Keep yourself in the loop with PGI by signing up to our Monthly Cyber Bytes email. You will receive updates, tips and narrative around what has been happening in the world of information security.