PCI DSS RFC Launched

Earlier this week, the emails went out inviting assessors and Participating Organisations (POs) to review the draft version of the PCI DSS (Payment Card Industry Data Security Standard) Version 4.0. Unfortunately, the PCI Security Standards Council (SSC) requires a Non Disclosure Agreement (NDA) to be accepted before download, therefore there will be no specific posts about its contents.

What I will say is that if you want to view it, then quickly sign up to be a Participating Organisation as the RFC period is only till the 13th December 2019 at 8pm EST.

This Request for Comments (RFC) process is new for the PCI DSS as usually updates to the standard are conducted by the payment brands and the PCI SSC. This should hopefully help to not only shape the standard, helping further secure the payment card industry against the ever evolving threat landscape, but to also help accommodate enhancements in security technologies and security techniques by enabling organisations to embrace them within the framework of the PCI DSS.

I foresee existing times for the PCI DSS!

PCI DSS Version 4.0 Buzz

As another excellent PCI Europe Community Meeting (CM) has now been and gone, it seems that this year’s event was consumed by the buzz of potential changes that may be seen in PCI DSS Version 4.0 which is still planned for release in 2020. Most of the conversation between attendees was focused around PCI DSS Version 4.0, which isn’t surprising since the currently proposed changes are quite significant. It also helped that the PCI DSS Version 4.0 talk at the CM was presented during the afternoon of Day 1, giving the remaining two days of the event for attendees to start reflecting on what we had just heard. So, what are some of the takeaways?

RFC

A first for the PCI DSS is the introduction of an RFC process, allowing key stakeholders to review a draft version of the updated standard, giving them the opportunity to provide feedback that will be used to shape the update.  A recent blog post from the PCI SSC (Security Standards Council) entitled “5 Questions About PCI DSS v4.0” touches on this RFC process which is due to be released early next week.  As indicated at the CM, this is the first of a two-part RFC process, with another RFC being released sometime in 2020.  I think this RFC process is an excellent idea by the PCI SSC, allowing the Council to evolve the standard based on the current landscape, and how the standard is implemented within the industry.

Core Structure

There are currently no proposed changes to PCI DSS Version 4.0 that will introduce a fundamental change to the current structure.  It’ll still have the six objectives encompassing the 12 requirements we have today; however, the new version will introduce wording changes to more closely reflect the aims of the objectives and requirements.  Requirement numbers will also most likely change as requirement changes are introduced and possibly consolidated somewhat.  New requirements will be included to reflect the changes within the industry and to account for the everchanging threat landscape and associated risks.

General Changes

As with all updates, PCI DSS Version 4.0 will introduce updates aimed at providing more clarity and guidance within the standard and to improve its readability.  Against each PCI DSS requirement, the updated version proposes an update to the guidance but also an introduction of ‘Intent’.  This will be a critical introduction as we’ll see later.

Significant Change

As probably most of you will have heard by now, the standard is looking to incorporate “objective driven” style requirements.  The proposals in PCI DSS Version 4.0 will allow for two styles; the original way of prescriptive requirements (as we see in the standard today) and this newer objective driven style of requirements.  For this, there will be two implementation options;

Defined Implementation: Which is the current style that everyone is used to.  Requirements will be prescriptive, explaining exactly what needs to be in place and will follow the same testing requirement to validate requirements are being met.  This provides entities with the direction of how to meet the intent of the requirement, especially if the entities deployed security controls already align to this prescriptive method.

Customized Implementation: Is the new approach which looks at the intent of the requirement, which is now included for each requirement within the standard.  Although with this mechanism, entities will be able to design their own security controls it is expected that this approach would only be used by organisations that have a strong risk management process to aid in the design and validation of the security controls being implemented.

Additional Effort

Although this new approach gives organisations more flexibility in how the PCI DSS Requirements are being met, there will be an expectation on the entity to ensure the customised implementation of the requirement is fulfilling the intent.

For each requirement utilising this customised approach, the implementation will need to be adequately documented details specifics about the control, evidence that the control is meeting the intent and evidence of how organisations intend to maintain the control to ensure it is effective in meeting the intent of the requirement.

The expectation here is that a thorough risk assessment is carried out to demonstrate that the control is effective in reducing the risk.  What isn’t clear with this is how risk assessments will be used as these can vary from organisation to organisation based upon their risk appetite.

Additional Costs

As you can probably imagine, since there are additional efforts from the entity being assessed, there will be additional efforts of the assessor since a thorough review of the documentation above will need to be conducted to determine if the controls implemented will meet the intent of the requirement.  In addition to this, the assessor will be required to determine the correct “Testing Procedure” in order be able to determine if the control is adequately in place.

This will not only bring on additional costs via extra assessment time but may also introduce additional pre-scoping activities to more accurately determine the number of days based on the mixture of these defined and customised implementation.  Hopefully the PCI SSC will also communicate this to the merchant/service provider community as going down this customized implementation route will inevitably be introducing additional costs due to the additional validation that is required.

Potential Requirement Changes/Additions

Scoping Requirement: There has been talk of some additional requirements relating to scoping.  The front section of the Report on Compliance (ROC) report already includes several sections where the scoping of the assessment must be documented and articulated.  Unfortunately, I’ve not seen the draft version of PCI DSS Version 4.0, and I would suspect that to access it we’ll have to sign some sort of NDA so I’m not entirely sure what specific scoping requirements there may be.  I’m wondering if merchants will be required to run data discovery tools to ensure the environment is free from unencrypted cardholder data (CHD) or Sensitive Authentication Data (SAD).

Enhancements within user awareness: There was talk of phishing and social engineering awareness training being included.  This is interesting because, although there is nothing specific within PCI DSS to carry out social engineering testing as part of the penetration testing activities, it is a recommendation within the “Penetration Testing Guidance” guidance document.

Risk Assessments: With the introduction of the “Customized Implementation” building on an objective (or risk) based approach, it would most definitely make sense that the current risk assessment requirement; Requirement 12.2, isn’t going to be enough, therefore I’m anticipating that this will be expanded in the newer version.

