This blog post discusses how to carry out ASV (Approved Scanning Vendor) scans properly as we often come across customers that are not fulfilling them in a way that allows them to fulfil the ASV scan requirement(s). This blog will cover the following topics:
Who needs an ASV scan?
What is PCI ASV?
Who can perform these scans?
How do you determine the scope of PCI ASV?
Sampling
Three Months
The PCI DSS ASV Requirements
Questions to ask the ASV Solution provider
Scan Report
Doing it properly
Ramblings
Who needs an ASV Scan?
Not all entities required to be PCI DSS Compliant are in scope for PCI DSS Requirement 11.3.2, which requires External ASV Scans. It very much depends on how the entity is taking card payments, which in turn determines which Self-Assessment Questionnaire (SAQ) the entity aligns with. Some SAQs require ASV scans, some do not.
What is PCI ASV?
PCI ASV refers to the external vulnerability scanning required to fulfil PCI DSS Requirement 11.3.2 and sub-requirements. ASV stands for “Approved Scanning Vendor” since only PCI SSC (PCI Security Standards Council) approved scanning vendors are permitted to carry out these scans on behalf of entities that require them as part of their PCI DSS (PCI Data Security Standard) compliance activities.
Approved scanning vendors must adhere to the “PCI Approved Scanning Vendor Program Guide” (ASV Program Guide), which at the time of writing, was Version 4.0 Revision 2. Within this guide, the PCI SSC sets out the expectations of the Scan Customer and the Approved Scanning Vendor through topics such as:
Roles and Responsibilities,
Scan Process
ASV Scan Solution – Required Components
Scan Reporting
Quality Assurance
Approved scanning vendors must renew their ASV Solution annually, this involves paying the necessary ASV Program fees to the PCI SSC along with passing an ASV test rig which is designed to ensure the ASV Scanning Solution is able to detect a myriad of vulnerabilities against different types of system components and that the reporting is up to the necessary standards. The PCI ASV Program Guide specifies three reports (can be included in a single document) as follows:
ASV Scan Report Attestation of Scan Compliance
ASV Scan Report Summary
ASV Scan Report Details
The supplied templates within the PCI ASV Program Guide MUST be followed for the first two reports. The ASV Scanning company can customise the ASV Scan Report Details report format providing all the content detailed in the PCI ASV Program Guide is included.
Who can perform these scans?
As discussed above, only PCI SSC Approved Scanning Vendors (ASV) can fulfil the external scanning requirements for PCI DSS compliance. Scanning customers should check the PCI SSC website to validate an ASV Company is approved by the PCI SSC to carry out external scanning. The ASV Company and the scan solution that was approved is listed here.
Other companies offer ASV scanning through a reseller model with one of the listed ASVs and may or may not provide wrap around services to assist with the scanning; for example, managing scans, providing additional remediation support, etc.
How do you determine the scope of PCI ASV?
PCI ASV Scanning must be carried out against all Internet ingress/egress points to any system components that are in scope for the PCI DSS Assessment activities. This includes the defined Cardholder Data Environment (CDE) and any additional environments that are supporting the CDE or can access the CDE. Scoping the CDE very much depends on any segmentation (for the purpose of PCI DSS, this means ISOLATION) that is in place to potentially de-scope systems or entire network environments from scope. If in doubt, it is best to engage a QSA (Qualified Security Assessor) to confirm the scope to ensure the ASV scans are fulfilling what is required.
ALL public IP (Internet Protocol) addresses that are routed to the in-scope environment and ALL URLs (Uniform Resource Locator) that point to any of the public IP addresses MUST be included within the scans. If any are not included, then this may result in the ASV Scan not being adequate and could result in a non-compliant report.
Sampling
I’m afraid that as per the PCI ASV Program Guide, ASV scanning MUST include the complete external footprint of the CDE, as well as any externally facing environments/system component that may provide access to the CDE or could impact the security of the CDE. For this reason, sampling of the in-scope external facing system components is NOT PERMITTED.
Three Months
This is worth calling out because this could land you in trouble, depending on if your QSA has twigged. PCI DSS Version 4.0 introduced a section called “Description of Timeframes Used in PCI DSS Requirements”. This section now describes what is meant by the various timeframes that are within the PCI DSS Requirements. The descriptions also provide examples of what the expectation is, which now defines ‘Every three months’ aka “quarterly” as being ‘At least one ever 90 to 92 days, or on the nth day of each third month’, referred to as the “Scan Window”.
Why is this important? It is important because the wording within the Requirement (we will do a deep dive of the requirements in a moment) utilises the language of ‘every three months’, therefore the expectation and what needs to be assessed, is that each ASV scan follows that defined scan window, and unfortunately if the scans do not, the PCI DSS Requirements will not be met and will result in a failing assessment, which (see below), cannot be remediated until the quarters ASV scans follow the defined scan window. Depending on which scan has fallen outside of this defined period, will determine how long it would take to get back into compliance.
Compensating Controls
What is a ‘Compensating Control’? This is a mechanism built into the PCI DSS to allow organizations who have a legitimate technical or business constraint whereby a PCI DSS Requirement cannot be met explicitly as stated within the standard. For PCI DSS 4.x, this is referring to the “Defined Approach Requirement”. An entity can leverage the compensating control mechanism to implement other security measures to meet the original intent of the PCI DSS Requirement that cannot be met, thus mitigating the risk associated with not meeting the original PCI DSS Requirement. The implemented measures MUST meet the intent and rigor of the original PCI DSS Requirement.
So what! A lot of QSAs used to resolve issues of missing ASV scans and missing ‘historical’ activities like this (for example, missed daily log reviews) through the use of a compensating control. Unfortunately, these compensating controls cannot now be used for this, therefore there is no current mechanism within the PCI DSS to allow for remediation of past events that have been missed, not until a time machine is invented and entities can go back in time to fix the issues.
This is explicitly called out within Appendix B ‘Compensating Controls’ of the PCI DSS where criteria 6 states:
‘Address the requirement currently and in the future. A compensating control cannot address a requirement that was missed in the past (for example, where performance of a task was required two quarters ago, but that task was not performed).’
The PCI DSS External Scanning Requirements
This section will look at the ASV Requirements within the standard.
Requirement 11.3.2
‘External vulnerability scans are performed as follows:
• At least once every three months.
• By a PCI SSC Approved Scanning Vendor (ASV).
• Vulnerabilities are resolved and ASV Program Guide requirements for a passing scan are met.
• Rescans are performed as needed to confirm that vulnerabilities are resolved per the ASV Program Guide requirements for a passing scan.’
External vulnerability scans must be carried out as per the four bullet points above. The first one we have covered already. Scans must be carried out at least once every three months. Remember, there is a defined timeline now for ‘three months’. What this means, which I find interesting, is that potentially failed scan results may need to be submitted to demonstrate scans have been carried out within the defined timelines. Often, I find that during an assessment, you only ever receive passing scan results so you may never receive evidence of the final bullet point being met because you are not necessarily aware that rescans have been carried out.
The third bullet point ensures that remediation is carried out and you receive a passing ASV scan. This element is the one that is requiring a passing scan result, which is validated by the issuance of the ASV scan reports, indicating a passing scan.
Requirement 11.3.2.1
‘External vulnerability scans are performed after any significant change as follows:
• Vulnerabilities that are scored 4.0 or higher by the CVSS are resolved.
• Rescans are conducted as needed.
• Scans are performed by qualified personnel and organizational independence of the tester exists (not required to be a QSA or ASV).’
I wonder how many of you have missed that after a significant change, the external vulnerability scanning requirement doesn’t need an ASV Scan to be conducted, just any vulnerability scan. Looking at Requirement 11.3.2.1, the very last bullet point actually calls out that the scan needs to be performed by qualified personnel and have organizational independence of the tester, but does not need to be an ASV. So, based on this, any standard vulnerability scanner can be used as part of the significant change external scanning, as long as all vulnerabilities with a CVSS (Common Vulnerability Scoring System) score of 4.0 or higher are remediated and rescans performed to show a clean scan.
Although this requirement doesn’t appear to require ASV scanning, I would recommend following the ASV Program Guide for CVSS scoring, so it would be important to ensure the tooling being used aligns to the CVSS scoring requirements. The ASV Program Guide requires that the CVSS Base Score be used in this order:
If the NVD (National Vulnerability Database) entry for a specific CVE identifier includes a CVSSv3.1 score, the ASV must include the published CVSSv3.1 score in the report.
If the NVD entry for the CVE identifier does not include a CVSSv3.1 score, the ASV must include the published CVSSv3.0 score in the report.
If the NVD entry for the CVE identifier does not include either a CVSSv3.1 or CVSSv3.0 score, then the ASV must include the published CVSSv2.0 score in the report.
Finally, if the NVD entry for the CVE identifier does not include any CVSS score (or there is no NVD entry for the CVE identifier), then the ASV must calculate a base score using CVSSv3.1.’
Questions to ask the ASV Solution provider
In theory the ASV Solution provider has met the requirements of the ASV Program Guide and satisfactorily passed the test rig. That said, we do come across situations where the ASV scan has failed to fulfil the PCI DSS Requirement, which is typically due to the solutions handling of URLs (Uniform Resource Locator). Read the section on FQDNs below.
Scan Report
Ensure the scan reports obtained as part of the supplied ASV scanning service aligns to the report templates contained within within the PCI ASV Program Guide appendices. The ASV scanning solution MUST be providing reports in line with the ASV Program Guide. A QSA will typically require the first two reports: the Attestation report & the Summary report. This is because the attestation report alone does not provide details of the scan components that were included within scope, i.e. the IP addresses and URLs. The QSA will need this information to ensure the ASV Scans cover the complete external footprint of the CDE as well as any externally facing system component that may provide access to the CDE and are therefore also in scope for the PCI DSS assessment.
Occasionally the detailed report is needed, where there are noted exceptions, compensating controls or other information that has been submitted as part of the scan. Sometimes a single report is supplied, which includes all three reports in one.
Doing it properly
FQDNs
Unfortunately, even using a listed ASV Company, does not necessarily mean that the scans will be done correctly. I have come across ASV Solutions that do not handle URLs correctly, simply using it to do a DNS lookup and then scan against the IP address only. This is a huge issue because often web traffic to the IP address will direct to a landing page, whereby using the proper FQDN will direct traffic to the correct website by its host header. Host headers will be used by the web service if multiple websites are hosted on the same service or will be used by WAFs/Proxy Servers/Load Balancers (Web Application Firewalls) to direct incoming web requests to the correct internal website resources. If the ASV Solution cannot handle FQDNs correctly, then the traffic will just hit a landing page and not properly scan the website.
Section 5.5 ‘ASV Scan Scope Definition’ of the ASV Program Guide makes reference to ensuring the scans include any unique entryways into system components for the entire in-scope infrastructure.
Scan Window
Additionally, based on the defined Scan Window within the PCI DSS Version 4.x, entities must ensure scans are carried out within this defined timeframe, highlighted earlier in this blog. Failure to do so will result in a failing assessment (or should result in a failing assessment, depending on if your QSAs are aware of this). Unfortunately, as discussed, there will be no way to remediate this and entities will need to wait until the scans are properly in place, which could be nine (9) months depending on which scan wasn’t correct.
Reports
The final point I would like to raise is around the report. The QSA will need to see the correct reports, which must include the full external footprint (IPs AND URLs) in scope for the assessment.
Section 5.5 ‘ASV Scan Scope Definition’ of the ASV Program Guide
As discussed above, section 5.5 of the ASV Program Guide discusses the scope of the ASV scan. The idea of the scan is to ensure the full public footprint of in-scope environments are included in the scan. This includes, but is not limited to:
Domains for web servers
Domains for mail servers
Domains used in name-based virtual hosting
Web server URLs to “hidden” directories that cannot be reached by crawling the website from the home page
Any other public-facing hosts, virtual hosts, domains or domain aliases
It is the scan customers (the entity) responsibility for ensuring the scope is accurate, not the ASV Company. If the scan scope is not clear, a QSA should be consulted to ensure the scope can be validated and confirmed.
Ramblings
FQDN
This IP vs FQDN issue has annoyed me for almost as long as I have been a QSA. I remember many conversations with the PCI SSC on this subject, which prompted a change to the ASV Program Guide and to the ASV Test Rig which should be picking this up. I’m surprised that I come across issues where this still isn’t done properly. I’ve also had conversations with QSAs, whereby they don’t ensure FQDNs are being properly scanned either.
Some ASV Solutions don’t scan using the FQDN properly out of the box and sometimes require the use of additional addons to achieve this scanning. You should ensure that you are scanning with the correct solution to ensure the scans are being carried out correctly.
Scan Window
I find this quite perplexing which is why I have an outstanding question to the PCI SSC regarding the enforcement of this. If the expectation where scans fall outside the defined period of 90-92 days, or on the nth day, then this will and should be a failed assessment (I absolutely have no issues with this), then how are QSACs (QSA Companies) who are following this going to be protected? It is no secret that entities who fail an assessment, will simply shop around until they find a QSAC that will issue a pass. There needs to be something to protect QSACs who are doing their jobs correctly from being penalized. There are other PCI DSS Requirements that have very defined time frames now, therefore without a route to remediated, this could crop up against other requirements, for example Daily log reviews. If a daily log review was missed and a failing assessment issued on the back of it, unless the next QSAC selects the same sampled days, then this issue may not get flagged, at no fault of the QSAC that potentially will then issue a passing assessment. This needs further thought into how protections can be put in place, if the PCI SSC and the Card Brands do want to be this stringent with these types of PCI DSS Requirements.
Sampling
Currently sampling cannot be done for ASV Scanning, rightly or wrongly, this is something that I know happens for some large companies. If this is to be accepted, then it needs to be acceptable to all entities, not just larger companies that have the size and influence to get away with it. I’m all for being pragmatic, but lets put some guard rails in place on how this is going to work within the whole industry, even if it has pre-requisites and one of them is if you are hosting more than x number of websites.
Just a short blog post to not only highlight that in a recent PCI SSC (Payment Card Industry Security Standards Council) blog post “Just Published: PCI DSS v4.0.1”, an updated version to the Payment Card Industry Data Security Standard (PCI DSS) Version 4 has just been released with the PCI DSS Version 4.0.1.
This is a limited revision to the standard which simply includes formatting corrections, typo fixes and further clarifications and intent updates to some of the PCI DSS requirements and guidance information contained within the standard.
Detailed information of the changes are available through a summary change document “Summary of Changes from PCI DSS Version 4.0 to v4.0.1” available through the Councils Document Library.
When does PCI DSS Version 4.0 Retire
Entities have until the end of the year, 31 December 2024, before PCI DSS Version 4.0.1 is mandatory. I would suspect that we may expect another updated after the 31 March 2025 effective date of the new Requirements added in PCI DSS Version 4.0 where the PCI SSC may look to release a minor edit to remove all reference to these new PCI DSS requirements having an effective date of 31 March 2025 and another opportunity to release more clarification updates as time passes.
Requirement 12.8.2 Update
This brings me onto something that has perplexed me now for many years (over 8 years thinking back). I would often moan about this requirement to anyone at the PCI SSC or the Card Brands who would listen to me. Due to the “woolly” wording and guidance on this requirement, I would often struggle to get anything substantial from the entity I’m assessing to help demonstrate this requirement is being met. Often, this is due to the lack of anything substantial coming from the Third-Party Service Providers (TPSPs), often hiding behind the way the requirement has been worded to shy away from any formal commitment.
The clarification update introduced into Requirement 12.8.2 is designed to ensure entity using TPSPs can now obtain the correct written assurances demonstrating its commitment to the security of account data it is directly interacting with or has the capability to impact upon the security of the customers’ account data.
Requirement 12.8.2:
“Written agreements with TPSPs are maintained as follows:• Written agreements are maintained with all TPSPs with which account data is shared or that could affect the security of the CDE.• Written agreements include acknowledgments from TPSPs that TPSPs are responsible for the security of account data the TPSPs possess or otherwise store, process, or transmit on behalf of the entity, or to the extent that the TPSP could impact the security of the entity’s cardholder data and/or sensitive authentication data.”
Although there has been a very slight wording tweak to the last bullet point in Requirement 12.8.2 above, the main clarification comes in from the Applicability Notes, which now reads:
“The exact wording of an agreement will depend on the details of the service being provided, and the responsibilities assigned to each party. The agreement does not have to include the exact wording provided in this requirement.
The TPSP’s written acknowledgment is a confirmation that states the TPSP is responsible for the security of the account data it may store, process, or transmit on behalf of the customer or to the extent the TPSP may impact the security of a customer’s cardholder data and/or sensitive authentication data.
Evidence that a TPSP is meeting PCI DSS requirements (is not the same as a written acknowledgment specified in this requirement. For example, a PCI DSS Attestation of Compliance (AOC), a declaration on a company’s website, a policy statement, a responsibility matrix, or other evidence not included in a written agreement is not a written acknowledgment.”
My only minor issue with this is that there isn’t a closing bracket in that last paragraph, but we cannot have everything!
What does this mean for TPSPs
Although PCI DSS Version 4.0.1 does not become mandatory until the end of 2024, I would suspect that some entities will adopt it sooner, especially if they are still waiting for their annual certification against PCI DSS Version 3.2.1 to expire. For this reason, I would recommend that all TPSPs review, update and re-issue their contracts to ensure that they align to the updates of the PCI DSS Version 4.0.1 to help ensure their customers are able to meet Requirement 12.8.2 of this new PCI DSS Version.
My Ramblings
I am so pleased that this update not only updates the guidance on Requirement 12.8.2 to make it much easier for QSAs to assess against it, but also that the PCI SSC has updated Requirement 12.9.1 to reflect the changes made in Requirement 12.8.2, making it clear what TPSPs need to provide to their customers to help them demonstrate compliance when using their services.
As I have already said, this has been a bug bear of mine for many years, and finally we have an update that I truly hope will help when it comes to holding TPSPs accountable for providing the correct information to help entities meet Requirement 12.8.2.
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……
If you read the above blog, you would have notice that I discuss the potential legal issues surrounding this new “In Place with Remediation” response. The issue being that by using this response, it highlights that an entity, for discussion purposes think of a Service Provider, was at some point over the past 12 months, non-compliant. Depending upon the wording of service contracts, this could cause the entity to be in breach of the contract.
The implications of this meant that if an organisations contract stipulated something like; CompanyABC will maintain a PCI DSS compliant environment throughout the contract period, then this would clearly be in breach. Entities would need to update the wording of contracts in line with saying that they would conduct a PCI DSS assessment annual and obtain an up-to-date AOC on an annual basis to ensure that by falling foul of the “In Place with Remediation” it doesn’t cause any contractual issues.
At the recent PCI SSC (Security Standards Council) Community Meetings, the PCI SSC highlighted that this new response was being ditched, which has now been confirmed within the latest Assessor Newsletter October 2022. I for one am disappointed by this as I did believe that this would allow more visibility to the PCI SSC, Acquirers, Card Brands and Merchants demonstrating which entities are struggling to maintain PCI DSS Requirements between each annual assessment. In my opinion, it also very nicely aligned to one of the PCI SSCs goals of PCI DSS Version 4.0 to promote security as a continuous process.
By removing this response, this means that an entities remediation efforts during the PCI DSS assessment will not be visible. This eliminates the potential implications for any mutual contracts, especially if non compliance clauses were contained within them, from being impacted when sharing the entities annual PCI DSS Attestation of Compliance (AOC) document. Now with this response being shelved, present and future clients and partners will not have this visibility of remediation activities.
What is the solution for Merchants?
One possible solution I thought was to create an additional form for the QSA to complete and submit to the PCI SSC to track PCI DSS Requirements that are causing Merchant’s issues. The announcement from the PCI SSC looks to be going down this route by providing a separate worksheet as part of the assessor’s work product. This could align with the goal of promoting security as a continuous process if implemented correctly.
My opinion is that for Merchants, the worksheet could be incorporated into an appendix within the Merchant’s AOC document, Merchant’s do not have the same contractual issues that Service Providers are faced with therefore this shouldn’t cause any issues as I’m sure the worksheet would be shared with Acquirers and the Card Brands anyway.
How will this work for Service Providers?
The issue with Service Providers is, who do you send this to? My initial thought is that this could still work for Service Providers by allowing QSAs, to complete a similar summary form but as an anonymous submission. Service Providers would not want to submit this to their customer base, nor would they want it being submitted to the PCI SSC. An anonymous version could be submitted by the QSA so the PCI SSC can maintain statistics on PCI DSS Requirements that Service Providers are struggling with.
It could also be mandated by the Card Brands when Service Providers want to be included in any Card Brand service provider listing programs.
What about entities completing SAQs?
I’m going to be somewhat controversial here. You often come across two types of entities that complete the Self-Assessment Questionnaires (SAQs);
Entities that want to do it right and see PCI DSS as a way of them securing their cardholder data environments (CDEs), and
Entities that see it as a simple tick box exercise and don’t really take the process that seriously.
If you are in the industry, you’ll have probably come across that phrase “tick box exercise” not only in relation to PCI DSS but in relation to other security frameworks. Unfortunately, there are entities that still won’t fully embrace these frameworks for what they are, and that is to help the business secure and protect their information systems, data, businesses, and livelihoods. Unfortunately, entities that see PCI DSS as the latter, will not properly engage in filling out the summary form and therefore it will not be of any use.
I have come across the “tick box exercise” mentality during my extensive tenure in this industry, thankfully I have come across clients who do see PCI DSS for what it is, and some clients do request that we complete and countersign the SAQs for them because they want assurances that the assessment is done correctly and independently from the organisation.
A good example I can give for the “tick box exercise” mentality, which I do discuss with clients from time to time, springs to mind. We were once contacted by an entity who had suffered a breach. During the conversation (and almost one of the first things they said) they claimed to be PCI DSS Compliant against SAQ D. The conversation went something like:
Entity: We’ve identified that our e-commerce platform has been breached and we think cardholder data has been compromised. What do we do?
Me: You said you were PCI DSS Compliance against SAQ D, aligned with Requirement 12.10, what does your incident response plan state?
Entity: What does our what state?
Me: Erm……..
Ramblings
One thing that has always frustrated me with the onsite Report on Compliance (ROC) assessment process is where remediation activities are either required due to the entity not really taking their PCI DSS obligations seriously and therefore needing to go through the remediation process, or where the same remediation activities are required for the same PCI DSS Requirements each year. For the latter, this is where I believe a reporting mechanism back to the Acquirer for all Merchant ROCs should hopefully help to reduce the remediation required for these onsite assessments.
The “tick box exercise” is an interesting one. PCI DSS is fantastic for organisations that want to embrace what it is built for, even if organisations do not store, process, or transmit cardholder data (CHD) it is a great framework to follow to protect sensitive data, think the General Data Protection Regulation (GDPR). The issue is that some organisations simply see it as a simple form that needs to be completed and submitted back, without taking the time and effort into understanding what the expectations are on testing each requirement to conduct a proper assessment for each of the in-scope PCI DSS Requirements. What I would love is for the card brands, through the PCI SSC, to commission spot checks against organisations that complete SAQs. As per for QSA Companies (QSACs) that must store their assessment materials for three years, if all entities were forced to do the same, spot checks could be carried out whereby a PCI SAQ Enforcer (yes, that sounds cool) could perform spot checks of entities to see stored evidence that was used by the entity to provide the necessary response to each requirement. This would most definitely improve the quality of assessments that are carried out by the entities themselves. Just a thought!!!
New in PCI DSS V4.0 is the introduction of the “In Place with Remediation” response. Additionally, there have been a couple of notable changes, the “In Place with CCW” response within the ROC (Report on Compliance) has moved. Within SAQ D for Service Providers and Merchants along with within the ROC, a change to how to use the “Not Tested” response option. This blog post will discuss:
Refresher of the previous response options in PCI DSS Version 3.2.1
What is this new response?
Why was it introduced?
How will it be monitored?
Wait, the “In Place with CCW” response has moved?
How has the “Not Tested” response changed?
What is a ‘Partial Assessment’?
My Ramblings
Refresher of the previous response options in PCI DSS Version 3.2.1
As many of you will probably know, within the previous versions of the standard’s ROC (Report on Compliance) and SAQ (Self-Assessment Questionnaire) documents, you were required to provide a single response to each requirement. These were:
Response
Description
In Place
You, your QSA (Qualified Security Assessor) or your ISA (Internal Security Assessor) has carried out the expected testing and determined that the implementation of the requirement has been met, this response is selected. This option should also be selected if the requirement is in place through a service provider and by validating this via the service providers AOC (Attestation of Compliance).
In Place with CCW
You or your assessor has carried out the expected testing and reviewed and validated any Compensating Controls Worksheets (CCW) that have been implemented due to a business or technical constraint against some or everything in scope for the requirement. If the compensating control has been found to meet the intent of the requirement and the expected testing has found that the requirement has been met, this response is selected.
Not Applicable
This response is selected when you or your assessor has reviewed the requirement and, within the context of your CDE and in scope people, processed and technologies, have determined that the requirement does not apply.
Not Tested*
This response is selected when you or your assessor has not performed any review of the requirement and simply ignored it from the assessment activities. This would typically be used when the assessment is being carried out as directed by an Acquirer or Card Brand against a limited set of requirements or to validate against milestones within the PCI DSS Prioritised Approach.
Not in Place
As the response suggests, this is selected if after the expected testing has been carried out, the requirement has been determined to not be met.
* As with the ‘Not in Place’ response, entities cannot be found compliant in PCI DSS Version 3.2.1 and below, if the ‘Not Tested’ response is used.
Although within the most part, these haven’t drastically changed, this blog post will highlight some subtle and not so subtle differences in the PCI DSS V4.0.
What is this new response?
As the introduction says, there is a new response option in PCI DSS V4.0 called “In Place with Remediation”. This response is to be used if, during an assessment, a PCI DSS Requirement is found to be in place, but only after remedial activities have been carried out due to it not being found to be initially met during the assessment.
Why was it introduced?
I can think of two main reasons why this has been introduced. The first being that it gives the card brands and acquirers the opportunity to monitor where entities are continually struggling to maintain PCI DSS Requirements, and second, it allows an entity the ability to handle remediation of PCI DSS Requirements that require historic evidence, which was missed. For example, Quarterly ASV scanning, it is not possible to go back in time to fix a missing quarters ASV scan results so this new option now gives the entity a way to still maintain compliance.
The PCI SSC (Security Standards Council) has made it very clear in the PCI DSS V4.0 Global Symposium and the PCI DSS V4.0 Transitional training that, the use of CCWs to remediate requirements where historic evidence was missing has never been the intention.
In previous versions of the PCI DSS, there was no mechanism for handling requirements found to not be in place due to missing historic evidence, and entities were unable to remediate these issues because there is no mechanism of going back in time (at the time of writing). Therefore, the only two options available would be to leverage the CCW mechanism to assess remediation activities, root cause analysis and what the entity has done to ensure this doesn’t happen in the future, or to issue a failing assessment until a time when enough historic evidence is available to meet the specific requirement.
How will it be monitored?
The intention is that the receiving entities, i.e. acquirers and card brands, will be monitoring this. I am sure where there are re-occurring themes with the same entity, they will flag this going forward.
Not too sure how this will work with service providers though. In the AOC for SAQ D for Service Providers and the corresponding ROC AOC for Service Providers includes section ‘Part 2g. Summary of Assessment’ which is where the entity is supposed to record the requirement responses for each principal requirement. The question really is how service providers’ customers will handle this additional information within the AOC? This could have contractual consequences if contracts are written stating that the service provider must always maintain PCI DSS. If the “In Place with Remediation” is selected, then this highlights that there was a time where PCI DSS hasn’t been maintained by the service provider and therefore could have consequences. Service providers should review the wording of these contracts.
Wait, the “In Place with CCW” response has moved?
The structure of the ROC has changed quite a lot. Where in previous versions of the PCI DSS, the “In Place with CCW” was included as part of the assessment findings options for each requirement, this is no longer the case for the PCI DSS V4.0 ROC. The assessment findings option is included against each Requirement (and sub requirements), however only the following five options are available:
In Place
In Place with Remediation
Not Applicable
Not Tested
Not in Place
This must have been done because “In Place with CCW” doesn’t work if the ‘Customized Approach’ has been used as the implementation and validation method. Also, the use of a compensating control can be identified along with one of the five options identified above. This is a subtle difference but makes sense because a requirement found to not be met during an assessment can be fixed through a compensating control if it turns out that there is a business or technical constraint, however the assessment finding would also allow for the ‘In Place with Remediation’ response.
Under the ‘Defined Approach’ option for each requirement is a Yes/No question telling you to “Indicate whether a Compensating Control was used:” and a text box is provided underneath for further details if the answer is ‘Yes’. This is now how you would record if a compensating control has been used against the requirements within the ROC.
Note: It’s worth pointing out again here that the PCI SSC has made it clear that the use of a compensating control or the prioritized approach method should already be in place BEFORE an assessment takes place. They are not designed as a mechanism to remediated issues and instead the ‘In Place with Remediation’ still needs to be selected.
How has the “Not Tested” response changed?
The usage of the “Not Tested” response has not changed. As indicated at the beginning, this is used when an assessor has simply excluded a requirement from review. The assessor has not performed any validation tasks against the requirement and is unable to form any opinion with regards the state of the requirement within the entities in scope environment.
As discussed above, this may be used if the purpose of the assessment is to assess a subset of the PCI DSS Requirements, for example:
As instructed by an acquirer or card brand,
To validate an entity against a certain milestone against the PCI DSS Prioritised Approach,
Where an entity wants to validate that compliance is being maintained after a significant change to the environment impacting some but not all requirements,
Where a service provider offers services where a subset of the PCI DSS Requirements is in scope for its customers, i.e. a colocation hosting service provider where only physical security controls are in scope.
The fundamental change here is the last bullet point. As already stated above, in previous version of the PCI DSS where “Not Tested” had been used, the entity cannot have a passing assessment. This has now changed in the PCI DSS V4.0, where entities leveraging the “Not Tested” option can have a passing assessment, which will be classed as a ‘Partial Assessment’.
Note: If a service provider is leveraging the “Not Tested” options in PCI DSS V4.0, it is up to the service provider to define what is in scope for the assessment activities.
What is a ‘Partial Assessment’?
Where an entity has used the “Not Tested” response, only a passing partial assessment can be issued. Partial assessments can only be used for entities completing either SAQ D or completing a ROC.
Within the ROC, section ‘1.7 Overall Assessment Result’ provides the option to select if the ROC has undergone a full or partial assessment. Within the corresponding ROC AOC for both Merchants and Service Providers, this is recorded within ‘Section 3 Validation and Attestation Details’.
For SAQ D, the partial assessment is recorded within ‘Part 3. PCI DSS Validation’ under the ‘Section 3: Validation and Attestation Details’ section of the AOC for both Merchants and Services Providers and within this same section at the end of SAQ D, which includes the two pages from ‘Section 3: Validation and Attestation Details’ section of the AOC.
My Ramblings
I really like these changes, especially the “In Place with Remediation”. This holds the entity undergoing the assessment accountable where requirements are not being maintained during the year in between assessments. One of the PCI DSS V4.0 goals is to “Promote security as a continuous process”, which I believe this update will help achieve.
The one issues I have with this additional response is for self-assessment entities. Although this has all been included within the SAQs, I am not convinced that entities will use the “In Place with Remediation” option, even if remediation activities were required during the completion of their SAQs.
One of the most fundamental changes to PCI DSS V4.0 is the introduction of the “Customised Approach” for implementing and validating against the PCI DSS. This has been introduced to give entities the flexibility to implement innovative security controls that may not necessarily align to the prescribed implementation and validation security objectives defined within the standard. Within this blog post we look the following topics:
What is the ‘Defined Approach’?
What is the ‘Customized Approached’?
Do Compensating Controls still have their place?
PCI DSS Requirements without the customized approach option
Mix and match
Changing the approach during an assessment
My Ramblings
Note: Since I originally wrote this blog post and it was being reviewed, the PCI SSC (PCI Security Standards Council) produced a blog post on the 18th July 2022 entitled “PCI DSS V4.0: Compensating Controls vs Customized Approach” which has some overlaps and may be also worth a read.
What is the ‘Defined Approach’?
The defined approach is your traditional method of implementing and validating PCI DSS. Entities will implement security controls as per the PCI DSS requirements and assessors will validate adherence to the requirements as per the prescribed testing procedures.
Where entities are already PCI DSS compliant, these entities should continue to use this option, which is simpler for implementing and validating the PCI DSS requirements.
What is the ‘Customized Approach’?
As already highlighted above, this is a fundamental change to the PCI DSS, which is designed to allow entities to keep current with innovative industry techniques and technologies to defend against current, new, and emerging threats to payment environments. This is achieved by focusing on the objectives of each PCI DSS requirement and allowing entities the opportunity to implement defensive strategies designed to adequately mitigate the risks.
As defined within the standard, this approach is intended for risk-mature entities. The completion of this customized approach must be carried out by way of a robust risk analysis and management approach used to demonstrate how the implemented defensive strategies satisfactorily mitigate the risks imposed by the intent of the PCI DSS requirement.
It’s fair to say by using this approach, there is considerable effort required by the entity to complete a robust targeted risk analysis process to ensure the approach taken to meet the PCI DSS requirements intent is satisfactory. It is the entities responsibility to complete the ‘Controls Matrix Template’ within Appendix E of the PCI DSS V4.0 prior to the assessment, NOT THE QSA. In addition to this, there is much more effort in validating that the approach taken is satisfactory. Each customized approach taken against a requirement will need the assessor assessing the requirement to define bespoke testing procedures to validate it is in place and that it is meeting its desired intention.
Since SAQs (Self-Assessment Questionnaires) are built based upon the inherent risks of a prescribed payment channel type as determined by the payment brands and the PCI SSC SAQs do not support the use of the customized approach. If a SAQ entity wants to leverage this new approach, they must do so using a ROC (Report on Compliance), however these entities must speak to their acquirers or payment brands to determine if they are able to complete a ROC in order to use the customized approach and if they must use a QSA (Qualified Security Assessor) or can utilise an ISA (Internal Security Auditor), if the entity has one, for its completion.
This is not designed to be an easy option where entities want to try and circumvent the prescribed PCI DSS requirements. This approach will require considerable effort from the entity, assessing the targeted risk analysis and designing a suitable testing procedure to validate it meets the mitigation needs of the requirements intent.
Note: For self-assessment entities, this approach cannot be used unless the acquirer or payment brand permits the use of a ROC led by either a QSA or ISA.
Do Compensating Controls still have their place?
This is an interesting question since there were some opinions of whether a compensating control has its place within PCI DSS V4.0 with the introduction of the customized approach. The answer to that question is yes, absolutely.
In PCI DSS V4.0, the use case for compensating controls hasn’t changed. Compensating controls are to be used for requirements where the requirement cannot be met due to a legitimate and documented technical or business constraint. This is referring to when organisations are utilising the ‘Defined Approach’, where an entity cannot meet the prescribed requirement due to a technical or business constraint. Remember, as per previous compensating controls, the implemented security controls must meet the intent and rigor of the original PCI DSS requirement.
Compensating controls can only be used when the entity is using the defined approach for implementing and validating the PCI DSS Requirement.
PCI DSS Requirements without the customized approach option
It is worth pointing out that some of the PCI DSS Version 4.0 Requirements do not support the ‘Customized Approach,’ these are listed below:
Requirement 3.3.1 – SAD is not retained after authorization, even if encrypted. All sensitive authentication data received is rendered unrecoverable upon completion of the authorization process.
Requirement 3.3.2 – SAD that is stored electronically prior to completion of authorization is encrypted using strong cryptography.
Requirement 11.3.2 – External vulnerability scans are performed as follows:
At least once every three months.
By a PCI SSC Approved Scanning Vendor (ASV).
Vulnerabilities are resolved and ASV Program Guide requirements for a passing scan are met.
Rescans are performed as needed to confirm that vulnerabilities are resolved per the ASV Program Guide requirements for a passing scan.
Appendix A2: Additional PCI DSS Requirements for Entities Using SSL/Early TLS for Card-Present POS POI Terminal Connections
“A targeted risk analysis is performed for each PCI DSS requirement that the entity meets with the customized approach, to include:
• Documented evidence detailing each element specified in Appendix D: Customized Approach (including, at a minimum, a controls matrix and risk analysis).
• Approval of documented evidence by senior management.
• Performance of the targeted analysis of risk at least once every 12 months.”
is not included within the requirement list that DO NOT support the customized approach. Not sure if this is an oversight but it seems a little strange that the PCI DSS requirement which requires the supporting documentation to be completed for the customized approach, can be made up of a customized approach.
Mix and match
With the ‘Compensating Control,’ there are three approaches available to entities to implement and validate the requirements in PCI DSS V4.0. Entities have the options to leverage any of these options when implementing and validating the standard. Entities can also leverage different approaches against a single requirement if this is needed based upon differences in the people, process, or technologies in scope for the requirement.
Changing the approach during an assessment
During the PCI SSC “PCI DSS v4.0 Global Symposium,” the council made it clear that the ‘Customized Approach’ and the ‘Compensating Controls’ are not designed to be implemented during an assessment period because of difficulties in validating compliance against the prescribed PCI DSS requirements.
The council also highlighted that in earlier PCI DSS versions, including PCI DSS V3.2.1, some QSAs would sometimes utilise the compensating control mechanism to mark requirements that would technically fail and could not be remediated during the assessment or a remediation period. A good example of this would be PCI DSS Requirement 11.2.1 (PCI DSS V3.2.1) for quarterly vulnerability scanning. If an entity has missed the second quarters vulnerability scanning, then it would not be possible to meet this requirement. Since, currently time travel is not possible, it would therefore be impossible to mark this as “In Place” for potentially 6 months until four quarter internal vulnerability scans are available for assessing. In this type of scenario, the only options are to issue a failing assessment, or as some QSA would do, accept a compensating control which would perform a root cause analysis into why the scan was missed and look at what remedial activities have been implemented to prevent this happening in the future.
A new mechanism has been introduced in PCI DSS Version 4.0 to handle these situations which I will talk about in an upcoming blog post, so please stay tuned!
My Ramblings
The introduction of the ‘Customized Approach’ in PCI DSS V4.0 aims to keep the PCI DSS current against new and emerging technologies, without the need to provide regular updates to the standard by giving entities more flexibility. The recommendation is to only utilise the customized approach when the standard approach and compensating controls are not fit for purpose based on the technologies and/or processes being utilised by the entity. These scenarios should be very few and far between. Overuse of the customized approach will put more of an overhead on the organisation in carrying out targeted risk analysis and will increase the cost of yearly assessments, due to the added workload on the assessors in reviewing the targeted risk analysis, designing suitable testing procedures, and performing the assessment process.
When the PCI SSC first started to discuss a risk-based approach to the standard, my initial thought was how this will impact the security posture of the payment environments. As with other industries, security professionals will have different views on risk and the measurement of risks, as will the entity which will also factor in the entities risk appetite, which again will vary between organisations. One professional may evaluate a risk as being HIGH, whilst another professional may evaluate it as being MEDIUM which is one of the drawbacks of performing risk assessments, especially through a qualitative approach. The expectation would be that the impact rating would always be HIGH, since it could potentially lead to a breach of Cardholder Data (CHD), however the effectiveness of security controls in reducing the likelihood is where there may be differences of opinion. After looking through the updated standard and the customized approach supporting documentation that must be completed within the appendixes, the PCI SSC and card brands have taken measures to try to mitigate this. That said, it will be interesting to trend over time how many CHD compromises occur where a failing PCI DSS Requirement has leveraged the customized approach. I still fear there will be different levels of assessments between QSAs which may end up reducing the overall security posture of environments that leverage this customized approach. This is going to be an interesting point to watch over the years.
Something that cropped up in a conversation the other day is the UKs decommissioning of PSTN (Public Switched Telephone Network) and ISDN (Integrated Services Digital Network) telephone services. In 2015, BT (British Telecom) announced that they plan to switch off PSTN and ISDN services in the UK in 2025 (end of December), click here. This will obviously have a knock-on effect to Merchants who are taking payments using POI (Point of Interaction) devices that connect to the telephone network using an RJ11 (or RJ45 going through an ISDN connection). These Merchants will need to start thinking about a migration strategy to a different solution and what impact this will have on their PCI DSS compliance programs as these payment channels will no longer align to SAQ B (Self-Assessment Questionnaire). SAQ B is designed specifically for payment channels that are utilising standalone-telephone based POI devices.
Caveat: The caveat here, is that some Acquirers will allow 3G/4G connected devices to still align to SAQ B if they are sourced from themselves.
Standalone telephone-based POI devices for card-present (and card-not-present) transactions have been a de-scoping strategy for many organisations where they want to ensure corporate networks remain out-of-scope for PCI DSS compliance. Depending on the migration route taken by Merchants, it may be no longer possible to keep this corporate environment and card data environment (CDE) separate.
Note: If utilising these POI devices for card-not-present payments where VoIP (Voice over IP) is used, SAQ B would have been incorrectly used, unless you have had agreement from your Acquirer, after instructing them that the payment channel is using VoIP.
What do I mean by ‘Standalone’?
By standalone, I’m referring to a device not integrated with any other devices, for example an ePOS (electronic Point of Sales) system. When dealing with the SAQs, this is quite an important distinction otherwise the payment channel may not align to these smaller SAQs of SAQ B or SAQ B-IP. This is due to the eligibility criteria within these two SAQs which states:
“The standalone, dial-out terminals are not connected to any other systems within your environment;”
Unfortunately, this includes any connections to other devices which can include IP Connectivity, Serial Port and USB Port connectivity.
SAQs discussed in this post
This blog will discuss the following SAQs:
SAQ
Entity*
Description
Number of PCI DSS V3.2.1 Requirements
SAQ B
M
SAQ B is used where the Merchant is utilising a POI/PED (Point of Interaction/Pin Entry Device) to take the payment.
41
SAQ B-IP
M
SAQ B is used where the Merchant is utilising a POI/PED (Point of Interaction/Pin Entry Device) to take the payment.
86
SAQ P2PE
M
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.
33
SAQ C
M
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.
160
SAQ D
M
SAQ D is used by Merchants when none of the other SAQs fit.
331
SAQ D for Service Providers
S
Service Providers must complete the SAQ D for Service Providers self-assessment questionnaire.
331
* M = Merchant / S = Service Provider
For more information about PCI DSS SAQs, please visit the following previous blog post “SAQs Demystified”
What options do I have?
There are three main options if Merchants want to still minimise their PCI DSS scope when PSTN is no longer in use within the UK. These options are based on payment channels that previously aligned to SAQ B (i.e., not being used to take telephone payments using a VoIP or Network Connected phone system). These are discussed as follows:
Standalone Mobile network connected POI Devices
Standalone mobile network connected POI devices connect to mobile network provider typically over 3G or 4G communication. To align to SAQ B-IP, POI devices must be standalone, as discussed above. Although SAQ B-IP contains more requirements than SAQ B, if these devices have been sourced via the Acquirer, as caveated above, some Acquirers may allow SAQ B to still be used. It may be worth speaking with your Acquirer if this is the case.
Standalone IP connected POI Devices (Isolated)
Standalone IP connected POI Devices provide connectivity over an organisations network infrastructure. This aligns to SAQ B-IP, providing the eligibility criteria of the SAQ is met. Within this criterion, the POI device MUST BE isolated from all other devices on the network, see below:
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 either directly on the same IP Subnet, or any other routable devices. This will typically be done by segmentation techniques.”
Within this SAQs eligibility criteria, the SAQ also specially details that the POI devices must not rely on other devices for communication to the payment processor, i.e. USB/Serial Connectivity to a ePOS to send payment traffic;
“The POI device does not rely on any other device (e.g., computer, mobile phone, tablet, etc.) to connect to the payment processor;”
If these IP connected devices are sourced through your Acquirer and are on a dedicated internet line with no other devices connected, some Acquirers may provide a report highlighting pertinent requirements from SAQ B-IP that they deem as unnecessary. Therefore, there is the possibility that you will be assessing against a smaller subset of requirements from SAQ B-IP. It may be worth speaking with your Acquirer if this is the case.
Integrated POI Device (traffic is routed via an ePOS)
I often forget about this option because most of the time, these types of deployments will align to SAQ D, instead of SAQ C which many organisations incorrectly align them to. This solution sees a POI device connected via a USB or Serial connection to the ePOS (Payment Application). The ePOS receives the CHD (Cardholder Data) before transmitting it to the payment provider, across the network.
The key issues that cause SAQ C to be invalid with this type of solution:
The solution isn’t adequately segmented from other systems since the ePOS is usually on a flat network at a shop location, which also includes other devices, such as CCTV, Audio equipment, back-office systems, etc… SAQ C requires that no other systems are within the ePOS environment.
Traffic is often routed via the head office (or a centralised network location) for Internet breakout, which isn’t permitted.
Reading the eligibility criteria for SAQ C, both issues will invalidate SAQ C. For these reasons, P2PE becomes the better option where POI devices need to be integrated ePOS systems.
P2PE (Point-to-Point Encryption) POI Devices
The Point-to-Point Encryption standard was initially released in September 2011 with the goal of reducing the scope of PCI DSS assessments for merchants utilising PCI SSC approved P2PE Solutions. This works by de-scoping the CHD since it is encrypted at the point of interaction with the P2PE accredited POIs. CHD is de-scoped in this scenario because:
Only the P2PE solution provider has the facility to decrypt the CHD since the key only exists in the providers decryption environment, and
The solution has been independently assessed against the P2PE Standard and has met the necessary requirements to ensure the solution is secure.
Organisations using P2PE solutions can benefit from not only aligning to SAQ P2PE for that payment channel but also can benefit from de-scoping the network that the P2PE POI devices connect to and transmit across.
Telephone Payment Implications
Since the PCI SSC released the updated “Information Supplement: Protecting Telephone-Based Payment Card Data”, the PCI DSS implications surrounding VoIP are becoming more widely known. The PCI DSS applies to the storage, processing and transmitting of CHD. Due to the ‘transmitting’ of CHD bringing systems into scope, where VoIP is used to support telephone-based payments, the VoIP solution and network(s) that traffic traverses is(are) therefore very much in scope for PCI DSS. Usually, the implication of VoIP is that organisations need to align to SAQ D.
Although there is over 3 years before this impacts telephone connected PEDs, you should keep this in mind to ensure you don’t get caught out and end up being unable to take card payments.
Additionally, if over the next 3 years you plan to replace your ePOS estate and you currently use standalone telephone-based POI devices, you could explore devices that are POS integrated and that leverage a P2PE solution for the POI.
This question has cropped up a few times recently so I thought I would cover this off here. This blog post will cover the following topics:
What are ASV (Approved Scanning Vendor) scans?
Which Self-Assessment Questionnaires (SAQs) require ASV scans?
The ASV Card Brand’s reporting requirement and SAQ paradox
What do I need to scan?
PCI DSS Version 4.0 SAQ Change
What are ASV (Approved Scanning Vendor) scans?
ASV scans are external vulnerability scans that are carried out by vendors who have been approved by the PCI SSC (PCI Security Standards Council) to carry out such scanning. The PCI DSS (Payment Card Industry Data Security Standard) includes requirements under Requirement 11.2.2 (PCI DSS Version 3.2.1) for an organisation to undertake external vulnerability scanning using ASVs. ASV scan solutions are put through a vigorous testing process before it is listed by the PCI SSC as an approved solution that can fulfil ASV Scanning to meet the PCI DSS 11.2.2 Requirements.
Which Self-Assessment Questionnaires (SAQs) require ASV scans?
Entities that must comply with the PCI DSS have differing reporting requirements, depending upon their Merchant or Service Provider Level. The level will determine if the organisation must undergo an onsite assessment by a QSA (Qualified Security Assessor), or if they can submit one or more Self-Assessment Questionnaires (SAQs). SAQs are completed by the Merchant organisation and either submitted to their Acquirer or one of the Card Brands, along with an accompanying AOC (Attestation of Compliance). Although Service Providers can complete a single SAQ type, they wouldn’t typically provide the SAQ itself to their customers, they would simply provide a corresponding AOC indicating they have completed the SAQ.
Apart from SAQ D, SAQs contain a subset of the PCI DSS requirements which are dependent upon specific criteria that must be met by the payment channel(s) used by the organisation.
SAQ Types
There are currently (PCI DSS Version 3.2.1) 9 different types of SAQ. The tables below show the various SAQs available to Merchants and Services Providers, a description of when the SAQ is used, what Payment Channels it applies to and whether or not it contains ASV requirements:
SAQ
Entity*
Description
Payment Channels
ASV Requirements?
SAQ A
M
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 Card-not-Present
NO
SAQ A-EP
M
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
YES
SAQ B
M
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
NO
SAQ B-IP
M
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
YES
SAQ P2PE
M
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
NO
SAQ C
M
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
YES
SAQ C-VT
M
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
NO
SAQ D
M
SAQ D is used by Merchants when none of the other SAQs fit.
All
YES
SAQ D for Service Providers
S
Service Providers must complete the SAQ D for Service Providers self-assessment questionnaire.
All
YES
* M = Merchant / S = Service Provider
For more information about PCI DSS SAQs, please visit the following previous blog post “SAQs Demystified”
The ASV Card Brand’s reporting requirement and SAQ paradox
As we have identified above, some of the SAQs that can be used to demonstrate compliance against the PCI DSS, do not include the ASV Requirements within 11.2.2. Therefore, some entities and QSAs (me included) will therefore take the lack of Requirement 11.2.2 to mean that ASV Scanning is not required for these particular SAQs. After all, it wouldn’t make sense where all card processing has been fully outsourced; i.e. a telephone payment channel being outsourced to a third party, that ASV scanning would be required for SAQ A. What exactly would you run the ASV against, after all, all card processing is handled by a third party?
Where there is a slight disconnect, is when you look at the Card Brand’s reporting or validation requirements. The reporting or validation requirements for Mastercard, American Express (Section 5 of the Data Security Operating Policy {DSOP}), JCB and Discover all require ASV scanning to be carried out. Visa also had the same reporting requirement; however, I’ve been unable to find the corresponding web page to confirm this.
Update 20th June 2022: Mastercard doesn’t have an ASV requirement that is independent of the relevant PCI DSS requirements. The exception to this is where an Account Data Compromise (ADC) has occurred, where Mastercard will want the ASV scans. This is detailed within the “Mastercard Security Rules and Procedures” document under section ‘2.2.6 Mandatory Compliance Requirements for Compromised Entities‘ from the February 2022 version. Visa may have followed a similar approach which is why I may be unable to find the corresponding weblinks.
If you are aligning to an SAQ that doesn’t include Requirement 11.2.2, what do you do?
When I asked this of the PCI SSC, the stock answer was to contact your Acquirer, unfortunately we’ve come across situations where the Acquirer defers this question back to the QSA (Qualified Security Assessor). My approach to this has been, if Requirement 11.2.2 is missing, then ASV scanning has been deemed by the Card Brands as not required for that particular type of payment channel since the SAQ hasn’t included it. Therefore, my advice is not to undertake ASV scanning where SAQs do not include the ASV requirements under Requirement 11.2.2. Although, it wouldn’t do any harm to include ASV scanning as additional security control.
What do I need to Scan?
This can be quite a complex question as it very much depends on the environment. Entities will often utilise segmentation techniques to isolate the payment environment, known as the Cardholder Data Environment (CDE), however this needs to be effective in performing this isolation. A lot of the smaller SAQs above, depend upon isolating the payment channel away from all other systems (IP connected devices) therefore this may be in place, otherwise entities will align to SAQ D and their CDE will most likely encompass their entire IT environment.
The scope of the environment doesn’t just include the CDE, which is the environment that stores, processes or transmits cardholder data (CHD) but also includes “connected to” systems, which are environments that have controlled access into (and potential out of) the CDE. For simplicity, I always include an “connected to” environments as the CDE.
This leads to the question at hand, entities need to scan ALL publicly accessible IP Addresses and URLs of the CDE, or unused routable IPs assigned to the CDE (i.e. Public IP addresses routable to the in scope internet link since a misconfiguration could add the IP address at a further date which may not be picked up by the ASV Scope).
What is important to understand is that it is not the job of the ASV Scanning company to define an entities scope, this is up to the scan customer who should consult a QSA (Qualified Security Assessor) if struggling.
PCI DSS Version 4.0 SAQ Change
With the introduction of PCI DSS Version 4.0, there have not only been changes to the PCI DSS itself, but also to the supporting SAQs. One change that impacts upon this blog post is the introduction of a requirement to carry out ASV scanning for e-commerce payment channels that meet SAQ A under Requirement 11.3.2, which also includes a requirement to carry out ASV Scanning after significant changes, which I covered in a Blog post entitled “Significant Change [Updated]”. As the threat landscape changes, SAQs evolve to meet the current tactics, techniques, and practices (TTPs) behaviours of threat actors.
SAQs are built based upon the risks faced by specific payment channels. PCI DSS requirements are selected to mitigate threats based upon these risks, to make sure the SAQs are proportionate to the risks being faced.
The long-awaited release of the PCI DSS (Data Security Standard) Version 4.0 is finally here. Released by the PCI SSC (PCI Security Standards Council) on the 31st March 2022, this new version is a fundamental shake up of the standard that comes almost nine years after the release of PCI DSS Version 3.0.
This release has taken a lot of time and effort from both the PCI SSC and the industry with THREE Request for Comment (RFCs) phases producing over 6,000 feedback items that the PCI SSC has had to review and comment on.
This post will not cover each and every change within the PCI DSS Version 4.0 since there are a lot. The start of this post will cover a couple of potential questions you may have due to the release of this new version, along with details of some of the specific changes within the standard itself. As always, I’ll include some ramblings at the end.
Do I need to switch to PCI DSS Version 4.0 straight away?
The good news is that there is a generous transition period for all entities to adopt this new version. Entities have two years before PCI DSS Version 3.1.2 is retired, therefore you have until the 31st March 2024 before you are required to align to this new version. Some of the newer PCI DSS requirements are also future-dated, meaning that entities can meet them immediately when PCI DSS Version 3.2.1 is retired, however there is a further 1 year before these future-dated requirements become mandatory within the standard.
All future-dated requirements become mandatory after the 31st March 2025.
Once PCI DSS Version 3.1.2 retires, do I wait for my annual renewal before implementing PCI DSS Version 4.0?
The short answer to this question is NO. As a Merchant, when you signed up for your Merchant Account with your Acquirer, you would have committed to being PCI DSS Compliant. Technically, this means that you need to be compliant with the new version of PCI DSS as soon as the old version retires. This will also likely apply to service providers, who will be under contract with their customers to maintain a compliant PCI DSS environment, therefore, once Version 3.2.1 expires, there will be an contractual requirement for service providers to ensure they are compliant against Version 4.0.
This does not mean you have to be re-certified as soon as PCI DSS Version 4.0 becomes mandatory, you still only re-certify when you current AOC (Attestation of Compliance) expires.
Will it cost more?
Potentially, it will cost more as the standard appears to hold more requirements, but how much more will depend very much on if entities start to leverage the “Customized Approach” which is discussed later on. Additionally, it is unclear at this time, what changes the SAQ and ROC have gone through, which may also impact the time needed to complete. Read my final ramblings at the end of this blog.
Can my QSA start to assess against this now?
When this blog was written, the PCI SSC hadn’t provided the mandatory PCI DSS Version 4.0 training that all QSAs must complete BEFORE being able to assess entities against this new version. I’m not too sure how the PCI SSC intends to highlight which QSAs have attended the required training though, we will have to wait and see.
PCI DSS Goals and Requirements Update
PCI DSS is made up of 6 goals and 12 principal requirements. Between version 3.x and version 4.0, the 6 goals haven’t changed much, apart from the goal of “Protect Cardholder Data” which has been changed to “Protect Account Data”.
The 12 principal requirements of PCI DSS, has seen a few changes to become more relevant as technology enhancements have been made and to make the requirements less ambiguous in their intent, as seen in the table below:
Version 3.x Requirement
Version 4.0 Requirement
1. Install and maintain a firewall configuration to protect cardholder data
1. Install and Maintain Network Security Controls.
2. Do not use vendor-supplied default for system passwords and other security parameters
2. Apply Secure Configurations to All System Components.
3. Protect stored cardholder data
3. Protect Stored Account Data.
4. Encrypt transmission of cardholder data across open, public networks
4. Protect Cardholder Data with Strong Cryptography During Transmission Over Open, Public Networks.
5. Protect all systems against malware and regularly update anti-virus software or programs
5. Protect All Systems and Networks from Malicious Software.
6. Develop and maintain secure systems and applications
6. Develop and Maintain Security Systems and Software.
7.Restrict access to cardholder data by business need to know
7. Restrict Access to System Components and Cardholder Data by Business Need to Know.
8. Identify and authenticate access to system components
8. Identify Users and Authenticate Access to System Components.
9. Restrict physical access to cardholder data
9. Restrict Physical Access to Cardholder Data
10. Track and monitor all access to network resources and cardholder data
10. Log and Monitor All Access to System Components and Cardholder Data.
11. Regularly test security systems and process
11. Test Security of Systems and Networks Regularly.
12. Maintain a policy that addresses information security for all personnel
12. Support Information Security with Organizational Policies and Programs.
PCI DSS Applicability
The ‘PCI DSS Applicability Information’ has been updated within PCI DSS Version 4.0, making more emphasis on the fact that PCI DSS also applies to entities that “could impact the security of the cardholder data environment (CDE)”.
Due to the original wording of the applicability section of the standard, a lot of entities wouldn’t identify service providers that should be in scope for the PCI DSS and would therefore often not include service providers that could impact upon the security of the entities defined CDE. Some, typical examples of these types of service providers can include:
Managed Firewall Providers
Website hosting/development companies where iframe / redirect mechanisms are in use
IT Support companies with access to the CDE
Software developers building applications involved in the storage, transmission and/or processing of CHD
Service providers that can impact upon the security of CHD should either undergo their own assessments to provide clients a completed Attestation of Compliance (AOC) or will need to be part of their customers PCI DSS assessment activities and participate in provide evidence that they are meeting any PCI DSS Requirements that are applicable to them.
Scoping
Additional work has been carried out on the scoping section of the standard. Included within this release of the PCI DSS is reference to “System components, people, and processes that could impact the security of the CDE.”. Previously, the scoping section only referred to system components that either store, process and/or transmit CHD/SAD, whereas now, it is making a distinction between system components directly involved in the payment channels and other system components that should be in scope due to the nature of their connectivity and risk they pose to the environment.
This is nicely re-enforced via “Figure 1. Understanding PCI DSS Scoping”, which includes the distinction between:
CDE: System components directly involved in the storage, processing and transmission of CHD/SAD, and system components with unrestricted connectivity to these system components (i.e. systems on the same network or routed networks with no firewalling), and
Connected-to or Security-impacting Systems: System components with direct or indirect connectivity to the CDE
This is a fantastic new addition to the standard. There is so much confusion and differences of opinion on exactly what timeframes defined within several PCI DSS Requirements mean. This new version of the standard clarifies exactly what is meant by Daily, Weekly, Monthly, etc… in a nice table as below:
Timeframes in PCI DSS Requirements
Descriptions and Examples
Daily
Every day of the year (not only on business days).
Weekly
At least once every seven days.
Monthly
At least once every 30 to 31 days, or on the nth day of the month.
Every three months (“quarterly”)
At least once every 90 to 92 days, or on the nth day of each third month.
Every six months
At least once every 180 to 184 days, or on the nth day of each sixth month.
Every 12 months (“annually”)
At least once every 365 (or 366 for leap years) days, or on the date every year.
Periodically
Frequency of occurrence is at the entity’s discretion and is documented and supported by the entity’s risk analysis. The entity must demonstrate that the frequency is appropriate for the activity to be effective and to meet the intent of the requirements.
Immediately
Without delay. In real time or near real time.
Promptly
As soon as reasonably possible.
Significant Change
There are certain requirements for which performance is specified upon a significant change in an entity’s environment. While what constitutes a significant change is highly dependent on the configuration of a given environment, each of the following activities, at a minimum, has potential impacts on the security of the CDE and must be considered as a significant change in the context of related PCI DSS requirements: • New hardware, software, or networking equipment added to the CDE. • Any replacement or major upgrades of hardware and software in the CDE. • Any changes in the flow or storage of account data. • Any changes to the boundary of the CDE and/or to the scope of the PCI DSS assessment. • Any changes to the underlying supporting infrastructure of the CDE (including, but not limited to, changes to directory services, time servers, logging, and monitoring). • Any changes to third party vendors/service providers (or services provided) that support the CDE or meet PCI DSS requirements on behalf of the entity.
Unfortunately, now this is defined, this is going to cause a massive issue, what happens if the Quarterly ASV scan is conducted on the 93rd day? Or, the scan takes longer than anticipated and was started on the 90th day (or before) but finishes after the 92nd day?
I think the PCI SSC needs to provide some updated guidance on this. The closest thing I have come across which covers this is within FAQ 1087 “For vulnerability scans, what is meant by quarterly?”, which discusses how compensating controls can be used where ASV scans have not quite followed the 3 month requirement. My feeling is that something more specific around this needs to be produced to help QSAs and SAQ (self-assessment questionnaire) entities to follow a consistent approach to deal with these scenarios.
Approaches for Implementing and Validating PCI DSS
Now we get onto the interesting bit, which I’m pretty sure that most people in the industry will have already heard about. PCI DSS Version 4.0 has introduced two approaches for implementing and validating PCI DSS to give further flexibility in how entities are able to meet PCI DSS. These two approaches are called the Defined Approach and the Customized Approach. Let us delve into these a little deeper.
Define Approach
The defined approach is your traditional approach to PCI DSS. An entity will implement the PCI DSS Requirements exactly as they are defined within the standard or will need to use a compensating control if an entity cannot meet the PCI DSS Requirements as they are explicitly defined. Nothing has changed here regarding the implementation and validation of the PCI DSS.
Customized Approach
This major change to PCI DSS Version 4.0 is this customized approach. This allows entities to implement their own controls designed to meet the objective of each PCI DSS Requirement. Since each entity can define their own controls for each requirement, there is no defined testing procedures so each QSA will need to decide on their own testing procedures to validate requirements specific to what the entity has implemented. The intention of this new approach is to give entities greater flexibility in meeting the “intent” of the standard and is designed for risk-mature entities inline with a robust risk-management approach to security.
Requirement Overview
In this version, the policy and procedure documentation requirements are included at the beginning of each Requirement, instead of at the end. Each requirement also includes the need of defined roles and responsibilities to support reach requirements activities.
Requirement 1
Requirement 1 no longer refers to “Firewalls” and instead has changed to reference Network Security Controls (NSCs). In essence, NSCs are performing the function of limiting ingress / egress traffic between environments of different security levels.
Requirement 3
Requirement 3.4.2 is an interesting requirement “3.4.2 When using remote-access technologies, technical controls prevent copy and/or relocation of PAN for all personnel, except for those with documented, explicit authorization and a legitimate, defined business need.”. This is going to be quite difficult to implement with a lot of current remote-access technologies, so it will be interesting to see how this develops until this future-dated requirement comes into force.
The wording around disk-level encryption has been updated to clarify that this is only applicable on removable electronic media OR if this is on non-removable media, then the PAN has to be rendered unreadable by other means. As the applicability notes say, disk encryption can be used, but it cannot be the only mechanism used to protect stored PANs.
Requirement 5
The most notable difference in Requirement 5 is the language. The standard no longer refers to anti-virus within this section and instead discusses anti-malware solutions.
A future requirement is included where entities have identified system components as being not at risk for malware. This future-dated requirement, requires entities to perform targeted risk analysis to determine how often an evaluation should be carried out to determine if the system components in question are still not at risk of malware.
To keep up with enhancements with anti-malware technologies, this new release of the standard now includes the option to perform continuous behavioural analysis of system under the following requirement:
5.3.2 The anti-malware solution(s):
• Performs periodic scans and active or real-time scans.
OR
• Performs continuous behavioral analysis of systems or processes.
Another future-dated requirement is that removable electronic media also needs to be automatically scanned or behavioural analysis needs to be applied when the media is connected.
PHISHING DEFENCES: Requirement 5.4.1 introduces a future requirement that entities must detect and protect personnel against phishing attacks through processes and automated mechanisms.
Requirement 6
The logical flow of Requirement 6 has been improved, change control is no longer in the middle of a requirement covering the development of internal and external software applications and has its own requirement under Requirement “6.5 Changes to all system components are managed securely.”.A future-dated requirement, Requirement 6.4.2, has been added which will enforce the use of an automated technical solution to protect public-facing web application, i.e. WAF.
Requirement 7
The introduction of a few new future-dated requirements include:
A requirement to review user’s access privileges at least once every six months has been introduced.
A requirement to limited access to application / system accounts so they can only be used by the system, application or process that specifically needs to utilise that account.
A requirement to review all access by application / system accounts to ensure they are still relevant and appropriate to the function being performed. The frequency is based upon a risk analysis.
Requirement 8
The start of Requirement 8 explains that it applies to all accounts on all system components, unless specifically called out in an individual requirement. This isn’t unusual and is also called out in Requirement 8 under PCI DSS Version 3.2.1. The only difference is that in PCI DSS Version 4.0, it also calls out that it applies to “System and application accounts”. Some entities may find this problematic if system accounts are set to expire.
Something that has now been included within this update is the need for a “break the glass” administrator access. This is something that I come across whereby organisations will implement a generic account for use in this scenario. The update to the requirement around group, shared and generic accounts now acknowledge this and has been changed to read as follows:
8.2.2 Group, shared, or generic accounts, or other shared authentication credentials are only used when necessary on an exception basis, and are managed as follows:
• Account use is prevented unless needed for an exceptional circumstance.
• Use is limited to the time needed for the exceptional circumstance.
• Business justification for use is documented.
• Use is explicitly approved by management.
• Individual user identity is confirmed before access to an account is granted.
• Every action taken is attributable to an individual user.
The minimum number of characters for a password/passphrase has been increased to twelve characters after the 31st March 2025.
The requirement to change passwords/passphrases at least once every 90 days is still included in this release, with an option to instead analyse the security posture of accounts as defined by requirement 8.3.9 as follows:
8.3.9 If passwords/passphrases are used as the only authentication factor for user access (i.e., in any single-factor authentication implementation) then either:
• Passwords/passphrases are changed at least once every 90 days,
OR
• The security posture of accounts is dynamically analyzed, and real-time access to resources is automatically determined accordingly.
Also, the wording within this requirement (and others now) “If passwords/passphrases are used as the only authentication factor for user access” seems to suggest that if MFA is being used along with passwords/passphrases, then this requirement isn’t applicable.
MFA will be required for all access to the CDE (users and administrators) after the 31st March 2025 as per requirement 8.4.2 as follows:
8.4.2 MFA is implemented for all access into the CDE.
Although, I’m not entirely sure what the point of 8.4.3 unless I’m missing something here, see below:
8.4.3 MFA is implemented for all remote network access originating from outside the entity’s network that could access or impact the CDE as follows:
• All remote access by all personnel, both users and administrators, originating from outside the entity’s network.
• All remote access by third parties and vendors.
The only thing I can think here is that the expectation is that you have to MFA for Remote Access into the corporate network and then you have to also MFA into the CDE itself.
Requirement 10
Another future-dated requirement will see the introduction of automated mechanism to perform audit log reviews. This is due to the difficulties entities would have parsing through the volume of logs manually. This isn’t really viable and there would likely be important logs missed by this manual approach.
Another future-dated requirement is that all organisations will need to be able to detect, alert and address failures of critical security control systems. Currently this is only a requirement for Service Providers, but PCI DSS Version 4.0 is bringing this requirement in for all entities.
Requirement 11
An interesting addition to internal vulnerability scanning is to example the scanning tool configuration to ensure the tool is kept up to date with the latest vulnerability information. This is a good addition to ensure scanning is being carried out against the latest information.
Another addition to internal vulnerability scanning that is future-dated, is that remediation doesn’t just apply to high-risk or critical vulnerabilities. All other vulnerabilities need to also be managed based upon risk analysis and risk rankings as per Requirement 6.3.1.
A final addition to internal vulnerability scanning that is also future-dated, is that authenticatied vulnerability scanning must be carried out.
There has been a slight modification to the penetration testing requirement in this new version. Previously in PCI DSS Version 3.2.1, “Exploitable vulnerabilities” needed to be remediated, this wording in PCI DSS Version 4.0 has been updated to “Exploitable vulnerabilities and security weaknesses”.
Also within the penetration requirements for PCI DSS Version 4.0 is a new future-dated requirement designed to ensure multi-tenant service providers support customer requests to undertake penetration testing or supply penetration testing results already carried out by the provider.
11.4.7 Additional requirement for multi-tenant service providers only: Multi-tenant service providers support their customers for external penetration testing per Requirement 11.4.3 and 11.4.4.
There is a newly, future-dated service provider requirement, to ensure IDPS techniques are able to detect, alert on/prevent, and address covert malware communication channels. IDPS solutions will need to ensure they are able to meet this new requirement before the 31st March 2025, or before which is best practice.
Finally, an interesting addition, and again future-dated requirement is 11.6.1 which introduces the need for entities to deploy change and tamper-detection mechanisms on payment pages to help protect against e-commerce skimming code to try and mitigate the threat from Magecart style attacks, which I talk about in two other blog posts “Hacking E-Commerce Payment Channels” and “PCI SSC Online Skimming Blog Post”.
I wonder if this will appear in the updated SAQ A self-assessment questionnaire??
Requirement 12
There have been several updates to Requirement 12, below are some of the more significant ones.
The risk assessment requirements have been bolstered throughout the standard, there is reference to risk assessment techniques to determine things like frequency of performing a task across multiple PCI DSS Requirements within PCI DSS Version 4.0. Within Requirement 12, there is a future-dated requirement, 12.3.1, which ensures that the risk assessment process for determining the frequency, is re-evaluated at least every 12 months. Additionally, where an entity makes use of the customized approach, there is a requirement in 12.3.2 to ensure that a targeted risk analysis is performed across each requirement making use of this new approach. This is going to make utilising the customized approach a lot more effort for entities to implement, and for QSAs to assess.
Future-dated requirements are included to monitor cryptographic cipher suites and protocols to monitor their continued viability and to monitor, at least annually, hardware and software technologies to ensure they are still fit for purpose and not end-of-life.
12.5 introduces a new requirement, “12.5 PCI DSS scope is documented and validated”. This requirement pulls together some original requirements from the previous standard, i.e. inventory requirements, however, it also includes a requirement for entities to document and validate their PCI DSS scope annually or upon significant changes. A future-dated requirement for service providers ensures that this task is carried out every 6 months.
The security awareness training requirements have been bolstered with a future-dated requirement ensuring that security awareness training content includes awareness of threats and vulnerabilities that could impact the security of the CDE. PCI DSS Version 4.0 gives examples including, but is not limited to:
Phishing and related attacks, and
Social engineering
I’m pleased that PCI DSS Version 4.0 has included an additional requirement under the existing 12.9 requirement from PCI DSS Version 3.2.1. This service provider specific requirement now includes a requirement that service provider support their customers’ requests for information to meet Requirement 12.8.4 and 12.8.5. This is one of the feedback items I submitted as part of the RFC process, that service providers should be providing supporting documentation in support of requirement 12.8.5 as a Merchant wouldn’t be able to build a roles and responsibilities matrix without the help of the service provider.
My Ramblings
I do think there are some good and useful updates to this new version of the PCI DSS, however the new customized approach does concern me on multiple fronts:
Where clients have leveraged this new approach across multiple requirements, will they appreciate the additional effort required to assess these requirements which will increase the time and cost of their annual PCI DSS Assessments? I have already experienced times where we have lost business because other QSAC (QSA Companies) have undercut the number of days quoted to complete an assessment, when you know too well that there is no chance the assessment can be done adequately in the time quoted.
Will this ultimately lower the security posture of entities certifying against the PCI DSS? I can understand that this approach is designed for risk-mature entities who should be well versed in performing adequate risk assessments to build appropriate security controls to meet the objective of the PCI DSS requirement, however, there are varying levels of QSAs, some technical and some less so. Different QSAs may accept implemented security controls, whereas other QSAs may not deem them sufficient in meeting the objective. It will be very interesting to see how this evolves as entities start to utilise this approach and see how the AQM process is used to start validating this by QSACs.