Enhancing Wi-Fi Security Controls for PCI DSS

The Payment Card Industry Data Security Standard (PCI DSS) is a widely accepted and mature information security standard designed to secure credit/debit card transactions and protect cardholders against misuse of their personal information. If your organisation accepts credit or debit cards in exchange for goods or services, you should already be familiar with PCI DSS. Although this global information security standard includes requirements for security management, policies, procedures, network architecture, secure system builds, secure authentication, secure software design, and other critical protective measures, more could potentially be done to help protect against Wi-Fi Layer 2 attacks. These attacks include tactics like; flooding an access point (AP) with de-authentication frames, cracking WPA2/WPA3, and connecting a Rogue AP onto the network that allows attackers to siphon cardholder data over Wi-Fi.

An organisations ability and commitment to securing customer data, including credit card information, is an assumption your customers make about your business every time they choose to use their credit card on your website, over the phone, or in your store/restaurant/hotel. You never want to jeopardise this trust, yet data breaches continue to make the headlines.

Most notable retail breaches include:

  • 2005: Wal-Mart had a serious security breach targeting their POS systems.
  • 2007: TJ Maxx’s Wi-Fi data breach with 45.6 million card numbers stolen.
  • 2013: Target Corporation was hacked with 40 million credit and debit card numbers stolen from their network.
  • 2014: Home Depot was hacked with 56 million credit card numbers stolen.
  • 2018: Saks and Lord & Taylor are the latest victims of a hack coming from their POS solution in-store.

There are many attack vectors that can lead to a data breach. For Wi-Fi networks, this can often be due to; the Wi-Fi networks being misconfigured, organisations being unable to react quickly to new and emerging threats and that organisations are not utilising adequate techniques to quickly and easily identify rogue access points.

So, what are the Wi-Fi threats that you need to worry about attacking your business? There are six well known Wi-Fi threat categories that you need to protect your business against. These are:

  • Rogue Access Point: Rogue access points are physically connected to an organisation’s IT infrastructure without their knowledge.  These APs will then provide the threat actor with connectivity into the organisations networks and IT systems.  From here, the threat actor will attempt to compromise the system components being used by the organisation.  Think of a Rogue AP like a long invisible ethernet cable that attackers can use to connect to a company’s Local Area Network (LAN) and comfortably work their way into the rest of the network over a Wi-Fi connection.
  • Rogue Client: A rogue client is a client that is authorized on the wireless network but has been compromised by malware.  This can occur if the client has been involved in an “Evil Twin” attack, which has resulted in malware being installed.  This risk is that the malware that the client has been infected with could spread through the organisation’s environment. 
  • Neighbor Access Point: The “Neighbor Access Point” threat is present when corporate devices are connected to the corporate network AND to an unauthorised neighboring wireless network.  Users will often do this to circumvent any security mechanisms employed by the organisation to perform a specific task; i.e. listen to music, download files being blocked by the firewall, etc…  This introduces additional risks since a threat actor can then connect to the corporate device through the insecure “Neighbor Access Point” to gain access to the organisations corporate network environment or can introduce malware onto the corporate device.
  • Ad-Hoc Network: Ad-Hoc networks are where two devices connect directly between themselves using their wireless network devices in a peer-to-peer network.  Since the connection isn’t through a corporate wireless network, i.e. approved Wireless Access Points, this will circumvent any additional security features that the organisation has deployed within the wireless and corporate networks.  By introducing ad-hoc networks, users can circumvent corporate security controls in place designed to limit the sharing of data.  This could pose a data leakage risk to the organisation. If users introduce ad-hoc networks with insecure configurations; i.e. weak encryption or an open ad-hoc network, this poses a huge risk to the organisation. A threat actor could gain access to the ad-hoc network to potentially launch attacks on the clients (see Rogue Client above for risks here) but, more importantly, if the clients are multi-homed with the corporate network, this could allow a threat actor to pivot to the corporate network.
  • “Evil Twin” Access Point: “Evil Twin” access points are malicious access points which are configured with the same SSID as another, trusted AP or as the same SSID AND the same MAC address as the trusted AP.  Devices are often configured to automatically connect to Wireless Networks which have been connected to in the past, therefore by setting up an “Evil Twin” access point, you will get devices automatically connecting.  The aim of the attack is to intercept communications or to try and drop malware on the connected devices to then go and infect corporate networks thereby bypassing any other corporate security mechanisms employed.
  • Misconfigured Access Points: Misconfiguring system components is not unique to Wi-Fi, in fact, this is something that is recognized within the PCI DSS under Requirement 2. Systems need to be configured correctly and securely, otherwise it can expose the system and other connected-to systems to a myriad of threats.  Access points must be correctly configured to ensure they are secured against unauthorized access, malicious attacks and to ensure the wireless network is secured.

For more information on these threat categories and for further news on Wi-Fi and Wi-Fi threats, click here.

In 2018 an IT ProPortal article entitled “Five network security threats facing retail and how to fight them” listed Wi-Fi as one of the five network security threats facing retail.  By nature of how retail organisations do business, these organisations potentially handle a lot of payment card information, which is sought after by hackers due to the monetary value of this data.  A recent BBC program “Watchdog” (Aired 5th May 2019) provided details of how much personal information can go for on the Dark Web.  Simon Migliano was enlisted by the BBC program providing information that Credit Card details can go for as much as £32.74 whilst Debit Card details could go for as much as £45.92.  Organisations involved in an Account Data Compromise (ADC) can be subject to considerable ADC Fines.

With physical access, Rogue AP Wi-Fi threat is simple for a threat actor to execute which can be quite difficult for organisations to identify.  A rogue AP is an AP that has been physically connected to an environment without explicit authorization from an administrator. Rogue APs will typically be connected to the network via Ethernet ports, however these can also include portable or mobile devices connected to a system; for example, via USB and even Wireless LAN cards plug into systems.  The ability to identify Rogue APs is a requirement of PCI DSS, which needs to be carried out a minimum of every three months.  Failure to fulfill Requirement 11.1 of PCI DSS will result in non-compliance. When rogue APs are connected to the organisations network (or Cardholder Data Environment), it allows threat actors to bypass perimeter security since they are able to simply connect to the AP which gives access to the network which the threat actor has plugged into.  There is then the possibility that the threat actor will have access to the entire organisation depending on where the rogue AP is connected and the success of any internal segmentation controls.

PCI DSS

This section will discuss the six threat categories and where PCI DSS helps to protect against it or where you may be advised to go above and beyond the standard.

As you may have heard on numerous occasions, PCI DSS is a baseline data security standard and although assessments against PCI DSS can only go against the current PCI DSS, you may sometimes be “advised” to go above and beyond to help protect the environment against the ever-evolving threat landscape.

Rogue Access Point

PCI DSS Version 3.2.1 has various requirements already aimed at mitigating the risks of rogue access points being added into the environment.  The core requirement for this is under Requirement 11: Regularly test security systems and process”.  Specifically, Requirement 11.1 and all its sub-requirements are designed to identify rogue access points as follows;

  • Requirement 11.1: Implement processes to test for the presence of wireless access points (802.11), and detect and identify all authorized and unauthorized wireless access points on a quarterly basis.
    • Requirement 11.1.1: Maintain an inventory of authorized wireless access points including a documented business justification.
    • Requirement 11.1.2: Implement incident response procedures in the event unauthorized wireless access points are detected.

Additional requirements aimed at physical security in “Requirement 9: Restrict physical access to cardholder data” should also help to mitigate the risk of rogue access points being introduced into the cardholder data environment, for example;

  • Requirement 9.1: Use appropriate facility entry controls to limit and monitor physical access to systems in the cardholder data environment.
  • Requirement 9.1.1: Use either video cameras or access control mechanisms (or both) to monitor individual physical access to sensitive areas. Review collected data and correlate with other entries. Store for at least three months, unless otherwise restricted by law.
  • Requirement 9.1.2: Implement physical and/or logical controls to restrict access to publicly accessible network jacks.
  • Requirement 9.1.3: Restrict physical access to wireless access points, gateways, handheld devices, networking/communications hardware, and telecommunication lines.
  • Requirement 9.2: Develop procedures to easily distinguish between onsite personnel and visitors, to include:
    • Identifying onsite personnel and visitors (for example, assigning badges)
    • Changes to access requirements
    • Revoking or terminating onsite personnel and expired visitor identification (such as ID badges).
  • Requirement 9.3: Control physical access for onsite personnel to sensitive areas as follows:
    • Access must be authorized and based on individual job function.
    • Access is revoked immediately upon termination, and all physical access mechanisms, such as keys, access cards, etc., are returned or disabled.
  • Requirement 9.4: Implement procedures to identify and authorize visitors. Procedures should include the following:
    • Requirement 9.4.1: Visitors are authorized before entering, and escorted at all times within, areas where cardholder data is processed or maintained.
    • Requirement 9.4.2: Visitors are identified and given a badge or other identification that expires and that visibly distinguishes the visitors from onsite personnel.
    • Requirement 9.4.3: Visitors are asked to surrender the badge or identification before leaving the facility or at the date of expiration.
    • Requirement 9.4.4: A visitor log is used to maintain a physical audit trail of visitor activity to the facility as well as computer rooms and data centers where cardholder data is stored or transmitted.

Document the visitor’s name, the firm represented, and the onsite personnel authorizing physical access on the log.

Retain this log for a minimum of three months, unless otherwise restricted by law

Finally, PCI DSS includes an additional requirement for responding to the detection of rogue access points as follows:

  • Requirement 12.10.3: Designate specific personnel to be available on a 24/7 basis to respond to alerts.

Rogue Client

This specific category of threat isn’t explicitly referred to within the PCI DSS, however there are controls which can help to mitigate this.  The following requirements are designed to protect the endpoints which can help against this threat by stopping clients becoming infected with malware that can then be introduced within the CDE.  Additional requirements are included to try and help identify such infections through IDS/IPS capabilities at key locations within the CDE;

  • Requirement 1.4: Install personal firewall software or equivalent functionality on any portable computing devices (including company and/or employee-owned) that connect to the Internet when outside the network (for example, laptops used by employees), and which are also used to access the CDE. Firewall (or equivalent) configurations include:
    • Specific configuration settings are defined.
    • Personal firewall (or equivalent functionality) is actively running.
    • Personal firewall (or equivalent functionality) is not alterable by users of the portable computing devices.

N.B. The organisation should define what service, protocols and ports should be permitted through the personal firewalls.  This can link to Requirement ‘1.1.6 Documentation of business justification and approval for use of all services, protocols, and ports allowed, including documentation of security features implemented for those protocols considered to be insecure.’

  • Requirement 2.2: Develop configuration standards for all system components. Assure that these standards address all known security vulnerabilities and are consistent with industry-accepted system hardening standards.

Sources of industry-accepted system hardening standards may include, but are not limited to:

      • Center for Internet Security (CIS)
      • International Organization for Standardization (ISO)
      • SysAdmin Audit Network Security (SANS) Institute
      • National Institute of Standards Technology (NIST).
  • Requirement 5: Protect all systems against malware and regularly update anti-virus software or programs.

The whole of requirement 5 is designed to protect systems against malware.

  • Requirement 6.1: Establish a process to identify security vulnerabilities, using reputable outside sources for security vulnerability information, and assign a risk ranking (for example, as “high,” “medium,” or “low”) to newly discovered security vulnerabilities.
  • Requirement 6.2: Ensure that all system components and software are protected from known vulnerabilities by installing applicable vendor supplied security patches. Install critical security patches within one month of release.
  • Requirement 8: Password policy requirements (protecting the local accounts against remote brute force attacks);
    • Requirement 8.1.6: Limit repeated access attempts by locking out the user ID after not more than six attempts.
    • Requirement 8.1.7: Set the lockout duration to a minimum of 30 minutes or until an administrator enables the user ID.
    • Requirement 8.2.1: Using strong cryptography, render all authentication credentials (such as passwords/phrases) unreadable during transmission and storage on all system components.
    • Requirement 8.2.3: Passwords/passphrases must meet the following:
      • Require a minimum length of at least seven characters.
      • Contain both numeric and alphabetic characters.

Alternatively, the passwords/passphrases must have complexity and strength at least equivalent to the parameters specified above.

  • Requirement 8.2.4: Change user passwords/passphrases at least once every 90 days.
    • Requirement 8.2.5: Do not allow an individual to submit a new password/passphrase that is the same as any of the last four passwords/passphrases he or she has used.
  • Requirement 11.4: Use intrusion-detection and/or intrusion-prevention techniques to detect and/or prevent intrusions into the network.

Monitor all traffic at the perimeter of the cardholder data environment as well as at critical points in the cardholder data environment, and alert personnel to suspected compromises.

Keep all intrusion-detection and prevention engines, baselines, and signatures up to date.

  • Requirement 12.3: Develop usage policies for critical technologies and define proper use of these technologies.

N.B. In particular reference to Requirement; ‘12.3.5 Acceptable uses of the technology’ and ‘12.3.6 Acceptable network locations for the technologies’ to control (through policy) where the devices can be used whilst outside of the CDE.

  • Requirement 12.6: Implement a formal security awareness program to make all personnel aware of the cardholder data security policy and procedures.

Although not focused on protecting the client system component, the following requirement can help to protect the organisation against further attacks from the rogue client, depending on what level of access is requirement from the Wireless network to the corporate environment.  The use of a UTM (unified threat management) firewall to fulfil this requirement may also help to mitigate some of the threat from rogue clients;

  • Requirement 1.2.3: Install perimeter firewalls between all wireless networks and the cardholder data environment, and configure these firewalls to deny or, if traffic is necessary for business purposes, permit only authorized traffic between the wireless environment and the cardholder data environment.

Neighbor Access Point

For this threat, I don’t believe there are any specific mitigations that can be directly linked to the PCI DSS for accessing neighbouring access points, however if this does happen then hopefully the PCI DSS requirements identified above for “Rogue Access Client” should help to protect the endpoint against malware.  The only requirement that sort of relates to connecting to other access points within range is;

  • Requirement 12.3: Develop usage policies for critical technologies and define proper use of these technologies.

N.B. In particular reference to; Requirements ‘12.3.5 Acceptable uses of the technology’ and ‘12.3.6 Acceptable network locations for the technologies’ to control (through policy) where the devices can be used whilst outside of the CDE.

With this requirement, you could specify specific wireless networks and also not to bridge the CDE and outside Wireless networks.

Ad-Hoc Network

For ad-hoc networks, this is the same as for neighbour access point category above since in essence you are connecting to a foreign Wireless network/device.  Whilst the devices are within the organisation’s buildings, the following PCI DSS requirement could be deployed to help detect and block the creation of the ad-hoc networks being setup.

  • Requirement 11.1: Implement processes to test for the presence of wireless access points (802.11), and detect and identify all authorized and unauthorized wireless access points on a quarterly basis.
    • Requirement 11.1.1: Maintain an inventory of authorized wireless access points including a documented business justification.
    • Requirement 11.1.2: Implement incident response procedures in the event unauthorized wireless access points are detected.

With this requirement, Wireless IPS is optional but could be deployed to detect and block any unauthorised SSIDs under Requirement ‘11.1.d If automated monitoring is utilized (for example, wireless IDS/IPS, NAC, etc.), verify the configuration will generate alerts to notify personnel.’

“Evil Twin” Access Point

Within the organisation’s own environment, this should be picked up under Requirement 11.1 and all its sub-requirements which are designed to identify rogue access points as follows;

  • Requirement 11.1: Implement processes to test for the presence of wireless access points (802.11), and detect and identify all authorized and unauthorized wireless access points on a quarterly basis.
    • Requirement 11.1.1: Maintain an inventory of authorized wireless access points including a documented business justification.
    • Requirement 11.1.2: Implement incident response procedures in the event unauthorized wireless access points are detected.

Outside the organisation’s own environment there is nothing specific within the PCI DSS to mitigate this, although the following PCI DSS requirement will help to protect CHD against Man-in-the-Middle (MITM) attacks;

  • Requirement 4.1 Use strong cryptography and security protocols to safeguard sensitive cardholder data during transmission over open, public networks, including the following:
    • Only trusted keys and certificates are accepted.
    • The protocol in use only supports secure versions or configurations.
    • The encryption strength is appropriate for the encryption methodology in use.

Misconfigured Access Points