Password Policies: With all the talk and changes within the industry around password policies, it makes sense that the PCI SSC and Payment Brands may want to change this somewhat.  That said, at the CM, it was made clear that password policies should be based upon the sensitivity and environments being protected.  It is understandable that there is a much great risk to cardholder data environment (CDEs) and that these environments are high value.  Therefore, although these newer guidelines for password policies have recently come out by the National Institute of Standards and Technology (NIST) and the National Cyber Security Centre (NCSC), the guidance will differ, depending upon the environments being protected.  That said, the requirements around this will most likely change, and may even rely more on Multi-Factor Authentication for the more sensitive accounts (Administrative) within these environments.

Compensating Controls

The PCI SSC floated the idea of no longer requiring compensating controls (CC).   The thinking here is that since there is now this new ‘Customized Implementation’ option, organisations will no longer need to implement compensating controls due to a legitimate technical or documented business constraint.  I can most definitely see why the use of compensating controls may not be required; however, I often come across scenarios where the CC technique is used to handle requirements which cannot be met due to a requirement missing some past event.  It isn’t possible to go back in time to remediate these issues and past advice given by the PCI SSC has been to utilise a CC to overcome this issue.  I believe different QSA Companies do handle this scenario differently; for example, I’ve heard of some who will simply issue a ‘Non-Compliant’ ROC and the entity needs to wait until time passes where the requirement can then be fulfilled.  There should be additional guidance to cover this issue.

An example of such a case is where an organisation has, for some reason, not got an ASV scan for a particular quarter.  Under this situation the option is to fail the ROC until time passes and 4 quarterly scans were available (which in a worst-case scenario could be 9 months) or utilise a CC which carries out a root cause analysis of how and why this occurred, and that the organisation implemented reasonable mechanisms to mitigate this from happening again.

Self-Assessment Questionnaires (SAQs)

This is going to be interesting.  It was clear from the CM that the evolution of the SAQs is still unknown.  I have had conversations with a few QSAs at the CM and everyone I spoke to didn’t believe the new ‘Customized Implementation’ options could realistically be used without the involvement of a QSA to assess the effectiveness of the control(s) at meeting the intent.  This could go several ways when PCI DSS Version 4.0 is released;

  1. SAQs are only used if assessing against the ‘Defined Implementation’ option,
  2. If entities who self-assess wish to utilise the ‘Customized Implementation’ option, they will need to engage a QSA to evaluate all the controls utilising this option, or
  3. SAQs are no longer used, however this will have such a huge impact upon level 4 and level 3 merchants that I don’t believe this option would be viable.

We’ll just have to wait and see what happens with SAQs as we start to get nearer to the release of PCI DSS Version 4.0.

Cloud Technologies

PCI DSS Version 4.0 will look to introduce some specific changes surrounding Cloud.  It is likely that this will expand upon Appendix A1 which currently covers specific requirements designed for ‘Shared Hosting Providers’.

 My Ramblings

I still have concerns over the quality of assessments within PCI DSS Version 4.0.  The industry already sees massive discrepancies between the quality of work by different QSAs and the differences of opinions already with a “prescriptive” standard.  What will happen once this goes to an ‘objective style’?  There will potentially be differing security baselines between environments based on the QSAs.  This will be very interesting and hopefully the PCI SSC will ramp up the Assessor Quality Management (AQM) activities after the release of PCI DSS Version 4.0 to analyse if this ends up being a problem.

Another issue; highlighted already above, is that scoping of the number of days for this is going to be much more difficult.  This is primarily because entities will be able to mix and match between the two implementation options.

In general, I can see why the PCI SSC and Payment Brands are looking to go down this route. It aligns to other PCI SSC Programs that already take this approach, but also it aligns to other industry frameworks; for example, SOC 2. This approach will also provide flexibility to allow organisations to adapt to changes in best practices and technological changes within the industry.

Update on PCI DSS Account Data Compromise Fines

Blog post explaining why PCI DSS should be properly implemented within businesses that accept card payments. This post also discusses the fine structure, in particular Visa’s fine structure.

I recently spoke to a UK Acquirer who informed me that they no longer charge their merchants non-compliance and non-progression fees.  Visa used to set quotas for the number of Level 1 and Level 2 merchants that should be PCI Data Security Standard (PCI DSS) compliant and would issue fees to the acquirer, which they obviously passed onto their non-compliant merchants.

Since 2016, when Visa implemented a more aggressive Account Data Compromise (ADC) fining structure, the UK Acquirer I spoke to said that they scrapped the non-compliance/progression fees that they were issuing to merchants (well larger, Level 1 and Level 2 merchants). Recently I spoke to Visa who confirmed that although they are less likely to issue non-compliant / non-progression fees, they would still issue them if merchants were found to be making no efforts in becoming PCI DSS compliant.

I thought it was time to provide an update to an original blog I posted in 2018 where I discussed why it wasn’t such a good idea to ignore PCI DSS.

The driver for the original post was due to questions I often got asked, when organisations investigated the costs of PCI DSS and associated ‘Consultancy’ required to ensure it was done correctly.  These questions were always along the lines of, “What will happen if I ignore PCI DSS compliance?” or “Do I need to bother with PCI DSS compliance?”.

Firstly, I’d like to still reiterate a point made in the original post that ALL organisations that store, process and/or transmit cardholder data (CHD) have an obligation to be PCI DSS, even organisations that can impact upon the security of another organisations CHD or Cardholder Data Environment (i.e. Service Providers) have an obligation to be operating in a PCI DSS compliant manner in support of their customers’ compliance obligations.

When a merchant signs up to an Acquirers ‘Merchant Agreement’, this agreement will include a statement where the merchant agrees to being PCI DSS, therefore it is a contractual obligation for all merchants to be PCI DSS compliant as part of their ‘Merchant Agreement’ and apply to all acceptance channels including; retail (card-present), mail/telephone order (card-not-present MOTO) and e-commerce (card-not-present).

