Third-Party Service Providers

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

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

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

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

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

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

My Final Ramblings

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

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

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

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

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

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

So how does Risk work with PCI DSS?

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

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

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

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

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

PCI DSS Prioritised Approach

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

Will PCI DSS Align More to a Risk Based Approach?

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

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

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

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

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

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

My PCI Ramblings

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

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

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

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

Why can QSAs be so costly?

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

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

QSA and QSAC

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

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

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

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

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

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

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

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

PCI Consultants

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

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

Why QSAs don’t Turn a Blind Eye

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

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

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

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

My Final Ramblings

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

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

Web Dev/Hosting Responsibilities for SAQ A

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

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

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

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

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

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

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

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

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

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

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

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

So, what exactly does this mean for me?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

My PCI DSS Scoping and Segmentation Methodology

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

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

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

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

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

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

  • Page 6 is quite clear within this statement;

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

The following scoping concepts always apply:

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

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

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

The following bullet point above;

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

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

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

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

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

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

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

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

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

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

The basic concept was;

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

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

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

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

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

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

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

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

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

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

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

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

My Approach

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

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

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

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

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

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

My PCI DSS Rant

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

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

SAQ B and SAQ B-IP Common Misconceptions

Just a short post to discuss two common misconceptions around SAQ B and SAQ B-IP (Self-Assessment Questionnaire) that many members of the PCI community make.  This blog post will highlight some of the common misunderstandings that I come across whilst speaking with clients.

Eligibility Criteria Part 1

The following eligibility criteria often means that entities are unable to complete either of these SAQs:

  • SAQ B: The standalone, dial-out terminals are not connected to any other systems within your environment;
  • SAQ B-IP: The standalone IP-connected POI devices are not connected to any other systems within your environment (this can be achieved via network segmentation to isolate POI devices from other
    systems);

We come across clients completing these SAQs when they are using POI (Point of Interaction) devices which are either connected to the telephone line, mobile provider or internal network.  Often, these same clients will have these devices plugged into an ePOS (electronic Point of Sales) system over a USB or Serial connection.

Connectivity to an ePOS allows the payment amount to be sent to the POI device to save the operator from having to manually enter the payment amount.  Subsequently, it also allows for the payment confirmation to be sent to the ePOS software to record payment.

In this situation entities are falling foul of the eligibility criteria identified above, because the POI devices are in fact ‘connected to’ other systems (ePOS) within the environment.  Without the proper isolation of the ePOS, this can cause additional scope creep and quite often brings entire networks into scope for PCI DSS assessment activities.

The SAQ to complete for this type of scenario would be SAQ D.

Eligibility Criteria Part 2

SAQ B-IP has the following eligibility criteria;

  • The only transmission of cardholder data is from the PTS-approved POI devices to the payment processor

PTS (PIN Transaction Security) is a PCI Security Standards Council (PCI SSC) standard for POI devices that capture payment card data.  As with all PCI standards, PTS has multiple versions (the latest being version 5.x) with validation being carried out by one of the PCI Recognised PTS Laboratories. The PCI SSC’s website details which devices are accredited, to which version of the PTS standard along with its expiration date.

  • The current list of PTS devices can be found here
  • The expired list of PTS devices can be found here

The wording of the eligibility criteria doesn’t make it clear if merchants can still use expired PTS-approved POI device or not.  The PCI SSC FAQ 1302 does state that PCI DSS does not require that current PTS-approved devices be used which is also re-iterated within PCI SSC FAQ 1301.

It is recommended that entities contact their acquirer or payment brand if expired devices are in use within the environment.

Which SAQ should be used for GPRS/3G/4G connected POI devices?

Technically, POI devices with SIM cards which connect to a mobile telephone provider network are still utilising IP (Internet Protocol) based communications and therefore align to that of SAQ B-IP.  A lot of the PCI DSS requirements will end up being deemed ‘Not Applicable’ because an entity would not have control over them.  For example; firewalling requirements are controlled by the mobile provider as an Internet Service Provider (ISP) and as per FAQ 1044,  ISPs only providing an internet connection are not subject to PCI DSS compliance.

Some acquirers however will allow their customers to complete SAQ B.  I’ve only come across this where the POI is supplied by said acquirer as they will have completed their own risk assessment of their own supplied POI devices.

My recommendation is to speak to your acquirer and if you are permitted to complete SAQ B, ensure you get this in writing.

PCI DSS and Multi-Factor Authentication (MFA) Requirements

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

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