The Wireless APs should be securely configured and adequately hardened, which is covered within the PCI DSS under requirement 2, sub-requirement;

  • Requirement 2.2: Develop configuration standards for all system components. Assure that these standards address all known security vulnerabilities and are consistent with industry-accepted system hardening standards.

Sources of industry-accepted system hardening standards may include, but are not limited to:

      • Center for Internet Security (CIS)
      • International Organization for Standardization (ISO)
      • SysAdmin Audit Network Security (SANS) Institute
      • National Institute of Standards Technology (NIST).

The following additional requirement also go through some basic hardening as follows;

  • Requirement 2.1.1: For wireless environments connected to the cardholder data environment or transmitting cardholder data, change ALL wireless vendor defaults at installation, including but not limited to default wireless encryption keys, passwords, and SNMP community strings.

Where can organisations go above and beyond PCI DSS Requirements?

As already identified above, there are some elements of PCI DSS which should help to mitigate some of the threat categories identified within this post.  That said, there are some additional mitigations which could further help.  These are discussed below:

Rogue Access Point

With rogue access points, my primary issue is around the detection of rogue APs covered by Requirement 11.1.  The requirement only expects organisations to detect and identify rogue APs quarterly.  Although the following sub requirements exist; these are only optional and therefore an organisation may choose to include additional Wireless scanning and automated monitoring.

  • Requirement 11.1.c: If wireless scanning is utilized, examine output from recent wireless scans to verify that:
    • Authorized and unauthorized wireless access points are identified, and
    • The scan is performed at least quarterly for all system components and facilities.
  • Requirement 11.1.d: If automated monitoring is utilized (for example, wireless IDS/IPS, NAC, etc.), verify the configuration will generate alerts to notify personnel.

The issue with this is that a rogue AP could be live on the network for up to 3 months before being detected by the organisation.  Continuous wireless scanning and monitoring will help to identify rogue APs immediately, potentially allowing organisations to react and shut these down before a compromise of cardholder data occurs.  Should a rogue AP end up within the CDE, the organisation should include a thorough review of physical security controls to identify how someone was able to install such a device.

Rogue Client

Although the PCI DSS does include the use of IDS/IPS within requirement 11.4, it would be very rarely deployed on these end-points.  There is a good argument to include Host-based Intrusion Detection/Prevention Systems (HIPS/HIDS) on these end-points to help further mitigate this threat.

Additionally, some Wireless Intrusion Prevention System (WIPS) solutions have the ability to help identify client devices that have recently connected to potential sources of malware such as Rogue and Evil Twin APs.

Neighbor Access Point

Looking at the PCI DSS there doesn’t appear to be a specific requirement that covers a technological control to counter this threat.  There is most definitely work that could be done here to reduce the likelihood of this happening.  Additional controls could be implemented to detect and block bridging Wi-Fi and Wired networks by disabling the Wireless interface when the wired interface is connected.  Additionally, the organisation can elect to whitelist Wireless networks that are authorised, however this may prove too restrictive if mobile users are expected to work from hotels, etc… 

For Windows workstations, Group Policies can be used to;

  • whitelist Wireless networks (SSIDs), if the organisation wants to control which Wi-Fi networks users are permitted to connect to through the following setting; Computer Configuration > Policies > Windows Settings > Security Settings > Wireless Network (IEEE 802.11) Policies > Create a new policy > Under the “Network Permissions” tab > Add the SSID of the Wireless network and Deny, and
  • prohibit bridging between non-domain networks and domain authenticated networks when connected to a domain authenticated network through the following setting; Computer Configuration > Policies > Administrative Templates > Network > Windows Connection Manager > Use the “Prohibit connection to non-domain networks when connected to domain authenticated network” setting {Needs to be running at least Windows Server 2012 and Windows 8}

There are WIPS solutions that allow a ‘white list’ of SSIDs that a client is allowed to connect to which is enforced for the entire airspace.  Also, with a proper WIPS, the ‘white list’ SSIDs are now known to be the legitimate ones, not an Evil Twin copy of one for example.

Ad-Hoc Network

This can be seen as a similar issue as the Neighbor Access Point above. The optional Requirement ‘11.1.d If automated monitoring is utilized (for example, wireless IDS/IPS, NAC, etc.), verify the configuration will generate alerts to notify personnel.’, will help to detect and block any newly created SSIDs.  The primary issue with this exists where users perform this action outside of the corporate environment, since Wireless IPS (WIPS) would not help.  Additionally, for Windows workstations, Group Policies can be used to;

  • block the use of ad-hoc networks through the following setting; Computer Configuration > Policies > Windows Settings > Security Settings > Wireless Network (IEEE 802.11) Policies > Create a new policy > Use the “Prevent connections to ad-hoc networks” setting

A proper WIPS can detect the initiation of a peer-peer or ad-hoc wi-fi connection within an airspace and send out a flood of de-auth packets to surgically break the connection between the two client devices.  This can be configured to only take place for a specific set of clients or for all clients in an air space.

“Evil Twin” Access Point

The same as for rogue access points, the PCI DSS requirement 11.1, specifically the optional requirements for Wireless scanning and automated monitoring included in sub-requirements;

  • Requirement 11.1.c: If wireless scanning is utilized, examine output from recent wireless scans to verify that:
    • Authorized and unauthorized wireless access points are identified, and
    • The scan is performed at least quarterly for all system components and facilities.
  • Requirement 11.1.d: If automated monitoring is utilized (for example, wireless IDS/IPS, NAC, etc.), verify the configuration will generate alerts to notify personnel.

The issue with requirement 11.1 is that this requirement is only a quarterly activity which could leave organisations open to abuse.  With Wireless scanning and automated monitoring, the “Evil Twin” access points can be identified and stopped before clients start to connect.

Organisations could deploy Windows Group Policies to ensure Windows clients do not automatically connect to Wireless networks.  The further issue here is how users would identify that they are not connecting to the correct Wireless network.

Since Evil Twin APs can operate in two possible ways;

  1. the attacker just broadcasts the same SSID, and
  2. they broadcast the same SSID AND they spoof the MAC address of a legitimate AP in the network making an exact copy.

A proper WIPS system can auto detect and prevent both kinds of evil twins.  The detection of an evil twin that also spoofs the MAC address is tricky because to the WIPS system, the legitimate and the evil SSIDs look exactly the same.  Properly equipped WIPS systems are able to detect the evil twin by using methods that involve statistical computations around signal transmission angle of arrival and time of flight as well as overall signal strength.  So, if an attacker brings a Wi-Fi pineapple in as an evil twin and that pineapple is physically located five metres away from the legitimate AP, the WIPS system will determine that the evil twin is the pineapple because it’s signal transmissions are suddenly much lower (or higher) in RSSI (Received Signal Strength Indicator) value, the signals are arriving at the antennas of the radios in the WIPS sensor at much different angles and the signals arrive in much different time (signal took longer to travel).

Misconfigured Access Points

There are configuration auditing tools on the market which can be used to highlight problems with access point configurations.  Also, these tools can be used to detect and alert changes within the configuration.  WIPS has the ability to auto detect and prevent connections to any access point that does not comply with designated standard security configuration policies.

Issues with WPA3

To discuss the newly release of WPA3 and the inherent issues with this, the following section has been written by Ryan Orsi, Director Product Management for Wi-Fi at WatchGuard technologies.

“In mid 2018 the Wi-Fi Alliance announced WPA3, a replacement for the aging WPA2 Wi-Fi security and authentication standard that had been defeated by theKRACK attack earlier in 2017. WPA3 was supposed to make it nearly impossible to crack a network password. Ironically, the same researchers behind the KRACK disclosure in 2017 disclosed five new WPA3 vulnerabilities collectively named Dragonblood earlier this year.

The high-level summary of Dragonblood is that it allows an attacker in range of a password-protected Wi-Fi network to obtain the password and gain access to sensitive information such as user credentials, emails and credit card data by exploiting weaknesses in WPA3’s new Simultaneous Authentication of Equals (SAE) commonly known as Dragonfly. 

Recognizing that vulnerabilities like KRACK and Dragonblood require attackers to initiate these attacks by bringing an “Evil Twin” Access Point into a Wi-Fi environment, WatchGuard has been focusing on developing Wi-Fi security solutions that neutralize these threats so that these attacks can never occur. The Trusted Wireless Environment framework protects against the “Evil Twin” Access Point. One of these hacks is needed to initiate the two downgrade or side-channel attacks referenced in Dragonblood.

What’s next? WPA3 is an improvement over WPA2 Wi-Fi encryption protocol, however, as predicted, it still does not provide protection from the six known Wi-Fi threat categories. It’s highly likely that we’ll see more WPA3 vulnerabilities announced in the near future.

To help reduce Wi-Fi vulnerabilities, we’re asking all of you to join the Trusted Wireless Environment movement and advocate for a global security standard for Wi-Fi.”

My Final Comments

The consequences of security vulnerabilities can wreak devastating havoc on a company’s reputation, the likes of which some will never recover from. Retail businesses in particular remain a top target for cyber criminals which in a Trustwave report “2018 Trustwave Global Security Report” accounted for over 17 percent of the total incidents across the analysed industries.

We have seen that the PCI DSS includes mechanisms to help mitigate some of the Wi-Fi issues identified within this post, that said, there is still more that can be done to further secure organisations from attacks on authorised wireless networks and from attacks designed to introduce unauthorised wireless networks.

To help combat these vulnerabilities, IT departments have started to create Trusted Wireless Environments that automatically detect and prevent Wi-Fi threats. A Trusted Wireless Environment is a framework for building a complete Wi-Fi network that is fast, easy to manage, and most importantly, secure. Your customers rely on you to keep them safe and it’s your responsibility to be knowledgeable about Wi-Fi security risks and how they impact your business.

For more information about the Trusted Wireless Environment movement and how to build one click here.

I’d like to thank WatchGuard Technologies for their assistance in this blog post.  WatchGuard are championing the Trusted Wireless Environment movement to improve Wi-Fi security thus reducing the risk of attacks through this vector.

VoIP and Small Merchants

Last year I wrote a post (click here) about the new PCI SSC Telephony Guidance called “Protecting Telephone-Based Payment Card Data”.  For me, one of the most important updates within this guidance was the discussion of Voice over IP (VoIP) and the implications this has on PCI DSS when being used to support a telephone payment channel.  VoIP has always been misunderstood by many organisations and the assessor community.  To introduce consistency around VoIP and PCI DSS I felt the inclusion of this discussion within this updated guidance was so important.

Another QSA recently spoke to me and said it may be useful to point out how VoIP impacts smaller merchants because they are still having difficult conversations when discussing this.  Anyhow, here is my attempt.

The PCI SSC established a small merchant taskforce in 2015 to provide resources and guidance specifically developed to help smaller merchants navigate this often-complex subject of PCI DSS compliance and simplify guidance on protecting payment card data.  The results of this work can be found here. The work carried out by the small merchant taskforce is intended to not only educate smaller merchants, through this simplified guidance, but to also simplify PCI DSS and make the reporting of compliance much simpler and more streamlined.  In August 2018, the taskforce released something called the PCI Data Security Essentials (DSE), which is a set of simplified evaluation forms, designed for a set of simpler payment channels which are often used by small merchants.  These small merchants may be allowed to submit one of these simplified evaluation forms, instead of one of the more daunting self-assessment questionnaires (SAQs), providing their acquirer, working with the payment brands, identifies PCI DSE as being appropriate for them.

Merchants can utilise the Data Security Essentials Evaluation Tool or the Common Payment Systems literature to help identify the payment system that matches their environment.  Once the correct system has been identified, the related DSE evaluation form can be downloaded and completed for submission to the acquirer.

The following table maps the various small merchant payment types, the number of requirements within the DSE evaluation forms and the number of requirements within the corresponding SAQ.

Payment
Type
DES Evaluation
Form Requirements**
Corresponding SAQ Requirements & Sub-Requirements***
Type 113
SAQ B | 41 Requirements
Type 213SAQ B | 41 Requirements
Type 3*30SAQ B-IP | 86 Requirements
SAQ C | 160 Requirements
SAQ D | 331 Requirements
Type 4*30SAQ C | 160 Requirements
SAQ D | 331 Requirements
Type 5*30SAQ C | 160 Requirements
SAQ D | 331 Requirements
Type 6*30SAQ C | 160 Requirements
SAQ D | 331 Requirements
Type 7*30SAQ C | 160 Requirements
SAQ D | 331 Requirements
Type 8Not eligible for use with the Data Security evaluation
forms
Type 913SAQ A | 24 Requirements
Type 10*27SAQ A-EP | 191 Requirements
Type 11Not eligible for use with the Data Security evaluation
forms
Type 12*15SAQ C | 160 Requirements
SAQ D | 331 Requirements
Type 13*15SAQ C | 160 Requirements
SAQ D | 331 Requirements
Type 14*26SAQ C-VT | 83 Requirements
SAQ D | 331 Requirements
Type 1514SAQ P2PE | 33 Requirements

* This payment channel has a requirement to submit quarterly external vulnerability scan reports per 11.2.2 (ASV Scans)

** Evaluation Forms reviewed on the 29th March 2019

*** Version 3.2.1 SAQs were reviewed.  Appendix B requirements and sub-requirements were not included within the totals.

Anyhow, the small merchant taskforce identified 15 different “simple” payment channels that smaller merchants will usually be operating.  These simpler types of payment channels (apart from types 8 and 11) have simplified evaluation forms that can be completed for compliance reporting, if permitted to do so.  When reviewing the various types within the “Common Payment Systems” documentation, none of the payment channels included a VoIP deployment option.

This means that unfortunately, where small merchants are handling telephone payments supported by a VoIP telephone system, the small merchant will not be eligible for PCI DSS compliance submission utilising the smaller Data Security Essentials evaluation forms.

So, what are the implications here then?

Unfortunately, as we have now determined that small merchants utilising VoIP will need to fulfil the reporting requirements of an SAQ, they will need to identify which SAQ best aligns to their environment.  All SAQs, apart from SAQ D, include eligibility criteria which must be met if a merchant wishes to utilise that SAQ for PCI DSS compliance reporting to their acquirer.  With the use of VoIP systems, none of the SAQ eligibility criteria can be met, therefore the small merchant will need to complete SAQ D, which includes all PCI DSS requirements.

Although SAQ D includes all PCI DSS requirements (over 330), implemented correctly, not all these requirements will be applicable.  Although QSAs can seem expensive to small merchants, the recommendation would be to engage a QSA to help reduce the size of the cardholder data environment and therefore the scope of the assessment activities.  The QSA will be able to determine exactly which requirements will be required for assessment.

Some simple de-scoping options could include;

    • Stopping taking card-not-present payments over the telephone.  If the number of these transactions is small compared to other payment channels in use, the small merchant could choose to move operations to e-commerce only,
    • Implement an analogue telephone line specifically to support telephone payments.  Care needs to be taken on how the cardholder data is handled and how the payment is processed.  This could then align to one of the DES evaluation forms or a smaller SAQ; for example, if payments are taken using a telephone-based PED, then this may be Type 1/2 or SAQ B.

Other options may be applicable, this could be discussed further with a QSA.

Note: Although a de-scoping option can be to outsource, this will probably not be viable if the total number of telephone payments is small, or the revenue from this payment channel is low.

My final ramblings

Although some of the requirements of SAQ D may not be in scope when VoIP is implemented, this will very much depend on the implementation specifics of the telephone payment channel.  As discussed in my Telephony Guidance blog post, there is a very good chance of scope creep due to the divergence of voice and data networks within the environment.  Also, it can often be difficult to truly isolate the VoIP system from other systems within the environment; for example, the use of Softphones means that data networks need to have connectivity to the VoIP systems.  If, the VoIP system isn’t truly isolated, more systems will be in scope for PCI DSS assessment activities, which will undoubtedly increase the number of applicable requirements within SAQ D.

Finally, care will need to be taken if deploying an analogue telephone line to handle telephone payments.  I’ve come across deployments of this where the organisation will transfer the incoming call over to the payment line, however in most cases, this will cause the call to still be routed through the VoIP system, thereby keeping VoIP in scope.  Again, if the VoIP system isn’t adequately isolated, the whole organisation could still end up being in scope for the PCI DSS assessment activities.

Hacking E-Commerce Payment Channels

If you didn’t know, I’m going to start writing a PCI DSS book so any thoughts on what content would be good to include are very much welcome.  Anyway, back to the blog content…