So, what do I get out of being PCI DSS compliant?

  • Although PCI DSS is often touted as a ‘basic’ security standard, it is a mature data security standard which has evolved for over 15 years (initially released in 2004). The standard evolves based on the ever-evolving threat landscape and the analysis of past PCI Data breaches.  Often organisations will go above and beyond PCI DSS based on their internal risk assessments and attitudes towards information security and risk appetite.
  • Improved security by following the good security practices outlined within the PCI DSS.
  • Reduced risk of compromise and what follows such as, but not limited to; payment brand breach penalties, reputational damage resulting in a loss of consumer confidence, legal fines through data protect laws (e.g. the General Data Protection Regulation), etc.
    (notice that this is a reduced risk, no matter how good an organisations security program is, nothing can guarantee no risk of compromise.  Organisations have to simply do their best to reduce this risk and make it as difficult as possible to try and deter a threat actor from wasting time and effort).
  • Protection from payment brand breach penalties if compliant at the time of the breach.  The caveat here is that the organisation needs to be able to demonstrate that, at the time of the breach the environment was still compliant.  Often organisations struggle to maintain PCI DSS compliance once the assessment is carried out.  The Verizon 2018 Payment Security Report shows that in 2016, only 52.5% of organisations reviewed had remained PCI DSS compliant at an interim validation, with an average of 16.4% of controls not in place.
  • You have a corporate and legal (data protection) responsibility to keep your customer data safe.

So, what are the risks in not bothering with PCI DSS compliance?

Many of the benefits identified above, can also be contributed to the risks of not bothering with PCI DSS compliance;

  • Increased risk of a breach resulting in:
    • Potential reputational damage,
    • Financial losses (payment brand penalties, data protection fines), and
    • Losses in revenue from lack of consumer confidence.
  • Although, in 2016 Visa scrapped non-compliance/progression fines to Acquirers for not meeting quota, MasterCard still can issue these fines which would be passed ono by the Acquirer.
  • An Acquirer can choose to withdraw a merchant’s ability to take card payments, although this would be unlikely, it is a possibility.

Non-compliance and non-progression fees

Since Visa scrapped these in 2016, I have started to come across organisations that no longer receive these ‘fees’, whilst some are still receiving these ‘fees’.  Although my recent conversation with a UK acquirer confirmed that these ‘fees’ were no longer being charged, they still expect their Merchants to be progressing PCI DSS and to demonstrate this.  Acquirers still need to report back to the card brands on how many Level 1, 2, 3 and 4 merchants they have that are PCI DSS compliant and report progression.

Some acquirers still may issue non-compliance fees as they are set by the Acquirer and as I’ve already discussed, MasterCard still issues these, but within the UK market, I’ve not really come across MasterCard doing this.

Where these fees are still being issued, most literature will discuss fees of between £10 per month and £50 per month which can be per merchant or per Merchant ID (MID).  These fees can increase after a year of being non-compliant.  That said, some Acquirers will charge based upon a percentage of the transaction value.  I’ve come across merchants paying just £50 per month in non-compliance fees and others paying £1000’s per month.

I’ve previously posted about my issues with these non-compliance fees, and that in my honest opinion it didn’t seem to go far enough to force some merchants into becoming or working towards PCI DSS compliance.  Often, organisations will take a view on the cost of becoming compliant against the cost of paying these fees.  It would be interesting to see future analysis as to how the Visa changes to the ADC fines and some Acquirers decision to no longer issue these fees has affected the rate in which Merchants are becoming compliant.

I can appreciate that PCI DSS can be complex for many organisations and isn’t achievable overnight. Lenience should be given to organisations working at becoming compliant, providing that they are able to adequately prove that they are progressing a PCI DSS compliance program.  The PCI SSC Prioritised Approach (PCI SSC Download Library) is usually used to demonstrate this to the Acquirer and for more complex environments working on the more complicated SAQs (Self-Assessment Questionnaires) or ROCs (Report on Compliance), it is my opinion that a QSA led audit should be carried out to demonstrate compliance against the reported milestone an organisation reports back to the Acquirer.

Payment brand breach penalties

According to  Financial Fraud Action UK, card fraud in the UK in 2016 totalled £618 million which saw a 9% increase on the previous year. In 2016, Visa and MasterCard increased Account Data Compromise (ADC) Penalties issued to Merchants.  The Visa Europe ADC penalties are as follows:

  • Merchants will be charged €3,000 for each ADC regardless of their PCI DSS Merchant Level.
  • If the Merchant qualifies for (PCI Forensic Investigators) PFI Lite investigation (see my PFI article), the merchant will only need to pay the €3,000 case fee, providing the PFI Lite investigation process is followed.
  • If the Merchant has to undergo a full PFI investigation, typical ADC penalties will be as follows:
    • €3,000 case fee,
    • €3 per card deemed at risk (PAN compromised),
    • additional €18 per card deemed at risk (CVV2 also compromised),
    • If the Visa fine totals €100,000 or more, the fine structure changes to 5% of the entities Visa Card turnover for the past 12 months before the breach started.

MasterCard issues two types of penalties which are known as Operational Reimbursement (OR) and Fraud Reimbursement (FR). OR penalties can be anything up to $10,000, while FR is available to issuers that opt into the MasterCard ADC reimbursement program.  MasterCard review OR & FR on a case by case basis based on which issuers cards have been impacted and deemed at risk.  This, therefore, makes it difficult to provide details of specific MasterCard penalties.  The average fine is $5.50 per unique card lost during the window of exposure.

ADC penalties will be levied by each card brand that is impacted by the compromise, which can increase the value of the fines.  Additionally, Visa Europe’s €3,000 case fee can be applied to all of a compromised merchant’s acquirers.

Self-notifications of an ADC will also benefit from a reduced penalty.  Additionally, merchants enlisted on the Verified by Visa (VbV) scheme will find that any VbV transactions will see up to a 50% reduction in the card deemed at risk fine.  For example, if 14% of the cards deemed at risk were authenticated VbV transactions, a 14% reduction would be issued.  Anything over 50% will be capped at a 50% reduction.

My final ramblings

Organisations are contractually obliged to implement PCI DSS which is part of the Merchant Agreement.  Additionally, organisations have a responsibility to protect consumers data, including cardholder data.  PCI DSS provides a mature standard which is designed to protect card data and therefore shouldn’t be seen as a burden but should be embraced to help protect the operational integrity of the payment systems and the data being stored, processed and/or transmitted.

