The PCI Security Standards Council (PCI SSC) Self-Assessment Questionnaire A (SAQ A) Version 3.2.1 update (22nd June 2018) saw a single additional requirement added for e-commerce payment channels meeting its eligibility criteria.
PCI DSS Version 3.0 saw an alteration to SAQ A allowing websites that utilise either an iFrame or a web redirect to the payment provider for cardholder data input to align to the SAQ providing that all the eligibility criteria is met. The industry is continuously seeing more attacks against these types of e-commerce channels and as such SAQ A has evolved through the various PCI DSS 3.x updates, the latest being PCI DSS Version 3.2.1.
This latest update has seen the addition of Requirement 6.2, for entities to ensure that supporting webservers, web frameworks and e-commerce platforms are suitably patched. Any vendor released critical security patches must be installed within one month of release. There is no surprise with this additional requirement since unpatched systems are still a common entry point for external threat actors resulting in account data compromises (ADC).
For me (and many other security professionals) SAQ A is still lacking in many areas. Below I discuss some of the areas that I believe should be bolstered for e-commerce deployments that align to SAQ A:
Segmentation
For SAQ A, the only system components in scope are the merchant webserver as detailed within the following SAQ A note:
Note: For this SAQ, PCI DSS Requirements that address the protection of computer systems (for example, Requirements 2, 6, and 8) apply to e-commerce merchants that redirect customers from their website to a third party for payment processing, and specifically to the merchant web server upon which the redirection mechanism is located. Mail order/telephone order (MOTO) or e-commerce merchants that have completely outsourced all operations (where there is no redirection mechanism from the merchant to the third party) and therefore do not have any systems in scope for this SAQ, would consider these requirements to be “not applicable.” Refer to guidance on the following pages for how to report requirements that are not applicable.
Additionally, there is technically no cardholder data environment (CDE) since the e-commerce platform doesn’t store, transmit or process any cardholder data (CHD). For this reason, my approach is to assess the webserver in line with the applicable requirements within SAQ A, regardless of where they are physically located within the entities environment. As a QSA, it is imperative that the PCI DSS assessment follows what is required of the entity being assessed. QSAs are not supposed to ask entities to go above and beyond what is required of them in order to meet the PCI DSS.
My recommendation would always be to place the e-commerce webservers within a DMZ solely for they e-commerce front end functionality, segmented away from all other systems components within the environment. The Internet facing firewall, if configured correctly, will be limiting the attack surface of system components which are Internet connected. A compromise of other systems within the environment may expose vulnerable services upon the e-commerce webserver(s) if they are not segmented from these other systems.
Firewalling
Deploying an Internet firewall is standard practice for all organisations. That said, sometimes these devices can be misconfigured, introducing unnecessary risks. It is common place to implement strict inbound firewall rules, however it is recommended that outbound firewall rules are also restricted to that which is necessary to support the systems and functionality required. Only necessary outbound ports should be enabled but more importantly, destination addresses should be locked down to only the Internet resources that internal systems need access to. This can make it much more difficult to exfiltrate data out of the network and stop command and control (C&C) functionality being used if a threat actor gains a foothold into the organisation.
Anti-virus
It has long been cited that anti-virus software is no longer effective, with John McAfee saying;
“I don’t use AV, I think it’s dead and based on an ancient tech that is no longer relevant. Hacker kits come out 10x faster. AV is a meaningless system. I use phones, flip phones without GPS. I use my samsung phone if I want internet and buy a new one every 2 weeks.”
in a Reddit question and answer session on 20th August 2015.
Although the use of anti-virus software still has its place in providing a defence-in-depth security strategy, more effective controls are available such as software restrictions; i.e. Application whitelisting. Application whitelisting works by systems administrators listing which applications are permitted to run on the host, any other applications/processes will be stopped from executing. This can take some time to setup, however once this is configured it can help to secure systems against malicious programs being executed.
[UPDATE: I’ve included this update to point out that secure coding is vital to the security of the e-commerce website. If a coding vulnerability is exploited, a threat actor can alter the payment flow to start capturing CHD.]
File Integrity Monitoring (FIM)
Requirement 11.5 includes provision for FIM which should alert staff if critical files change, or if files are written to sensitive areas. This can be used to alert staff of a potential compromise by flagging if critical system files are modified / deleted, software configuration files are modified / deleted or if new files are written to areas where they shouldn’t be. These types of activities can be indicative of a potential compromise and allows the entity the opportunity to investigate the source of the alert, thus limiting their exposure. If cloud CMS solutions are used, consider complimenting the solution with some commercial plugins to support FIM.
Logging
The ability to adequately log, track and alert on security events is an important requirement for an organisations ability to respond to a cyber incident. Adequate logs are necessary to obtain a picture of what has happened, how it happened, when it happened and what data is at risk. The ability to answer these questions are important, especially if an ADC occurs. All this information can be used by the payment brands to determine any ADC fines (see my previous post) so it is important that all the necessary information is available to aid in this investigation. Although SAQ A includes requirement 12.10.1, which is to have an incident response plan (IRP), none of the logging requirements from Requirement 10 are in scope, therefore this post breach investigation will be extremely difficult.
It is also worth noting here that the updated data protection law, the GDPR (General Data Protection Regulation) and the DPA 2018 (Data Protection Act 2018) include requirements for entities to contact their Supervisory Authority (SA) within 72 hours of noticing a breach. This requirement is only needed if the breach involves data subjects’ data, therefore it is important for an organisation to not only have a good IRP, but also to have adequate logging in place to aid the investigation process. A complete understanding of the facts will help the organisation understand what has happened, how long it’s been happening and also what, if any, data is at risk. Armed with this information, the organisation is able to manage the incident more effectively, put in place any necessary data subject protections (i.e. fraud detection checking), handle the press more constructively to minimise the negative impact to the company and finally ensure communication to the SA is productive.
ASV
ASV (Approved Scanning Vendor) refers to an external vulnerability scan. These scans must be conducted by a PCI SSC Approved ASV company providing the external vulnerability scan against a scope which is defined by the merchant/service provider. As most of you will be aware, Requirement 11.2.2 which cover the ASV requirements are missing from SAQ A. Bearing in mind that SAQ A isn’t just for e-commerce payment channels, it makes sense that Requirement 11.2.2 isn’t applicable where all payment functions are outsourced to a third-party; for example, a third-party contact centre.
The purpose of the ASV is to identify weaknesses from an external attack vector. Due to the nature of their functionality, e-commerce environments are exposed to the Internet. It is therefore imperative that these environments are scanned regularly for software issues, configuration issues, default/weak credentials and outdated software. Since ASV isn’t a requirement, general external infrastructure and web application scanning products could be used, some of which can offer a continual scanning service to help identify issues.
My Ramblings
I can see how one can get carried away when looking at security measures to help protect an environment from the myriad of threats faced by many organisations. The SAQs are developed based on an analysis of the threat landscape and an analysis of post forensic investigations conducted by PFI Investigations. The SAQs (apart from D) are developed with small businesses in mind with specific types of environments for taking card payments. These SAQs are there to simplify PCI DSS for these entities whilst still providing a level of security which should mitigate the majority of threats faced by these organisations.
For me, this latest update could have gone a little further to help further secure this type of payment channel. My discussions above touch on some additional security controls that I believe would make this channel more secure, as well as helping organisations deal with post compromise activities. As discussed, ADC fines are based upon the number of cards deemed at risk, without adequate logging capabilities it will be extremely difficult to provide assurances as to when the compromise occurred and exactly what data is at risk. Additionally, there are now GDPR obligations which will require adequate logging, monitoring and alerting capabilities. One of the six data protection principles within Article 5 of the GDPR is the ‘integrity and confidentiality’ principle which states:
Personal data shall be processed in a manner that ensures appropriate security of the personal data, including protection against unauthorised or unlawful processing and against accidental loss, destruction or damage, using appropriate technical or organisational measures (‘integrity and confidentiality’).
Organisations are responsible for, and able to demonstrate compliance with the six data protection principles defined within Article 5(1) and is detailed under ‘accountability’ within Article 5(2).
If aligning against SAQ A, consider the discussion above and look to bolster the security controls applied to this environment. Although you will not be assessed against these additional controls, it will further secure the environment and thus reduce the risk of a compromise.
On a final note, I purposely didn’t include Penetration Testing within the main body of this post. My reasoning for this is because Penetration Testing should be part of an organisations overall security program which should be carried out at least annually. This should be done against the entire organisation, regardless of PCI DSS obligations or not.