Card fraud is big business; which, according to the “UK Finance: Fraud the Facts 2018” totalled £566m in the UK in 2017.  Although this was an 8% decrease on the previous year, this is still a significant amount of money lost to fraud which equates to roughly 7p for every £100 spent.

Statistics within the “UK Finance: Fraud Facts 2018” publication show that the annual fraud costs against card-not-present channels is actually shrinking with fraud against remote purchases (card-not-present) decreasing by 5% in 2017 (£409.4m) compared to the fraud costs in 2016 (£432.3m).  Still, e-commerce fraud accounts for 76% of this total figure which is still a significant amount.  For every £100 spent on e-commerce sales in the UK, 9.3p can be attributed to fraud.  Although these statistics show the cost of fraudulent activities against card fraud, this is only showing how compromised cardholder data (CHD) is being monetised and not how the CHD is itself getting compromised.

Organisations of all sizes can suffer a data breach, for example: BlankMediaGames, British Airways, Facebook, Adidas, Cathay Pacific Airways, Ticketmaster and Marriot International (not an exhaustive list).  Although data breaches can occur via various attack vectors, this blog will focus discussions on e-commerce platforms and specific attacks around these types of platform.

Since the release of PCI DSS Version 3.0 there are three types of Self-Assessment Questionnaires (SAQs) which are designed to work with e-commerce payment channels.  These are;

    • SAQ A – This SAQ is designed for use where all payment functions are handled by a third-party, therefore this SAQ isn’t solely used for e-commerce.  Where it is used for e-commerce, it is used where the e-commerce site is utilising either a web redirect or iframe for the payment functionality.  All payment information is sent directly from the customers browser, directly to the payment gateway.
    • SAQ A-EP – This was a new SAQ introduced within PCI DSS Version 3.0.  This SAQ is used only for e-commerce payment channels.  Even though this payment channel sends all payment information directly from the customers browser, to the payment gateway, the difference is that the merchant website is responsible for creating the payment form.  Payment functionality aligned to this SAQ is often known as either Direct Post or JavaScript.
    • SAQ D – Yes, the largest SAQ is also applicable to some e-commerce payment channels.  E-commerce sites aligning to this SAQ will be accepting the payment information before routing it to the payment process for authorisation, typically through an API.

For more information on these different types of e-commerce channels see Visa Europe’s guidance document “Processing e-commerce payments”.

This blog post will look further into e-commerce platforms supporting one of the five payment functionalities identified above.  A lot of merchants are now going down the route of de-scoping the e-commerce channel by implementing a web redirect or iframe for payment functionality, since SAQ A has the smallest number of applicable requirements, of the seven Merchant SAQs available.  This is the recommended approach for e-commerce payment channels since it de-scopes an organisation from much of the burden of PCI DSS by reducing the size of the environment that needs assessing and the number of applicable requirements. However, where e-commerce is concerned, I believe this can also give organisations a false sense of security.  The ‘Compliance != Security” debate has been discussed on the Internet and amongst security professionals across the globe for many years. I believe this is very true.  Although an environment may be compliant against PCI DSS (or any other security framework), one needs to understand that PCI DSS is a baseline data security standard and organisations need to understand their organisations individual risks and enhance their security practices accordingly, to bolster the organisations overall security posture.  Although attackers and attacks are getting much more sophisticated, a lot of organisations are still getting compromised due to basic lapses in security that a lot of the compliance frameworks already address.

Attack Vectors