I do believe that something should be done to force entities into taking PCI DSS more seriously.  Although the fining structure does provide an additional deterrence, it seems that this is more focusing at the larger merchants which means that smaller merchants don’t really have any driver to take this seriously.

Some Common PCI DSS Misconceptions and Client Problem Areas

Throughout the many years of providing QSA (Qualified Security Assessor) services, I have come across many misconceptions and misunderstandings from clients trying to unravel the Payment Card Industry Data Security Standard (PCI DSS) for their organisation.  During onsite assessments, I’ve also regularly come across problem area’s that organisation often struggle with.  This blog post will discuss some of the most common misconceptions and problem areas faced with during my work as a QSA.

PCI DSS doesn’t apply to me as I don’t store cardholder data (CHD)

PCI DSS applies to any entity that stores, processes or transmits cardholder data (CHD) or can ‘impact upon an entities CHD’, where service providers are concerned.  Typically, any merchant that provides customers with the opportunity to pay for goods or services using a credit or debit card will have some form of PCI DSS obligation.  A merchant will most likely have a merchant (or several), often referred to as a MID, that has been issued by their acquiring bank, where the card or debit card funds are deposited.  As part of signing up for this Merchant ID (MID), the Merchant Contract will include a requirement for the merchant to be PCI DSS compliant.  Merchants with a MID who have outsourced the entire payment channel, will still be required to meet PCI DSS, however it will only likely be a single requirement; Requirement 12.8, which is responsible for managing the service providers used to facilitate the payments.  As the PCI DSS Version 3.2.1 says on page 7 “PCI DSS applies to all entities involved in payment card processing—including merchants, processors, acquirers, issuers, and service providers.  PCI DSS also applies to all other entities that store, process, or transmit cardholder data and/or sensitive authentication data.”

How much of the PCI DSS is in scope for a specific entity will depend upon how they take card payments within their organisations.

In 2015, the PCI SSC established the small merchant taskforce whose purpose was to develop resources and guidance aimed at smaller merchants.  The driving force behind this initiative was to help smaller merchants with this often-complex subject matter and to simplify the guidance.  Smaller merchants will often have simplistic payment channels so in August 2018, the small merchant taskforce released the PCI Data Security Essentials (DSE) designed to streamline the reporting of compliance by further simplifying the applicable PCI DSS requirements needed for specific types of payment channels.  The taskforce had already identified 15 payment types within the “Common Payment Systems” guidance, with 13 of these payment types aligning to one of the simplified PCI DSE Evaluation Forms.

PCI DSE is designed for small merchants with simple payment channels.  It is up to the acquirer and/or payment brands to determine if a merchant can align to one of these simplified PCI DSE Evaluation Forms.

Everything is encrypted therefore PCI DSS doesn’t apply

This doesn’t crop up as often as it used to; however, I still do get this off clients from time to time.  Unfortunately, simply encrypting CHD doesn’t necessarily de-scope it.  Under most circumstances, if encrypted CHD is stored, processed or transmitted it will still be in scope because often the decryption keys are held within the same environment as the encrypted CHD.

There are exceptions to this rule, which is dependent on where the decryption keys are stored and how the data is captured.  The PCI Security Standards Council (PCI SSC) released a standard in June 2013 called Point-to-Point Encryption.  The PCI P2PE standard is designed for the secure encryption of CHD at the point of capture, until it reaches a secure decryption environment.  If organisations are using a PCI SSC validated P2PE Solution, the network traffic isn’t in scope for PCI DSS, therefore the network used to support transmission for the Point-of-Interaction (POI) devices (aka PEDs/PDQs) traffic isn’t in scope.  In a P2PE environment, only the POI devices are in scope for assessment activities.  The reason for this is because the encryption is designed in a way that only the decryption environment can feasibly decrypt the data.

Another example is a third-party backup provider.  Typically, the provider will store encrypted backup sets; however, the provider will not have access to the decryption keys which will only be held by the client.  Because the provider cannot feasible decrypt the data, the CHD would not be in scope for the provider.  This is further discussed within the following PCI SSC Frequently Asked Questions articles; 1068 “How does encrypted cardholder data impact PCI DSS scope?” and 1233 “How does encrypted cardholder data impact PCI DSS scope for third-party service providers?“

Completing the wrong SAQs

During PCI DSS consultancy engagements, I often come across clients that are completing the incorrect SAQs (Self-Assessment Questionnaires).  This is sometimes due to an incorrectly identified SAQ through an Acquirers (or their support partners) online portal or due to a misunderstanding of the SAQs themselves.

Acquirer online portals will ask merchants a series of questions, designed to understand how the merchant takes card payments.  Unfortunately, if the merchant doesn’t quite understand one of the questions, or responds within an incorrect answer, the logic behind the questions will ultimately come to the wrong SAQ assignment.

Additionally, I also come across clients who have simply misunderstood what the SAQ is designed for.  Each SAQ, apart from SAQ D (for merchants and service providers), has eligibility criteria at the beginning within the “Before You Begin” section.  The eligibility criteria are a bullet point of statements that the merchant must confirm as being true before that SAQ can be used.  If the merchant cannot confirm one of the bullet points as being true, the SAQ cannot be used.

The following table lists the 9 different SAQs and what they are designed for:

