After the industry was struggling to grasp the language within the surprising Self-Assessment Questionnaire A (SAQ A) update that came out at the end of January 2025, the PCI Security Standards Council (PCI SSC) has, on 28 February 2025, released a new FAQ entitled ‘How does an e-commerce merchant meet the SAQ A eligibility criteria for scripts?‘. This blog post looks at this updated FAQ.
Introduction
Firstly, in case you missed it, in January 2025, the PCI SSC released an update to SAQ A, which seemingly removed the two Requirements designed to protect against malicious JavaScript added in PCI DSS Version 4.0; Requirement 6.4.3 and Requirement 11.6.1. I covered this in a blog post back in January 2025 entitled ‘Surprising SAQ A Jan 2025 Update‘, which will give some context.
The purpose of FAQ 1588 is to provide some clarity around the new criterion that was added to the updated SAQ A Eligibility Criteria, which reads:
The merchant has confirmed that their site is not susceptible to attacks from scripts that could affect the merchant’s e-commerce system(s).
The introduction of this within the SAQ sent the community into a frenzy, trying to decipher exactly what it meant.
Clarifications
To start with, it is worth immediately calling out that this new FAQ clarifies that the criterion does not apply to websites that are leveraging a web redirect mechanism to a Payment Gateway/TPSP (Third-Party Service Provider) to facilitate payment capture. This is evident by the following paragraph:
The above SAQ A eligibility criteria does not apply to e-commerce merchants with a webpage that redirects customers from the merchant’s webpage to a TPSP/payment processor (for example, including but not limited to, with an HTTP 30x redirect, a meta redirect tag, or a JavaScript redirect) or e-commerce merchants that fully outsource payment functions to a TPSP/payment processor (for example, by providing customers with an email with a link to a TPSP’s website to pay)
This confirms there is no difference to what was originally in place for Merchants who have leveraged a redirect mechanism to support the payment process. The now removed PCI DSS Requirements (Req 6.4.3 & Req 11.6.1) were never in scope for these Merchants.
In addition to this clarification, the FAQ has also clarified how a Merchant can demonstrate that this new Criterion is being met. The blog discusses two mechanisms;
Firstly, by leveraging the original JavaScript specific PCI DSS Requirements that have been taken out; Req 6.4.3 & Req 11.6.1, which is no surprise and is something that I mentioned in my original blog post.
Secondly, by leveraging the Merchant’s PCI DSS compliant Payment Processor/TPSP. The Merchant can obtain confirmation that, when implemented according to their supplied instructions, the solution includes techniques that protect the merchant’s payment page from script attacks.
Well, that last bullet point is going to be interesting. It’s hard enough to get anything from TPSPs to support contractual requirements for Req 12.8.2 and that has specific Service Provider Requirements in the standard, which was supposed to address that issue, we’ll have to see how easy this becomes. It would surely be easier to update the standard to include a PCI DSS Requirement that the TPSP HAS implemented such mechanisms so Merchants and QSAs can simply check the TPSP’s AOC to ensure this is being met by a Requirement being in place? Also, it allows for a QSA review of the mechanisms deployed to ensure they are sufficient.
Additional Clarification
Interestingly, this FAQ also provides confirmation of which entities that provide third-party scripts are considered to be a service provider for PCI DSS purposes. The following paragraph confirms that TPSPs that provide scripts that are not related to payment processing, or cannot impact the security of Account Data are not in scope as a TPSP:
A provider of third-party scripts is not considered a third-party service provider (TPSP) for purposes of SAQ A, if the provider’s only service is providing scripts not related to payment processing and where those scripts cannot impact the security of cardholder data and/or sensitive authentication data.
If I’m honest, I am not 100% sure about this statement, how can you ensure scripts cannot impact the payment journey before you even reach the embedded payment page/form and thus impact the security of Account Data? If a malicious script runs at any point in the customer journey, the script could feasibly alter that journey to impact the payment mechanism and thus impact the payment page, or impact the payment flow (see the ramblings below). Originally, this is where I thought the ‘site’ wording in the eligibility criterion was heading.
Ramblings
No blog is complete without a ramble. The FAQ fell a bit short for me when it comes to the term of ‘site’ and ‘e-commerce system’ within the original criterion that was added. This FAQ has started to re-introduce the terms ‘payment page’ and ‘webpage’ back into the dialog.
After hearing John Elliott talking about some of the different types of attacks against e-commerce payments:
Double Entry Attacks: These types of attacks occur where the payment flow logic is altered through the use of a malicious JavaScript, which changes the payment submission so Account Data is submitted to a malicious actor before presenting a fake payment failure page then passing onto the correct payment page for a legitimate payment process.
Silent Skimming Attacks: These attacks are where Account Data is captured whilst the Account Data is also submitted to the legitimate TPSP/Payment Processor.
I am still somewhat confused as to why the initial PCI DSS Requirements designed to try and mitigate malicious JavaScript code from attacking these types of payments, have been applied only to the payment page. Some attacks can happen early on in the payment flow and therefore before reaching the payment page.
And out of the blue comes an update to the PCI DSS Version 4.0.1 Self-Assessment Questionnaire A (SAQ A), which is discussed in this announcement by the PCI Security Standards Council (PCI SSC) ‘Important Updates Announced for Merchants Validating to Self-Assessment Questionnaire A‘. The first thing to note about this update is that it does not become live until the 31 March 2025, when the current SAQ A expires. The second thing to note is, well, what on earth is going on….. carry on reading!!
The Update
The update reflects two types of changes as discussed in the following sections:
Eligibility Criteria Update
The eligibility criteria has been updated to include a new bullet point as follows:
'The merchant has confirmed that their site is not susceptible to attacks from scripts that could affect the merchant’s e-commerce system(s).'
PCI DSS Requirement Changes
This SAQ A update has dropped the PCI DSS Requirements related to the protection of JavaScript (JS) running within the ‘Payment Page’:
Requirement 6.4.3
All payment page scripts that are loaded and executed in the consumer’s browser are managed as follows: - An inventory of all scripts is maintained with written business or technical justification as to why each is necessary. - A method is implemented to confirm that each script is authorized. - A method is implemented to assure the integrity of each script.
Requirement 11.6.1
A change- and tamper-detection mechanism is deployed as follows: - To alert personnel to unauthorized modification (including indicators of compromise, changes, additions, and deletions) to the security-impacting HTTP headers and the script contents of payment pages as received by the consumer browser. - The mechanism is configured to evaluate the received HTTP headers and payment pages. - The mechanism functions are performed as follows: * At least once weekly, OR * Periodically (at the frequency defined in the entity’s targeted risk analysis, which is performed according to all elements specified in Requirement 12.3.1).
Requirement 12.3.1
For each PCI DSS requirement that specifies completion of a targeted risk analysis, the analysis is documented and includes: - Identification of the assets being protected. - Identification of the threat(s) that the requirement is protecting against. - Identification of factors that contribute to the likelihood and/or impact of a threat being realized. - Resulting analysis that determines, and includes justification for, how the frequency or processes defined by the entity to meet the requirement minimize the likelihood and/or impact of the threat being realized. - Review of each targeted risk analysis at least once every 12 months to determine whether the results are still valid or if an updated risk analysis is needed. - Performance of updated risk analyses when needed, as determined by the annual review.
What does all this mean?
If I’m being honest, I’m still trying to work that one out. Exactly what is meant by ‘not susceptible to attacks from scripts‘ is open to much debate at the moment. My take on what is meant by susceptible is that we cannot simply say that the site is ‘not vulnerable to attacks’. This is because the focus of the eligibility criteria appears to have shifted to scripts that are already running within the context of the site (JavaScript Dependencies), therefore the attack vector we are talking about wouldn’t be due to a vulnerability in the site itself through misconfiguration, lack of patching or coding errors, we are looking 3rd/4th party JavaScript that is loaded into the website to perform a function. If the 3rd/4th party is compromised and the threat actor modifies the JavaScript with malware, then the site will simply be loading the updated malicious JavaScript code, none the wiser. For more info see the following ‘What is a supply chain attack‘.
Surely, the whole intent of the PCI DSS Requirements that have been removed was to meet this newly added eligibility criteria? What is also interesting, is that the statement also now refers to the ‘site’ and not simply the ‘payment page’. Where entities have already implemented solutions to just the ‘payment page’ as required to meet Requirements 6.4.3 and 11.6.1, does this mean the solution needs to now be rolled out to the whole site to ensure this eligibility criteria can be satisfied? Potentially, as a consequence of this change, this now brings into scope payment flows that are leveraging a redirect mechanism, which will also need to meet the updated eligibility criteria and potentially require a technical solution that aligns to these e-commerce skimming protection Requirements to demonstrate they can meet the criteria.
This eligibility criteria change may also bring into question if entities can still align their e-commerce environments/e-commerce payment flows to SAQ A at all, even if an iframe is supporting the payment functionality. The implication of this new eligibility criteria could result in some environments being recategorized into SAQ A-EP, which has considerably more PCI DSS Requirements than that of SAQ A, at around 140 as opposed to less than 30 for SAQ A.
What is confusing with the eligibility criteria and removal of the JS requirements is , if an entity cannot demonstrate adherence to the eligibility criteria and therefore ends up aligning to SAQ A-EP, the JS requirements then come into scope so the very solutions that can potentially be used to meet the SAQ A eligibility criteria need to be implemented anyway. The only significant difference here would be that the solution used to meet the JS requirements for SAQ A-EP only need to be implemented against only the ‘payment page’, yet environments aligning to SAQ A-EP are supposedly at greater risks of compromise.
Site vs Payment Page
Iframes (Inline Frames) provide protection mechanisms to help protect the contents of the iframe against attacks from JS code running within the parent page rendering the iframe. By utilising an iframe, the data cannot be accessed between the iframe and parent page unless explicitly allowed. This provides a level of protection for the payment information being entered and submitted through a payment form that is contained within the iframe, retrieved from the payment provider.
The PCI DSS Requirements designed to protect against JS threats apply to the payment page only, or in the case of an iframe deployment, the parent page since the iframe and all its JS is loaded from the payment provider. So, with the introduction of term ‘site’ now in the eligibility criteria, does this highlight that application of these defences to just the payment page still poses a risk? I have always wondered why the scope of these requirements were limited to just the payment page, since the consumer journey will start before the payment pages, therefore an attacker can compromise the site at any point within that journey to change the payment flow. As can be seen by this blog post by JScrambler, ‘Stealing Seconds: Web Skimmer Compromises Casio UK and Growing Number of Websites‘, it is a very real threat to compromise the journey before the payment page to provide a successful compromise of Account Data.
Clarifications
It would have been extremely useful if guidance had been released at the same time to ensure it is clear to all PCI Stakeholders, exactly what the meaning of this new eligibility criteria is. Some reports are saying that guidance will be coming out in a couple of months, which could be brought into the guidance discussed in a PCI SSC blog post from back in Nov 2024 ‘New Guidance Coming for E-commerce Security Requirements in PCI DSS v4.x‘, where it states the first quarter of 2025. This may not be the forum for discussing the intent of this eligibility criteria update and the PCI SSC may need to release something much sooner to address the confusion that has been caused by this release.
Ramblings
Blimey, where to start! This update has created so much discussion and frustration within the community. QSA/ISA’s trying to work out what this means for their customers, potentially Acquirers unravelling the implications of this change to their many Merchants, potentially Companies who have built their business models around these requirements being in scope for all e-commerce deployments and finally the reporting entities (Merchants/Service Providers) who will potential not know what all this now means until there is much more guidance from the PCI SSC.
A final point is with the timeline. The updated SAQ A is live from 31 March 2025, when the current version expires. This doesn’t give entities a lot of time to understand the ramification of these changes, especially with the lack of clarity and guidance from the Council, and to do something about what these changes mean.
With the help of my work colleagues, Rob Jepson and Tom Kinnaird (thank you both), this blog post will cover the following topics to help the reader understand why additional online skimming requirements have been introduced within PCI DSS Version 4.0 and what entities need to do to meet them.
What is Online Skimming?
Why should I be worried about this particular threat?
Online skimming compromises
How exactly does online skimming work?
But I have implemented an iframe, does this still leave me vulnerable?
What are the new PCI DSS Version 4.0 requirements?
What is meant by “Payment Page”?
SAQ Alignment
Do these two new PCI DSS Version 4.0 Requirements apply to SAQ A?
What options do I have to meet these new requirements?
Wait! If these scripts are in scope, does this make the supplier a service provider?
My Ramblings
What is Online Skimming?
Online skimming is a technique that makes use of malicious code within legitimate e-commerce sites designed to capture card information that consumers enter to make payments for goods and/or services through the compromised e-commerce website. The threat actor responsible for inserting the malicious code will either store the card information until they retrieve it or will exfiltrate the information to a remote location for easy retrieval.
Online skimming isn’t a new concept with early backdoor skimming software first being reported in April 2000 within a piece of software named “cart32”,which was an off the shelf commercial shopping cart. This backdoor skimming code had been reportedly exposing credit card information for more than a year [1].
Magecart has become synonymous to this style of attack, which is traced back to 2014 [1], with Magento becoming a big target of these attacks in 2015 [2] after a serious RCE (Remote Code Execution) vulnerability was identified called Shoplift/SUPEE 5344. Magecart attacks can be linked to 12 cybercrime groups involved in compromising e-commerce sites with the purposes of leveraging online skimming attacks from them.
Magecart attacks can be orchestrated via frontend and backend attacks through browser scripts (e.g. JavaScript) or server-side code (e.g. PHP) respectively. Although Magecart attacks are typically associated with frontend browser-based attacks. In a publication by Sansec [2] there appears to be a shift to server-side attacks quoting around 64% seen by Sansec.
Why should I be worried about this particular threat?
In September 2019, Visa released a blog post entitled “Visa EMV chip cards help reduce counterfeit fraud by 87 percent” [3]. EMV (Europay, Mastercard and Visa), named after the three companies who were responsible for developing the standard, is a technical standard developed in 1994 to create smart payment cards and supporting technologies that can be used by card reader vendors to interact with them. EMV leverages an embedded microchip (EMV Contact Chip) on the debit/credit card used to promote secure payment functionality for card-present payments, transforming the security of card-present payments to combat fraud. EMV technologies have evolved to enhance payment security in other areas of the payment card ecosystem to include technologies for card-not-present (CNP) payment channels, through technologies such as EMV 3-D Secure, EMV QR Codes, EMV Secure Remote Commerce, EMV Mobile and EMV Payment Tokenisation technologies [4].
In addition to this, in 2012 the PCI Security Standards Council (PCI SSC) announced the release of a new standard called the P2PE (Point-to-Point Encryption) standard. This standard is designed to provide assurances that at the point of interaction with a payment card, the data is immediately encrypted in a way that makes it near impossible (in today’s computing) to decrypt the information without the decryption keys, which are secured in a third-parties secured decryption environment. In essence, the idea was to make the data useless if it was captured by threat actors, so it couldn’t be monetised in anyway. A noteworthy point is that EMV does not look at the protection of the transmission of card data, but the expectation is that this will be handled by the devices themselves, especially if they meet other PCI SSC standards, such as PTS (PIN Transaction Security).
The Visa EMV blog [3] states that U.S fraud was slashed by 87% in March 2019 compared to that of September 2015 due to EMV technology.
Why is all this relevant? Since these newer technologies have been released to improve the security of card-present channels, trends have traditionally shifted to online e-commerce compromises. This makes sense since threat actors and criminal organisations will look for the easiest targets, which currently are e-commerce payment channels. As shown from the UK Finance’s “Fraud – The Facts 2022” [5] report, there has been an increased trend in e-commerce fraud losses on UK-issued cards between 2012 (£139.6m) to 2020 (£377.2m), before seeing a 10% drop in 2021 (£339.2), which isn’t too surprising since the overall fraud losses on UK-issued cards dropped by 7% that year. E-commerce still accounts for just under 65% of all fraud losses on UK-issued cards in 2021.
Online skimming compromises
According to a news story by Bleeping Computer in Nov 2021 titled “UK govt warns thousands of SMBs their online stores were hacked” [6], more than 4,000 online retailers were informed of a Magecart compromise by the UKs National Cyber Security Centre (NCSC). The report goes on to say that the NCSC monitored these e-commerce sites since April 2020, issuing warnings to the owners. Interestingly, NCSC identified that most sites were compromised via a known vulnerability in Magento which is an e-commerce platform commonly used by online retailers.
Many large and high-profile organisations have suffered at the hand of Magecart, these companies include:
British Airways
British Airways (BA) made an apology after 380,000 customers’ credit card details were stolen over only a two week period [7] in 2018. As reported in ‘The Register’ [8] bookings between the 21st August 2018 and the 5th September 2018 were affected by a server-side Magecart hack. More alarmingly, this same article, claims that BA was also saving domain administrative credentials and card details in plaintext, which both breach PCI DSS Requirements.
In addition to the Account Data Compromise (ADC) complications that would have resulted in negative PR and fines from the card brands, BA was also reportedly looking at a £183m GDPR (General Data Protection Regulation) fine from the UK’s ICO (Information Commissioners Office). [9] It was later announced that due to the economic impact of Covid-19 to the airline industry, the ICO reduced the fine to £20m, [10] which is still a considerable fine.
The attack is reported [11] to have started through the compromise of a BA network account issued to a third-party cargo-handling firm, Swissport, employee. Once entering BA’s Citrix environment, the attacker was able to breach the wider network and stumble across a cleartext Domain Administrator credential. The attacker not only gained access to service logs containing plaintext payment card details, but also the website source code, which was used to plant a card skimmer into the payment page used within the public facing e-commerce platform.
Ticketmaster
Ticketmaster succumbed to a client-side Magecart attack, which was reported by The Register, potentially impacted 9 million customers details, and cost the company a £1.25m fine by the UKs ICO, not including other potential fines and reputational damages. [12] This attack was carried out by compromising a 3rd party chatbot service called Inbenta. A compromise of this chatbot’s JavaScript code allowed for the Magecart’s digital card-skimming code to appear on Ticketmaster’s payment pages, thereby impacting every payment being made through the e-commerce site. Ticketmaster’s announcement [13] provided a timeline of between September 2017 and the 23rd of June 2018, interestingly a DARKReading article “Ticketmaster Breach Part of Massive Payment Card Hacking Campaign” [14] highlights that the command-and-control server used by Magecart had been operational since late 2016. This same article also highlights that SociaPlus, another third-party supplier to Ticketmaster, was also breached by Magecart.
Newegg
Newegg reportedly became another Magecart stat after a digital card skimmer was identified and removed on the 18th of September 2018, which had been reportedly active since the 13th of August 2018, according to a TechTarget report. [15] With this attack, the threat actors registered a new domain; neweggstats.com and a valid SSL Certification, exfiltrating data via the URL; https://neweggstats.com/GlobalData/. This attack was a server-side attack since the payment page on the webserver was compromised to host the malicious JavaScript code.
Others
There are many other examples of organisations becoming victim to these digital card skimmer attacks such as, PulseTV between November 2019 and August 2021, Tupperware in 2020, Segway in 2022, Emma Sleep Co between the 27th of January 2022 and 22nd of March 2022 and many more.
How exactly does online skimming work?
In essence, online credit card skimming occurs when malicious code is injected into a website to steal credit card information from visitors.
A high-level overview of the skimming process follows similar steps to other (hacking attempts | exploits), with the key exception of the exploitation targeting end users (cardholders) rather than the organisation:
Identification: An attacker identifies one or more target web applications; this could be a site with a vulnerability identified by the threat actor or identifying a target that handles a lot of payments.
The webapp will, of course, need to take card payments.
Exploitation: The attacker then identifies and exploits a vulnerability to inject malicious code into the application (the ‘skimmer’) which is designed to collect and exfiltrate payment card information through hidden mechanisms.
Exfiltration: When a user visits the compromised website and enters their payment card information, the skimmer then collects this data and sends it back to the attacker’s server.
Identification
Skimmers will be looking to perform attacks on web applications that are either low-hanging fruit with easy-to-exploit vulnerabilities, or high-traffic payment domains. Often, targeted applications are both.
Because of the nature of supply chain attacks, compromising a commonly used JavaScript included within a CDN (Content Delivery Network), would allow an attacker to spread their malware across many domains simultaneously.
Exploitation
Exploitation can be client-side or server-side. The distinction between these is important: client-side attacks do not involve touching anything on the server, so it is not possible to detect any changes on the filesystem. These attacks are generally supply-chain in nature, targeting third party sites that host JavaScript files included on a page – e.g. CDN or third-party advertisement.
The HTML on the page would look something like this:
Advertisements are another very common technique for getting skimmers on a site, as reported by The Register [17], around 17-per cent of malware-laden ads examined by the firm also contained Magecart skimmers.
As discussed earlier, server-side attacks involve gaining access to the websites’ code based and making changes to the website itself.
Exfiltration
Depending on the skill of the attacker and the opportunistic nature of the attack, skimmer attacks will generally follow the same process of encoding / encrypting data and sending it to an attacker domain, styled to look like a request to the organisation.
In the British Airways attack, stolen data was exfiltrated through the domain ‘www.baways.com’ [17]. As already discussed, in the Newegg compromise, the ‘neweggstats.com’ domain was used.
But I have implemented an iframe, does this still leave me vulnerable?
A crucial security mechanism in securing web applications is the same-origin policy (SOP) [18], which is designed to restrict JavaScript interactions with data of different origins. Within the context of the same-origin policy, an origin is identified through the protocol, hostname, and port number the resource is using. Therefore, the following URLs are said to be the same origin:
https://pciramblings.com/home.php
https://pciramblings.com/index.php
However, the following URL would not match the same-origin policy due to the protocol (http) not matching:
http://pciramblings.com/contactme.php
Where iframes are concerned, the same-origin policy helps to protect the iframe that is loaded from the payment provider, since the same-origin policy will not allow JavaScript code within the parent page to interact with the resources of the iframe, thereby protecting the data being inputted.
Note: It is worth pointing out that same-origin policy only restricts access to data and doesn’t restrict access to embedded resources between different origins; for example, CSS (Content Style Sheets), images and scripts.
Whilst iframes do increase the complexity of the attack of the payment process, making it harder for an attacker to simply read the input card details due to the discussed same-origin policy, once a skimmer is installed an attacker already has arbitrary code execution on the user’s machine. This vulnerability is commonly referred to as ‘Cross Site Scripting’ and could be exploited to compromise the user in a multitude of ways, including through browser exploits and creating fake payment pages.
This means that iframe-based solutions are not a direct mitigation to skimming attacks, as the injection of a skimmer on a vulnerable web application is the by-product of a deeper vulnerability present in the system. Further to this – if the iframe is served from a compromised domain, or if the attacker can find a way to inject malicious code into the iframe such as through a PostMessage-based exploit, then the payment card information can still be stolen. If an attacker is able to add custom code to a web application, it could even be possible for them to use browser exploits on out-of-date & vulnerable browsers which could be used by a visitor of the application – leading to their machine being infected with malware.
Sometimes the strictness of the SOP implementation can hamper application functionality of modern web apps, therefore there are various mechanisms to ‘relax’ this implementation allowing “defined” domains to share data. These mechanisms include Cross-Origin Resource Sharing (CORS), Cross-Domain Messaging (postMessage), JSON with Padding (JSONP) and through a mechanism of setting document.domain. Incorrectly configuring these options can leave the website open to SOP attacks.
What are the new PCI DSS Version 4.0 requirements?
PCI DSS Version 4.0 introduced two new requirements specifically designed to mitigate the risk of online skimming attacks. Although these new requirements are future dated to the 31st of March 2025, meaning from the 1st April 2025 entities must have these requirements in place, it is recommended to implement these new requirements as soon as possible.
Under “Requirement 6: Develop and Maintain Secure Systems and Software” is the following future dated requirement:
‘6.4.3 All payment page scripts that are loaded and executed in the consumer’s browser are managed as follows:
• A method is implemented to confirm that each script is authorized.
• A method is implemented to assure the integrity of each script.
• An inventory of all scripts is maintained with written justification as to why each is necessary.’
Under “Requirement 11: Test Security of Systems and Networks Regularly” is the following future dated requirement:
‘11.6.1 A change- and tamper-detection mechanism is deployed as follows:
• To alert personnel to unauthorized modification (including indicators of compromise, changes, additions, and deletions) to the HTTP headers and the contents of payment pages as received by the consumer browser.
• The mechanism is configured to evaluate the received HTTP header and payment page.
• The mechanism functions are performed as follows:
– At least once every seven days
OR
– Periodically (at the frequency defined in the entity’s targeted risk analysis, which is performed according to all elements specified in Requirement 12.3.1).’
Let’s look at these two new requirements in more detail:
Requirement 6.4.3
This requirement is looking for entities to provide adequate management of all scripts within the payment page loaded into the cardholder’s browser. This requirement goes hand in hand with Requirement 11.6.1 since an authorisation process for scripts needs to be in place to enable alerting mechanisms to be built to identify where new, unknown, or modified scripts appear within the payment page.
As can be seen from the requirement itself, the expectation is that the entity must:
Have a mechanism of ensuring that each script that the entity is expecting within the payment page, has been authorised.
Have a mechanism of ensuring the integrity of each script that loads within the payment page can be validated to ensure no unauthorised modifications have been made.
Have a mechanism in place to maintain an inventory of all the scripts that are authorised for use within payment pages along with a way of recording the business justification for each script. My view on this requirement is that it will force entities to think if scripts are actually necessary for the payment functionality or not. By reducing the number of scripts being used on payment pages, entities are reducing their attack surface and therefore reducing the risk of a compromises through these scripts.
Requirement 11.6.1
This new requirement has been added to ensure entities are able to monitor payment pages and HTTP headers to detect any signs of changes or tampering. This must be able to be done at least weekly or using a “frequency” determined by a risk assessment. The mechanism to achieve this must be able to alert personnel if unauthorised modifications are detected.
What is meant by “Payment Page”?
You’ll notice within these two new PCI DSS Version 4.0 requirements that both refer to the term “Payment Page”. I thought it would be worthwhile going through what is meant by a payment page.
The PCI DSS Version 4.0 ‘Appendix G – PCI DSS Glossary of Terms, Abbreviations, and Acronyms’ defines a “Payment Page” as:
“A web-based user interface containing one or more form elements intended to capture account data from a consumer or submit captured account data. The payment page can be rendered as any one of:
A single document or instance,
A document or component displayed in an inline frame within a non-payment page,
Multiple documents or components each containing one or more form elements contained in multiple inline frames within a non-payment page.”
Let’s look at each of these rendered options in a little more detail:
A single document or instance
This rendering option displays a web page served from the Merchant website containing a form element allowing the cardholder to input their card information for direct submission to a payment provider (payment gateway) via either a;
‘Direct Post’ (also referred to as ‘browser API’ or ‘silent order post’),
‘JavaScript created form’,
as shown in the diagram below;
or a direct submission to the merchant website itself known as ‘The API’ or ‘merchant gateway’ rendering option, as shown in the diagram below.
A document or component displayed in an inline frame within a non-payment page
This rendering option displays a web page served from the Merchant website that contains an inline frame (iframe) that is loaded with contents entirely from the payment provider. Transaction information is shared with the payment provider to allow the iframe to be built. The cardholder inputs their card information into the form within the iframe, which is then submitted directly to the payment provider, as depicted below;
Multiple documents or components each containing one or more form elements contained in multiple inline frames within a non-payment page
This iframe is the equivalent of a new browser window being opened by the payment provider and ‘embedded’ into the page. To the end user it’s invisible, but to the browser it looks like a completely different web application – this means that the browser’s security system, the Same Origin Policy, kicks in and prevents any information from the iframe window (/context) from being accessed by the merchant’s window (/context)
This provider iframe is populated with details of the requested transaction communicated with by the Merchant. Once the payment transaction has been completed by the cardholder in the provider’s iframe context, the provider then confirms the transaction details server-side to the merchant’s server, confirming that the transaction has been successful.
Because payment details are only placed in the context of an iframe, the browser’s same origin policy prevents the merchant’s code from being able to access any of the user’s payment details. Instead, the impetus of security is on the payment provider’s application as the card details are only sent to the provider, not the merchant.
The main advantage to this rendering option is that it provides much more flexibility into the design of the payment page since each field is an iframe and can therefore be placed anywhere on the page.
A Self-Assessment Questionnaire (SAQ) is a defined subset of PCI DSS Requirements that have been set by the PCI SSC (Payment Card Industry Standards Security Council) and the participating card schemes, based upon the risks posed by that type of payment functionality. Entities that meet the eligibility criteria of how the payment channel is setup and operates, can complete the relevant SAQ as part of the entities reporting requirements of demonstrating compliance to the PCI DSS. The exception is SAQ D, since this is the SAQ that is used when none of the other smaller SAQs can be used. SAQ D contains all the PCI DSS Requirements.
Depending upon which rendering option is used for the e-commerce payment channel, will determine which SAQ it will align to. Three SAQs are linked to e-commerce payment channels; these are SAQ A, SAQ A-EP and SAQ D. The following table shows which rendering option aligns to which SAQ.
SAQ
Rendering Options
SAQ A
This SAQ is used for e-commerce payment channels that leverage iframe technologies as the rending option. It is worth pointing out that SAQ A is also used for redirect technologies, whereby the cardholder is transferred directly to the payment gateways own payment page as part of the payment journey.
SAQ A-EP
This SAQ is used where the e-commerce payment channel utilises the Direct Post or JavaScript rendering options.
SAQ D
This SAQ contains all the PCI DSS Requirements and is used by entities leveraging The API rendering option.
Do these two new PCI DSS Version 4.0 Requirements apply to SAQ A?
The more observant amongst you may notice that the payment page definition on the use of iframes above, don’t quite align to these new PCI DSS Version 4.0 requirements. A payment page is classed as the iframe containing the payment form, which to align to SAQ A, must be built entirely from the payment gateway, as highlighted under the following eligibility criteria statement from SAQ A:
‘All elements of the payment page(s)/form(s) delivered to the customer’s browser originate only and directly from a PCI DSS compliant TPSP/payment processor.’
What does this mean? These two new PCI DSS Requirements only apply to the payment page, which as already highlighted above, applies to the iframe itself. As stated within the eligibility criteria of SAQ A, all elements of the payment page must be built only using code from the payment gateway, therefore the entity itself cannot have any code or scripts running within this iframe.
So, how do these two new requirements apply in SAQ A? SAQ A contains the following statements against both these two new requirements:
‘Note: For SAQ A, Requirement 6.4.3 applies to a merchant’s website(s) that includes a TPSP’s/payment processor’s embedded payment page/form (for example, an inline frame or iFrame).’
‘Note: For SAQ A, Requirement 6.4.3 applies to a merchant’s website(s) that includes a TPSP’s/payment processor’s embedded payment page/form (for example, an inline frame or iFrame).’
My interpretation of this is that these two new requirements apply only to the parent web page containing the iframe payment form.
Note: Interestingly, these two new requirements don’t apply to redirect payment mechanisms that also align to SAQ A.
What options do I have to meet these new PCI DSS requirements?
The following sub sections cover mechanisms that can be leveraged to meet these newly introduced PCI DSS Version 4.0 requirements.
For Requirement 6.4.3
A mechanism is implemented into the HTTP protocol designed to confirm that each script is authorized by preventing undefined scripts from running. These techniques are discussed as follows:
Content Security Policy (CSP): Implement a CSP to specify which sources of content are allowed to load on your web pages, thereby preventing unauthorized scripts from being executed. Additionally, it can be used to define where data is allowed to be sent to through a POST request.
A mechanism is implemented into the HTTP protocol designed to assure the integrity of each script.
Implement Subresource Integrity (SRI): SRI is a security feature that enables browsers to verify the integrity of resources fetched from third-party sources. By including an integrity attribute with a cryptographic hash in your script tags, you can ensure that the script’s contents have not been altered.
Unfortunately, the final bullet point in Requirement 6.4.3 is more of a manual process, an entity will need to create a detailed inventory of all scripts loaded within payment pages, including their sources and purposes. Regularly review this inventory and update it as necessary to ensure that only authorized and necessary scripts are running on your payment pages. A robust process should be implemented to ensure this inventory gets updated when scripts are updated, added, or removed.
For Requirement 11.6.1
As we have discussed above, one of the security techniques built into the HTTP Protocol is CSP, designed to identify what scripts are allowed to run. Although CSP is typically implemented through HTTP Headers, it can also be implemented using a HTML meta element, although you do lose some CSP functionality. One of the reasons PCI DSS Requirement 11.6.1 has been included into the standard is to ensure that any anti-skimming security measures implemented, such as CSP, are being delivered correctly and have not been interfered with. If the HTTP headers, or the page contents are not as expected, this could be an indicator of compromise and therefore needs to be flagged and investigated as part of an incident response process.
Looking at the PCI DSS guidance for Requirement 11.6.1, the intention of this requirement is to detect changes and indicators of malicious activity at the consumer browser (client-side), and not server-side. It is acknowledged in the guidance that active content can be pulled into the page from multiple internet locations, making it much harder to identify malicious activity through third-party JavaScripts. There have been many attacks whereby third-party scripts have been compromised, which quite often is outside of the control of the entity that is consuming them, since the scripts are hosted at third-party locations. One might think it is easy to control by hosting the scripts on the local web server, however some providers require scripts to be consumed from the third parties’ locations.
The guidance highlights several techniques that can be used to help meet the individual points of Requirement 11.6.1. These include:
Utilising the report-to / report-uri CSP directives to report CSP violations;
Identifying changes to CSP itself to detect tampering;
Performing external monitoring of received web pages to detect changes in JavaScript in payment pages and alert personnel;
Embedding tamper-resistant, tamper-detection scripts into payments pages that can alert and block malicious script behaviour; and/or
Reverse proxies and Content Delivery Networks (CDNs) can detect changes in scripts and alert staff.
Looping back on the discussion of intent, i.e being able to detect this activity at the browser, once the page is fully constructed, I’ve been struggling with some of the techniques identified in the guidance. My biggest confusion has been around the reverse proxies and CDNs ability to detect changes in scripts. This seems straight forward in that scripts are retrieved through these technologies; however, would this not fall over where scripts are being hosted on third-party services? I’ve had many a conversation with various colleagues on this point and Cloudflare has a solution whereby CSP is pushed out through the CDN to enable alerting mechanisms to help meet these requirements. Through Cloudflare’s Page Shield service, the ‘Content-Security-Policy-Report-Only’ CSP header is included within the HTTP responses to help provide notification mechanisms. Additionally, the service includes additional security mechanisms to identify known malicious script locations, script changes, etc…
Another technique I’ve been struggling with a little is performing external monitoring. My initial thoughts on this were to run regular scans of the payment pages to monitor for changes in the scripts and headers. My initial concerns were around where payment pages are behind multi-form pages that are part of the customer journey before being presented with the payment page(s). Some vulnerability scanning tools can find this problematic and may struggle to hit the correct pages. The exact wording of the following bullet point within the guidance helps to clarify this a little:
External monitoring by systems that request and analyze the received web pages (also known as synthetic user monitoring) can detect changes to JavaScript in payment pages and alert personnel.
Synthetic user monitoring (aka synthetic monitoring or synthetic transaction monitoring) is something I had never come across before so needed to delve into what this was. In essence, it is a technique used to simulate user interactions with an application to collect various data, for example, response times, errors, availability, etc…. In this case of PCI DSS Requirement 11.6.1, between a user and the e-commerce website. This monitoring is achieved using scripted user interactions with the website. In theory, the scripted requests should be able to walk through multi-form pages to land at the payment page(s) so the fully retrieved page can be analysed.
I’ve had a quick look to see if I can find any synthetic user monitoring products that may be able to help with this requirement and, most of the products I’ve found seem to focus more on performance metrics. The exception being (although there are probably others out there) a product by RapidSpike, which seems to include Magecart style detection.
Note: ASV Scanning is not designed to fulfil PCI DSS Requirement 11.6.1 as it is unable to perform the payment page analysis required to detect script/header changes.
Let’s now discuss the individual elements of PCI DSS Requirement 11.6.1 and how one could meet these individual requirement objectives:
The mechanism is configured to evaluate the received HTTP header and payment page.
The listed techniques included in the guidance highlights several commercial options which will all fully or partially meet this requirement. This includes commercial tooling like the RapidSpike solution discussed earlier along with Cloudflare, and both JScrambler and Report-Uri (doesn’t appear to report on HTTP header modifications) which I’ll discuss later on.
The issues I’m having is around the use of CSP and SRI alone, which configured correctly can be used to evaluate JavaScript discrepancies, I’ve been unable to identify an inbuilt HTTP security feature that can detect CSP tampering and HTTP header evaluation. The only potential way to achieve this is to build a JavaScript component, protected by both CSP and SRI, that is able to evaluate the received header and compare this against what should be received and alert to any discrepancies.
To alert personnel to unauthorized modification to the HTTP headers and the contents of payment pages as received by the consumer browser.
The CSP directives; report-to and report-uri are used to report CSP violations which will flag JavaScript code that isn’t permitted to run, providing CSP is configured correctly. I don’t believe this will help report HTTP header modifications or CSP changes, which as discussed above will require a programmatic technique through some JavaScript. These two directives will trigger reporting each time CSP issues are picked up within the customer browser.
For SRI, reporting of failures need to be programmatically written by capturing the error event.
External monitoring through synthetic user monitoring, embedded tamper resistant/detection scripts and CDNs will provide the ability to notify personnel of unauthorised modifications.
The mechanism functions are performed at least once every seven days or periodically
Although the requirement calls out for “at least once every seven days”, this is another example of where the PCI DSS Version 4.0 includes an option of a target risk analysis by including the “periodically” option. The recommendation would be to carry out this targeted risk analysis to identify what a suitable timeframe is for “periodically”. Based on your targeted risk analysis, adjust the frequency of your change- and tamper-detection mechanisms accordingly, which may be less than every seven days, depending upon various factors, such as the transaction volume of the e-commerce site.
By implementing these measures, you can better ensure that your environment remains secure and compliant with the new PCI DSS Version 4.0 requirements. These hardening techniques greatly improve the client-side security of the application, so I would personally recommend implementing all measures.
Commercial Solutions
Although the above highlights some techniques organisations can leverage to meet these new PCI DSS v4.0 requirements, it will very much depend upon the complexities of the JavaScript dependencies used by the organisation. If an organisation leverages a lot of JavaScript code, and more importantly, many teams can be involved in commissioning new JavaScript functionality, it can be very difficult to manage. These HTTP techniques can also be very easy to misconfigure, thus giving a false sense of security. Third-party commercial (and free) tooling can be a huge help with the management of this. In theory, these new requirements only apply to the “Payment Page”, so organisations can reduce their use of JavaScript functionality within these payment pages to make the management more simplistic, however often you will get push back from other teams, for example Marketing, who will insist that JavaScript is necessary in all pages, including the payment page. In addition to this, why limit this to the payment page when often other potentially sensitive information is available within the website that is also at risk of these threats, therefore tooling will make it much simpler to implement these additional security features against the entire website, providing an additional layer of protection and mitigations.
JScrambler
One such third-party tooling is JScrambler that can quickly assist with JavaScript integrity monitoring, though there are open-source tools available which are potentially more technical to implement, as John Elliot describes in his video “Understanding the New PCI DSS Requirements to Prevent E-commerce Skimming Attacks” (a highly recommended watch). Let us look at John’s explanation of JScrambler in greater detail:
Requirement 6.4.3 (Webpage Integrity) consists of four (4) main elements; Inventory, Authorised, Necessary and Integrity, which JScrambler covers. Since JScrambler is loaded into the webpage, it can build an inventory of all JavaScript code within the page in real time. Since an inventory is being built in real time, an organisation can record authorisation of scripts. If a new script appears, JScrambler can be configured to allow the script to run for a configurable period before authorisation is required, or it can be configured to block the script until authorisation is recorded. Within the inventory, JScrambler includes the ability to record a business justification for each script. Finally, integrity is covered by JScramblers ability to delve into the functionality of the script by analysing the functionality and behaviour of the script to determine if the script is doing anything that is questionable and can block the script if it determines that it is acting in a malicious way.
Requirement 11.6.1 (Detect Changes) again John discusses four (4) main elements; Page Content, HTTP Headers, 7 days or periodically and Alert. The first two elements are covered in JScrambler through the JScramblers ‘Webpage Integrity’, page content changes and HTTP Header changes are detected in real time. JScrambler is working on an update which will collate changes across the customer base to provide recommendations if script changes can be deemed as safe or not. As an example, if JQuery provides an update to the script, which is seen across the customer base and an analysis of the functionality and behaviour doesn’t flag anything, JScrambler will be able to provide feedback on the change to suggest that it is probably safe to authorise. Since JScrambler is running within each webpage, this is ‘Realtime’ and therefore goes above and beyond the 7 days or periodically requirement of Requirement 11.6.1. Finally, Alerting is built into JScrambler that can provide email alerts, shown within the JScrambler dashboard, and can be pushed into a SIEM solution.
JScrambler can also identify and block malicious activity along with malicious access into form fields.
Report-Uri
Report-URI is another tool that provides protections against Magecart style attacks, allowing you to meet these new PCI DSS Version 4.0 requirements. Report-URI’s ScriptWatch, is designed to monitor JavaScript dependencies in real time detecting new dependencies and changes in existing ones, providing alerts and auditing capabilities. What I like about Report-URI is an additional tool called, Data Watch, which tracks client-side communications and can provide alerts if data is sent to new destinations.
Wait! If these scripts are in scope, does this make the supplier a service provider?
This was an interesting question that someone posted on a LinkedIn post. The reason this was posted is because a service provider is not just a 3rd party entity that processes, transmits, or stores cardholder data on behalf of its customer, but is also an entity that can impact upon the security of cardholder data of its customer. As we have discussed within this blog, JavaScripts can pose a security risk to the e-commerce payments, hence why this question was raised.
Although many organisations will utilise commercial JavaScripts within their e-commerce platforms, there are a lot of opensource JavaScripts that are used; for example, JQuery, Bootstrap, Angular, etc… where you would struggle to fulfil the PCI DSS service provider requirements. I don’t believe the intention of the PCI SSC and Card Brands was to include the JavaScript developers into scope, these two PCI DSS Requirements were simply included to provide protection mechanisms to this specific threat vector.
My Ramblings
Overall, I think these additional requirements are a great addition to the PCI DSS, this attack vector has been an ongoing issue for many years, so it is great to see it being addressed. Although there are techniques already built into the HTTP Protocol itself to deal with the technical elements of PCI DSS Requirement 6.4.3, PCI DSS Requirement 11.6.1 seems to still be a challenge. I have struggled to identify a way to leverage security features built into the HTTP Protocol itself to check for issues with both the headers and JavaScripts. My only conclusion is that third-party commercial tooling must be used to allow you to meet the full intent of Requirement 11.6.1.
There are definite benefits in looking at commercial tooling to help manage the volumes of JavaScript code that can exist in large and complex e-commerce deployments. The additional benefit of this is that it can be much easier to manage across the entire website, instead of limiting it to just the payment pages. At the end of the day, this attack vector can also be used to access other data, or to deploy other attacks and therefore organisations should be looking at this across the entire website.
Finally, I would love to see JavaScript functionality stripped back from the payment pages. Reducing your attack surface, greatly reduces the risk of a successful attack against this attack vector.
I must admit, I sometimes wonder what the point of the self-assessment questionnaire (SAQ) is, as I often question how thorough entities are with its completion. A lot of people within the industry will come across the term ‘tick-box exercise’, which isn’t limited to PCI DSS, and I bet a lot of PCI professionals have plenty of stories where they have come across entities either not understanding the SAQs or fully appreciating what the requirements intent is, and proceeded to simply ticking the boxes to satisfy their Acquirers requests. A simple Google search for ‘“tick box” PCI DSS’ pulls back many articles mentioning this mentality and culture. I also often wonder what would be uncovered if Acquirers did spot checks of Merchants submitting SAQs, asking to review the evidence that was obtained or reviewed during the completion of the SAQ.
At this point, I think it is worth noting that there are entities out there that do want to do PCI DSS correctly and it’s refreshing to work with these entities, helping them to understand their environments and how the requirements align to their specific payment channels. The company I work for also has some customers who insist on engaging with us to countersign their SAQ submissions, which requires us to physically review evidence in the completion of the SAQ. One would hope that this ‘tick box’ culture is slowly shifting, especially as a day doesn’t seem to pass without some cyber-attack related news.
So, what has this to do with the SAQ Changes?
Let us start with looking at some of the detail within SAQ D for PCI DSS Version 3.2.1. Each SAQ has an ‘Expected Testing’ column, as depicted below.
At the beginning of each SAQ is guidance on how the self-assessment should be completed and what the various options are used for. Within this guidance is also an ‘Expected Testing’ section which says:
“The instructions provided in the “Expected Testing” column are based on the testing procedures in the PCI DSS, and provide a high-level description of the types of testing activities that should be performed in order to verify that a requirement has been met. Full details of testing procedures for each requirement can be found in the PCI DSS.”
The PCI DSS Version 3.2.1 document itself, provides a ‘Testing Procedures’ column, providing much greater details on the expectations on what testing activities should be carried out, as depicted below.
Looking at Requirement 3.1 as an example, the expectation is that BEFORE a ‘Response’ is selected, the entity performs the testing procedures to a satisfactory level in order to provide enough assurance that the response option being selected is justified.
Individual Responses
As you can see from the first screenshot from SAQ D for PCI DSS Version 3.2.1. Requirement 3.1 has multiple individual checks, which require individual responses, i.e., Requirement 3.1.a, Requirement 3.1.b, etc… Additionally, each check has specific ‘Expected Testing’ aligned to them. Fast forward to PCI DSS Version 4.0 and a look at the corresponding requirement and the SAQ D looks quite different, as depicted below.
Yes, the format of the SAQ is similar in Version 4.0, and includes the ‘Expected Testing’ column, however with the introduction of the PCI DSS Version 4.0, the standard has gone through a streamline and simplification exercise, which is a good thing. The flip side to these efforts is that some of these sub-requirement levels have been consolidated into a single requirement, covered off by bullet points instead of individual response actions.
Within the PCI DSS Version 4.0 document, the ‘Testing Procedures’ column has been changed to ‘Defined Approach Testing Procedures’ due to the introduction of the newly added customized approach testing option. This column still has the same function, to define what tests should be carried out to determine the correct response selection. This can be seen by this same requirement that we’ve been looking within the PCI DSS Version 4.0 document, as shown below.
Although it includes the wording “to include all elements specified in this requirement.”, and within the SAQ itself the PCI DSS Requirement text also includes “that include at least the following:”, I wonder if the testing will be as robust as with the individual response items that were included within the SAQs per PCI DSS Version 3.2.1?
PCI DSS Version 4.0 SAQ D for Service Providers
This Service Provider SAQ has seen a couple of minor tweaks to ‘Section 1: Assessment Information’, however a brand-new section has been added; ‘Section 2a: Details about Reviewed Environment’, which goes into significantly more details about the payment environment asking for things like:
Network Diagrams
Storage details of Account Data
Storage details of Sensitive Account Data (SAD)
Details of in-scope system component types
Quarterly scan results
Furthermore, a colleague pointed something else out within SAQ D for Service Providers, which is a requirement for the entity to ‘Describe results as instructed in “Requirement Responses”’, as shown in the following screenshot.
This is moving service providers away from being able to simply tick boxes to meet the compliance requirements of the PCI DSS, which is likely to cause them headaches as they will now need to describe how they have validated each requirement can be marked as “In Place”.
Why Should I be Bothered if it is Done Correctly?
Contractually, by signing the Merchant Agreement, which is the contract entities sign when they sign up to an Acquirer to facilitate card payments, entities are agreeing to maintain a PCI DSS compliant payment environment but ultimately it boils down to business risk. Yes, entities can simply tick the boxes and submit the forms to the Acquirer to make it look like they are compliant, however, the financial risk and brand damage can be quite significant. PCI DSS is designed to mitigate the risk of a payment card data compromise and evolves based on the further evolving threat landscape and hacking techniques used by threat actors targeting these environments. By implementing PCI DSS correctly, entities WILL massively reduce (not remove) the chances of a successful attack and compromise.
I wrote an article entitled “Update on PCI DSS Account Data Compromise Fines” back in 2019 discussing recent changes to Visa’s Account Data Compromise (ADC) fining structure. Basically, it shifted so that significant data breaches, over € 100,000 in fines using a fixed fining structure, would trigger a 5% fine of the entities annual Visa turnover for the previous year.
Looking at the Marriott data breach disclosed in 2018 as many as 383 million guests were impacted, with costs reported in a CNN article “Marriott hasn’t paid the price for its massive data breach” from May 2019 as being as high as $72 million. As the article shows, thankfully for the Marriott, adequate insurance policies were in place which were able to absorb the majority of this fine, however underwriters are looking more at an organisations cyber security maturity and compliance frameworks to determine the level of coverage and cost of insurance premiums.
PCI DSS is becoming a must, where an entity is trying to underwrite a cardholder data environment.
Merchant Level 2 Trend
Something that myself and my work colleagues has noticed of late, is that Acquirers are asking for QSA (Qualified Security Assessor) involvement in Level 2 Merchants completion of the SAQs, often requiring a QSA’s countersigned signature. I do welcome this and not because it gives QSAs more work, but because there is additional assurance that SAQs are completed correctly. The approach that the company I work for (Claranet) follows is like performing a full onsite assessment. For our QSAs to countersign an assessment, they will need to review enough evidence for each applicable PCI DSS requirement to ensure it can be marked in place. The significant difference between this and carrying out a full onsite Report on Compliance (ROC), is that the completion of a ROC Report itself takes much more effort and a considerable number of days above what is required in completing a SAQ. For this reason, it is often cheaper to fulfil a QSA led SAQ due to the simpler end report that is required.
I do wonder what has prompted this trend that we are seeing?
My Ramblings
I must admit, I am a huge fan of the updates in PCI DSS Version 4.0. Streamlining it does simplify the standard, especially for QSAs providing an onsite QSA led assessment. As already mentioned though, I do wonder if it will have an impact on the quality of self-assessments that are carried out by entities.
As for the service provider SAQ changes, if I’m being honest, I’m not too sure of the point of the additional level of detail required within SAQ D for Service Providers. It is highly unlikely that the full SAQ will be shared with customers with the Attestation of Compliance (AOC) being shared instead which doesn’t include any of this additional detail. I’m thinking there are two potential reasons this has been added:
With the intention that services providers will complete the SAQ correctly and complete it as it is intended to be completed providing the additional information and thereby requiring a greater level of understanding of the standard, and;
For after a compromise occurs so the PFI (PCI Forensic Investigation) can review the additional level of details.
As I said at the beginning of this post, I think Merchant agreements should be updated allowing Acquirers to perform spot checks of self-assessment Merchants whereby auditors can review the output of the self-assessment activities to ensure it was done correctly and to the correct level of detail. I think trending this activity would make for a very interesting read……
This blog post helps the reader understand the various SAQs and when they should be used.
Help around SAQs (Self-Assessment Questionnaires) is always cropping up, especially around e-commerce channels as the differences between when to use SAQ A, SAQ A-EP and SAQ D can get somewhat confusing. This blog post aims to provide guidance and tips around the various Self-Assessment Questionnaires (SAQs) that are available for Merchants (and Service Providers) to be completed as part of their PCI DSS reporting responsibilities and highlight any common gotchas.
Who PCI DSS Applies to?
If you take card payments and own a merchant account, i.e. have a Merchant ID (MID) to deposit card payments into, then as part of the Merchant Agreement that you signed, you agreed to maintain a PCI DSS Compliant environment. PCI DSS applies to the environment where storage, processing, or transmission of cardholder data is occurring, including any connected to systems, unless isolated.
If you are a service provider and either store, process, or transmit cardholder data (CHD) on behalf of a Merchant, i.e. an entity with a merchant account, or you can impact upon the CHD of a Merchant, then you are also on the hook for PCI DSS as a Service Provider. Merchants should ensure that this is covered by Service Provider contracts as it is their responsibility, under PCI DSS Requirement 12.8, to ensure all Service Providers are either PCI DSS compliant, or are at least running a PCI DSS compliant service and will support their customers compliance efforts to demonstrate this.
I’ve Outsourced so it Does Not Apply to Me
This is a common misconception. Unfortunately, if you have a MID, and you have outsourced all card payments to PCI DSS Compliant Service Providers, you still have some PCI DSS responsibilities, albeit small, but you still have some.
What are SAQs?
For Merchants (and Service Providers) eligible for submitting SAQs, based upon the total number of card transactions per year, you can assess yourself against the PCI DSS. If a Merchant can self-assess, they need to provide a completed (or several completed) SAQs annually.
The specific SAQ(s) needed will depend upon the characteristics of the payment channel you are completing the SAQ against. SAQs are a subset of the full PCI DSS based on the risks, determined by the card brands and PCI SSC, of a particular payment channel with specific characteristics, which will be discussed later.
There is a total of eight SAQs available to Merchants depending upon their payment channel characteristics as follows:
SAQ
Description
Payment Channels
SAQ A
SAQ A is used where the Merchant is not storing, processing or transmitting CHD as this is being handled by a PCI DSS Compliant Service Provider.
E-commerce and Card-not-Present
SAQ A-EP
SAQ A-EP, again is used where a Merchant is not storing, processing, or transmitting CHD as this is being handled by a PCI DSS Compliant Service Provider. This can only be used for e-commerce payment channels.
E-commerce
SAQ B
SAQ B is used where the Merchant is utilising a POI/PED (Point of Interaction/Pin Entry Device) to take the payment.
Card-Present and Card-not-Present
SAQ B-IP
SAQ B is used where the Merchant is utilising a POI/PED (Point of Interaction/Pin Entry Device) to take the payment.
Card-Present and Card-not-Present
SAQ P2PE
SAQ Point-to-Point Encryption (P2PE) is used where the Merchant is utilising a PCI SSC listed P2PE solution’s supported POI/PED (Point of Interaction/Pin Entry Device) to take the payment.
Card-Present and Card-not-Present
SAQ C
SAQ C is used where the Merchant is using a Payment Application (e.g. ePOS) that is connected to the Internet and do not store CHD.
Card-Present and Card-not-Present
SAQ C-VT
SAQ C-VT is used where a Virtual Terminal (VT) is being used to take the payment with. The VT will be accessed by the Merchant where a member of staff will input the card details on behalf of the cardholder into a website.
Card-not-Present
SAQ D
SAQ D is used when none of the other SAQs fit.
All
Service Providers have a single SAQ that is available to them as detailed below:
SAQ
Description
Payment Channels
SAQ D for Service Providers
Service Providers must complete the SAQ D for Service Providers self-assessment questionnaire.
All
What if my Payment Channels Align to Multiple SAQs?
Prior to PCI DSS Version 3.0, if you operated more than one payment channel, which aligned to multiple SAQs, you had to complete SAQ D. Thankfully, from PCI DSS Version 3.0, this is no longer the case providing your Acquirer will accept multiple SAQ submissions. So, what changed? In PCI DSS Version 3.0 SAQs, the wording changed slightly which meant that you could submit multiple SAQs.
Prior to PCI DSS Version 3.0
With the following statement, the eligibility criteria that followed locked the Merchant into the specific SAQ.
“Such merchants validate compliance by completing SAQ A and the associated Attestation of Compliance, confirming that:
– Your company handles only card-not-present (e-commerce or mail/telephone-order) transactions;
etc.”
From PCI DSS Version 3.0
Within SAQ A (and the other SAQs), a modification was made to change the line above to read.
“SAQ A merchants confirm that, for this payment channel:
– Your company accepts only card-not-present (e-commerce or mail/telephone-order) transactions;
etc.”
Although only a slight change, the ‘for this payment channel‘ allows Merchants to separate the SAQs out for the different payment channels.
SAQ Eligibility
A few times now I’ve mentioned the payment channels characteristics. Characteristics are defined within all SAQs (Self-Assessment Questionnaires) apart from SAQ D since SAQ D covers all PCI DSS (Payment Card Industry Data Security Standard) requirements and is designed for when other SAQs cannot be used. An SAQ cannot be used if it does not meet the SAQ eligibility criteria detailed within the “Before You Begin” section on Page 3 of the SAQ that provides a list of conditions by way of bullet points that must be met before the SAQ can be used by a Merchant. These conditions may list things like (not an exhaustive list):
Connectivity to other systems,
Usage within a single location,
Only accepting a specific type of transaction, i.e. e-commerce or mail/telephone order,
The use of PCI DSS compliant service providers,
SAQs, apart from SAQ D, will contain a subset of PCI DSS Requirements based upon the types of threats, known attack vectors based upon PFI (PCI Forensic Investigator) results and risks associated with a payment channel characteristic. This will be based upon certain conditions, which is why these are defined within the “Before You Begin” section of the SAQ.
If you cannot meet each bullet point, that SAQ cannot be completed; however, it is worth discussing this with the Acquirer since they are the risk owners. They may be open to allowing SAQs which may not quite meet the criteria, if the risk is relatively low; i.e. a very small number of transactions through that particular channel. Where I have seen this crop up is where PEDs (Pin Entry Devices) that connect to a mobile network are permitted to utilise SAQ B and on some occasions where SAQ C-VT has been permitted when the channel doesn’t quite meet the intent of the eligibility criteria.
What are AOCs?
The Attestation of Compliance (AOC) is a PCI DSS document that must be signed off once completing either an SAQ or a Report on Compliance (ROC), which is the report that a QSA must complete if you need to undertake an onsite QSA-led assessment. The AOC will ask you to confirm the different payment channels you support, which payment channels are included in the assessment (SAQ or ROC), describe the environment under assessment, locations included, details of service providers, details of payment applications, acknowledge the eligibility criterial is met (not for SAQ D), validate and attest to specific details of the assessment; i.e. one of the statements is “All information within the above-referenced SAQ and in this attestation fairly represents the results of my assessment in all material respects.” The AOC must be signed as you must attest to the accuracy of the assessment being completed, along with some other things.
Can SAQs be Signed off by a QSA?
Within the AOC is a section for a QSA to complete if you have engaged a QSA to help complete the SAQ. The QSA will detail what support they have provided in case the support only consisted of specific tasks. We are often tasked with completing SAQs on behalf of customers because their board members want assurances that the assessment is done correctly and is impartial to get the best result. This also adds more credibility to the assessment for the Acquirers.
Is it true SAQs can be used to determine the requirements in a ROC?
Yes, this is true, and is also true for Service Provider assessments. What is interesting is that this technique can also be used when completing SAQ D where the organisation is aligning to multiple SAQs across the various payment channels, providing they all meet the eligibility criteria of the SAQs you are aligning them to. So, the simple approach to take would be to utilise the various SAQs to determine which PCI DSS requirements are applicable for each payment channel. If, for example you align to SAQ B-IP and SAQ C-VT for two payment channels. You can go through the SAQs and assess the different channels against the applicable requirements within them. Where PCI DSS Requirements are contained within both SAQ B-IP and SAQ C-VT, you would need to assess both channels against these requirements to determine if they are in place. There is a PCI SSC (PCI Security Standards Council) FAQ on this topic named “Can SAQ eligibility criteria be used for determining applicability of PCI DSS requirements for onsite assessments?”
SAQ Breakdown
Ok, I bet this is what you have all come to this page for. So, lets jump into it; below will list all the SAQs and provide some additional information to help identify when a SAQ can be used and any gotchas.
Entities storing electronic CHD MUST complete SAQ D since all other SAQs includes the following statement within the eligibility criteria:
Your company does not store cardholder data in electronic format.
Details of each SAQ are as follows:
SAQ A
Containing 24 PCI DSS requirements, SAQ A is designed for e-commerce or mail/telephone order merchants (card-not-present) where all cardholder data functions have been completely outsourced to PCI DSS compliant service providers only. This is often used when service providers are providing services such as:
a DTMF (dual-tone multi-frequency) SaaS platform (and the calls are made direct to the service provider’s platform),
a third-party contact centre,
iframe/redirect technologies to support e-commerce payments.
SAQ A, is by far, used more for e-commerce channels that utilise iframe/redirect technologies. Within the requirements contained within SAQ A, some technical requirements in Requirement 2, 6 and 8 cover the webserver(s) handling the redirect/iframe mechanism. Additionally, I will typically include anything that could impact upon the redirect/iframe mechanism for the technical controls within the SAQ; for example, code repositories.
CHD flow for this type of e-commerce channel is from the cardholder’s web browser, directly to the service provider.
There are three points that are worth noting from the eligibility criteria for SAQ A. These are:
Your company has confirmed that all third party(s) handling storage, processing, and/or transmission of cardholder data are PCI DSS compliant;
This is often missed within the SAQs and is worth mentioning. It is up to the merchant to ensure that Service Providers are providing a PCI DSS compliant service. This is echoed within the PCI DSS Requirements 12.8.
Any cardholder data your company retains is on paper (for example, printed reports or receipts), and these documents are not received electronically.
This is included, along with some PCI DSS requirements within Requirement 9, to cover chargeback letters from the Acquirer.
All elements of the payment page(s) delivered to the consumer’s browser originate only and directly from a PCI DSS validated third-party service provider(s).
This is included to ensure that the entire content of the payment page; either the redirect or within the iframe, came from the service provider’s web service.
SAQ A-EP
Containing 183 PCI DSS requirements, SAQ A-EP is designed for only e-commerce channels, where all cardholder data transmission, storage and processing is handled by a PCI DSS compliant service provider. This differs from SAQ A in that the characteristics of this payment channel can impact upon the security of the payment transaction and/or the integrity of the payment page itself. This is due to the nature of how the payment form is built and embedded into the payment page.
Although the CHD flow is still from the cardholder’s web browser to the service provider, the merchant is responsible for building the payment form that will be used to submit the CHD. Known as a Direct Post or JavaScript method, there is much more risk associated with this technically since the Merchant can load a myriad of third-party libraries, or a malicious actor could include JavaScript code that can manipulate or scrap the payment page. This is the technique used by many e-commerce card data compromises and is discussed further in one of my previous blog posts “PCI SSC Online Skimming Blog Post” and is briefly touched on in my “Hacking E-Commerce Payment Channels” blog post.
The key difference between SAQ A and SAQ A-EP is that with SAQ A, the payment form (either following the redirect or within the iframe) is made up of code from the service provider only. With SAQ A-EP, the merchant builds the payment page and the payment form embedded within it.
There is a significant point within the eligibility criteria of SAQ A-EP which is often missed:
Each element of the payment page(s) delivered to the consumer’s browser originates from either the merchant’s website or a PCI DSS compliant service provider(s)
The significance of this is that any third-party libraries that are used within the payment form(s) must be stored on the Merchant’s webserver(s).
As per SAQ A, there is also the criteria that the Merchant is responsible for ensuring the service provider is providing a PCI DSS compliant service as follows:
Your company has confirmed that all third party(s) handling storage, processing, and/or transmission of cardholder data are PCI DSS compliant;
The “Processing e-commerce payments” Visa guidance provides a visual guide on the differences between SAQ A, SAQ A-EP and SAQ D for e-commerce payments.
SAQ B
Containing 41 PCI DSS requirements, SAQ B is designed for brick-and-mortar (card-present) merchants or mail/telephone order (card-not-present) payment channels that do not store electronic CHD. For both payment channels, the payment is facilitated using a POI/PDQ/PED (Point of Interaction/Pretty Damn Quick/PIN Entry Device) device that is standalone and connected to a telephone line. There are a few gotchas with this payment channel:
The device must be connected to a standard telephone line; either via PSTN (Public Switched Telephone Network) or to the Merchant’s internal PBX providing the phone system isn’t IP connected. If the connectivity is via a PBX that is connected to a network, this will introduce an attack vector to the CHD transmission.
If telephone payments are being taken, using the PED, then the voice call must not be over VoIP (Voice over IP) as this will invalidate one of the eligibility criteria (as discussed in a bit).
The PED must be standalone, otherwise this will invalidate one of the eligibility criteria (as discussed in a bit). This means that the PED cannot connect to an ePOS (Electronic Point of Sales) via, for example, a USB or Serial cable.
The Merchant receipts will be in scope for PCI DSS requirements in Requirement 9, unless the PEDs are configured to mask out the middle of the PAN (Primary Account Number), which is the 16+ digit card number.
There are three eligibility criteria that are of interest, which have been discussed above:
Your company uses only an imprint machine and/or uses only standalone, dial-out terminals (connected via a phone line to your processor) to take your customers’ payment card information
The significance of this is that the PED must connect to a phone line.
The standalone, dial-out terminals are not connected to any other systems within your environment
As discussed above, the PED must be standalone and not connect to an ePOS.
Your company does not transmit cardholder data over a network (either an internal network or the Internet)
This is where the voice call, over a VoIP system, invalidates this criterion.
SAQ B-IP
Containing 86 PCI DSS requirements, SAQ B-IP is also designed for brick-and-mortar (card-present) merchants or mail/telephone order (card-not-present) payment channels that do not store electronic CHD. The key difference is that the PEDs are connected via an IP network connection instead of a telephone line connection.
As with SAQ B, PEDs need to be standalone, meaning they cannot connect to any system via a USB or Serial Cable. In addition, the IP connected PED must be isolated from ALL other IP connected devices within the environment (apart from other IP Connected PEDs). These devices must also be validated to the PCI SSC PTS (PIN Transaction Security) program as listed on the PCI SSC website (excluding SCRs; Secure Card Readers).
As with SAQ B, SAQ B-IP cannot be used where CHD is transmitted over VoIP due to the following statement in the eligibility criteria:
The only transmission of cardholder data is from the PTS-approved POI devices to the payment processor;
The other criteria of interest for SAQ B-IP are:
The standalone IP-connected POI devices are validated to the PTS POI program as listed on the PCI SSC website (excludes SCRs);
This is covered within the above paragraph.
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);
This is covered within the above paragraph. One thing to note with this criterion is that it does not prohibit multiple IP-connected POI devices from being used on the same IP Subnet.
The POI device does not rely on any other device (e.g., computer, mobile phone, tablet, etc.) to connect to the payment processor;
This is covered within the above paragraph. As per the eligibility criteria already covered, these devices must be standalone, therefore they must directly connect to the network for all communication.
Technically, PEDs connected via a mobile network (GPRS/3G/4G) align to SAQ B-IP since IP Communication is used. If these devices are provided by the Acquirer, they will usually accept an assessment against SAQ B, but you must ensure this is discussed with the Acquirer and permission is sought.
SAQ P2PE
Containing 33 PCI DSS requirements, SAQ P2PE is also designed for brick-and-mortar (card-present) merchants or mail/telephone order (card-not-present) payment channels that do not store electronic CHD. When the P2PE SAQ was originally released, this was called SAQ P2PE-HW but in April 2015, the “HW” was removed from the title.
The beauty about this SAQ is that it can connect to your internal network, without bringing the network or any other system components into scope. There is no criterion about this device being connected to any other systems due to the encryption mechanism used. With a PCI P2PE deployed solution, only the devices themselves make up the scope of the PCI DSS assessment (and merchant receipts / chargeback letters if they contain the full PAN).
There are a couple of interesting statements in the eligibility criteria as follows:
All payment processing is via a validated PCI P2PE solution approved and listed by the PCI SSC;
Only PCI P2PE accredited solutions can be used if entities wish to assess against SAQ P2PE. The solution needs to match one of the ones accredited on the PCI SSC website, including matching the approved components, POI devices, etc under the “Solution Details” tab by following the solution details link. POI devices must match the hardware/firmware numbers. The P2PE Solutions can be listed here.
The only systems in the merchant environment that store, process or transmit account data are the Point of Interaction (POI) devices which are approved for use with the validated and PCI-listed P2PE solution;
For the payment channel being assessed against SAQ P2PE, only POI devices validated against a PCI-listed P2PE are used. This rules out the use of VoIP with this SAQ where telephone payments are being taken.
There is no legacy storage of electronic cardholder data in the environment;
Since P2PE solutions are often implemented as a replacement to an existing solution, the criterion is ensuring that no storage of electronic CHD exists in the environment. Remember, as discussed earlier, where electronic storage of CHD is in the environment only SAQ D can be used.
Your company has implemented all controls in the P2PE Instruction Manual (PIM) provided by the P2PE Solution Provider.
This is often missed when P2PE Solutions are deployed within an environment. Since all the eligibility criteria must be met before a SAQ can be used, entities need to ensure that the PIM is being followed properly and from the outset. If this isn’t the case, and you cannot evidence that this has and is being followed, entities will default to completing SAQ D unless ALL the P2PE devices are re-born. This often involves sending the devices back to the manufacturer so they can be reshipped with new encryption keys, following the chain of custody requirements. I discuss the importance of the PIM in my “The Importance of the P2PE Instruction Manual (PIM)” blog post.
Finally, it is worth noting that some Acquirers will allow Level 1 Merchants who align to SAQ P2PE to forego a PCI QSA On-site Assessment in favour of a self-assessment against SAQ P2PE. This will often be dependent on using a P2PE solution by the Acquirer.
SAQ C
Containing 154 PCI DSS requirements, SAQ C is designed for brick-and-mortar (card-present) merchants or mail/telephone order (card-not-present) payment channels that do not store electronic CHD. This SAQ has been developed specifically for Merchants whose payment application systems (for example, point-of-sales) are connected to the Internet.
Originally, SAQ C was intended for the franchise industry where a franchisee would utilise the franchise ePOS system of choice to facilitate payments via a broadband type connection to the Internet.
Before exploring this SAQ, it is worth exploring what is meant by “Payment Application”. Usually, this would be something like an ePOS (Electronic Point-of-Sales) system, however, this can expand into other applications supporting card payments. Typically, payment applications are applications involved in storing, processing, or transmitting cardholder data to support authorisation and/or settlement functions. Although, this sounds like there is a myriad of different types of “Payment Applications” that this can cover, the eligibility criteria of the SAQ will limit this.
There are two criteria that is worth noting within SAQ C:
The payment application system/Internet device is not connected to any other systems within your environment (this can be achieved via network segmentation to isolate payment application system/Internet device from all other systems);
As we have seen from some of the SAQs previously, there is also a dependent upon the payment application not being connected to any other systems. One thing to note is that multiple payment applications at the same site can be connected to the same isolated LAN segment. I.e. multiple ePOS systems at the franchisee bricks-and-mortar locations can be in use on the same network.
The physical location of the POS environment is not connected to other premises or locations, and any LAN is for a single location only;
This is most definitely the main criterion that often makes SAQ C not applicable to most entities. Where multiple locations are used and inter-connected for a single Internet POP (point-of-presence), this precludes the use of SAQ C. Even if each location has a separate Internet POP and site-to-site VPNs are used to permitted inter-site communication, this will often fall foul of the criterion mentioned above because often the ePOS will have central administration and therefore will allow connectivity for administrative purposes.
The point of SAQ C is for small retail organisations with single sites or multiple sites that are not inter-connected. The payment application(s) MUST be isolated from everything else.
SAQ C-VT
Containing 83 PCI DSS requirements, SAQ C-VT is designed for brick-and-mortar (card-present) merchants or mail/telephone order (card-not-present) payment channels that do not store electronic CHD. The VT stands for Virtual Terminal which is a web-browser based access to a payment terminal provided by an acquirer, processor, or service provider to authorise payment transactions for card-not-present payments. This SAQ can only be used for entities that process CHD via an isolated computer(s) that connects only to the VT where single transactions are manually entered into the VT.
My personal opinion is to treat this payment channel as card-not-present, even if the cardholder is present since the card has no physical interactions with any devices, unlike where a PED/POI is being used. Transaction charges from the acquirer will differ when using a VT since this type of payment is typically carried out as card-not-present.
Key points from the eligibility criteria are:
Your company’s only payment processing is via a virtual payment terminal accessed by an Internet-connected web browser;
All payment processing must be carried out via the PC using a web browser connected to the service providers VT.
Your company’s virtual payment terminal solution is provided and hosted by a PCI DSS validated third-party service provider;
The VT provider must be a PCI DSS validated service provider. This means that the service provider must have undertaken an on-site QSA led ROC (Report on Compliance) and be able to provide the associated AOC (Attestation of Compliance)
Your company accesses the PCI DSS-compliant virtual payment terminal solution via a computer that is isolated in a single location, and is not connected to other locations or systems within your environment (this can be achieved via a firewall or network segmentation to isolate the computer from other systems);
As with nearly all the other SAQs so far, the system component used to capture the CHD must be isolated. Additionally, this also requires the PCs used to access the VT to be in a single location, therefore you cannot have these PCs over multiple locations within the environment.
Your company’s computer does not have software installed that causes cardholder data to be stored (for example, there is no software for batch processing or store-and-forward);
Processing of CHD is carried out manually, one transaction at a time.
Your company’s computer does not have any attached hardware devices that are used to capture or store cardholder data (for example, there are no card readers attached);
Pretty self-explanatory, capture is via the computer keyboard, or mouse if a virtual keyboard is being used.
Your company does not otherwise receive or transmit cardholder data electronically through any channels (for example, via an internal network or the Internet);
Although we have seen this in previous SAQs, it is worth calling this one out again here. This is because often entities will leverage SAQ C-VT when VoIP is in use. This criterion would prohibit the use of SAQ C-VT where the transmission of CHD is over a VoIP system.
As more and more entities are embracing unified communications, especially as entities start to move to platforms such as Microsoft Teams, entities are finding themselves moving more to an alignment to SAQ D due to some of the eligibility criteria discussed in this blog. I’ve discussed the implications of VoIP in a couple of blogs over the past few years so feel free to look at these if your organisation is using VoIP or unified communications to facilitate telephone payments. Take a look at; VoIP and Small Merchants and New Released PCI DSS Telephone Guidance.
Another common mistake with this SAQ is where Merchants will deploy remote desktop technologies/VDI (Virtual Desktop Infrastructure) to limit the scope to an isolated remote desktop/VDI environment where the virtual terminal is accessed from. Unfortunately, it is simply not viable to align SAQ C-VT in this scenario since the call agent’s desktop used to access the remote desktop/VDI environment is also in-scope because the call agent is using the desktop to input the CHD. The call agent’s desktop and everything else that it has connectivity to is included in scope, which is typically the entire environment. The following eligibility criterium isn’t typically met when a centralised remote desktop/VDI environment is used:
Your company accesses the PCI DSS-compliant virtual payment terminal solution via a computer that is isolated in a single location, and is not connected to other locations or systems within your environment (this can be achieved via a firewall or network segmentation to isolate the computer from other systems)1;
Exploring this criterium, the following issues arise:
The remote desktop/VDI environment is typically in a different location to where call agent PCs are, therefore not in a single location;
The SAQ is design for a computer; i.e. PC or Laptop as indicated within the criterium bullet point, also the PCI Security Council’s FAQ 1443 “What is the Intent of the SAQ eligibility criteria“, this clearly states that the intent of SAQ C-VT is for us through a computer and not a remote desktop/VDI environment through the following statement ‘SAQ C-VT for environments using only web-based virtual payment terminals on a personal computer‘;
The call agent’s PC is “connected to” other systems within the environment; i.e. the remote desktop/VDI environment;
SAQ D (for Merchants and Service Providers)
Containing 375 PCI DSS requirements (Service Provider version, the Merchant version will contain less due to there being some Service Provider specific requirements), SAQ D is designed for use when Merchants don’t meet any of the other SAQs eligibility criteria, when multiple payment channels are being assessed in a single assessment, where electronic CHD is being stored (which may only be temporary) or for ALL Service Provider self-service assessments, using SAQ D for Service Providers.
SAQ D covers all PCI DSS requirements so is often difficult for organisation to attain and maintain PCI DSS compliance.
Where SAQ D is being aligned, segmentation techniques can often be utilised to reduce the scope that PCI DSS requirement apply to, thereby reducing the entities PCI DSS burden and efforts. This is often carried out incorrectly and often segmented systems and networks are often incorrectly deemed out of scope. The PCI DSS discusses segmentation as meaning isolation which is documented within the following paragraph on page 11 of the PCI DSS.
“Without adequate network segmentation (sometimes called a “flat network”) the entire network is in scope of the PCI DSS assessment. Network segmentation can be achieved through a number of physical or logical means, such as properly configured internal network firewalls, routers with strong access control lists, or other technologies that restrict access to a particular segment of a network. To be considered out of scope for PCI DSS, a system component must be properly isolated (segmented) from the CDE, such that even if the out-of-scope system component was compromised it could not impact the security of the CDE.”
Most entities complete SAQs incorrectly. Either they align an incorrect SAQ by misinterpreting the eligibility criteria, or the assessment carried out is completed incorrectly. The main misconception with completing SAQs is that this is a simple tick-box exercise. This is far from the truth, which often means that entities believe they are PCI DSS compliant, when they are not.
Entities MUST still validate each applicable requirement by following the tasks within the “Testing Procedures” column within the SAQ. Even if an entity believes the requirement to be in place, this still needs to be verified. Where I work at Sec-1, Part of Claranet Cyber Security, we undertake assisted SAQ consultancy where our QSAs will complete the SAQ on behalf of our clients, to provide additional assurance that the SAQ has been completed correctly. The QSA will verify each applicable requirement and complete the SAQ Acknowledgement section to describe what activities the QSA has carried out and provide a signature.
Merchant’s Service Provider Responsibility
Service Providers have a PCI DSS responsibility if they are storing, processing, or transmitting CHD on behalf of their clients, or if they can impact upon the security of their client’s CDE. Where a Service Provider has a PCI DSS responsibility, the service being consumed should be operating in a PCI DSS compliant manner. Service Providers do not have a direct reporting obligation to the card brands; therefore, it is up to the Merchants consuming the service to request evidence that the service is PCI DSS compliant. This can either be done by requesting an Attestation of Compliance from the Service Provider, or by including the Service Provider within the Merchant’s PCI DSS assessment. The latter would require the Service Provider to supply evidence to the Merchant that all PCI DSS requirements that are applicable for the Service Provider are being met.
Where Service Providers are handling, or can impact upon, over 300,000 transactions per annum, the Service Provider must undertake an onsite QSA led assessment. Where transactions are below 300,000, the Service Provider can conduct a self-assessment against SAQ D for Service Providers.
Merchants have a requirement within PCI DSS under Requirement 12.8, to ensure Service Provider due diligence is carried out, which includes monitoring the Service Provider’s PCI DSS compliance status. Merchants should ensure clauses are within all Service Provider contracts to ensure the Service Provider maintains PCI DSS against a current version of the standard.
Although this blog article provides a lot of useful information regarding the use of SAQs, ultimately the Acquirer will determine an entity’s SAQ obligations for reporting PCI DSS compliance. Since the Acquirer will not understand your operating environment and the way payment flows are working, it is often best to engage a QSA to help understand the environment and payment channels and provide feedback for an Acquirer in helping with the SAQ determination. This is especially true where the Acquirer utilises a ‘PCI Compliance Portal’ to help identify SAQ eligibility as my experience usually highlights that the portal can often identify the wrong SAQ due to incorrect responses to the questions posted by the portal.
Mapping out the cardholder data environment (CDE) and wrestling with the SAQ alignments can be daunting so if you would like QSA assistance then please feel free to reach out to me at Sec-1, part of Claranet Cyber Security on this address info.cybersecurity@uk.clara.net
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;
SAQs
are only used if assessing against the ‘Defined Implementation’ option,
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
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.
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).”
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.
This often crops up from clients wanting to take a risk-based approach to the implementation of PCI DSS requirements. Unfortunately, applying a risk-based approach to whether or not an organisation implements applicable PCI DSS requirements isn’t permitted under the PCI DSS (Version 3.2.1 at time of writing) and is covered in the following PCI SSC (Security Standards Council) FAQ 1252.
The assessment of PCI DSS requirements permits either of the following assessment responses to be applied;
In Place – This response is selected when the testing procedures and assessment has been found to support what is required of PCI DSS,
In Place (with Compensating Control Worksheet) – This response is selected when a supporting CCW (Compensating Control Worksheet) has been found to be implemented in support of the intent of the initial requirement,
Not in Place – This response is selected when the evidence collected to review the implementation of the requirement was found to not exist or was found to be lacking in supporting the intent of the said requirement,
Not Tested – This response would be selected if assessment activities didn’t include a review of evidence to support the assessment of the said requirement,
Not Applicable – This response is given when the requirement has been reviewed and determined not be applicable for the cardholder data environment being assessed.
The ‘Not Tested’ response is usually only used when specific requirements are being omitted from the assessment. A typical example of when this would be used is if an Acquirer wants a Merchant to assess their environment against the PCI DSS Priorities Approach (discussed later on).
So how does Risk work with PCI DSS?
Although a risk assessment cannot be used by the Merchant or a Service Provider to determine if applicable PCI DSS Requirements should be implemented or not, this doesn’t mean that risk isn’t used within the standard. The PCI SSC and participating card brands have produced the self-assessment questionnaire (SAQ) based on risk decisions to determine which requirements are not applicable for various types of payment channels. The selection of the requirements within these SAQs are determined based on the current threat landscape against the different payment channels.
The PCI DSS itself does refer to risk directly and indirectly in various requirements;
Requirement 6.1 – This requirement focuses on the need for the organisation to develop policies and procedures for identifying new vulnerabilities that affect in scope system components and for assigning a risk ranking. This requirement suggests that these risk rankings should be based on industry best practise as well as considering the potential impact of the vulnerability. This requirement is referenced in further requirements which the PCI DSS allows risks to be taken into account.
Requirement 6.2 – Covers patch management of the defined cardholder data environment (CDE) and is the first requirement that references Requirement 6.1 above. Critical vendor-supplied security patches MUST be installed within one month or release, with all other applicable vendor-supplied security patches installed within an appropriate timeframe. This requirement relies on the risk ranking methodology identified in Requirement 6.1 above to identify critical security patches. Most organisations will rely upon vendor risk rankings; however, I always advise clients to include within their risk ranking procedure the ability to perform their own risk assessment to reclassify risk rankings. Some vulnerabilities that are released won’t necessarily have the same impact on every environment.
Requirement 6.5.6 – Requirement 6.5 includes the requirement for the organisation to develop software development processes to address common coding vulnerabilities; such as but not limited to; injection flaws (e.g. SQL Injection, OS Command Injections, LDAP and XPath injection flaws), buffer overflow flaws, insecure cryptographic storage and communication. Requirement 6.5.6 includes a requirement for the organisation to include coding techniques to address “high risk” vulnerabilities as identified within Requirement 6.1.
Requirement 10.2.b – PCI DSS has a requirement (Requirement 10.6.1) to carry out daily log reviews of specific types of events; namely;
All security events,
Logs of all system components that store, process, or transmit CHD and/or SAD,
Logs of all critical system components, and
Logs of all servers and system components that perform security functions.
Requirement 10.6.2.b allows for the organisation to utilise a risk assessment (defined in Requirement 12.2) to determine how often logs that don’t meet the requirement of 10.6.1 need to be reviewed.
Requirement 9.9.2 – Although this requirement doesn’t mention risk assessments or risk rankings, I always advise clients to perform a risk assessment to support this requirement. Requirement 9.9.2 covers the periodic inspection of point of interaction (POI) devices. The key with this requirement is the word ‘periodically’ as follows ‘Periodically inspect device surfaces to detect tampering…or substitution…’. Periodically will be different for different organisations and different scenarios. To determine how often these devices, need to be inspected, the organisation should perform a risk assessment and determine a ‘suitable’ time-frame from the inspection.
Requirement 10.8.1.a – Requirement 10.8.1 is a Service Provider only requirement that is designed to ensure the Service Provider has provisioned for responding to situation where security controls fail. Requirement 10.8.1.a requires the service provider to perform a risk assessment against the failure to determine if the Service Provider needs to carry out any further actions on the back of the control failure. Requirement 10.8.1 adds the necessity for the Service Provider to carry out root cause analysis to identify why the failure occurred and to them implement further controls to prevent the failure from re-occurring.
Requirement 11.2.1.b – Requirement 11.2.1 covers a requirement that organisations carry out quarterly internal vulnerability scans (where applicable). Again, Requirement 6.1 is referenced here because 11.2.1.b includes the requirement that all “high risk” vulnerabilities are resolved, and re-scans are carried out to verify that they are gone.
Requirement 11.2.3.b – This requirement is the same as Requirement 11.2.1.b but covers were internal vulnerability scans are completed as part of a significant change trigger.
Requirement 12.1.1 – Includes a requirement for organisations to review the information security policy at least annual and as needed to reflect changes to business objects or the risk environment.
Requirement 12.2 – Requires organisations to develop and implement a risk assessment process.
PCI DSS Prioritised Approach
This tool has been developed by the PCI SSC and is available for download here (Version 3.2.1 which is the latest version as of writing this blog). The tool splits all the PCI DSS requirements into 6 milestones which are designed to reduce the risk to the CDE as the organisation works through each of the milestones. It can also help to organise the PCI DSS project and team members by splitting the PCI DSS project into smaller tasks, so the overall project isn’t as daunting to the stakeholders involved. This tool has been specifically developed to reduce the risks to cardholder data the further through the milestones the organisation travels.
Will PCI DSS Align More to a Risk Based Approach?
Only the PCI SSC could possibly answer this question. There is already talk amongst the PCI community about the potential of PCI DSS Version 4.0 becoming a more ‘objective driven’ standard. So, what do we mean by objective driven requirements? With objective driven requirements, the requirements will not be prescriptive in what configuration options need setting to meet the intent of the requirement. Instead, the requirement will provide an objective, or goal to achieve, leaving it up to the entity to decide how it will achieve the said objective/goal. How this is achieved, may potentially feed into a risk-based decision.
This isn’t new, if you take a look at the PCI SSC released 3DS Core Security Standard (Version 1.0 at the time of writing), this approach is already used. Within the Part 1 requirements, “Requirement 5.2.3 Controls are implemented to protect the confidentiality and integrity of accounts and credentials.”, doesn’t provide specifics of how to protect the confidentiality and integrity of accounts and credentials, however the implementation guidance column does provide some hints.
“Implemented controls should protect the confidentiality and integrity of accounts for both local and remote users. The controls should include ensuring that account and credential information is securely transmitted and stored—for example, using strong cryptography—at all times.”
My issues around utilising a more risk-based approach to PCI DSS is how it would realistically work. Utilising a risk-based approach to information security is a tool that is used quite often by organisations to help focus time, effort and money to reducing the risks to areas of the business that are under the greatest threats. Different organisations will have varying levels of risk appetites, with one organisation being very different from another. This is usually an organisations decision to decide what level of risk they are happy to accept and what other risks they are not. Ultimately, this comes down to the organisation to decide. How effective this is will very much depend upon the maturity level of the organisations risk assessment methodology and processes as well as how competent they are at evaluating these metrices. Other industry standards involve this risk assessment process quite heavily, such as ISO 27001.
My concern is that the main stakeholders in the PCI ecosystem; i.e. the payment brands, will be shifting the risk decisions to the individual organisations introducing a situation where the security posture of CDEs across different organisations will be at varying levels.
On the other hand, it could make sense because ultimately, the organisation will be held accountable if a cardholder data breach was to occur.
My PCI Ramblings
Applicable PCI DSS requirements will either have a response of “In Place”, “In Place with CCW” or “Not in Place”. The standard does not give the Merchants or Service Providers the ability to determine if PCI DSS requirements can be omitted based on a risk assessment.
I must admit that I’m quite concerned if the PCI DSS does evolve into a more “Objective” driven approach. My primary concern about this approach is that you will ultimately have organisations being PCI DSS compliant with varying levels of security depending upon their competence and the knowledge of their assessors.
Where entities are self-assessing, I believe these entities may well struggle to understand what the requirements are asking and will therefore potentially implement the requirement poorly as it will not be prescriptive. Where ROCs are being carried out, the degree of security for that entity will come down to the QSAs capabilities, which can vary.
Let’s watch this space and see what PCI DSS Version 4.0 brings!
Many organisations are starting to adopt P2PE technologies as a de-scoping strategy for card-present (CP) channels. Providing that the P2PE solution is a PCI Security Standards Council (PCI SSC) validated solution, which is listed here, these merchants will usually be able to align to (self-assessment questionnaire) SAQ P2PE for the CP channel. This is providing that the organisation meets all the eligibility criteria at the beginning of the SAQ.
One condition for the use of SAQ P2PE is as follows:
All payment processing is via a validated PCI P2PE solution approved and listed by the PCI SSC;
This eligibility criteria ensures that organisations are only using one of the PCI SSC listed and approved PCI P2PE solutions.
Another condition is listed is as follows:
Your company has implemented all controls in the P2PE Instruction Manual (PIM) provided by the P2PE Solution Provider.
This is interesting because organisations will often not realise how important the PIM is. Each PCI SSC validated PCI P2PE solution will have an accompanying PIM. The PIM is there to provide relevant information and instructions ensuring the P2PE deployment is installed and maintained securely. The PIM will provide details of the;
supported hardware,
instructions on installing the Point-of-Interaction (POI) devices,
secure transportation of the POI devices,
tamper monitoring and skimming prevention techniques,
handling/identification of device encryptions issues,
POI device troubleshooting, and
vendors additional guidance.
The PIM will detail specific tasks that have to be followed in order to maintain the P2PE environment. These tasks are there to ensure the solution stays secure throughout its lifecycle. If any of these tasks are not fulfilled, the solution is deemed invalid, and SAQ P2PE cannot be completed.
Under this situation, the organisation will need to re-birth the P2PE devices in order to then bring the environment back into a P2PE compliant state. Re-birthing will usually involve sending the devices back to the manufacture (although some solution can support this mechanism over the Internet), for them to have new encryption keys injected into them before being shipped back. This can be quite a costly and time-consuming exercise.
My PCI Ramblings
On numerous occasions I have come across service providers who are providing a managed installation and/or maintenance service of POIs where there isn’t adequate evidence that the PIM is being followed.
Two different scenarios can exist:
Where an Attestation of Compliance (AOC) has been provided by the service provider, which covers the installation and maintenance service. Often, the AOC will not provide enough narrative to show that the service providers handling of the PIM has been included within the assessment.
Where the service provider doesn’t have an AOC and are unable to provide the necessary evidence that the PIM has been followed during the installation and on-going maintenance of the P2PE POI devices.
This can cause an issue, either the assessment activities will still need to encompass the third parties handling of the PIM, or it is not possible to meet the eligibility criteria of SAQ P2PE.
Where a service provider is carrying out a QSA led or self-assessment PCI DSS assessment of the services which include the handling of PCI SSC validated P2PE POI devices, ensure that the handling of the PIM is included within the scope of the assessment AND that the AOC accurately reflects the fact this this has been assessed.
Where a service provider doesn’t intend to complete a PCI DSS assessment, ensure there are relevant contract clauses for them to provide a PCI DSS compliant service which includes the correct and ongoing handling of the PIM. The service provider will need to provide all the necessary evidence that the service is PCI DSS compliant AND that they are following the tasks highlighted within the PIM.
N.B. Even where a service provider is used to provide the installation and maintenance of the POI devices, there will still be some PCI DSS obligations for the service providers customers (Entities). A good example is with POI device substitution and tamper checks. The entities will most likely need to fulfil PCI DSS Requirements 9.9 along with any specific PIM tasks relating to tamper and substation checks.
Just a short post to discuss two common misconceptions around SAQ B and SAQ B-IP (Self-Assessment Questionnaire) that many members of the PCI community make. This blog post will highlight some of the common misunderstandings that I come across whilst speaking with clients.
Eligibility Criteria Part 1
The following eligibility criteria often means that entities are unable to complete either of these SAQs:
SAQ B: The standalone, dial-out terminals are not connected to any other systems within your environment;
SAQ B-IP: 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);
We come across clients completing these SAQs when they are using POI (Point of Interaction) devices which are either connected to the telephone line, mobile provider or internal network. Often, these same clients will have these devices plugged into an ePOS (electronic Point of Sales) system over a USB or Serial connection.
Connectivity to an ePOS allows the payment amount to be sent to the POI device to save the operator from having to manually enter the payment amount. Subsequently, it also allows for the payment confirmation to be sent to the ePOS software to record payment.
In this situation entities are falling foul of the eligibility criteria identified above, because the POI devices are in fact ‘connected to’ other systems (ePOS) within the environment. Without the proper isolation of the ePOS, this can cause additional scope creep and quite often brings entire networks into scope for PCI DSS assessment activities.
The SAQ to complete for this type of scenario would be SAQ D.
Eligibility Criteria Part 2
SAQ B-IP has the following eligibility criteria;
The only transmission of cardholder data is from the PTS-approved POI devices to the payment processor
PTS (PIN Transaction Security) is a PCI Security Standards Council (PCI SSC) standard for POI devices that capture payment card data. As with all PCI standards, PTS has multiple versions (the latest being version 5.x) with validation being carried out by one of the PCI Recognised PTS Laboratories. The PCI SSC’s website details which devices are accredited, to which version of the PTS standard along with its expiration date.
The wording of the eligibility criteria doesn’t make it clear if merchants can still use expired PTS-approved POI device or not. The PCI SSC FAQ 1302 does state that PCI DSS does not require that current PTS-approved devices be used which is also re-iterated within PCI SSC FAQ 1301.
It is recommended that entities contact their acquirer or payment brand if expired devices are in use within the environment.
Which SAQ should be used for GPRS/3G/4G connected POI devices?
Technically, POI devices with SIM cards which connect to a mobile telephone provider network are still utilising IP (Internet Protocol) based communications and therefore align to that of SAQ B-IP. A lot of the PCI DSS requirements will end up being deemed ‘Not Applicable’ because an entity would not have control over them. For example; firewalling requirements are controlled by the mobile provider as an Internet Service Provider (ISP) and as per FAQ 1044, ISPs only providing an internet connection are not subject to PCI DSS compliance.
Some acquirers however will allow their customers to complete SAQ B. I’ve only come across this where the POI is supplied by said acquirer as they will have completed their own risk assessment of their own supplied POI devices.
My recommendation is to speak to your acquirer and if you are permitted to complete SAQ B, ensure you get this in writing.