The more factors used during the authentication process, the more assurance is provided that the user is who they claim to be.  It isn’t uncommon that users will select weak passwords which can be easily guessed or brute forced, or have already been leaked through password database breaches.  By complementing the authentication process with additional factors, it ensures that the authentication attempt is legitimate, since only that specific user should be able to present the other factors.  The authentication mechanisms are independent of one another, such that access to one factor does not grant access to any other factor, and the compromise of any one factor does not affect the integrity or confidentiality of any other factor

The 2FA terminology was changed within PCI DSS Version 3.2 to MFA.  This change is thought to have been brought in due to the number of queries fielded by the PCI Security Standards Council (PCI SSC) asking if the use of three factors was still PCI DSS compliant.

PCI DSS Version 3.2 introduced a change to requirement 8.3 which originally covered the need for organisations to utilises 2FA for all remote access to the cardholder data environment (CDE) originating from outside the company network.  This requirement has now been split into two sub requirements 8.3.1 and 8.3.2 as follows:

8.3.1 Incorporate multi-factor authentication for all non-console access into the CDE for personnel with administrative access.

This requirement was a best practice requirement in PCI DSS Version 3.2 until 31st January 2018, after which it became a requirement.

8.3.2 Incorporate multi-factor authentication for all remote network access (both user and administrator, and including third-party access for support or maintenance) originating from outside the entity’s network.

Requirement 8.3.2 is the original 8.3 requirement from PCI DSS Version 3.1 whereas, requirement 8.3.1 is a sub new requirement which was introduced within PCI DSS Version 3.2.  Requirement 8.3.1 has been added to further secure administrative non-console access to the CDE from the corporate network.  By non-console, we mean an administrative remote access session; for example, SSH, RDP, VNC, etc…

The reason for this change is that it’s commonplace for organisations to setup an ‘administrative’ or ‘shared services’ network segment which has controlled access into the CDE (i.e. via firewall access control entries).  Within these network segments you will often find a jump-box used for non-console access to system components within the CDE.  All non-console access is tightly controlled from the corporate LAN to the jump-box and then tightly controlled from the jump-box to the CDE.

There is a risk to the CDE from the corporate LAN environment.  Recently, a work colleague (penetration tester) was able to successfully compromise a customer CDE which was configured for access through the use of a jump-box within a shared services network segment.  The attack focused within the corporate LAN environment which was out-of-scope of PCI DSS.  The tester compromised the corporate active directory, gaining Domain Admin privileges within the estate.  From there, the tester was able to gain administrative control over one of the CDE Administrators’ corporate laptop and install a keylogger.  By monitoring the key strokes, the tester was able to obtain the CDE Administrators username/password of the jump-box used to access the CDE.  Since the firewall was configured to restrict access to the jump-box, the tester pivoted all traffic through the compromised CDE Administrators’ corporate laptop, thus gaining access to the jump-box.  Once connected and authenticated to the jump-box, the tester was then able to authenticate against system components within the CDE utilising further username/passwords obtained through the keylogger installed on the compromised CDE Administrators corporate laptop.  Depending on the remote access solution in use, MFA can help to mitigate this type of attack.

Requirement 8.3.1 adds the requirement to incorporate MFA for non-console administrative connections to the CDE.  As indicated within the guidance column within the PCI DSS, MFA can be applied at either the network level or application/system level.  So, in the scenario above, the CDE Administrator would only need to be utilising MFA on the jump-box and not on each system component within the CDE.

Often, organisations will have implemented MFA for remote access into the CDE from the Internet.  I’ve come across organisations who have simplified requirement 8.3.1 by making all access (i.e. Internet and corporate LAN) utilise the remote access solution that is already in place to facilitate remote access to the CDE from the Internet.

Why the PCI DSS Version 3.2.1 SAQ A update isn’t enough!

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.

Service providers and PCI DSS Compliance

So, what is a service provider in PCI terms?

A service provider is a third-party entity storing, processing and/or transmitting cardholder data (CHD) on behalf of a merchant, or that can impact upon the security of the merchant’s cardholder data.  The last part of that statement is often overlooked which means that many service providers which should be in scope for PCI DSS assessment activities are not correctly identified by the merchants. A good example of where this is overlooked is where a service provider is responsible for the management of a Merchant’s webserver where an iframe or web redirect is used to support the payment functionality. The Service Provider would be in scope since they are responsible for the webserver.

The PCI DSS Version 4.0.1 definition is as follows:

Business entity that is not a payment brand, directly involved in the processing, storage, or transmission of cardholder data (CHD) and/or sensitive authentication data (SAD) on behalf of another entity. This includes payment gateways, payment service providers (PSPs), and independent sales organizations (ISOs). This also includes companies that provide services that control or could impact the security of CHD and/or SAD. Examples include managed service providers that provide managed firewalls, IDS, and other services as well as hosting providers and other entities.
If an entity provides a service that involves only the provision of public network access—such as a telecommunications company providing just the communication link—the entity would not be considered a service provider for that service (although they may be considered a service provider for other services). See Multi-Tenant Service Provider and Third-Party Service Provider.

As a service provider, what would I need to do?

There are two reporting levels for service providers; Level 1 and Level 2.  These are defined as follows:

  • Level 1 service providers either store, process and/or transmit or can impact upon over 300,000 card transactions per year. For a level 1 service provider to be compliant, the service provider would need to undergo an annual QSA led PCI DSS assessment where a Report on Compliance (ROC) and Attestation of Compliance (AOC) would be completed.
  • Level 2 service providers either store, process and/or transmit or can impact upon less than 300,000 card transactions per year. For a level 2 service provider to be compliant, the service provider can complete an annual self-assessment questionnaire (SAQ) and Attestation of Compliance (AOC).  For service providers, only the ‘SAQ D for Service Providers’ SAQ can be completed.  Which PCI DSS requirements from SAQ D are in scope for assessment activities will depend on what service the service provider provides its customers. To provide further assurance, Level 2 service providers can engage a QSA to complete an assessment against SAQ D For Service Providers and countersign the AOC. Some Merchants may insist on this as part of contractual obligations as middleground between an SAQ and performing a full ROC led assessment.

N.B. the card transaction volume is across all the service provider’s clients’ transaction volumes so this 300,000 transactions per year can easily be achieved.

Should I choose a level 1 or level 2 service provider?

This will depend on how many transactions per year your organisation is handling through the service provider and what Merchant Level you are.  All level 1 merchants or service providers should insist on engaging service providers which are level 1.  If the service provider is handling more or close to the 300,000 transactions per year, then you should also insist on engaging service providers which are level 1.  Remember, 300,000 transactions is not per customer but a combined number of transactions handled by the service provider annually.

If the service provider can provide assurances that they are under the 300,000 level and you are not a level 1 merchant, then a self-assessment AOC would suffice, however ultimately it is up to the Merchant if a self-assessment AOC, a QSA completed self-assessment AOC or a full AOC based on a QSA Led Report on Compliance assessment.

Do service providers need to be PCI DSS compliant?

There is no legal requirement for a service provider to become PCI DSS complaint.  Additionally, there is no contractual obligations that service providers have with the Participating Payment Brands (Payment Brand) for a service provider to be PCI DSS compliant.  That said, as per PCI SSC FAQ 1312 some payment brands may have their own requirements for using compliant service providers so merchants should contact their acquirer (merchant bank).  For example, to connect to VisaNet, the service provider has to be PCI DSS compliant.

So, what does this mean?

It’s quite simple, since there is no legal requirement for service providers to provide an attestation of compliance (AOC) document to their customers, it will be dependent on the merchant’s acquirer and/or payment brands, or the contractual obligations within the customer’s service contract.

What does this mean for merchants engaging these service providers?

A merchant engaging a service provider without a valid AOC would need to first check with their acquirer to ensure they are able to engage non-PCI DSS compliant service providers.  If this is ok, the merchant will need to include the service provider within their own PCI DSS assessment activities.  What this means is that for all PCI DSS requirements which are deemed in scope for the service provider, the merchant or the merchant’s Qualified Security Assessor (QSA) will need to perform an assessment:

  • of configuration settings,
  • of policies and procedures, and
  • activity to carry out interviews of third party personnel.

For the merchant this can introduce additional costs since assessment activities are extending to one or more service providers which may require additional site visits.  Additionally, the risk of a merchant failing an assessment is increased since the merchant has no control over the service providers compliance program.

What does this mean for the service provider?