SAQ TypeSAQ Description
SAQ ACard-not-present merchants (e-commerce or mail/telephone-order) that have fully outsourced all cardholder data functions to PCI DSS compliant third-party service providers, with no electronic storage, processing, or transmission of any cardholder data on the merchant’s systems or premises.
(Not applicable to face-to-face channels)
SAQ A-EPE-commerce merchants who outsource all payment processing to PCI DSS validated third parties, and who have a website(s) that doesn’t directly receive cardholder data but that can impact the security of the payment transaction. No electronic storage, processing, or transmission of any cardholder data on the merchant’s systems or premises.
(Applicable only to e-commerce channels)
SAQ BMerchants using only: Imprint machines with no electronic cardholder data storage; and/or Standalone, dial-out terminals with no electronic cardholder data storage.
(Not applicable to e-commerce channels)
SAQ B-IPMerchants using only standalone, PTS-approved payment terminals with an IP connection to the payment processor, with no electronic cardholder data storage.
(Not applicable to e-commerce channels)
SAQ C-VT Merchants who manually enter a single transaction at a time via a keyboard into an Internet-based virtual terminal solution that is provided and hosted by a PCI DSS validated third-party service provider.
(No electronic cardholder data storage)
SAQ CMerchants with payment application systems connected to the Internet, no electronic cardholder data storage.
(Not applicable to e-commerce channels)
SAQ P2PEMerchants using only hardware payment terminals that are included in and managed via a validated, PCI SSC-listed P2PE solution, with no electronic cardholder data storage. (Not applicable to e-commerce channels)
SAQ D (for Merchants)All other merchants not included in the descriptions for the above SAQ types.
SAQ D (for Service Providers)All service providers defined by a payment brand as eligible to complete a SAQ.

Although this list may make it clear what SAQ would be used for a specific payment channel, the eligibility criteria MUST still be checked.  As an example, SAQ B-IP lists one of the eligibility criteria’s as;

“The standalone IP-connected POI devices are not connected to any other systems within your environment (this can be achieved via network segmentation to isolate POI devices from other systems)1;”

Due to this eligibility criteria, SAQ B-IP must not be used where the POI devices are not on an isolated network and/or are integrated to a POS (point-of-sales) system, i.e. connected to the POS via a USB or Serial cable.

Note: There is a slight exception which is to do with SAQ B and it’s use with Point-of-Interaction (POI) devices that connect via a mobile network (i.e. GPRS/3G/4G).  If the POI devices are provided by the acquirer, it is common to find that the acquirer will permit this payment channel to align to SAQ B instead of SAQ B-IP which is what it should really align to since the transmission of CHD is still over IP based communications.

Incorrectly Completing the SAQs

Incorrect completion of SAQs is something that is highlighted either on the back of a compromise; when a merchant reaches a tier that requires an onsite QSA led assessment, or when a merchant decides to engage a QSA company for validation that they are doing things correctly.

There are several reasons why SAQs can be completed incorrectly.  These are;

  • As identified above, the wrong SAQ is being completed.
  • The scope of the assessment hasn’t accurately been identified, meaning system components are incorrectly excluded from the applicable PCI DSS requirements.
  • The requirements have not been properly assessed.  Often, clients will either see the SAQs as a simple formality that needs to be submitted, or the employee tasked to complete it doesn’t have the time available to give it the attention it needs.  When this happens, the requirements within the SAQ are just ticked as being in place without being assessed.  SAQs have an “Expected Testing” column which details what types of assessment activities need to be performed before being able to tick the “Yes” box; i.e. that it is found to be in place.  Examples of the types of assessment activities that is expected includes;
    • Review of policies and procedure documentation,
    • Examine vendor documentation,
    • Examine system configurations/settings,
    • Observer specific actions; e.g. an Administrator logging on,
    • Interview personnel.
  • The client incorrectly deems a requirement as “Not Applicable” for a specific payment channel, thereby not implementing required controls.

I am coming across more client engagements where the client wants a QSA to formally assess the client against specific SAQs to provide an external validation that PCI DSS is implemented appropriately.  The accompanying Attestation of Compliance (AOC) form provides space for a QSA to add narrative of what was completed by the assessor and if the assessor assisted in the completion of the SAQ assessment.  This provides more assurance to the acquirer that the SAQ(s) is(are) completed correctly.

Fulfilling POI Obligations

When performing PCI DSS assessments, I often find that clients fail within Requirement 9.9 which is concerned with the entities handling and security of the POI devices.  The types of issues that are often come across within this requirement includes;

  • Tamper and substitution training hasn’t been carried out for all staff operating or handling these devices.  This can occur if there is a high turnover of store/area managers so training records are not being kept current and processes are not robust enough to account for this,
  • POI device inventories are out of date.  This is often due to a lack of a robust process for updating the inventory when devices are replaced or moved,
  • The “periodic” tamper and substitution checks are not being performed.  Requirement ‘9.9.2 Periodically inspect device surfaces to detect tampering (for example, addition of card skimmers to devices), or substitution (for example, by checking the serial number or other device characteristics to verify it has not been swapped with a fraudulent device).’, requires that organisations perform these periodic checks.  The definition of periodic is open to interpretation and my advice is to perform a risk assessment to determine what a suitable frequency should be.  As an example, a POI device that is always with a member of staff and suitable secured when not in use may only need to be checked weekly, however a device that may be left unattended on a shop floor (physically secured) may be checked twice per day.  This type of activity causes issues for remediation activities because it isn’t possible to go back in time to completed missed tamper and substitution checks.  Failings here will often lead to a compensating control being put in place to pass an assessment. N.B. Some QSAs may fail the assessment until there are 12 months worth of records to support the requirement.

Maintaining Compliance

This is quite a large topic in itself and the PCI SSC released a guidance document called “Best Practices for Maintaining PCI DSS Compliance” in January 2019.  The key issues with maintaining compliance is that organisations miss some of the PCI DSS Compliance Program activities.  PCI DSS requires activities to be carried out daily, weekly, monthly, quarterly, biannual and annually, which can sometimes be forgotten about during the year following a completed assessment.  This causes issues during the annual assessment, because as discussed above, you are unable to go back in time to resolve these issues during remediation activities.  There are many reasons why this can happen; however, the most common reason is a lack of resourcing.  Often, it will not be the employees’ primary job to carry out these activities.  Ideally, maintaining compliance activities should be the core responsibility of an employee or team of employees.  These activities should be written into their job description to ensure that these tasks are still fulfilled if the employee leaves the organisation.

Another recommendation is that the organisation implements a PCI Board that meets on a monthly basis.  During this meeting, the PCI DSS Compliance Program activities should be tracked to ensure they are being carried out.  This meeting can also be used to discuss any new projects that may impact upon the cardholder data environment or the way payments are carried out.