I wanted to write this post by first describing some of the possible attack vectors faced by web applications and then discuss some of the ways to mitigate them.  For this post, I’ve enlisted the help of the amazing @HollyGraceful (https://www.gracefulsecurity.com/) (A really big thank you Holly for agreeing to provide your expertise on this topic).  During my research on this blog post I came across the following Snyk article “Which of the OWASP Top 10 Caused the World’s Biggest Data Breaches?”, which has some interesting statistics of 2016 data breaches.  The article analysed the top 50, linking them to the Open Web Application Security Project (OWASP) Top 10 index of web application security vulnerabilities, where possible.  What’s interesting in this article is that of the 50 top security breaches reviewed, 30% of them were caused by problems not listed within the OWASP Top 10.

N.B. The OWASP Top 10 is updated roughly every three years as the top 10 moves around over time.  The Synk article was a review of data breaches in 2016, therefore the OWASP Top 10 analysis has been carried out from that period and thus used the Top 10 list from 2013 so the latest Top 10 list from 2017 differs, which I will highlight further down within the analysis for the current (2017) list.

The OWASP Foundation appeared in December 2001 with the intention of promoting application security by providing a platform to provide education and various resources to help developers improve coding practices.  Being a not-for-profit organisation, this international foundation aims to provide unbiased, practical and cost-effective advice for the development of secure applications.

Within the Akamai “State of the Internet / Security Q3 2017 Report” report, web application attacks showed an increase of 69% in Q3 2017 compared with Q3 2016.  The report also shows an increase of 30% between Q2 2017 and Q3 2017.

For this post, I’ve decided to focus on the web applications and supporting web servers.  I appreciate that in most security programs, additional security controls would be in place that could increase the security of an e-commerce site; such as, firewalls, anti-malware, web application firewalls, IDS/IPS, etc…; however, since I’m focusing mainly on the web application itself, I’m covering only the following categories that can lead to the successful compromise of e-commerce channels:

    • Build Issues,
    • Insecure Coding, and
    • Third-parties.

Build Issues

E-commerce platforms are susceptible to build issues if not correctly configured and maintained.  Typically, web servers will be running various software components which will need to be securely configured and hardened to protect against multiple types of threats.  Software components can include;

    • The operating system (OS); for example, Windows or Linux (with the explosion of Cloud services, some web services are utilising containerisation such as Docker.  Although this will run on an operating system, this will be maintained/managed by the cloud service provider),
    • A web server application; for example, Microsoft IIS, Apache, etc…,
    • A scripting language; for example, ASP, PHP, Python, Perl, etc…,
    • A database; for example, Microsoft SQL, MySQL, PostgreSQL, etc… (N.B. The database is usually installed on a separate server).

These are the core components of a web server; however, other software components can still exist to support other functionality or system administrative tasks.  A good example of other software components which are often found on websites and e-commerce sites are Content Management Systems (CMS); for example, Joomla, WordPress and Drupal (not an exhaustive list).  Also, other software components can include e-commerce shopping carts; for example, Magento.

It is good practice to ensure that systems only have one primary function (i.e. in this case, supporting the web/e-commerce site) which is a requirement of PCI DSS.  The reason for this is that these additional services/software components can introduce additional risks and vulnerabilities therefore increasing the attack surface.  The web server will only be as secure as the weakest link; i.e. the weakest software component running.

Web server build issues can be identified as:

    • unintentional misconfigurations of the operating system or applications/services running on them,
    • insecure configuration of the operating system or applications/services running on them, and
    • unpatched operating systems or applications/services running on them.

Build issues can lead to a full compromise of the web server allowing a threat actor to take control of the web server.  This would give the threat actor the ability to change the logic of the website therefore manipulating the payment functionality, amongst other possibilities.

In the Synk article, of the top 50 data breaches in 2016, the author identified that the top two root causes of the analysed breaches were related to insecure builds.

    • Ranked 1: 24% of Root Causes

The root cause ranked first was linked to the 2013 OWASP Top 10 classification “2013:A9-Using Components with Known Vulnerabilities”.  Arguably, some of the attack vectors of these known vulnerabilities could be linked to other OWASP Top 10 classifications (for example; SQL Injection) but since these issues were known and at the time of the breach a patch was available, these breaches have been classified under A9 for the Synk research.

Examples of root causes under A9 included; unpatched Drupal, outdated version of vBulletin forum software and unpatched Forumrunner plugin (SQL Injection Flaw).

    • Ranked 2: 20% of Root Causes

The root cause ranked second was linked to the 2013 OWASP Top 10 classification “2013:A5-Security Misconfiguration”.  Examples of root causes under A5 included; misconfiguration of AWS security features, database access to the Internet with no authentication and insecure MongoDB databases caused by insecure default configuration from older versions.

Insecure Coding

Insecure coding can introduce a myriad of vulnerabilities to the web application running on the web server.  Some of the more serious coding issues can provide the threat actor with full administrative control of the web server, therefore giving them the ability to change the logic of the website and manipulating the payment functionality, amongst other possibilities.  Some examples of coding issues can include;

    • Injection Flaws – Injection flaws are caused by the insecure handling of user input. Generally, where user input is insecurely concatenated into a context, such as a database query or operating system command. These can be addressed either through user input sanitisation or alternatively by altering the way the query is constructed, such as through parameterized queries for SQL.  There are many types of injection flaws; for example, SQL Injection (SQLi), Command Injection and XPath Injection (there are other types of injection attacks). However, SQLi is the most commonly exploited injection flaw.  This may be in part due to the availability of effective, reliable, automated attack tools.

By incorrectly handling user input, a system may not only unintentionally expose confidential data, but may also allow an attacker access to the underlying operating system itself.  N.B. There are several ways this can be achieved, such as through a lack of principle of least privilege, allowing for access to functions such as xp_cmdshell – which allows for the execution of operating system commands on the database server – or through allowing an attacker to modify web application code stored in the database allowing code execution on the web application server instead

    • Broken Authentication – This vulnerability class covers many issues, such as an application allowing for credentials stuffing, bruteforce attacks, or being configured with default credentials. It also includes issues such as using weak credential recovery features. Credential stuffing, the act of exploiting password reuse, can be a difficult vulnerability to address however in most cases simply enforcing multi-factor authentication will mitigate the business risk of a stolen credential. As for preventing weak credential recovery features a critical step in mitigating risks in this area is to validate the user through a side-channel, that is to say validate the user through a confirmation email containing a limited validity proof (e.g. a short-lived token)
    • Sensitive Data Exposure – covers any time confidential data is insufficiently protected when stored or transmitted, such as being sent in cleartext (HTTP or FTP) or stored using a weak encryption/hashing algorithm. To mitigate these issues multiple protections are recommended, such as using Transport Layer Security (TLS) when transmitting data over HTTP, but also implementing the HTTP Strict-Transport-Security header, to ensure that the web browser never falls back to HTTP.

Although there are many more examples of coding issues which could be included above (review PCI DSS Requirement 6.5 for more, which is still not an exhaustive list), I’ve chosen these three because they are responsible for the third, and joint fourth ranked root causes within the Synk article.  Root causes ranked third, and joint fourth were;

    • Ranked 3: 8% of Root Causes

The root cause ranked third was linked to the 2013 OWASP Top 10 classification “2013:A1- Injection” (Currently 2017:A1-Injection).  Out of the top 50 data breaches analysed within the Synk article, all the injection flaws were identified as SQL Injection, which were used to exfiltrate data from the affected system.  Data included user account information (some with unencrypted passwords) and patient data.

    • Ranked Joint 4: 6% (each) of Root Causes

The root causes ranked joint fourth were linked to the 2013 OWASP Top 10 classifications “2013:A2-Weak Authentication and Session Management” (Currently 2017:A2-Broken Authentication) and “2013:A6-Sensitive Data Exposure” (Currently 2017:A3-Sensitive Data Exposure).

The Synk article identified weak passwords, accidental access to decrypted data and easy access to sensitive data via known data, credentials or URLs as attacks for these identified root causes.

Third-parties

I wanted to include third-parties not only because it poses a real threat to organisations, but also because one of the attacks we’ll be looking at can be leveraged through a third-party.  It is not uncommon for a successful security incident to occur via a third-party; for example:

    • The Target breach in 2013 started through the compromise of a third-party; Fazio Mechanical a refrigeration contractor.  Further details of the Target breach can be found here  (More Details),
    • The NotPetya malware attack was actually carried via a malicious update in the compromised accounting software package, called M.E.Doc. Which is used by a significant number of companies in Ukraine.  This attack utilised the compromised third-party software, M.E.Doc, as one of the initial propagation methods. Another propagation method by the same malware was a watering hole attack, which saw Ukrainian government websites defaced to host the malware.
    • The compromise of the ICO website (and others) was carried out in 2018 via a website plug-in called Browsealoud by a company called Brit Biz Texthelp.  Attackers tampered with the plug-in, introducing the Coinhive’s Monero miner program which is used to mine cryptocurrencies on infected machines,
    • RiskIQ reported a theory  in the British Airways (BA) breach which they linked to a group called Magecart.  They suspect that the attack was carried out by somehow altering JavaScript code from BA’s baggage claim information page to include malicious code to steal information, and
    • The Ticketmaster data breach is reported to be by the same group who compromised BA, Magecart as reported by RiskIQ.  Although malicious code was used to steal credit card information, within this attack, the malicious code was contained within compromised third-party scripts; Inbenta and SociaPlus, which the Ticketmaster website was configured to load.

These are just a few examples of attacks where a compromise of a third-party has led to a security incident of one of their customers.  An organisations IT Security is only as strong as its weakest link, which can sometimes be an external entity that the organisation engages with.

The PCI DSS has Requirement 12.8 which includes 5 sub-requirements designed to ensure third-party service providers are adequately managed to maintain the security of the cardholder data environment (CDE) and the cardholder data (CHD).

Examples of Attacks Against the Various e-Commerce SAQ Types

The previous section discusses some of the attacks that web servers and web applications can be faced with in today’s threat landscape.  In this post I wanted to focus on just some of the types of attacks which e-commerce sites with payment functionality can be faced with.

@HollyGraceful has very kindly written most of this section to help organisations understand how attacks can work against the various SAQ types.  The next sub-sections will discuss these.

SAQ A – MEDIUM RISK

SAQ A is used for e-commerce sites utilising web redirects or iframe payment functionality with the risk being lower than the other two SAQ types. This is lower since client-side attacks are very limited since it is not possible (at the time of writing) to successfully attack the payment flow in a way to compromise the cardholder data AND successfully carry out the payment transaction.  Merchants should quickly identify an issue since payments will stop. Whilst it’s not impossible, it would require a server-side weakness such as cross-site request forgery to also be present to allow for this.

A more successful attack against this payment type is to compromise the web server controlling the web redirect/iframe mechanism and altering the payment pages in a way to successfully capture the cardholder before sending payment data to the payment gateway.  Foregenix wrote a blog post in 2016 discuss an actual attack that successfully managed to compromise an iframe payment deployment whilst still being able to successfully submit the payment.  This is often extremely difficult because the payment gateways will have robust security mechanisms and monitoring in place to make it difficult for a threat actor to successfully generate their own data submission to the payment gateway, after capturing the CHD.  In this Foregenix post, additional checks by the payment gateway could have protected against this specific attack. Therefore, for this reason, to harvest the CHD, the threat actor would usually just redirect the cardholder to their own website to capture the CHD and not actually complete the payment.  This would quickly be picked up by the Merchant as no payments would get through.

An example of an attack in this context, would be “keyjacking” this is an effective attack where the attacker can control the content of the framing page (the e-commerce page) but not the framed page (the payment page). This attack involves the attacker “redressing” the page, such that an overlay is placed in front of the payment page, allowing the attacker to capture mouse clicks and key presses such that card details, or typed credentials, could be stolen. However as stated earlier as the framing page captures the key presses, whilst it would functionality allow the attacker to capture details they would not then be sent to the payment system – increasing the likelihood of this attack being detected.

SAQ A-EP – HIGH RISK

As already described, with this payment mechanism, the merchant website is responsible for creating the payment form used to submit cardholder data to the payment gateway.  This is a much greater risk than for SAQ A because it is much easier for a threat actor to manipulate the payment flow to capture cardholder data and still successfully complete the payment.  Additionally, there is a greater risk from third-party scripts since these scripts can interact directly with the payment form to also capture cardholder data and still allow the payment to complete.

In this context an attacker would be able to perform a cross-site scripting style attack, which in execution would be similar to the previously mentioned keyjacking but in this instance the attacker would not only be able to capture key presses (and thus credentials or payment details) but would also be able to send these details on to the payment system to allow the payment to be completed – reducing the likelihood of fast detection, in comparison to the keyjacking method described above.

SAQ D – HIGH RISK

The threats for SAQ A-EP and SAQ D are pretty much the same, the most significant difference is that this will mainly be applicable where the web server is receiving the cardholder data directly before routing this to the payment gateway.  For this reason, there are potentially more PCI DSS requirements in scope; such as Requirement 3 if cardholder data is being stored.

Where payment information is stored, instead of simply submitting the details to a payment provider, this opens up additional vulnerabilities such as those covered earlier; mainly A1-Injection and A3-Sensitive Data Exposure. Where cardholder data is stored, and an attacker is able to extract data form the database where that data is insecurely protected in storage (such as through weak encryption or weak hashing) the attacker could simply extract and steal the data – mitigating the attacker’s requirement to ensure the payment is completed.

Mitigations

There are various ways in which PCI DSS mitigates the types of attacks identified above.  These have been categorised under the three attack vector categories identified earlier;

Build Issues

PCI DSS Requirement 2 includes sub-requirements to ensure systems are hardened before being deployed within the PCI DSS environment.  The types of requirements included within PCI DSS Requirement 2 includes;

    • Changing vendor-supplied defaults and removing or disabling unnecessary default accounts,
    • Changing ALL vendor defaults for wireless environments connected to the cardholder data environment,
    • Develop configuration standards ensuring they address all known security vulnerabilities, in-line with industry-accepted system hardening standards (from organisations such as; but not limited to, Center for Internet Security (CIS), International Organization for Standardization (ISO), SysAdmin Audit Network Security (SANS) Institute and National Institute of Standards Technology (NIST),
    • Implement on one primary function per server,
    • Restricting services, protocols, daemons to that which is necessary for the operation of the system component,
    • Implement additional security features for services, protocols, daemons that are considered to be insecure,
    • Configure system security parameters to prevent misuse,
    • Remove all unnecessary functionality; such as, scripts, drivers, features, subsystems, file systems, and unnecessary web servers,
    • Encrypt all non-console administrative access using strong cryptography.

Requirement 6 has two requirements focusing on;

    • Establishing a process to identify vulnerabilities, using reputable outside sources for security vulnerability information and assigning a risk ranking methodology to newly discovered security vulnerabilities,
    • Ensuring that all systems and software are protected from known vulnerabilities by installed applicable vendor supplied security patches.  Critical security patches must be installed within one month of release.

Requirements 7 and 8 cover authentication and can arguably be included within this section.  These requirements ensure things like;

    • Limit access to systems and cardholder data to individuals who require access,
    • Implement the principle of least privileges for privileged accounts,
    • Unique user accounts are assigned,
    • Revoke access for any terminated users,
    • Monitor inactive accounts and remove/disable them within 90days,
    • Only enable third-party accounts when in use and monitor them when being used,
    • Strong password policies; i.e. lock out failed logins after more than 6 attempts, configure a lockout duration for a minimum of 30mins, minimum of 7 characters, must contain numeric and alphabetic characters, passwords must be changed at least every 90days, remember the past 4 previously used passwords,
    • Ensure sessions idle for more than 15 minutes require the user to re-authenticate/re-activate their terminal/session,
    • Use strong cryptography on credentials that are transmitted or stored,
    • MFA used for all non-console access and all remote access to the CDE,
    • Do not use group, shared or generic IDs, passwords, or other authentication methods,
    • Restrict access to databases containing CHD.

Secure Coding

Requirement 6 covers secure coding practices designed to limit organisation developing applications which are insecure.  Controls covered by Requirement 6 include;

    • Develop secure coding guidelines based in industry standards for example, the OWASP Software Assurance Maturity Model (OWASP SAMM),
    • Internal and external software applications need to be developed;
      • in accordance with PCI DSS; for example, secure authentication requirements (i.e. passwords are a minimum of 7 characters, lockout after 6 invalid logon attempts, etc…) and logging requirements in Requirement 10,
      • Based on industry standards and/or best practices, and
      • Incorporate security throughout the software-development lifecycle.
    • Remove development, test and/or customer application accounts, user IDs and password before release,
    • Review custom code changes prior to release to identify potential coding vulnerabilities to include at least the following;
      • Code changes are reviewed by individuals other than the originating code author who are knowledgeable about code-review techniques and secure coding practices,
      • Code reviews ensure code is developed according to secure coding guidelines,
      • Implement appropriate connections prior to release,
      • Code-review results are reviewed and approved by management prior to release,
    • Address common coding vulnerabilities in software development processes by;
      • Training developers in up-to-date secure coding techniques at least annually (for example; Injection flaws, buffer overflows, insecure cryptographic storage, XSS, etc…),
      • Develop applications based on secure coding guidelines,

In addition to these specific PCI DSS requirements for secure software development practices, the PCI Security Standards Council (PCI SSC) have recently released the Software Security Standard (PCI SSC Press Release) which is aimed at software vendors to drive the development of secure solutions.  This will replace the Payment Application Data Security Standard (PA-DSS) in 2022.

Third-Parties

Third-parties can present a significant threat.  Security is only as strong as the weakest link, which can be third-parties which can impact upon the security of the organisations IT environment/systems.  PCI DSS includes requirements covering the handling of third-party service providers within Requirement 12.8’s 5 sub requirements.  These sub requirements include requirements to;

    • Document all service providers, including a description of the service provider,
    • Maintain a written agreement with the service provider that includes an acknowledgement that the service provider will maintain a PCI DSS compliant environment,
    • Establish a process for engaging service providers including proper due diligence prior to the engagement,
    • Maintain a program to monitor service providers’ PCI DSS compliance status at least annually,
    • Maintain information (Roles and Responsibilities Matrix) detail which requirements are the responsibility of the Merchant, Service Provider or Joint responsibilities.

To fulfil PCI DSS Requirement 12.8, most organisations will develop a procurement process which is focused around PCI DSS, however, my recommendation is to build in additional due diligence; for example, financial, IT Security, etc…  This will ensure a robust third-party assurance program is implemented and should include not only proper due diligence, but also include risk analysis as part of this process.

The PCI SSC released a “Third Party Security Assurance” guidance document intends to provide organisation with guidance on how a third parties should be vetted through a robust due diligence process.

Although not directly a PCI DSS requirement as such, I would also go as far to say it would be best to stay clear of including third-party scripts within the payment functionality of the website.

Additional Protections

The sub sections above focused on the three categories being discussed throughout this post.  Within this section I wanted to just draw the reader’s attention to some additional protections which can also help bolster what has been discussed.

Anti-Malware: Although traditional signature-based approaches no longer deem to be sufficient protection against the evolution of malware over the past decade, anti-malware protection can help to identify some of the malware that is used whilst exploiting specific vulnerabilities.  Some anti-malware products also include host-based intrusion prevention which can further bolster protections against malware infections.

Web Application Firewalls: Deploying a well-tuned WAF can help to protect e-commerce sites against vulnerabilities that may existing within the e-commerce site.  By detecting common techniques used by threat actors to exploit coding vulnerabilities such as; Injection, Cross-site Scripting, XML External Entity Injection, and deserialisation attacks, even if the e-commerce site is vulnerable, the WAF would stop the attack before reaching the e-commerce site.

File Integrity Monitoring: Often, when attacks against e-commerce websites are successful, the web servers file system is altered by either modification of system or application files, the deletion of files or the addition of files.  By running FIM on the web server, the system administrators to be alerted to alterations and determine if these changes are the result of a malicious threat actor or internally.

More Regular Vulnerability Scanning: By running both infrastructure and web application vulnerability scans of the e-commerce external footprint, vulnerabilities can be identified and remediated.  By running these tools more regular, the window of opportunity of a threat actor is reduced.  By reducing the length of time, the vulnerability exists, the risk of the vulnerability being exploited is reduced.

Continuous Penetration Testing: This is something that is relatively new to the market.  The idea behind continuous penetration testing, is to reduce the mean-time-to-detection by having a security tester conducted continuous vulnerability scanning and penetration testing activities against the system. The mean-time-to-detection is the amount of time it takes for an organisation to detect a newly implemented security vulnerability.

Keyjacking and XSS Mitigations

For the specific issues mentioned in the SAQ section we discussed keyjacking and cross-site scripting, from the context of the framing page, can be prevented in two ways – the first is rigorous user input filtering utilising a whitelisting approach.

Whitelisting is a user input filtering method where only known-good input is allowed, as opposed to relying on being able to create a maintain a list of all known-bad input as would be required to have effective blacklisting. This can be achieved by restricting the type of data, length of input, and expected character-set.

There is an issue here however, with trusting third-party code, such as including JavaScript within a web application which is sourced directly from a third-party. A possible alternative would be to review included code and then store/reference it from within the web application server itself.

My Final Ramblings

In this post I wanted to highlight the dangers with hosting e-commerce platforms.  The PCI SSC and Card Brands do a fantastic job of taking a risk-based approach to the various techniques used by organisations to capture and process card payments.  This is reflected within the various SAQs and eligibility criteria within them which considers the risks associated with the payment channels, translating this into which requirements are needed.

That said, although the SAQ A payment integration for e-commerce platforms is less risky than the other methods, I still believe SAQ A doesn’t go far enough by means of the number of requirements that are included. This is something I’ve spoken about in another article here.  Although for PCI DSS Compliance purposes you are required to meet what’s detailed within the appropriate SAQ, there is nothing wrong with going above and beyond what PCI DSS requires for your chosen payment integration.

One of the key messages that I wanted this article to deliver is that e-commerce platforms are at risk from a myriad of threats.  The impact of these threats may depend upon the payment integration used, however, with creativity on the threat actors’ part, each payment integration option can be fruitful.

My initial driver for this post was the BA, ICO and Ticketmaster compromises highlighted above.  Third-party scripts running within e-commerce sites, can pose a real danger.  The impact is very much dependent upon the payment integration used, however organisations need to be careful when these scripts are being used.  The recommendation is to limit the usage of these third-party scripts within the payment functionality of the websites.  Content Security Policy (CSP) can be used to help achieve this goal.  CSP works in this scenario because you can utilise the CSP directive to control the loading behaviour for a target resource type.  You can instruct the client browser from which location and/or which type of resources can be loaded.  The recommendation would be to limit loading any third-party scripts from any pages which are involved within the payment functionality, unless it is directly supporting this function (i.e. from the payment service provider).

Both Troy Hunt and John Elliott have produced an excellent video on Pluralsight on ‘Defending against JavaScript keylogger attacks on payment card information’ {Note: At the time of writing you could get a 10-day trial, however you do need to submit payment options and cancel}.

Troy Hunt is an out spoken Australian security expert and advocate for web security.  A well-respected researcher and public speaker, Troy works tirelessly promoting the importance of secure web application development and attaining a better web application security posture through public speaking, blogs and training materials.  A Pluralsight author, Troy has developed more than 30 courses (at time of writing) covering various topics and technologies.  A key project Troy has been involved in is the ‘Have I Been Pwned’ (HIBP) website which is a free service aggregating publicly released data breach data allowing people to identify if they’ve been impacted by such breaches. 

John Elliot is a well-respected InfoSec professional within cybersecurity, payments and privacy.  A regular public speaker, John demonstrates his passion for cyber security, PCI DSS and GDPR by delivering engaging topics at various conferences and authoring training courses for Pluralsight.  Within his previous role of Head of Payment System Security at Visa Europe, John has a vast amount of knowledge and experience of PCI DSS and payment security and was Visa Europe’s representative on the PCI Security Standards Council.

PCI Ramblings: Payment Card Industry Glossary

I’ve recently realised that a lot of my blog posts will include terminology which readers may not know.  For this reason, I’ve decided to write a separate blog post that I can reference within each of my blogs.

Below are some of the terminology which crops up regularly within the payment card industry.

This is a live page and will be updated with new terms over time.

2FA: See MFA (Multi-Factor Authentication).

3DS: Stands for Three-Domain Secure which is an EMV messaging protocol enabling an extra layer of authentication between a cardholder and the card issuer when making card-not-present e-commerce payments.  This additional security layer is designed to prevent unauthorised card-not-present transactions providing a merchant additional protection against fraud and limits the issuance of chargebacks.  This is often an optional additional security check which some merchants sometimes believe can be a barrier to the sale.  The three domains consist of the entity/acquirer domain, issuer domain, and the interoperability domain (e.g., payment systems).

Account Data: Is the single term used to include both cardholder data (CHD) and sensitive authentication data (SAD).

Acquirer: The definition is someone (bank or financial institution) who acquirers something.  In the context of payments, the Acquirer will accept card payments from the card issuer on behalf of a merchant.  Examples include; WorldPay, Elavon, Barclaycard, Lloyds TSB, etc…

AOC: Stands for Attestation of Compliance which is a formal document that an entity signs to attest to the results of a PCI DSS assessment being conducted correctly. If a QSA has carried out the assessment, or contributed to an assessment (for entities aligning to a self-assessment), the QSA would also countersign the AOC.

Approved Scanning Vendor: See ASV.

ASV: Stands for Approved Scanning Vendor which is a company approved by the PCI SSC to carry out external vulnerability scanning to support ASV requirements in Requirement 11.2.2.

Attestation of Compliance: See AOC.

BIN: Stands for Bank Identification Number and is also referred to as IIN (Issuer Identification Number, See IIN.

Breach detection gap: This is a term used to describe the time between a breach occurring and the organisation detecting the breach.

Call Recording: Term used within card-not-present telephone payment channels.  Where entities are recording calls, usually for monitoring and training purposes.

Cardholder: Term used to identify the consumer or non-consumer the card has been issued to or is authorised to use the card.

Cardholder Data: See CHD.

Card Brands: The card brands are made up of American Express (AMEX), Discover, JCB, MasterCard and Visa.  These were the original card brands that initially developed the Payment Card Industry Data Security Standard (PCI DSS).

Card Issuer: The card issuer is the bank or financial institution who provides the payment card to the card holder to use for purchasing goods or services.  For this card to be in scope for PCI DSS, the card needs to be backed by one of the Card Brands. Examples include; Lloyds TSB, Barclays, NatWest, Santander, Capital One, Bank of America, Citibank, Discover, AMEX, etc…

N.B. Some Card Brands will issue cards directly.  Visa and MasterCard do not issue cards, instead they allow other banks or financial institutions to issue cards for use on their payment networks.

Card Scheme: Payment networks that are linked to credit/credit cards to which a bank or other financial institution can become a member of.

Card Verification Method: See CVM.

Card-not-present: See CNP.

Card-present: See CP.

CAV/CAV2: Stands for Card Authentication Value which is the term used to represent the code on the cards magnetic stripe (CAV) or the digital value (CAV2) printed on the signature panel on the back of the card.  This term is used to represent this data on JCB Cards.  The values are uniquely associated with the PAN on the specific cards and is used as an additional security mechanism.

Chargebacks: These can be received by merchants from their acquirers if a cardholder disputes a payment on their card to their issuer or if the acquirer identifies an issue with the transaction and therefore triggers a chargeback to the merchant.  The acquirer will investigate the query and issue the refund or will inform the merchant they will be refunding the payment to the cardholder, unless the merchant can provide enough evidence that the payment was valid.  A reason code will generally be included within a chargeback which falls into four general categories;

    • Technical: Expired authorization, non-sufficient funds, or bank processing error.
    • Clerical: Duplicate billing, incorrect amount billed, or refund never issued.
    • Quality: Consumer claims to have never received the goods as promised at the time of purchase.
    • Fraud: Consumer claims they did not authorize the purchase or identity theft.

Fraud is the most common reason code for chargebacks. 

CHD: Stands for Cardholder Data and is the term used to include the following data elements of the card information; Primary Account Number (PAN), Cardholder Name, Service Code and Expiration Date.

CID: Sands for Card Identification Number which is the term used to represent the digital value printed on the signature panel on the back of American Express (AMEX) Cards.  The CID is uniquely associated with the PAN on the specific cards and is used as an additional security mechanism.

CNP: Stands for card-not-present which refers to a method of taking card payments (the payment channel) where the cardholder is not physically present with the card.  This will typically refer to; e-commerce, telephone and mail-order payments.

Contactless Payments: This is a term used to make a payment using RFID (radio-frequency Identification) or NFC (near field communication) technologies. Contactless payments involve presenting the credit/debit card or NFC device to a card reader. This interaction doesn’t need to physically touch the card reader, just as long as it is close enough to be read. There is usually a transaction limit of £30 for contactless payments.

CP: Stands for card-present referring to a method of taking card payments where the cardholder is physically present with his/her card.  As part of the payment process, the cardholder will physically use the card as part of the payment process.  Typical examples of this can be; chip and pin payments, magstripe payments, contactless payments and the older imprint machines.

Credit Card Imprinter: See Imprinting Machine.

Credit Card Networks: Are the networks operated by the card brands, of which there are currently 4; Visa (VisaNet), MasterCard (MasterCard Worldwide Network), American Express (American Express Global Network) and Discover (Discover Network Payment Network).  These networks are used to process that card brands payment transactions.

CSC: Stands for Card Security Code which is the term used to represent the code on the cards magnetic stripe on American Express (AMEX) Cards.  The codes are uniquely associated with the PAN on the specific card and is used as an additional security mechanism.

CVC/CVC2: Sometimes referred to as PAN CVC or PAN CVC2, it stands for Card Validation Code which is the term used to represent the code on the cards magnetic stripe (CVC) or the digital value (CVC2) printed on the signature panel on the back of the card.  This term is used to represent this data on MasterCard Cards.  The codes are uniquely associated with the PAN on the specific card and is used as an additional security mechanism.

CVM: Stands for Card Verification Method which is typically used to validate the cardholder is the true owner of the card through the use of a PIN (Personal Identification Number.

CVV/CVV2: Stands for Card Validation Value which is the term used to represent the code on the cards magnetic stripe (CVV) or the digital value (CVV2) printed on the signature panel on the back of the card.  This term is used to represent this data on Visa/Discover Cards (CVV) and Visa cards (CVV2).  The values are uniquely associated with the PAN on the specific card and is used as an additional security mechanism.

Derived Unique Key Per Transaction: See DUKPT.

DTMF: Stands for dual-tone multi-frequency and is a generic term used for Touch-Tone used by push-button telephones which is a trademark of AT&T.  A telecommunication signalling system using the voice-frequency band over telephone lines.  Signalling can be sent from the handset to switching centres and is often used to navigate switchboard menu options.  This technology is also used by companies wanting to facilitate the input of cardholder data through the telephone’s keypad.

Dual-Tone Multi-Frequency: See DTMF.

DUKPT: Stands for Derived Unique Key Per Transaction and is a mechanism of encryption which utilises a unique encryption key for each transaction.  This means that should a threat actor manage to decrypt a transaction; the same encryption key will not be able to decrypt other transactions.  DUKPT will usually make it computationally impossible to capture a lot of data as the computational efforts to compromise a strong encryption cipher (therefore a single transaction) can be billions of years (AES128).

E2EE: Stands for End-to-End Encryption which is a term used to reference a solution that deploys encryption at the point of interaction (cardholder swipes their card) and decryption within the solutions decryption environment.

EMV: Stands for Europay, MasterCard, Visa which were the card brands who developed it.  EMV is a global standard for chip-based payments including; contactless, contact (i.e. dipping the card with the chip), mobile, tokenisation framework, QR codes, Secure Remote Commerce and 3-D Secure.  EMVco. is responsible for evolving and developing the EMV specification.

End-to-End Encryption: See E2EE.

ePOS: Stands for electronic point of sale which is the computerised hardware that is seen within retail stores used to not only facilitate taking payments for goods and services, but can also provide additional functions such as sales reports, inventory management, etc…

Electronic Point of Sale: See ePOS.

IIN: Stands for Issuer Identification Number. Used by acquirers and issuers to route payments to the correct issuer. The IIN is the first 8 digits of the PAN (the long 16 to 19 digit number on the front of a Debit/Credit Card.

Imprinting Machine: Also known as “Click Clack” machines due to the noise made during its operation. Although very rarely seen in todays payment environments, some card-present channels may still have these for use when electronic payment devices are not working.  These machines are used manually to make an imprint of the face of the credit card across two or three pieces of paper (carbon copied).  Once the imprint is carried out, the cardholder will sign it and keep a copy.

Integrated Services Digital Network: See ISDN.

Interactive Voice Response: See IVR.

Internet Payment Service Provider: See IPSP.

IPSP: Stands for Internet Payment Service Provider and is a term used by the payment brand JCB (Japan Credit Bureau). Same as a PSP but provides services via the Internet.

ISDN: Stands for Integrated Services Digital Network which was first defined in 1988 and is a set of communication standards designed for the simultaneous digital transmission of voice, video, data, and other network services over the traditional circuits of the public switched telephone network.  BT has announced that this technology will be phased out by 2025 for SIP.

IVR: Stands for interactive voice response although rarely it can also be referred to as interactive voice recognition.  It is a technology allowing computer systems to interact with DTMF signalling and voice to make decisions.  This can be used to navigate a switchboard to put a caller through to the correct team, or can be used to provide payment facilities, for example; to provide out-of-hours automated payment services.

Mag Stripe: Stands for magnetic stripe which is the black magnetic stripe along debit/credit cards.  This magnetic stripe contains cardholder data which can be read by the card reader.  The data is referred to as Track Data.

Magnetic Stripe: See Mag Stripe.

Mail Order / Telephone Order: Refers to a card-not-present payment channel that accepts mail order payments and/or telephone order payments.

Master Merchant: A master merchant is not an Acquirer but can provide acquiring services (i.e. a Merchant Account) through backing by an Acquirer, see PSP also.

Merchant: The merchant will typically be the entity that will receive the payment for the goods or services being purchased for with the credit/debit card.  The merchant is identified as owning the merchant account where the payment is deposited.  The Merchant will sign a merchant agreement with an acquirer and will obtained a Merchant ID (MID) which is used as the unique identifier for the merchant account.

Merchant Bank: See Acquirer.

MFA: MFA, or two-factor authentication (2FA) as it is also referred to, allows for the confirmation of a user’s identity using multiple pieces of evidence, or ‘factors’ which are defined as;

    • Something you know is a piece of knowledge you have, such as; a username, password, PIN, etc…
    • Something you have is something physical, such as; a smart card, token, etc…
    • Something you are is a form of biometrics, such as; fingerprint, face recognition, iris scan, etc…

Multi-Factor Authentication: See MFA.

NESA: Stands for Non-listed Encryption Solution Assessment was brought out by the PCI SSC in 2016 and is designed to assess end-to-end encryption (E2EE) solutions which either cannot go for P2PE accreditation or the vendor has chosen not to. The intent of the NESA is to provide an assessment of the E2EE solution to identify any gaps the solution may have against the PCI SSC P2PE standard. The output of this assessment is to identify these gaps so QSAs and other PCI DSS professionals can determine what applicable PCI DSS requirements should be included within an assessment that utilises the E2EE solution. The NESA is conducted by a P2PE QSA who is qualified in performing assessment of P2PE solutions against the P2PE standard. The PCI SSC has written a post on demystifying the NESA here.

NFC: Stands for near field communication which is a set of communication protocols to allow two devices to communicate with each other through short range wireless technologies. This is typically used to facilitate payments through the use of mobile phones, watches, etc…

Non-Console Access: This is a term used to identify logical access to a system which is carried out over the network rather than by physical access using a keyboard, mouse and monitor.  Examples of such access could include technology such as; SSH, Remote Desktop or a web interface.

Non-Console Admin Access: Where non-console access technology is used by a user to perform administrative functions to the system.

Non-Consumer User: Term used to refer to users accessing a system who is not the cardholder.  This can include, but is not limited to; employees, administrators and third-parties.

Non-listed Encryption Solution Assessment: See NESA.

MOTO: Stands for Mail Order / Telephone Order.  See Mail Order / Telephone Order.

P2PE: Stands for Point-to-Point Encryption.  This is a separate PCI SSC standard designed to facilitate the secure development, approval and deployment of PCI SSC approved P2PE solutions.  This works on the premise that the account data is securely encrypted immediately at the point of interaction within the merchant’s environment.  The solution will only facilitate the decryption of the account data once it reaches the decryption environment that is part of the accredited P2PE solution.  Due to the nature of the encryption, each device has a unique key and every transaction will utilise a unique encryption key which is derived from this device unique key.  The decryption environment can perform a calculation to derive the unique transaction encryption key to decrypt the traffic.  Since the encryption key is calculated for each transaction, the device itself doesn’t contain a specific encryption key, therefore a compromise of the device cannot compromise transactions that have occurred, unless someone understand the architecture on how the device derives its unique encryption keys.

PABX: Stands for Private Automatic Branch Exchange, see PBX.

PAN: Stands for Primary Account Number which is the long number across the front of a debit/credit card.  This number is a unique identifier that identifies that specific card and cardholder.

Pause-and-Resume: Term used when telephone payment channels can pause call recording during the payment process and then resume the call recording.  There are two versions of this; manual and automated.  Manual relies one the call operator to signal to the call recorder to pause and resume the call recording.  Automated relies on an automated method to provide this functionality, which can identify when the call operator is on the payment input screen of the payment application.

Payment Brands: See Card Brands.

Payment Facilitator: See Payment Service Provider.

Payment Gateway: See PSP.

Payment Processor: See PSP.

Payment Networks: Is the term used to identify the intermediary interconnecting networks used to facilitate a payment transaction linking the technology where the card is used all the way to the settlement of the funds.

N.B. This term can also be used to refer to the credit card network.

Payment Service Provider: See PSP.

PBX: Stands for Private Branch Exchange which is used to denote an organisations internal telephone system.

PCI DSS: Stands for the Payment Card Industry Data Security Standard.

PCI Forensic Investigator: This can refer to the company and employee; PFI Company or PFI Employee.  When a data breach occurs involving cardholder data (CHD), only companies and employees who are certified by the PCI SSC to carry out forensic investigations can undertake this work.  A list of PFI Companies and Employee lookup can be found here.

PCI SSC: Stands for the Payment Card Industry Security Standards Council. Founded in 2006 by the Payment Brands, the PCI SSC is a not-for-profit organisation who; amongst other things, is responsible for the maintenance of an array of standards designed to secure the payment card industry, most known for the PCI DSS.

PDQ: Stands for Pretty Damn (or Darn) Quick.  See PED.

PED: Stands for PIN Entry Device which is a device that is used interchangeably for POI, PED and PDQ.  It is a device that is used to facilitate a payment which is typically a card-present payment.  A cardholder will utilise the device to read the card data and then to authenticate using a 4-digit PIN associated with the card.  N.B. PEDs can also be used to facilitate card-not-present payments; however, the PIN will not be used.

PIN: A PIN is the Personal Identification Number that is used as a card verification method (CVM). The PIN is a number which is only known by the cardholder and therefore can verify the cardholder at the point of interaction for card-present payment transactions or at ATMs (Cash machines).

PIN Block: A PIN block is a block of data used to encapsulate a PIN during processing.  It will contain the PIN and PIN length but also may contain a subset of the PAN.  There are many PIN block formats that can be used to store the data, the most common one being based on ISO 9564.

PIN Entry Device: See PED.

PFI: Stands for PCI Forensic Investigator.

POI: Stands for Point of Interaction and is usually used with the word “Device” at the end; i.e. POI Device.  Term is often used about devices with which cardholders will interact with to make a payment using a physical card.  This can be by dipping the card into the device to read the chip, using contactless or using the mag stripe.  This is used interchangeably with PED and PDQ.  The PCI DSS references POI within Requirement 9.9.

POS: Stands for Point of Sale (can also be known as point of purchase) and is the point in time and place where a retail purchase has taken place.  This will often be used within the context of a POS System, meaning the hardware used to facilitate the retail purchase.

POTS: Stands for plain old telephone service (or plain ordinary telephone service) which refers to a voice-grade telephone service which utilises an analogue signal over copper twisted pair wires.    

Point of Interaction: See POI.

Point of Sale: See POS.

Point-to-Point Encryption: See P2PE.

Pretty Damn Quick: Refers to a device used to facilitate card payments, typically card-present payments.  The device will physically interact with the card; either reading the chip or mag stripe.  PDQ is used interchangeably with POI and PED.

Private Networks: Are internal corporate networks which are controlled by the organisation and would typically utilise private RFC1918 address spaces (10.0.0.0/8, 192.168.0.0/16 or 172.16.0.0/12).

PSP: Payment Service Provider (aka Payment Gateway and Payment Processor) will contract with an acquirer to provide payment-related services to sponsored merchants (i.e. their customers).  This can sometimes include the PSP offering merchant services by offering a Merchant ID directly to the merchant.  Merchants will typically use a PSP to handle card payment transactions on their behalf, depositing funds into their Merchant accounts.

Public Network: A network established by a third-party telecommunications company which is used to support the transmission of public traffic.  Public networks are typically insecure since traffic can be intercepted or modified in transit.  Public networks would be networks not under the control by the organisation.

Qualified Security Assessor: A person who is recognised by the PCI SSC as holding the qualification of a Qualified Security Assessor (QSA).  QSAs are qualified to carry out Report on Compliance (ROC) assessments, which under normal circumstance will be carried out for Level 1 Merchants or Service Providers.  QSAs can be verified through the PCI SSC website here.

Qualified Security Assessor Company: A company who has been successful in their application with the PCI SSC and certified to provide QSA services.  A list of QSACs and their status can be found on the PCI SSC website here.

QSA: Stands for Qualified Security Assessor.

QSAC: Stands for Qualified Security Assessor Company.

Report on Compliance: See ROC.

RFID: Stands for radio-frequency identification and uses electromagnetic fields emanating from the device which contains data. RFID implementation to support payments is more secure than standard RFID implementations. The range is limited to around 2-4 inches and incorporates much more stringent security controls than standard RFID.

ROC: This is the formal PCI SSC report completed by a QSA typically during a Level 1 QSA lead PCI DSS assessment (N.B. ROCs can be requested of lower level Merchants by Acquirers, particularly on the back of a compromise.). The ROC provides a great level of detail of the onsite assessment activities. Upon completion, this will be submitted to the Acquirer by the Merchant.

SAD: Stands for Sensitive Authentication Data.  Sensitive authentication data is used to include the following data elements; Full Track Data, CAV2/CVC2/CVV2/CID and PIN/PIN Block.

SAQ: Stands for Self-Assessment Questionnaire.  SAQs have been developed by the card brands and the PCI SSC to identify applicable PCI DSS requirements for different types of environments based on risk.  They are quite specific in what types of payment channels can use the SAQ and have a list of eligibility criteria that must be met for the SAQ to be used.

SAQ A: Is used where payment processing has been outsourced to a PCI DSS compliant service provider and can be used for MOTO and e-commerce channels only.  For e-commerce channels, this SAQ can only be used where iFrame or web redirect techniques are used for payment capture.  No electronic CHD storage is permitted.

SAQ A-EP: Is used for e-commerce payment processing where a Direct Post or JavaScript payment technique is used to facilitate payments. No electronic CHD storage is permitted.

SAQ B: Is used for card-present (and under some circumstances card-not-present) channels.  This SAQ is used where the POI device is plugged into a standard analogue phone line. No electronic CHD storage is permitted.

SAQ B-IP: Is used for card-present (and under some circumstances card-not-present) channels.  This SAQ is used where the POI device is plugged into an IP based network which is isolated from everything else. No electronic CHD storage is permitted.

SAQ C: Is used when an isolated payment application in a single location which doesn’t have connectivity to other locations is facilitating card payments over the Internet; for example, a Point-of-Sales system.  No electronic CHD storage is permitted.

SAQ C-VT: Is used for card-not-present payment channels.  Payments are processed using a Level 1 Service Providers isolated Virtual Terminal via a personal computer over the Internet. The personal computer needs to be isolated from everything else.  VoIP often causes this SAQ to be incorrectly used.  No electronic CHD storage is permitted.

SAQ D: There are two SAQ D’s, one for Merchants and one for Service Providers.  This SAQ is used by merchants when the eligibility criteria for the other SAQs cannot be met.  For Service Providers, this is the SAQ that can be completed where they are a Level 2 Service Provider.  SAQ D includes all PCI DSS requirements and is the largest SAQ.  This SAQ is also used where CHD is being stored.

Screen Recordings: Often used within telephone-based payment channels for training and monitoring purposes.  Screen shots or recordings of a computer screen observing a user’s actions.  Typically showing data being entered in to an application such as a CRM package.

SBC: Stands for Session Border Controller which provides security, interoperability, routing and other functions in a SIP network.  It controls the way SIP calls are initiated, conducted and torn down.

Self-Assessment Questionnaire: See SAQ.

Sensitive Authentication Data: See SAD.

Service Providers: Service providers will be storing, processing or transmitting cardholder data on behalf of a merchant, or can impact upon the security of a merchant’s cardholder data (CHD) or cardholder data environment (CDE).

Session Boarder Controller: See SBC.

Session Initiation Protocol: See SIP.

SIP: Stands for Session Initiation Protocol is a multimedia communication protocol working over IP networks.  It’s a signalling protocol used to initiate, maintain and terminate real-time multimedia communication such as voice and video.

SIP Trunking: Is the term used when an Internet connection is being used to provide telephone services to the organisation’s PBX.  This is slowly replacing ISDN, which is due to be retired in 2025 (BT).

Swipe Card: Term used to reference a card with a Magnetic Stripe which contains data, in our case, cardholder data.

Third-Party Agent: See TPA.

Third-Party Processor: See TPP.

Third-Party Service Providers: See Service Providers.

TPA: Stands for Third-Party Agent which is a term used to represent a service provider by Visa.

TPP: Stands for Third-Party Processor which is a term used to represent a service provider by MasterCard.

TPSP: Standard for Third-Party Service Providers.

Track Data: Track data is a term used to reference the information on the magnetic stripe of a debit/credit card.  Cards can store up to 3 tracks of data known as track 1, track 2 and track 3.  Track 3 is almost never used.  POI devices will read track 1, track 2 or sometimes both.  Track 1 has a higher bit density and can therefore store more information so this is the only track which may contain the cardholders name.  Both track 1 and track 2 store enough information to be able to compete a card transaction and will contain the full PAN.

Two-factor Authentication: See MFA.

VbV: Stands for Verified by Visa which is Visa’s additional security checks which are sometimes used when making e-commerce payments using a Visa debit or credit card. These checks can either be carried out behind the scenes where checks against the cardholder’s spending patterns are carried out, or it can be an additional prompt asking the cardholder to validate some additional information. This is intended to cut down on fraud by carrying out additional check to verify that the cardholder is actually making the payment.

Verified by Visa: See VbV.

VisaNet: The name of Visa’s global payment network.

VoIP: Stands for Voice over IP and is used to identify voice traffic that is transmitted over a network using Internet Protocol as its transport mechanism.  Although this says IP (i.e. Internet Protocol), this doesn’t mean that this is Internet voice traffic.  IP is used by the majority of internal networks in most organisations and if a telephone system is using network-based communication internally, it will likely be using VoIP.

VoIP Tromboning: This is a term used when voice traffic enters a network/system and then is routed back the way it came.   For example; traffic may travel from the Internet into the organisations voice system, to then be re-routed (sent) back out of the Internet to another IP connected phone system.  This is sometimes used when organisations are deploying IVR/DTMF services to a cloud provider.

Newly Released PCI DSS Telephony Guidance

The PCI SSC conducted two Special Interest Groups (SIGs) in 2018; the ‘Protecting Telephone-Based Payment Card Data’ (referred to as the Telephony Guidance within this post) and ‘Best Practices for Maintaining PCI Compliance’ SIGs.  Most of you will have noticed that guidance documents already exist for these topics; however, through the SIG proposal process, the community felt that the guidance needed updating.

As a SIG member, I contributed to the work in updating the telephony guidance this year (2018) along with other subject matter experts and industry representatives.  The previous guidance was released in 2011 so this update has been eagerly anticipated by the industry for many years.  The PCI SSC had already been working with industry stakeholders on an update to the telephony guidance when, in March 2017 a request for comment (RFC) was sent out to participating organisations (including QSAs/ISAs).  Based on the volume of feedback and some of the proposed changes requested, the PCI SSC must have thought a SIG process was better and decided to put it up for election towards the back end of 2017.

The newly released guidance is the output from this process and has hopefully addressed a lot of the misconceptions to do with telephone-based payment channels.  This can often be a contentious topic, with many entities, and QSAs not correctly identifying telephony that utilises IP based network infrastructure (i.e. Voice of IP, aka VoIP) as in scope for PCI DSS assessment activities, even though the PCI SSC originally released FAQ 1153 entitled “Is VoIP in scope for PCI DSS” back in 2012.  FAQ 1153 has recently been updated for consistency with the release of this updated Telephony guidance.  This FAQ points out that the transmission of CHD (cardholder data) over VoIP traffic that is originating from outside the organisation is not in scope as the entity cannot control this communication from its customers.  That said, once the traffic reaches an internal phone system, then it is very much in scope along with any further transmission of that voice traffic.

Even where merchants utilise a third-party service provider to help de-scope their telephone payment channel through DTMF (dual-tone multi-frequency) or IVR (interactive voice response) technologies, if the call is not routing through the service provider prior to reaching the merchant, care needs to be taken to understand if any merchant systems are still exposed to the CHD.  Often, when transfer the call to the service provider, merchant systems are still in-scope for PCI DSS.  DTMF clamping and/or segmentation can sometimes help reduce this scope, however this needs to be properly reviewed and considered when determining the scope.

Why is this update important?

As already touched upon, there are a lot of entities that incorrectly deemed the voice infrastructure out of scope.  What doesn’t help matters is that some QSAs also fail to correctly identify voice communications utilising VoIP as being in scope for PCI DSS assessment activities.

Technology is constantly evolving as organisations find more innovative ways in which telephony systems can support an organisation in meeting its business objects and enrich customer interactions.  The guidance from 2011 lacked details on some of the newer innovative ways in which telephony and unified communications is used within today’s business.  Organisations need to understand how these newer technologies impact the scope of the PCI DSS environment and more importantly need to understand the new types of threats faced by taking payments through these new systems.

Organisations are also being forced into transitioning away from Integrated Services Digital Networks (ISDN) and Public Switched Telephone Networks (PSTN) as national carriers are moving towards VoIP services.  Therefore, organisations accepting telephone payments will eventually find themselves transitioning to VoIP and need to therefore understand the additional risks this presents.

Due to the wider adoption of more secure technologies within the card-present (CP) channels; such as EMV and P2PE, it is not surprising that fraudulent activities are shifting to the CNP channels.  The latest statistics from the European Central Bank and UK Finance shows that in 2016/2017 CNP fraud actually dropped, however 73% of the value of card fraud in 2016 resulted from CNP fraud, making this a huge risk to organisations utilising CNP payment channels such as internet, post or telephone.

What can you expect from this telephony guidance?

It won’t be surprising to know that this guidance includes pertinent information regarding the use of VoIP technologies to support the telephone payment channel.

This guidance also includes scoping advice for simple and complex telephony environments, highlighting that accepting spoken cardholder data doesn’t just put the technology (telephone systems, supporting networks and ‘connected to’ systems, see my previous post on scoping about ‘connected to’ systems here) into scope, but also the people and processes used to support this payment acceptance channel.

The guidance utilises diagrams, data flows and process flow maps to help the reader understand the implications that the various types of telephone environments have on PCI DSS scope.

Third parties are also discussed to highlight where Telco’s, which were typically seen as out of scope for PCI DSS, are now becoming in scope for PCI DSS assessment activities as they move away from providing simple carrier services.  Services such as; but not limited to, SIP redirection, analytics, call recording and DTMF can have an impact upon the security of the cardholder data that is travelling through these additional service offerings.

The guidance also tries to highlight possible demarcation points for the different types of environments covered within the document.

Within the guidance document, risks to telephone payment channels are discussed with helpful advice on how and organisation may mitigate some of the risks highlighted.

De-scoping strategies are also included, which can help an organisation to not only reduce their PCI DSS burden for their telephone payment channel, but also to help the organisation reduce the risks associated to this payment channel.

Advice is also provided to help organisations secure the IT infrastructure.

Softphones, call recording, dual-tone multi-frequency (DTMF) and SIP redirection are also discussed within this guidance document.  Pause and resume is included, highlighting the issues with manual and automated pause and resume solutions.

My Final Ramblings

This document is a good update to an often-misunderstood topic.  However; in my opinion, the guidance still doesn’t make it clear enough that the use of encrypted VoIP traffic does not necessarily de-scope the supporting network infrastructure.  The PCI SSC FAQ 1086 provides additional information regarding encryption and the impact this has on the PCI DSS scope.  As per Requirement 4.1 (PCI DSS Version 3.2.1), the transmission of CHD over open and/or public networks must be suitably encrypted so encrypting this type of traffic is a requirement of PCI DSS.  However, what is interesting is that PCI DSS doesn’t require the transmission of CHD within the cardholder data environment (CDE) itself to be encrypted.  Although VoIP traffic may be encrypted, this will typically not descope this traffic.  Looking at FAQ 1086, the decryption keys still exist within the environment (i.e. the phone system and/or handset) and therefore could feasibly be obtained allowing a threat actor to decrypt the encrypted traffic.

Overall this guidance is good and is a welcome addition to the PCI SSC library of guidance documents.  Hopefully this will help organisations and QSAs understand the impact that VoIP (and other emerging technologies) has on PCI DSS scope and assessment activities.  For me, the key points covered within this updated guidance are;

    • An internal phone system utilising VoIP will almost certainly be in scope for PCI DSS assessment activities,
    • Dependent upon what services are being provided by Telcos, they may not necessarily be deemed out of scope as previously thought. View the data flows and identify if the Telco is providing any additional services above and beyond simple carrier services to determine if they can impact upon the security of the cardholder data traversing their service;
    • Common telephone related services are discussed; for example, Private Branch Exchange (PBX), SIP Trunking, Interactive Voice Response (IVR), Fraud Detection/Monitoring, Voice Analytics and Call Recording.
    • De-scoping techniques are discussed, which can not only help to reduce the PCI DSS scope and applicable requirements for the telephone payment channel, but can also help to reduce the risks associated with the payment channel;
    • Pause and resume technology used within call recordings is covered. This guidance now highlights the fact that neither manual or automated is 100% accurate and organisations need to implement additional controls to ensure that it is functioning correctly.  Don’t be surprised if a QSA wants evidence that no CHD is held within call recordings.

Third-Party Service Providers

Just a small post because this is cropping up quite a lot at the moment.  Entities are sometimes blissfully unaware that they are classed as a PCI DSS Third-Party Service Provider (TPSP) and are often not challenged by their customers because they are also unaware.

TPSPs are in scope for PCI DSS if they store, process or transmit cardholder data (CHD) on the behalf of their customers, or can impact upon the security of their customers CHD or cardholder data environment (CDE).  The kicker is the “can impact upon the security of their customers CHD/CDE” because most of the time, a TPSP that is storing, processing or transmitting customers CHD is fully aware that they are in scope for PCI DSS.

Where I often see this issue is where a TPSP is providing hosting and/or web development services for customer e-commerce sites which are utilising an iframe or redirect mechanism to support the card payment process.  This can often be misunderstood because when the clarification of iframe and redirect payment channels aligning to SAQ A first came out in PCI DSS Version 3.0, the SAQ didn’t have any web server specific requirements.  As time has passed and the SAQ has evolved, some requirements have now been added to SAQ A which are specifically focused on the web server.  This evolution is due to the increasing threats faced by e-commerce payment channels, and an analysis of past compromises of these channels.

In addition to this, Internet Service Providers (ISP) and Telcos (telecommunication providers), which have typically been deemed out of scope for PCI DSS, are now becoming in scope as they start to provide more service offerings above and beyond your typical internet provision, ISDN lines and SIP trunks.  Service providers and merchants need to fully understand what services are being offered and get under the hood of how these services are being delivered to help understand if there are any compliance implications.  Remember; store, process or transmit CHD or can impact upon the security of the CHD/CDE when determining this.

Some examples of where entities can find themselves in scope for PCI DSS can include;

    • Managed firewall services, where the firewall is part of the CDE,
    • Cloud VoIP (Voice over IP) platforms,
    • Managed IT service/support companies (switches, routers, servers, VMWare, databases, cloud hosting etc…),
    • SOC (Security Operations Centre) functionality when being used to support the logging and alerting mechanisms of a CDE, and
    • Web developers or entities with admin access to the CMS, servers or webservices where iframe/web redirects are used.

My Final Ramblings

It is extremely important that merchants fully understand their payment channels, payment flows and defined CDE.  Once this is understood, only then can you start to identify third-party service provider interactions with system components which are identified as being in scope for PCI DSS to identify the potential that these TPSP are in scope for your assessment.

Using a Risk-based Approach to the Implementation of PCI DSS Requirements

This often crops up from clients wanting to take a risk-based approach to the implementation of PCI DSS requirements.  Unfortunately, applying a risk-based approach to whether or not an organisation implements applicable PCI DSS requirements isn’t permitted under the PCI DSS (Version 3.2.1 at time of writing) and is covered in the following PCI SSC (Security Standards Council) FAQ  1252.

The assessment of PCI DSS requirements permits either of the following assessment responses to be applied;

  • In Place – This response is selected when the testing procedures and assessment has been found to support what is required of PCI DSS,
  • In Place (with Compensating Control Worksheet) – This response is selected when a supporting CCW (Compensating Control Worksheet) has been found to be implemented in support of the intent of the initial requirement,
  • Not in Place – This response is selected when the evidence collected to review the implementation of the requirement was found to not exist or was found to be lacking in supporting the intent of the said requirement,
  • Not Tested – This response would be selected if assessment activities didn’t include a review of evidence to support the assessment of the said requirement,
  • Not Applicable – This response is given when the requirement has been reviewed and determined not be applicable for the cardholder data environment being assessed.

The ‘Not Tested’ response is usually only used when specific requirements are being omitted from the assessment.  A typical example of when this would be used is if an Acquirer wants a Merchant to assess their environment against the PCI DSS Priorities Approach (discussed later on).

So how does Risk work with PCI DSS?

Although a risk assessment cannot be used by the Merchant or a Service Provider to determine if applicable PCI DSS Requirements should be implemented or not, this doesn’t mean that risk isn’t used within the standard.  The PCI SSC and participating card brands have produced the self-assessment questionnaire (SAQ) based on risk decisions to determine which requirements are not applicable for various types of payment channels.  The selection of the requirements within these SAQs are determined based on the current threat landscape against the different payment channels.

The PCI DSS itself does refer to risk directly and indirectly in various requirements;

  • Requirement 6.1 – This requirement focuses on the need for the organisation to develop policies and procedures for identifying new vulnerabilities that affect in scope system components and for assigning a risk ranking. This requirement suggests that these risk rankings should be based on industry best practise as well as considering the potential impact of the vulnerability.  This requirement is referenced in further requirements which the PCI DSS allows risks to be taken into account.
  • Requirement 6.2 – Covers patch management of the defined cardholder data environment (CDE) and is the first requirement that references Requirement 6.1 above. Critical vendor-supplied security patches MUST be installed within one month or release, with all other applicable vendor-supplied security patches installed within an appropriate timeframe.  This requirement relies on the risk ranking methodology identified in Requirement 6.1 above to identify critical security patches.  Most organisations will rely upon vendor risk rankings; however, I always advise clients to include within their risk ranking procedure the ability to perform their own risk assessment to reclassify risk rankings.  Some vulnerabilities that are released won’t necessarily have the same impact on every environment.
  • Requirement 6.5.6 – Requirement 6.5 includes the requirement for the organisation to develop software development processes to address common coding vulnerabilities; such as but not limited to; injection flaws (e.g. SQL Injection, OS Command Injections, LDAP and XPath injection flaws), buffer overflow flaws, insecure cryptographic storage and communication. Requirement 6.5.6 includes a requirement for the organisation to include coding techniques to address “high risk” vulnerabilities as identified within Requirement 6.1.
  • Requirement 10.2.b – PCI DSS has a requirement (Requirement 10.6.1) to carry out daily log reviews of specific types of events; namely;
    • All security events,
    • Logs of all system components that store, process, or transmit CHD and/or SAD,
    • Logs of all critical system components, and
    • Logs of all servers and system components that perform security functions.

Requirement 10.6.2.b allows for the organisation to utilise a risk assessment (defined in Requirement 12.2) to determine how often logs that don’t meet the requirement of 10.6.1 need to be reviewed.

  • Requirement 9.9.2 – Although this requirement doesn’t mention risk assessments or risk rankings, I always advise clients to perform a risk assessment to support this requirement. Requirement 9.9.2 covers the periodic inspection of point of interaction (POI) devices.  The key with this requirement is the word ‘periodically’ as follows ‘Periodically inspect device surfaces to detect tampering…or substitution…’.  Periodically will be different for different organisations and different scenarios.  To determine how often these devices, need to be inspected, the organisation should perform a risk assessment and determine a ‘suitable’ time-frame from the inspection.
  • Requirement 10.8.1.a – Requirement 10.8.1 is a Service Provider only requirement that is designed to ensure the Service Provider has provisioned for responding to situation where security controls fail. Requirement 10.8.1.a requires the service provider to perform a risk assessment against the failure to determine if the Service Provider needs to carry out any further actions on the back of the control failure.  Requirement 10.8.1 adds the necessity for the Service Provider to carry out root cause analysis to identify why the failure occurred and to them implement further controls to prevent the failure from re-occurring.
  • Requirement 11.2.1.b – Requirement 11.2.1 covers a requirement that organisations carry out quarterly internal vulnerability scans (where applicable). Again, Requirement 6.1 is referenced here because 11.2.1.b includes the requirement that all “high risk” vulnerabilities are resolved, and re-scans are carried out to verify that they are gone.
  • Requirement 11.2.3.b – This requirement is the same as Requirement 11.2.1.b but covers were internal vulnerability scans are completed as part of a significant change trigger.
  • Requirement 12.1.1 – Includes a requirement for organisations to review the information security policy at least annual and as needed to reflect changes to business objects or the risk environment.
  • Requirement 12.2 – Requires organisations to develop and implement a risk assessment process.

PCI DSS Prioritised Approach

This tool has been developed by the PCI SSC and is available for download here (Version 3.2.1 which is the latest version as of writing this blog).  The tool splits all the PCI DSS requirements into 6 milestones which are designed to reduce the risk to the CDE as the organisation works through each of the milestones.  It can also help to organise the PCI DSS project and team members by splitting the PCI DSS project into smaller tasks, so the overall project isn’t as daunting to the stakeholders involved.  This tool has been specifically developed to reduce the risks to cardholder data the further through the milestones the organisation travels.

Will PCI DSS Align More to a Risk Based Approach?

Only the PCI SSC could possibly answer this question.  There is already talk amongst the PCI community about the potential of PCI DSS Version 4.0 becoming a more ‘objective driven’ standard.  So, what do we mean by objective driven requirements?  With objective driven requirements, the requirements will not be prescriptive in what configuration options need setting to meet the intent of the requirement.  Instead, the requirement will provide an objective, or goal to achieve, leaving it up to the entity to decide how it will achieve the said objective/goal.  How this is achieved, may potentially feed into a risk-based decision.

This isn’t new, if you take a look at the PCI SSC released 3DS Core Security Standard (Version 1.0 at the time of writing), this approach is already used.  Within the Part 1 requirements, “Requirement 5.2.3 Controls are implemented to protect the confidentiality and integrity of accounts and credentials.”, doesn’t provide specifics of how to protect the confidentiality and integrity of accounts and credentials, however the implementation guidance column does provide some hints.

“Implemented controls should protect the confidentiality and integrity of accounts for both local and remote users. The controls should include ensuring that account and credential information is securely transmitted and stored—for example, using strong cryptography—at all times.”

My issues around utilising a more risk-based approach to PCI DSS is how it would realistically work.  Utilising a risk-based approach to information security is a tool that is used quite often by organisations to help focus time, effort and money to reducing the risks to areas of the business that are under the greatest threats.  Different organisations will have varying levels of risk appetites, with one organisation being very different from another.  This is usually an organisations decision to decide what level of risk they are happy to accept and what other risks they are not.  Ultimately, this comes down to the organisation to decide.  How effective this is will very much depend upon the maturity level of the organisations risk assessment methodology and processes as well as how competent they are at evaluating these metrices. Other industry standards involve this risk assessment process quite heavily, such as ISO 27001.

My concern is that the main stakeholders in the PCI ecosystem; i.e. the payment brands, will be shifting the risk decisions to the individual organisations introducing a situation where the security posture of CDEs across different organisations will be at varying levels.

On the other hand, it could make sense because ultimately, the organisation will be held accountable if a cardholder data breach was to occur.

My PCI Ramblings

Applicable PCI DSS requirements will either have a response of “In Place”, “In Place with CCW” or “Not in Place”.  The standard does not give the Merchants or Service Providers the ability to determine if PCI DSS requirements can be omitted based on a risk assessment.

I must admit that I’m quite concerned if the PCI DSS does evolve into a more “Objective” driven approach.  My primary concern about this approach is that you will ultimately have organisations being PCI DSS compliant with varying levels of security depending upon their competence and the knowledge of their assessors.

Where entities are self-assessing, I believe these entities may well struggle to understand what the requirements are asking and will therefore potentially implement the requirement poorly as it will not be prescriptive.  Where ROCs are being carried out, the degree of security for that entity will come down to the QSAs capabilities, which can vary.

Let’s watch this space and see what PCI DSS Version 4.0 brings!

Why can QSAs be so costly?

I’m going to look at discussing a few things within this article;

  • What it means to be a QSA (Qualified Security Assessor) and a QSAC (QSA Company),
  • The use of PCI Consultants,
  • Why QSAs don’t (well, don’t usually) turn a blind eye.

QSA and QSAC

I regularly come across people within the security industry commenting on the daily rates of QSAs.  It is not surprising that a lot of jobs within the infosec space demand higher daily consultancy fees and contracting fees, this is a highly specialised area.  That said, the associated costs for QSACs to be accredited to provide these services can be quite expensive.  Organisations wishing to become a QSAC need to think about the following direct costs:

  • PCI SSC fees to register as a QSAC. Just for EMEA, this is $24,000 for the first year and $12,000 per year afterwards.  This doesn’t include the admin ($250) and application ($500) fees. (click here)
  • Training costs for the QSAs, which is an annual requirement for each QSA within the company ($1800 each or $3000 for a new QSA)
  • Cyber insurance costs which can easily be over £4,000 per year.

In addition to these direct costs, QSACs are often faced with indirect costs which can be attributed to their obligations when entering into an agreement with the PCI Security Standards Council (PCI SSC).  The QSAC needs to agree to fulfil specific requirements which are covered within the QSA Qualification Requirements (Version 4.0) which I will briefly discuss below.

Section ‘2 QSA Company Business Requirements’ details pre-requests the QSAC must possess along with a professional code-of-conduct the QSAC must adhere to before being accepted onto the QSA Program.  This section covers;

  • The legitimacy of the business – is the company recognised as a legal entity, are there any past or present allegations or convictions of any fraudulent or criminal activity involving the Company,
  • Independence – the company must operate in a professional and ethical manner and adhere to all independence requirements set by the PCI SSC; for example (not a complete list);
  1. Not carrying out assessments of entities that it controls, is controlled by, is under common control with, or in which it holds any investment,
  2. The company must fully disclose in the Report on Compliance (ROC) if it assesses customers using any security-related device or security-related application developed or manufactured by the QSA Company, or to which the QSA Company owns the rights, or that the QSA Company has configured or manages,
  3. Must not recommend only products sold by the company but also recommend other market options that exist,
  4. The company must have separation of duties controls in place to ensure QSA Employees conducting PCI SSC Assessments are independent and not subject to any conflict of interest.
  • Insurance – To be part of the QSA program, PCI SSC has set specific insurance requirements which includes; Workers’ Compensation, Employers Liability, Commercial General Liability Insurance, Commercial Automobile Insurance, Crime/Fidelity Bond, Technology Errors & Omissions, Cyber Risk and Privacy Liability Insurance.
  • QSA Company Fees – All the necessary fees and renewal fees need to be paid.
  • QSA Agreement – The QSAC has to sign a QSA Agreement.

Section ‘3 QSA Capability Requirements’ details the minimum capabilities that are required of the QSA Company and the QSA Employees.  This section also includes details of any documentation which is required by the PCI SSC to demonstrate requisite technical security audit expertise, work history, and industry experience.  This section covers:

  • QSA Company Services and Experience – The QSAC needs to be able to demonstrate their relevant security knowledge and experience in relation to information security audits.
  • QSA Employee Skills and Experience – Employees looking to become QSAs must satisfy specific requirements including;
  1. Relevant knowledge and experience,
  2. Undergoing background checks,
  3. 1 years’ experience in the following security disciplines; Application security, Information systems security, Network security,
  4. 1 years’ experience in the following audit disciplines; IT security auditing, Information security risk assessment or risk management,
  5. Hold two industry recognised qualification; one in information security and one in audit (accepted qualifications are included within this section),
  6. Complete annual training and pass the associated exam,
  7. Be an employee of a QSAC,
  8. Adhere to the PCI SSC Code of Professional Conduct.
  • Associate QSA Employee Skills and Experience – The PCI SSC recently released an Associate program which was designed to bring on juniors who do not quite meet the QSA requirements. Associate QSAs can participate in an audit, providing it is led by a QSA.  This section describes the necessary skills and experiences required by an employee before being accepted on the associate path.  It also includes requirements of the QSAC such as a requirement to provide a mentor program for the associates.
  • Code of Professional Responsibility – This is to help ensure that QSA Companies and Assessor-Employees adhere to high standards of ethical and professional conduct. All QSA Companies and Assessor-Employees must advocate, adhere to, and support the Code of Professional Responsibility.

Section ‘4 QSA Administrative Requirements’ as the name says, covers administrative requirements of the QSAC.  These requirements include; nominating a primary contact, ensuring PCI employees have adequate background checks and can provide appropriate documented evidence, have and maintain a quality assurance process and manual, adequate coverage for the protection of confidential and sensitive information, evidence retention obligations and incident response obligations.Section ‘5 QSA List and Annual Re-Qualification’ details specifics around listing QSAC’s on the PCI SSC websites, and the re-qualification process and what provisions are required to support this re-qualification process.Section ‘6 Assessor Quality Management Program’ provides details of the PCI SSC’s assessor quality management (AQM) program that is ran by the PCI SSC to ensure the quality of the QSA program.  It describes the QSA audit process, remediation process and the revocation process.  QSACs undergo an assessment process by the PCI SSC who formally assesses the quality of the Report on Compliance (ROC) output.  This process will involve reviewing a sample of ROCs, and support evidence collected by the QSA to determine the ‘In Scope’ determination of a sample of the requirements in the ROC.As you can see from this QSA Qualification Requirements document, QSAs and QSACs need to demonstrate their suitability, experience, qualifications and ability to abide by certain requirements in order to participate as a QSA and/or QSAC.  Additionally, the QSAC is assessed as part of the AQM program to ensure the output it’s producing is of a standard required by the PCI SSC.

PCI Consultants

Working with many clients I’ve seen first-hand how they can help an organisation with their PCI DSS Journey and in maintaining PCI DSS. That said, how effective this is very much depends on the consultants/contractors competence and knowledge of PCI DSS.  As already described above, there are many hoops QSAs and QSACs need to jump through as part of the process of being able to provide PCI DSS services by ensuring the necessary competence, security knowledge and operational processes are in place to provide consultancy to the high standard required by the PCI SSC.  Often, non-QSA consultants/contractors may not have the necessary technical knowledge or PCI DSS specific knowledge to provide the necessary PCI DSS assistance.  Where I have seen the effective use of consultants/contractors, a QSA has also been engaged to provide further assistance and validation to ensure that the PCI DSS efforts are going to be fit for purpose.

If not utilising a QSA or at least engaging a QSA alongside a consultant/contractor, I’d highly recommend ensuring that the individual has enough experience and technical expertise to be effective in the role of driving the PCI DSS project, effectively determining the scope and scope reduction techniques and effective in determining which requirements are applicable and how they should be implemented within the environment context.  It is much harder to fix issues once they have been deployed within the organisation, especially if there are fundamental issues around scoping and segmentation.

Why QSAs don’t Turn a Blind Eye

This has cropped up a few times recently.  I’ve come across clients wanting us to turn a blind eye to scoping/segmentation issues, incorrectly configured requirements and applicable requirements which are not configured because the organisation incorrectly deemed it out of scope.

I take a pragmatic approach to the PCI DSS work that I perform.  Common sense has to be applied because every PCI DSS environment is different in some way.  For this reason, controls and applicable requirements don’t necessarily match from organisation to organisation.  That said, QSAs cannot simply turn a blind eye for several reasons;

  • QSAs are bound by the PCI SSC Code of Professional Conduct,
  • A breach of the Code of Professional Conduct would likely result in the QSA and/or QSAC being struck off,
  • There is a liability issue for the QSAC if the QSA didn’t do an adequate job of the ROC assessment and a compromise was to occur.

The job of the QSA is to validate compliance against the PCI DSS thus ensuring a base level of security of the payment processing activities.  By ‘turning a blind eye’, the QSA is not achieving this and is therefore putting cardholders information at risk.

My Final Ramblings

Although many organisations see PCI DSS as a burden which is a costly exercise that reduces the overall business profitability, PCI DSS is a good technology framework with one specific goal in mind; protecting cardholder data.  This goal is there to reduce card fraud by making it the responsibility of merchants and services providers to implement basic security hygiene where cardholder information is being stored, transmitted and/or processed.

Organisations have an obligation to its customers to protect this information and should treat PCI DSS as a cost of doing business where an organisation must offer its customers the ability to pay for goods and/or services using credit/debit cards.  To be effective at protecting this information, the organisations PCI DSS project and the ongoing maintenance of PCI DSS needs to be done correctly in order to reduce the risk to the payment operations and the business risks associate with a compromise of this data.

Web Dev/Hosting Responsibilities for SAQ A

NOTE: Due to the following article (and a few others discussing this issue) highlighting new guidance from the PCI SSC stating that Service Providers cannot align to Merchant SAQs, some of the information in this article is no longer correct.

The PCI Security Standards Council (PCI SSC) released PCI DSS Version 3.0 in November 2013.  With the introduction PCI DSS Version 3.0, the accompanying Self-Assessment Questionnaires (SAQ) received updates in February 2014.  A new SAQ was introduced specifically for e-commerce payment channels which was called SAQ A-EP (I think of this as SAQ A for E-commerce Payments).  Along with this new SAQ, SAQ A was also updated to include its use where payment processing for e-commerce platforms were handling payment functions off to a PCI DSS compliant third-party service provider.

E-Commerce payment channels could align to one of three SAQs depending upon how the payment functionality is implemented.  The three variations are detailed below;

SAQE-Commerce Use
AThis SAQ was updated to specifically include e-commerce payment deployments where the payment form is either deployed as an iFrame or a redirect to the PCI DSS Compliant third-party service provider.

The contents of the iFrame payment form, must be retrieved from the third-party service provider (TPSP) in its entirety.

A-EPThis SAQ was created to handle e-commerce payment functionality which is partially outsourced to a PCI DSS Compliant third-party service provider.  The difference between this SAQ and SAQ A is that the merchant’s e-commerce website is responsible for building the payment form either by creating a form which POSTs directly to the TPSP or the payment form is created using JavaScript from the TPSP which then POSTs the CHD directly to the TPSP.
DWhere the e-commerce payment functionality doesn’t align with one of the other two SAQs, SAQ D has to be used.  This would typically be used for API type deployments where cardholder data is received by the e-commerce web server and then forwarded (routed) onto the payment provider.

(See the Visa ‘Processing e-commerce payments’ guide for a more detailed explanation)

SAQ A for PCI DSS Versions 3.0 and 3.1 only included a handful of PCI DSS requirements which included some requirements from Requirement 9 and Requirement 12.  There were no requirements specifically focusing on the web server responsible for handling the redirect/iFrame mechanism.

Through an analysis of PCI DSS forensic investigations and a change in the attacks against e-commerce sites utilising iFrames and redirect payment functionality, PCI DSS Version 3.2 saw the web server coming into scope for a handful of requirement in Requirement 2 and Requirement 8.  The latest version of PCI DSS Version 3.2.1 (at the time of writing) saw a new requirement being added to SAQ A, Requirement 6.2, which introduces the need to ensure web servers are patched with Critical vendor patches within 30 days of release.

Prior to PCI DSS Version 3.2, web servers were not in scope for SAQ A, however since April 2016, web servers became in scope for some PCI DSS requirements.  Due to this change, hosting providers and developers who have a responsibility for the web servers operating system and web server software, along with any e-commerce/CMS software, are classed as a Service Provider and will need to be operating in a PCI DSS compliant manner and therefore are in scope for PCI DSS assessment activities.

The term Service Provider in relation to PCI DSS is a third-party entity that stores, processes and/or transmits cardholder data on behalf of a merchant and/or service provider, or can impact upon the cardholder or the cardholder data environment.

Where hosting providers and/or developers are in scope for PCI DSS, they can either choose to become PCI DSS compliant by undergoing a PCI DSS assessment and completing either an SAQ or Report on Compliant (ROC) and an associated Attestation of Compliance (AOC).  Alternatively, they can be included within their customers PCI DSS assessment activities and demonstrate that they are fulfilling all applicable PCI DSS requirements.

So, what exactly does this mean for me?

Due to SAQ A Version 3.2.1 only having 9 specific requirements that apply to the web server, the PCI DSS obligations are not too onerous.  These 9 requirements, along with a handful of potential other requirements need to be compliant to the PCI DSS.  Below I discuss the requirements that are likely in scope for the web server/software, along with what a QSA may require in determining if the requirement is deemed ‘In Place’ or not:

  • Requirement 2.1.a – Are vendor-supplied defaults always changed before installing a system on the network?

A QSA may want to review such evidence as; vendor manuals to identify vendor-supplied credentials and evidence that default username/password combinations are unsuccessful.

  • Requirement 2.1.b – Are unnecessary default accounts removed or disabled before installing a system on the network?

A QSA may want to review such evidence as; a list of and account information on system user accounts and/or account in CMS.  The QSA will be looking to see if default accounts exist and if they do, are they disabled. The QSA may also want to review build standards, policies and/or procedures to confirm that the introduction of new web servers will be built the same.

N.B. If part of a ROC Assessment, the QSA may want to also interview staff for further assurance that default accounts are being removed or disabled before web servers and software are deployed.

  • Requirement 6.2.a – Are all system components and software protected from known vulnerabilities by installing applicable vendor-supplied security patches?

A QSA may want to review such evidence as; the organisations supporting patching policies and procedures.  This will not only have to include the web server operating system but also supporting applications.

  • Requirement 6.2.b – Are critical security patches installed within one month of release?

A QSA may want to review such evidence as; details of when security patches were installed.  The QSA will look to ensure critical vendor-supplied security patches were installed within the 30-day timeframe and other security related vendor-supplied patches are installed as per define policies/procedures. This will not only have to include the web server operating system but also supporting applications.

  • Requirement 8.1.1 – Are all users assigned a unique ID before allowing them to access system components or cardholder data?

A QSA may want to review such evidence as; a list of all user accounts that exist on the web server operating system and any supporting applications (e.g. CMS).  Additionally, the QSA would want to interview staff to confirm unique user IDs are always used on these system components.

  • Requirement 8.3 – Is access for any terminated users immediately deactivated or removed?

A QSA may want to review such evidence as; leavers records and interviews with HR.  Where users have left the organisation and/or left teams with access to in scope system components, the QSA will cross reference the evidence from Requirement 8.1.1. above to ensure the user accounts have been removed.  Where remote access solutions are in use, the QSA will also look to obtain a list of user accounts from the remote access solution to ensure that these accounts have also been removed along with any physical tokens for such remote access.

  • Requirement 8.2 – In addition to assigning a unique ID, is one or more of the following methods employed to authenticate all users?
    • Something you know, such as a password or passphrase
    • Something you have, such as a token device or smart card
    • Something you are, such as a biometric

A QSA may want to review such evidence as; supporting policies and procedure documents detailing the authentication methods employed by the organisation for in scope system components.  Additionally, the QSA will want to look at configuration settings to confirm that the authentication methods are in use as per the documentation supplied.

  • Requirement 8.2.3.a – Are user password parameters configured to require passwords/passphrases meet the following?
    • A minimum password length of at least seven characters
    • Contain both numeric and alphabetic characters

A QSA may want to review such evidence as; the QSA will want to review configuration settings on all in scope system components to confirm that the required password/passphrase settings are set.

  • Requirement 8.5 – Are group, shared, or generic accounts, passwords, or other authentication methods prohibited as follows:
    • Generic user IDs and accounts are disabled or removed;
    • Shared user IDs for system administration activities and other critical functions do not exist; and
    • Shared and generic user IDs are not used to administer any system components?

A QSA may want to review such evidence as; a list of users on all in scope system components.

[UPDATE: If undergoing a ROC, the QSA will likely want to check that the web server is not storing any cardholder data.  This may be done manually, or the QSA may utilise cardholder data discover tools to ensure that no cardholder data is present.]

In addition to these web server/software specific requirements, some additional requirements may also be applicable; for example, Requirement 12.8.x which covers requirements regarding the management and monitoring of any third-party service providers.  This may be applicable for example, where the web developers are responsible for the web server and have outsourced this to a hosting provider.  Additionally, requirement 12.10.1 which covers incident response handling, would also likely be in scope.

Hosting providers and/or third-party developers are classed as service providers and as such will be required to fulfill Requirement 12.9 which will be to acknowledge in writing to customers that they a responsible for maintaining all applicable PCI DSS requirements.

My PCI DSS Scoping and Segmentation Methodology

This is such a controversial subject, but I felt the need to write about PCI DSS scoping and segmentation.  Many QSA (Qualified Security Assessors) will have their own opinions on this subject.  I believe there are two types of QSAs, those with a strong technical background and technical capabilities and others which are from more of an audit background with less technical capabilities.  Although it will be very rare that you will come across a QSA with strong capabilities in everything IT, those QSAs with a strong technical background and a strong varied capability will have enough knowledge to research technologies they are not au fait with, or that are new and immerging.  Often the scoping decisions will be based on the QSA technical capabilities and understand of the types of threats and perceived risks within the specific cardholder data environment and payment channels.

Many people who have been immersed within PCI DSS for a long time will know that the “Open Scoping Framework Group” produced a document in 2012 called the “Open PCI DSS Scoping Toolkit” (referred to as Open Scoping Toolkit for the remainder of this article), which no longer appears to be available for download.  For a long time, this was used by many PCI DSS professionals as a comprehensive approach to scoping out a cardholder data environment (CDE), even though this document wasn’t endorsed by the PCI Security Standards Council (PCI SSC).  In 2016, the PCI SSC released their own guidance called “Information Supplement: Guidance for PCI DSS Scoping and Network Segmentation” (referred to as the PCI SSC Scoping document for the remainder of this article).  This was initially released in December 2016 with a minor update released in May 2017.   When reviewing this document, it follows some of the same concepts within the Open PCI DSS Scoping Toolkit document.

Now let’s delve a little deeper into the PCI SSC Scoping document;

  • What is worth pointing out from the onset is that it’s not just the devices directly involved in the payment that are in scope for PCI DSS. On page 5 of the PCI SSC Scoping document;

“An organization’s CDE is only the starting point to determine the overall PCI DSS scope. Accurate PCI DSS scoping involves critically evaluating the CDE and CHD flows, as well as all connected-to and supporting system components, to determine the necessary coverage for PCI DSS requirements. Systems with connectivity or access to or from the CDE are considered “connected to” systems. These systems have a communication path to one or more system components in the CDE. Connectivity may occur over various technologies, including physical, wireless, and virtualized.”

This statement is making the point that the CDE (Cardholder Data Environment), which is the environment which is directly involved in the storing, processing and/or transmitting of cardholder data (CHD) not only comprises of the system components that may be in scope for PCI DSS.  Additional connected-to and supporting system components may also be in scope, which may operate within a network segment that is not within the CDE.

  • Page 6 is quite clear within this statement;

“It is important to understand the risks and impacts if connected-to system components are excluded or overlooked from PCI DSS scope. Compromises of connected-to system components often lead to compromise of the CDE and theft of CHD.

The following scoping concepts always apply:

  • Systems located within the CDE are in scope, irrespective of their functionality or the reason why they are in the CDE.
  • Similarly, systems that connect to a system in the CDE are in scope, irrespective of their functionality or the reason they have connectivity to the CDE.
  • In a flat network, all systems are in scope if any single system stores, processes, or transmits account data.

Note that public, untrusted networks (for example, the Internet) are not in scope for PCI DSS. However, PCI DSS requirements must be implemented to protect the entity’s in-scope systems and data from untrusted networks.”

The key here is the last three bullet points.  This is clearly stating that all systems within the CDE are in scope for the assessment, regardless of if they are involved in the payment process or not.  The Open Scoping Toolkit refers to system components which are within the CDE but are not directly involved in the payment flow as ‘Infectious’, thus making these “non-payment” system components in scope as they are within the CDE.  This is consistent between both the Open Scoping Toolkit and the PCI SSC Scoping documents.

The following bullet point above;

  • Similarly, systems that connect to a system in the CDE are in scope, irrespective of their functionality or the reason they have connectivity to the CDE.

Says that system components outside of the CDE that connect to system components within the CDE are also in scope.  This could be confusing as an earlier statement defines “connected-to” systems as “Systems with connectivity or access to or from the CDE are considered “connected to” systems.”.  This says that connectivity of “connected-to” systems can be bi-directional, so it can include connections which are initiating from the CDE to systems outside of the CDE.

  • Page 6-7 indicates the true intent of what the PCI DSS means by segmentation. This is a long-standing misunderstanding within the community that when PCI DSS talks about segmentation, it means isolation (which is clearly documented within the PCI DSS standard itself).

“The intent of segmentation is to prevent out-of-scope systems from being able to communicate with systems in the CDE or impact the security of the CDE. Segmentation is typically achieved by technologies and process controls that enforce separation between the CDE and out-of-scope systems. When properly implemented, a segmented (out-of-scope) system component could not impact the security of the CDE, even if an attacker obtained administrative access on that out-of-scope system.

Note that connectivity or access is allowed into the CDE from systems outside of the CDE. However, all such connectivity is in scope for PCI DSS and all applicable PCI DSS requirements apply to secure that connection or access.”

As already identified, once the organisation starts to permit communication into and out of the CDE, other systems start to become in scope.  Therefore, to truly de-scope systems outside of the CDE, you will need to fully isolate these systems from bi-directional communication to/from the CDE.  Insufficiently implementing this not only brings systems into scope, but it can also have implications on which Self-Assessment Questionnaire (SAQ) can be completed due to failing to meet some of the eligibility criteria governing the use of particular SAQs.

  • Page 10 of PCI SSC Scoping document discusses three categories of systems as follows;
    • CDE Systems,
    • Connected-to or Security-impacting Systems,
    • Out-of-Scope Systems.

The Open Scoping Toolkit introduced a similar concept of three categories of network segments.  These were defined as follows;

  • CAT 1 (i.e. CDE Systems),
  • CAT 2 (i.e. Connected-to or Security-impacting Systems),
  • CAT 3 (i.e. Out-of-Scope Systems)

Whilst the PCI SSC Scoping document is defining this against systems, the Open Scoping Toolkit introduced these three categories as network segments.  The Open Scoping Toolkit then introduced further classifications of the types of systems operating within each of the identified network segment categories.

The basic concept was;

Anything connected to CAT 1 was part of the CDE and everything was in scope.  A firewall would separate CAT 1 and CAT 2, with restricted access to and from CAT 1 and CAT 2.  CAT 2 devices which could connect to or receive connections from the CDE were in scope.  A firewall would separate CAT 2 and CAT 3, no CAT 3 traffic could directly communicate with the CAT 1 segment.  Under the Open Scoping Toolkit, CAT 1 systems were infectious (as discussed earlier), however this was not the case for CAT 2 systems that didn’t support connections to/from the CDE.

  • Section 3.1 “Verifying segmentation of out-of-scope systems” on page 13 of the PCI SSC Scoping document further highlights some key points;

“To be considered out of scope, a system component must not have access to any system in the CDE. It is possible for an out-of-scope system to be on the same network segment or subnet as a connected-to or security-impacting system, as long as the out-of-scope system cannot access the CDE, either via the in-scope system or via any other method.”

So, this is agreeing with the Open Scoping Toolkit that it may not be necessary for out-of-scope systems to be in scope simply because they are on the same network segment as a connected-to or security-impacting system (i.e. CAT 2 isn’t infectious).  That said, the following further paragraph seems to suggest that it would be hard to deem systems as not infectious;

“In order for a system to be considered out of scope, controls must be in place to provide reasonable assurance that the out-of-scope system cannot be used to compromise an in-scope system component, as the in-scope system could then be used to gain access to the CDE or impact security of the CDE. Examples of controls that could be applied to prevent out-of-scope systems from compromising a connected-to or security-impacting system include:

  • Host-based firewall and/or intrusion detection and prevention system (IDS/IPS) on in-scope systems that block connection attempts from out-of-scope systems.
  • Physical access controls that allow only designated users to access in-scope systems.
  • Logical access controls that permit only designated users to login to in-scope systems.
  • Multi-factor authentication on in-scope systems.
  • Restricting administrative access privileges to designated users and systems/networks.
  • Actively monitoring for suspicious network or system behaviour that could indicate an out-of-scope system attempting to gain access to an in-scope system component or the CDE.”

In this paragraph, the guidance is saying that out-of-scope systems need appropriate controls to prevent the out-of-scope system from compromising a connected-to or security-impacting system which is on the same network segment.  To simplify this, within my approach, I simply treat the CAT 2 segment as infectious since a well-designed PCI DSS architecture would utilise this segment for systems which are supporting the CDE environment and potentially supporting the “out-of-scope” environment as a “Shared Service” (Shared Services are introduced on page 14 of the PCI DSS Scoping document).

  • As you will see from Chapter 4 “Example Segmentation implementations: Shared Services” on page 14 discusses three distinct network zones which are defined as follows:

“The following principles apply to both Example 1 (outlined in Section 5.1) and Example 2 (Section 5.2):

  • Three distinct network zones are defined:
    • Corporate LAN
    • Shared Services
    • CDE”

N.B. Other principles have been omitted from this post, I would recommend reading the PCI DSS Scoping document.

Some of you may think that this looks a lot like the Open Scoping Toolkit approach.  Well, that would be because it does; Corporate LAN (CAT 3), Share Services (CAT 2) and CDE (CAT 1).

My Approach

So that’s an overview of some of the key points within the existing guidance that is available.  Now, I’d like to discuss my personal approach.  This may differ from other QSAs so it is best to engage your own QSA to confirm with them how they would scope your PCI DSS environment.

I have tried to simplify this so that organisations can clearly see where the demarcation point lies between what systems are included within an assessment and which systems do not since there are no risks to the CDE from the not-in-scope systems.

I follow the CAT 1, CAT 2 and CAT 3 concept from the Open Scoping Toolkit with one significant difference; I treat all CAT 2 systems as in scope for the PCI DSS assessment.  As discussed above, it can complicate matters to have a mix of “out-of-scope” and “connected-to/security-impacting” systems on the same network segment, so treating these systems as infectious, can simplify the scoping/segmentation for the client and assessment.

Where clients insist on operating a few systems like this, I pay close attention to what security controls have been applied to the “connected-to/security impacting” systems to ensure they are protected from the “out-of-scope” systems.

As highlighted early on within the PCI SSC Scoping document.  The key thing I look for when assessing a system to determine if it is in scope or not is simply; if a threat actor gains full control over this system, can this impact the security of the CDE or CHD in any way?  I look at this from a worst-case scenario and if the answer is yes, then the system is in scope, which also may bring other systems in scope which are on the same network segment or other routed network segments.

In addition to paying close attention to the security controls, I am quite pragmatic and will review the connection directionality and the service.  If a “connected-to” system is only accepting connections from the CDE AND there is no risk of data exfiltration, then I may deem that there is no risk to the CDE by this system accepting these connections.  It will very much depend the; type of connection, data that is flowing and the service running.  This type of review only really works where connections are initiated from outside the CDE.  It would be much harder to justify an incoming connection as not having any risks to the CDE or CHD.

My PCI DSS Rant

Although the material produced by the PCI SSC is excellent and was a long-awaited piece of guidance for the whole community, I have a little bugbear with it.  On page 15 of the PCI SSC Scoping document it lists some example common shared services within section 4.1 “Example 1: ‘Connected-to’ Shared Services”.  I have an issue with Active Directory being listed as a shared service.  I am yet to come across an Active Directory deployment that facilitates the use of the same Active Directory infrastructure within the CDE and “out-of-scope” environments.  It is impossible (unless there have been some significant developments over the past few years) for anyone to categorically say that a compromise of a “Domain Joined” out-of-scope host, cannot lead to the compromise of the Active Directory infrastructure which would therefore lead to a compromise of “Domain Joined” CDE hosts.  I personally do not permit Active Directory to be shared between CDE and out-of-scope systems.

UPDATE 29th April 2019: A colleague recently posted a blog, “Gaining Access to Card Data Using the Windows Domain to Bypass Firewalls” about how he compromised CHD where a shared Active Directory was in use. This helps to highlight why I don’t permit Active Directory as a “Shared Service”.