It is advantageous for service providers to undergo a PCI DSS assessment (Annual Assessment) and produce an AOC.  It can;

  • Save the service provider the additional resource of undergoing multiple client assessments,
  • Provide a competitive advantage as many merchants will not want the additional headache of adding service providers to their assessment scope,
  • Enable the service provider to be listed on Visa and MasterCard‘s service providers listing program,
  • Some payment brands may require merchants to only engage PCI DSS compliant service providers as part of their PCI DSS obligations,
  • PCI DSS is a good data security standard which will help service providers to meet a baseline security standard, and
  • By establishing a formal PCI DSS program, the service provider will not be in a position where an ad-hoc customer PCI DSS assessment of the service provider may fail, causing the customers overall PCI DSS compliance assessment to fail.

My final ramblings

There may be circumstances where the acquirer and/or payment brand requires a merchant to only engage a PCI DSS compliant service provider.  Given the fact that some acquirers and/or payment brands may require service providers to be PCI DSS compliant, and that a valid AOC from a service provider simplifies a merchant’s PCI DSS assessment activities, it makes more sense for organisations to ensure that all services providers in scope for PCI DSS can provide a valid AOC.  This also gives the organisation additional assurances to the security posture of the partner they are engaging with.

PCI Forensic Investigator (PFI) Investigations

When Account Data Compromises (ADC) occur, a subsequent PCI Forensic Investigator (PFI) investigation follows.  These investigations are intended to identify how the compromise occurred and what account data is deemed at risk.  It is important to determine what account data is at risk so the necessary monitoring or re-issuing of cards can be carried out.  Additionally, ADC penalties levied by the card brands are often determined based on the number of cards at risk.

There are two types of PFI investigations; PFI Lite and full PFI.  All level 1 to 3 merchants will undergo a full PFI investigation following an ADC , level 4 merchants may be eligible for a PFI Lite investigation but only if they meet the following criteria;

  • Less than 10,000 Visa cards deemed at risk,
  • Merchant does not process card payments by Virtual Terminals or ePDQ, and
  • Merchant utilises no more than three electronic environments (i.e. three webservers or workstation/laptop involved in the transmission of CHD).

Typically, merchants who qualify for a PFI Lite investigation not only qualify for a reduction in ADC penalties, but will also not be required to undergo a Report on Compliance (ROC) which is a QSA (qualified security assessor) led PCI DSS assessment.

Level 2 to Level 4 merchants who undergo a full PFI investigation will be required to undergo a ROC.  Usually, only Level 1 merchants / service providers would undergo a ROC assessment.

This ROC activity can increase the organisations overall post-breach costs due to the added expense of having to undergo a QSA led assessment.

The PFI Program Guide V3.0 (at the time of writing) details within Appendix A a scope and methodology for PFIs to follow:

  • PFI Company determines the scope of the investigation along with any relevant sources of electronic evidence. (Participating Payment Brands have the ability to modify the scope),
  • PFI Company will acquire electronic evidence from host and network based systems,
  • All electronic evidence must be preserved in a way that can be reviewed and analysed by a court of law (if applicable),
  • Forensically examine electronic evidence to find cardholder data and ascertain how the compromise or other security issue may have occurred.
  • Verify that cardholder data is no longer at risk and/or has been removed from the environment,
  • Verify that the incident has been contained,
  • All PCI SSC approved PFI Report templates must be used. There are three types of report templates which are available;
    • Preliminary Incident Response Report,
    • Final PFI Report,
    • PIN Security Requirements Report.
  • PFI Company must ensure that contracts ensure that all PFI Report and work papers are permitted to be shared with the affected Participating Payment Brands and acquirers as required,
  • All forensic reports must be the independent work product of the PFI Company,
  • Perform external and internal vulnerability scans (network and applicable level),
  • Identify and determine all cardholder data that is deemed at risk as per the compromise,
  • Determine a timeframe of accounts at risk,
  • Perform incident validation and assessment; i.e. how the incident happened, the source of the incident, determine the window of the vulnerability (i.e. time frame between released patches/fix and remediation), determine exposure of cryptographic keys, etc,
  • Identify what PCI Standards and applicable requirements apply; i.e PCI DSS, PCI PTS, PCI PA-DSS, etc,
  • What threat indicators are identified (i.e. malicious toolkits, malware, malicious IP addresses, etc.),
  • Provide details analysis and feedback regarding all inconclusive PFI investigations and reasons why.

All organisations will be required to have an incident response plan (IRP) providing detailed instructions on security incident management and post breach responses. Which sub-requirements of PCI DSS requirement 12.10 are in scope will depend on the organisations payment environment and reporting requirements.  The PCI Security Standards Council (PCI SSC) released a guidance document called Responding to a Data Breach in 2015 which provides further assistance for organisation to plan for such events.