Clients will often schedule regular engagements inline with these meetings so I am able to attend and assist with any specific PCI DSS concerns that are raised by these key stakeholders.

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.

Evaluating Service Provider AOCs

I was recently asked how, as a QSA, you evaluate the validity of the AOCs (Attestation of Compliance) documentation provided by service providers.  I have come across scenarios in the past where the AOCs have been wrong.  This will almost always occur if accepting a self-assessment AOC (i.e. SAQ D for Service Providers and the associated AOC) as I often come across issues with these types of AOCs.

The key to the AOC is the narrative within it, especially within sections;

    • Part 2b. Description of Payment Card Business, and
    • Part 2e. Description of Environment.

These two sections will provide details of the service(s) that were included as part of the initial assessment.  A review of these two sections should describe the services the third-party is providing.  For example; I’ve come across service providers who have provided an AOC describing an iframe e-commerce deployment, when an API (Application Programmable Interface) is used.  This is a massive discrepancy as with the iframe the service provider will not capture cardholder data (CHD), however with the API deployment, the service provider’s web server will receive the CHD.

Another thing to look out for is that the correct AOC has been provided.  I’ve come across service provider AOCs which are “Merchant” AOCs.  Remember, merchant companies will have an agreement with an Acquirer for them to accept card payments on their behalf.  The merchant company will have a Merchant ID (MID) issued by the acquirer.  Where service providers are handling payment transactions on behalf of the merchant (their customer), they will be transmitting the transaction information into their customers’ MIDs.

Where this gets a little grey is when an organisation outsources all payment transactions to a third-party company AND that third-party company is depositing the card payments into their own MID, before then sending funds to the organisation via another means; i.e. BACS transfers.  Technically, in this scenario the third-party is a merchant and wouldn’t be classed as a service provider to the organisation that is taking this service.  Due diligence would still be recommended as customers may still deem the payment as going to the organisation and not to the third-party company.  Part of this due diligence may be to ensure the third-party is PCI DSS compliant for taking these payments on their behalf.  Where I’ve come across this in the past is when clients have been utilising PayPoint for some of their payments.

When evaluating a service provider; i.e. entities that are taking payments on the organisation’s behalf (payments going to the organisations MID and not paid to the service provider) or the service provider can impact upon the security of the organisation’s cardholder data or cardholder data environment, there are only two possible AOCs that can be used;

    • Attestation of Compliance for Onsite Assessments – Service Providers
    • Attestation of Compliance for Self-Assessment Questionnaire D – Service Providers

If the AOC isn’t one of these two AOCs, then it is the incorrect AOC and should be rejected.

Let’s go through the various section of the AOC, pointing out what problems you may encounter for each;

SECTION 1: Assessment Information

Part 2a. Scope Verification

One of the common things I see here is that the “Name of service(s) assessed:” field isn’t completed.  This should have something listed, ideally, it’ll correspond to the service that you have signed up for.

Next, look at the “Type of service(s) assessed:” section to ensure the relevant boxes are ticked for the service you are consuming.

The remaining elements of Part 2a. Scope Verification may or may not be completed.  This allows the service provider to explicitly list what services they offer, have been excluded from the assessment.

Part 2b. Description of Payment Card Business

We touched on this section earlier as this is used to describe the environment; either how the third-party stores, processes and/or transmits cardholder data, or how the third party can impact upon the security of cardholder data.

Ensure that this is completed and is reflective of how the service works.

N.B. It is likely that only one of these two options are completed, the other one should at least have Not Applicable to show that it hasn’t been missed during the AOC completion.  If the other one is blank, it doesn’t matter too much providing the one that is completed actually does reflect the service.

Part 2c. Locations

This can be an interesting section because I’ve come across third-parties that add new locations after the assessment is complete.  For this reason, it is feasible to come across locations which may not be included within the AOC.  Under this circumstance it is worth remembering that once the assessment is completed, an entity does have to conduct a formal re-assessment when changes are made.  This is because as part of the sign off of the AOC includes the following statement;

“If my environment changes, I recognize I must reassess my environment and implement any additional PCI DSS requirements that apply.”

The assessment and AOC is a point in time assessment which covers 12 months before a re-assessment is required.

If the locations changes, seek assurance that it was added after the assessment and that it has been implemented in a PCI DSS compliant manner and that it will be added to the next assessment.

Part 2d. Payment Applications

Organisations using payment applications to support their CDE list here the details.  If these payment applications are used within your environment to help support your environment; for example, a POS solution, then you should cross reference the versions running within your environment to ensure they match.  This may or may not be applicable depending upon what service you are consuming.

Part 2e. Description of the Environment

Already discussed earlier, this should provide a high-level description of the environment that was assessed. This should relate to the service you have signed up to.  The question about network segmentation should be completed as Yes or No but should not be left blank.

Part 2f. Third-Party Service Providers

This section is for the inclusion of any third-parties used by the organisation in support of their CDE.  Details of any Qualified Integrator & Reseller (QIR) should be listed.  The “Yes” and “No” boxes should be completed and where the answer is “Yes”, the relevant sections should be completed.

N.B. See the following one of my previous posts discussing who should go into Part 2f here.

Part 2g. Summary of Requirements Tested

Based on the service being offered, you should review this section to ensure that all relevant requirements have been included within the scope of the assessment. 

This should be completed in full, any “Partial” requirements should include details of which sub requirements were marked as “Not Tested” or “Not Applicable” and why.  Also, any “None” requirements should detail why “None” was selected.

The “Name of Service Assessed:” should be completed.  As it says in the note,

Note: One table to be completed for each service covered by this AOC. Additional copies of this section are available on the PCI SSC website.

A table needs to be produced for each service listed within Part 2a earlier.

SECTION 2: Report on Compliance

This section needs to include the date the ROC or SAQ was completed and each of the 4 questions MUST have “Yes” or “No” selected.

Anything incomplete should be rejected as it hasn’t been fully completed.

SECTION 3: Validation and Attestation Details

Part 3. PCI DSS Validation

For this section, it is important that the date is completed.  This needs to be the date the ROC or SAQ was completed (the date within the ROC or SAQ).

Only one of the following tick boxes should be completed;

    • Compliant
    • Non-Compliant
    • Compliant but with Legal exceptions

Each section has some additional elements to complete, ensure these are done.

Part 3a. Acknowledgement of Status

This section includes 7 statements.  It is important to only tick the statements that are applicable as the applicability is very dependent upon the environment being assessed.  The PCI DSS Version number MUST be included within the first statement.  This should be the version of PCI DSS assessed against.  This will be listed in the footer of the ROC, SAQ or AOC.

As an example of how it depends upon the environment being assessed, think about a data centre only providing physical security.  You would not tick statements such as;

    • I have confirmed with my payment application vendor that my payment system does not store sensitive authentication data after authorization.
    • No evidence of full track data , CAV2, CVC2, CID, or CVV2 data , or PIN data  storage after transaction authorization was found on ANY system reviewed during this assessment.
    • ASV scans are being completed by the PCI SSC Approved Scanning Vendor (ASV Name)

If ASV scans are being completed, ensure the ASV providers name is included within the statement.

Part 3b. Service Provider Attestation

This MUST be completed.  The paper doesn’t mean a thing if someone from the organisation has not completed it.  The signature must be dated after the completion of the ROC or SAQ.

Part 3c. Qualified Security Assessor (QSA) Acknowledgment (if applicable)

This is where a QSA can countersign the AOC.  The QSA MUST provide details of what involvement or assistance they provided as part of the assessment activities and not pervious consultancy work.  If it is an onsite AOC this this may simply say that a full onsite assessment was performed, however if this is an AOC as part of a self-assessment, then this should provide details of what the QSA has carried out in order to assist the assessment.

This is very useful where service providers are not a Level 1 service provider and can self-assess, however they still want QSA assistance.  The number of self-assessments I’ve seen done wrong and where the AOC is incorrectly completed can cause merchants to lose confidence in the submitted AOC documentation.  Some clients may then choose to include the service provider within their assessment activities and perform an independent assessment of them.

Part 3d. Internal Security Assessor (ISA) Involvement (if applicable)

This would be marked as “Not Applicable” as it would usually only be used for a Merchant who has ISAs.

Part 4. Action Plan for Non-Compliant Requirements.

It is unlikely that this section will be completed as this is used for AOCs that are Non-Compliant.  This section is used to identified which Requirements had “Not-in-Place” sub requirements and to provide details of any remediation actions and timescales.

My final ramblings

Part 3c is also useful for Merchant self-assessments.  Often, SAQs and AOCs can be incorrectly completed by merchants so utilising a QSA to assist with there completion provides the acquirer (and customers in the case of service providers) more assurance that the submission has been completed correctly and the results are credible.

It may also provide internal audit departments and executive level management additional assurances that they are fulfilling their PCI DSS obligations by having this independently verified.

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.

Part 2f of the AOC and SAQ and Acquirer Applicability

I wanted to the take this opportunity to discuss PCI DSS service providers in relation to section Part 2f of the Attestation of Compliance (AOC) and the Self-Assessment Questionnaire (SAQ).  This post will discuss exactly what types of services providers should be included within this section (my interpretation) and how to determine if the acquirer should be included here or not.  This also links to PCI DSS Requirement 12.8 and all its sub requirements.  I’ll discuss;

    • Very briefly what constitutes a service provider,
    • Wording within Part 2f of the AOC and SAQ and why, in my opinion, this is badly worded, and
    • The inclusion of an acquirer within Part 2f or Requirement 12.8 and it’s sub requirements.

What Constitutes a Service Provider?

I’ve already wrote about this very topic here which goes into a lot of detail.  I don’t want to re-cover this, however to summaries that post, any third-party company that stores, processes or transmits cardholder data (CHD) on behalf of another entity is classed as a service provider for PCI DSS.  In addition to this, third-party companies that can impact upon the security of the cardholder data or the cardholder data environment (CDE) of another entity is also classed as a service provider.  This last bit can often get missed from PCI DSS assessment activities.  The official definition of a Service Provider by the PCI Security Standards Council (PCI SSC) is;

“Business entity that is not a payment brand, directly involved in the processing, storage, or transmission of cardholder data on behalf of another entity. This also includes companies that provide services that control or could impact the security of cardholder data. Examples include managed service providers that provide managed firewalls, IDS and other services as well as hosting providers and other entities. If an entity provides a service that involves only the provision of public network access—such as a telecommunications company providing just the communication link—the entity would not be considered a service provider for that service (although they may be considered a service provider for other services).”

taken from the PCI DSS Glossary of Terms, Abbreviations, and Acronyms.

The reason I have mentioned this here is that often third-parties can be treated as a service provider even though they are not directly handling or coming into contact with CHD.  A typical example here can be a hosting company of an e-commerce site which aligns to SAQ A (i.e. iFrame or redirect payment mechanism).  If the hosting company is responsible for the install/management and maintenance of the webserver, then they will be in scope for various requirements under SAQ A, therefore bringing them in scope as a service provider.  This can extend to other types of companies as discussed in my article above.

Wording of Part 2f

I have pondered the applicability of listing third-party service providers (TPSP) that can only impact upon the security of the CHD/CDE within this section of the AOC and SAQ in the past.  The reason for this is the wording within this section which includes the following question “Does your company share cardholder data with any third-party service providers (for example, Qualified Integrator & Resellers (QIR), gateways, payment processors, payment service providers (PSP), web-hosting companies, airline booking agents, loyalty program agents, etc.)?”.

This question is only asking about TPSP with which you share cardholder data with.  It doesn’t mention anything about TPSPs that can impact upon the security of the CHD/CDE and for this reason, these TPSPs often don’t get listed here.  This often causes confusion and can then be argued as to the “interpretation” of this section.  I include all TPSPs that can impact upon the security of the CHD/CDE within this section for several reasons;

    • The AOCs however, do include a note at the bottom of the Service Provider table saying “Note: Requirement 12.8 applies to all entities in this list.”  This is also consistent with the SAQs, which also include this note.  As we have discussed above, all TPSPs that store, process, transmit or can impact upon the security of the CHD/CDE need to be included within scope and therefore within Requirement 12.8.
    • The wording within the relevant section of the ROC is different, which does acknowledge TPSPs that can impact upon the security of the CHD/CDE.  Section “4.7 Service providers and other third parties with which the entity shares cardholder data or that could affect the security of cardholder data”.  This section within the ROC also includes the additional note saying “Note: Requirement 12.8 applies to all entities in this list.”.  Therefore, it is clear from this that the intent is to include all TPSPs that are assessed as part of Requirement 12.8, which doesn’t just include those third-parties which store, process or transmit cardholder data but also those that can affect the security of the CHD/CDE.
    • Finally, when producing a ROC, the QSA will provide a detailed commentary when completing Requirement 12.8.  When writing this commentary, the QSA will likely detail the service providers being used within section 4.7 detailed above.  Service providers will not usually provide ROCs to clients due to the sensitive nature of its contents, therefore the AOC is used to provide assurance that the assessment has been completed and provides some general details of what was assessed and the outcome.  It is therefore important to include a list of all TPSPs that were included as part of the assessment activities within Part 2f of the AOC.  As already detailed, and by the inclusion of the note within this section “Note: Requirement 12.8 applies to all entities in this list.”, all TPSPs that store, process, transmit or can impact upon the security of CHD/CDE need to be included within this section since all TPSPs will be included within Requirement 12.8 as they will have to be assessed as part of the PCI DSS assessment activities.
N.B. Some service providers will also want to redact elements of the AOC, where they deem it to contain sensitive information.  The PCI SSC has provided an FAQ article; FAQ 1354 entitled “Can the AOC be redacted to protect sensitive information?” which discusses this very topic.   Although this is deemed ok by the PCI SSC, I would recommend that the level of redaction doesn’t make it too difficult for a QSA, merchant, service provider, acquirer or payment brand to confirm that the assessment activities were carried out against the services being provided.  If this assurance cannot be gained from reviewing the redacted AOC, this will cause additional questions to be raised by these parties trying to ascertain if the services provided are actually covered by the assessment.

Is an Acquirer classed as a Service Provider?

I can understand how this can get a little grey and open to interpretation.  The PCI SSC released an FAQ article; FAQ 1284 “Are Acquirers Considered Service Providers for the Purpose of PCI DSS Requirements 12.8 and 12.9” in July 2014 discussing this very topic.  The FAQ starts by re-iterating what a service provider is; although failing to include the very point we have discussed above, but we can forgive that since this FAQ was written in 2014.

“Service providers include business entities that are not a payment brand, directly involved in the processing, storage, or transmission of cardholder data on behalf of another entity. This includes organizations providing acquiring services – for example, payment gateways, PSPs, ISOs etc.”

For me, the key paragraph from this FAQ is as follows;

“However, an entity that acquires a merchant’s payment transactions and is defined by a payment brand to be an acquirer is not considered a service provider for that particular merchant’s PCI DSS compliance for the purpose of Requirements 12.8.”

This is pointing out that acquirers that only “acquire” a merchant’s payment transaction is not considered a service provider.  To explain this further, if the Acquirer is providing the Merchant account only then the Acquirer does not fall under a service provider bracket.  Remember, although the acquirer is providing the MID (Merchant ID), this doesn’t mean that the merchant has to utilise them for other services to facilitate card payments; e.g. payment gateways, etc…  I regularly come across clients who will utilise a third-party payment gateway linking to multiple Acquirers. 

The next part of the FAQ states;

“If the acquirer provides other services to the merchant, for example management of the merchant’s payment terminals, then the merchant and acquirer should work together to understand which party is responsible for managing the applicable PCI DSS requirements for the services provided.”

Where a merchant is utilising additional service offerings from the acquirer then the Acquirer is classed as a service provider.  A good example would be, Barclaycard’s ePDQ or SmartPay payment gateway services.  These services are above and beyond providing a merchant account to the entity and would therefore need to be covered under Requirements 12.8 and 12.9 and also within Part 2f and Section 4.7 of the ROC.

The FAQ finishes with the following paragraph;

“Whether acquirers are required to validate PCI DSS compliance, including Requirement 12.9, is determined by the individual payment brands.”

Ultimately, it is up to the individual payment brands, however I would go one step further and say that it is also up to the acquirer.  The acquirer will determine a merchants PCI DSS reporting requirements since they are managing the risk.  When in doubt, speak with your acquirer, however get everything in writing if what you are being asked doesn’t quite follow the standard PCI DSS/PCI SSC guidelines.

My Final Ramblings

I’ve written a few blog posts now on service providers and I still run into problems.  Most of the problems are related to service providers that “can impact upon the security of the CHD/CDE” because these entities strongly believe they are not in scope for PCI DSS assessment activities; especially where SAQ A is concerned.  For SAQ A TPSPs I can understand how this may still cause friction.  When the SAQ e-commerce changes came out in PCI DSS Version 3.0, web servers and therefore TPSPs managing/maintaining web servers were not in scope; however, through the evolution of the SAQs, the shift in attacks to e-commerce channels and the results of forensic investigations on compromises of iFrame and redirect payment mechanisms, the PCI SSC has added more requirements, which now relate to the web server (as of PCI DSS Version 3.2) therefore bringing these TPSPs in scope for their clients’ (merchants) PCI DSS assessment activities. I sometimes struggle to understand the push back by these TPSPs.  The security controls within PCI DSS can be seen as baseline security which should be best practice for most organisations.  If TPSPs are following good security practices, then attaining PCI DSS shouldn’t be too problematic, especially for organisations aligning to SAQ A.  Although TPSPs can only complete SAQ D for Service Providers or a ROC (if handling or can impact over 300,000 transactions per year), if aligning to SAQ A, the applicable requirements in scope would mainly be those contained within SAQ A (and possible a few additional ones depending on risks and service provider implications).  At a bare minimum, these requirements should be followed regardless of PCI DSS.  Most of the environments in scope will contain Personally Identifiable Information (PII) and therefore will need to comply with the General Data Protection Regulation (GDPR), therefore information security should be at the top of most organisations mind to protect any personal data contained within these environments.

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.