SAQs Demystified (PCI DSS Version 3.2.1)

This blog post helps the reader understand the various SAQs and when they should be used.

Help around SAQs (Self-Assessment Questionnaires) is always cropping up, especially around e-commerce channels as the differences between when to use SAQ A, SAQ A-EP and SAQ D can get somewhat confusing.  This blog post aims to provide guidance and tips around the various Self-Assessment Questionnaires (SAQs) that are available for Merchants (and Service Providers) to be completed as part of their PCI DSS reporting responsibilities and highlight any common gotchas.

Who PCI DSS Applies to?

If you take card payments and own a merchant account, i.e. have a Merchant ID (MID) to deposit card payments into, then as part of the Merchant Agreement that you signed, you agreed to maintain a PCI DSS Compliant environment.  PCI DSS applies to the environment where storage, processing, or transmission of cardholder data is occurring, including any connected to systems, unless isolated.

If you are a service provider and either store, process, or transmit cardholder data (CHD) on behalf of a Merchant, i.e. an entity with a merchant account, or you can impact upon the CHD of a Merchant, then you are also on the hook for PCI DSS as a Service Provider.  Merchants should ensure that this is covered by Service Provider contracts as it is their responsibility, under PCI DSS Requirement 12.8, to ensure all Service Providers are either PCI DSS compliant, or are at least running a PCI DSS compliant service and will support their customers compliance efforts to demonstrate this.

I’ve Outsourced so it Does Not Apply to Me

This is a common misconception.  Unfortunately, if you have a MID, and you have outsourced all card payments to PCI DSS Compliant Service Providers, you still have some PCI DSS responsibilities, albeit small, but you still have some.

What are SAQs?

For Merchants (and Service Providers) eligible for submitting SAQs, based upon the total number of card transactions per year, you can assess yourself against the PCI DSS.  If a Merchant can self-assess, they need to provide a completed (or several completed) SAQs annually.

The specific SAQ(s) needed will depend upon the characteristics of the payment channel you are completing the SAQ against.  SAQs are a subset of the full PCI DSS based on the risks, determined by the card brands and PCI SSC, of a particular payment channel with specific characteristics, which will be discussed later.

There is a total of eight SAQs available to Merchants depending upon their payment channel characteristics as follows:

SAQDescriptionPayment Channels
SAQ ASAQ A is used where the Merchant is not storing, processing or transmitting CHD as this is being handled by a PCI DSS Compliant Service Provider.E-commerce and Card-not-Present
SAQ A-EPSAQ A-EP, again is used where a Merchant is not storing, processing, or transmitting CHD as this is being handled by a PCI DSS Compliant Service Provider.  This can only be used for e-commerce payment channels.E-commerce
SAQ BSAQ B is used where the Merchant is utilising a POI/PED (Point of Interaction/Pin Entry Device) to take the payment.Card-Present and  Card-not-Present
SAQ B-IPSAQ B is used where the Merchant is utilising a POI/PED (Point of Interaction/Pin Entry Device) to take the payment.Card-Present and  Card-not-Present
SAQ P2PESAQ Point-to-Point Encryption (P2PE) is used where the Merchant is utilising a PCI SSC listed P2PE solution’s supported POI/PED (Point of Interaction/Pin Entry Device) to take the payment.Card-Present and  Card-not-Present
SAQ CSAQ C is used where the Merchant is using a Payment Application (e.g. ePOS) that is connected to the Internet and do not store CHD.Card-Present and  Card-not-Present
SAQ C-VTSAQ C-VT is used where a Virtual Terminal (VT) is being used to take the payment with.  The VT will be accessed by the Merchant where a member of staff will input the card details on behalf of the cardholder into a website.Card-not-Present
SAQ DSAQ D is used when none of the other SAQs fit.All

Service Providers have a single SAQ that is available to them as detailed below:

SAQDescriptionPayment Channels
SAQ D for Service ProvidersService Providers must complete the SAQ D for Service Providers self-assessment questionnaire.All

What if my Payment Channels Align to Multiple SAQs?

Prior to PCI DSS Version 3.0, if you operated more than one payment channel, which aligned to multiple SAQs, you had to complete SAQ D.  Thankfully, from PCI DSS Version 3.0, this is no longer the case providing your Acquirer will accept multiple SAQ submissions.  So, what changed?  In PCI DSS Version 3.0 SAQs, the wording changed slightly which meant that you could submit multiple SAQs.

  • Prior to PCI DSS Version 3.0

With the following statement, the eligibility criteria that followed locked the Merchant into the specific SAQ.

“Such merchants validate compliance by completing SAQ A and the associated Attestation of Compliance, confirming that:

– Your company handles only card-not-present (e-commerce or mail/telephone-order) transactions;

etc.”

  • From PCI DSS Version 3.0

Within SAQ A (and the other SAQs), a modification was made to change the line above to read.

“SAQ A merchants confirm that, for this payment channel:

– Your company accepts only card-not-present (e-commerce or mail/telephone-order) transactions;

etc.”

Although only a slight change, the ‘for this payment channel‘ allows Merchants to separate the SAQs out for the different payment channels.

SAQ Eligibility

A few times now I’ve mentioned the payment channels characteristics.  Characteristics are defined within all SAQs (Self-Assessment Questionnaires) apart from SAQ D since SAQ D covers all PCI DSS (Payment Card Industry Data Security Standard) requirements and is designed for when other SAQs cannot be used.  An SAQ cannot be used if it does not meet the SAQ eligibility criteria detailed within the “Before You Begin” section on Page 3 of the SAQ that provides a list of conditions by way of bullet points that must be met before the SAQ can be used by a Merchant.  These conditions may list things like (not an exhaustive list):

  • Connectivity to other systems,
  • Usage within a single location,
  • Only accepting a specific type of transaction, i.e. e-commerce or mail/telephone order,
  • The use of PCI DSS compliant service providers,

SAQs, apart from SAQ D, will contain a subset of PCI DSS Requirements based upon the types of threats, known attack vectors based upon PFI (PCI Forensic Investigator) results and risks associated with a payment channel characteristic.  This will be based upon certain conditions, which is why these are defined within the “Before You Begin” section of the SAQ.

If you cannot meet each bullet point, that SAQ cannot be completed; however, it is worth discussing this with the Acquirer since they are the risk owners. They may be open to allowing SAQs which may not quite meet the criteria, if the risk is relatively low; i.e. a very small number of transactions through that particular channel. Where I have seen this crop up is where PEDs (Pin Entry Devices) that connect to a mobile network are permitted to utilise SAQ B and on some occasions where SAQ C-VT has been permitted when the channel doesn’t quite meet the intent of the eligibility criteria.

What are AOCs?

The Attestation of Compliance (AOC) is a PCI DSS document that must be signed off once completing either an SAQ or a Report on Compliance (ROC), which is the report that a QSA must complete if you need to undertake an onsite QSA-led assessment.  The AOC will ask you to confirm the different payment channels you support, which payment channels are included in the assessment (SAQ or ROC), describe the environment under assessment, locations included, details of service providers, details of payment applications, acknowledge the eligibility criterial is met (not for SAQ D), validate and attest to specific details of the assessment; i.e. one of the statements is “All information within the above-referenced SAQ and in this attestation fairly represents the results of my assessment in all material respects.”  The AOC must be signed as you must attest to the accuracy of the assessment being completed, along with some other things.

Can SAQs be Signed off by a QSA?

Within the AOC is a section for a QSA to complete if you have engaged a QSA to help complete the SAQ.  The QSA will detail what support they have provided in case the support only consisted of specific tasks.  We are often tasked with completing SAQs on behalf of customers because their board members want assurances that the assessment is done correctly and is impartial to get the best result.  This also adds more credibility to the assessment for the Acquirers.

Is it true SAQs can be used to determine the requirements in a ROC?

Yes, this is true, and is also true for Service Provider assessments.  What is interesting is that this technique can also be used when completing SAQ D where the organisation is aligning to multiple SAQs across the various payment channels, providing they all meet the eligibility criteria of the SAQs you are aligning them to.  So, the simple approach to take would be to utilise the various SAQs to determine which PCI DSS requirements are applicable for each payment channel.  If, for example you align to SAQ B-IP and SAQ C-VT for two payment channels.  You can go through the SAQs and assess the different channels against the applicable requirements within them.  Where PCI DSS Requirements are contained within both SAQ B-IP and SAQ C-VT, you would need to assess both channels against these requirements to determine if they are in place.  There is a PCI SSC (PCI Security Standards Council) FAQ on this topic named “Can SAQ eligibility criteria be used for determining applicability of PCI DSS requirements for onsite assessments?”

SAQ Breakdown

Ok, I bet this is what you have all come to this page for.  So, lets jump into it; below will list all the SAQs and provide some additional information to help identify when a SAQ can be used and any gotchas.

Entities storing electronic CHD MUST complete SAQ D since all other SAQs includes the following statement within the eligibility criteria:

  • Your company does not store cardholder data in electronic format.

Details of each SAQ are as follows:

SAQ A

Containing 24 PCI DSS requirements, SAQ A is designed for e-commerce or mail/telephone order merchants (card-not-present) where all cardholder data functions have been completely outsourced to PCI DSS compliant service providers only.  This is often used when service providers are providing services such as:

  • a DTMF (dual-tone multi-frequency) SaaS platform (and the calls are made direct to the service provider’s platform),
  • a third-party contact centre,
  • iframe/redirect technologies to support e-commerce payments.

SAQ A, is by far, used more for e-commerce channels that utilise iframe/redirect technologies. Within the requirements contained within SAQ A, some technical requirements in Requirement 2, 6 and 8 cover the webserver(s) handling the redirect/iframe mechanism.  Additionally, I will typically include anything that could impact upon the redirect/iframe mechanism for the technical controls within the SAQ; for example, code repositories.

CHD flow for this type of e-commerce channel is from the cardholder’s web browser, directly to the service provider.

There are three points that are worth noting from the eligibility criteria for SAQ A.  These are:

  • Your company has confirmed that all third party(s) handling storage, processing, and/or transmission of cardholder data are PCI DSS compliant;

This is often missed within the SAQs and is worth mentioning.  It is up to the merchant to ensure that Service Providers are providing a PCI DSS compliant service.  This is echoed within the PCI DSS Requirements 12.8.

  • Any cardholder data your company retains is on paper (for example, printed reports or receipts), and these documents are not received electronically.

This is included, along with some PCI DSS requirements within Requirement 9, to cover chargeback letters from the Acquirer.

  • All elements of the payment page(s) delivered to the consumer’s browser originate only and directly from a PCI DSS validated third-party service provider(s).

This is included to ensure that the entire content of the payment page; either the redirect or within the iframe, came from the service provider’s web service.

SAQ A-EP

Containing 183 PCI DSS requirements, SAQ A-EP is designed for only e-commerce channels, where all cardholder data transmission, storage and processing is handled by a PCI DSS compliant service provider.  This differs from SAQ A in that the characteristics of this payment channel can impact upon the security of the payment transaction and/or the integrity of the payment page itself.  This is due to the nature of how the payment form is built and embedded into the payment page.

Although the CHD flow is still from the cardholder’s web browser to the service provider, the merchant is responsible for building the payment form that will be used to submit the CHD.  Known as a Direct Post or JavaScript method, there is much more risk associated with this technically since the Merchant can load a myriad of third-party libraries, or a malicious actor could include JavaScript code that can manipulate or scrap the payment page.  This is the technique used by many e-commerce card data compromises and is discussed further in one of my previous blog posts “PCI SSC Online Skimming Blog Post” and is briefly touched on in my “Hacking E-Commerce Payment Channels” blog post.

The key difference between SAQ A and SAQ A-EP is that with SAQ A, the payment form (either following the redirect or within the iframe) is made up of code from the service provider only.  With SAQ A-EP, the merchant builds the payment page and the payment form embedded within it.

There is a significant point within the eligibility criteria of SAQ A-EP which is often missed:

  • Each element of the payment page(s) delivered to the consumer’s browser originates from either the merchant’s website or a PCI DSS compliant service provider(s)

The significance of this is that any third-party libraries that are used within the payment form(s) must be stored on the Merchant’s webserver(s).

As per SAQ A, there is also the criteria that the Merchant is responsible for ensuring the service provider is providing a PCI DSS compliant service as follows:

  • Your company has confirmed that all third party(s) handling storage, processing, and/or transmission of cardholder data are PCI DSS compliant;

The “Processing e-commerce payments” Visa guidance provides a visual guide on the differences between SAQ A, SAQ A-EP and SAQ D for e-commerce payments.

SAQ B

Containing 41 PCI DSS requirements, SAQ B is designed for brick-and-mortar (card-present) merchants or mail/telephone order (card-not-present) payment channels that do not store electronic CHD.  For both payment channels, the payment is facilitated using a POI/PDQ/PED (Point of Interaction/Pretty Damn Quick/PIN Entry Device) device that is standalone and connected to a telephone line.  There are a few gotchas with this payment channel:

  • The device must be connected to a standard telephone line; either via PSTN (Public Switched Telephone Network) or to the Merchant’s internal PBX providing the phone system isn’t IP connected.  If the connectivity is via a PBX that is connected to a network, this will introduce an attack vector to the CHD transmission.
  • If telephone payments are being taken, using the PED, then the voice call must not be over VoIP (Voice over IP) as this will invalidate one of the eligibility criteria (as discussed in a bit).
  • The PED must be standalone, otherwise this will invalidate one of the eligibility criteria (as discussed in a bit).  This means that the PED cannot connect to an ePOS (Electronic Point of Sales) via, for example, a USB or Serial cable.
  • The Merchant receipts will be in scope for PCI DSS requirements in Requirement 9, unless the PEDs are configured to mask out the middle of the PAN (Primary Account Number), which is the 16+ digit card number.

There are three eligibility criteria that are of interest, which have been discussed above:

  • Your company uses only an imprint machine and/or uses only standalone, dial-out terminals (connected via a phone line to your processor) to take your customers’ payment card information

The significance of this is that the PED must connect to a phone line.

  • The standalone, dial-out terminals are not connected to any other systems within your environment

As discussed above, the PED must be standalone and not connect to an ePOS.

  • Your company does not transmit cardholder data over a network (either an internal network or the Internet)

This is where the voice call, over a VoIP system, invalidates this criterion.

SAQ B-IP

Containing 86 PCI DSS requirements, SAQ B-IP is also designed for brick-and-mortar (card-present) merchants or mail/telephone order (card-not-present) payment channels that do not store electronic CHD.  The key difference is that the PEDs are connected via an IP network connection instead of a telephone line connection.

As with SAQ B, PEDs need to be standalone, meaning they cannot connect to any system via a USB or Serial Cable.  In addition, the IP connected PED must be isolated from ALL other IP connected devices within the environment (apart from other IP Connected PEDs).  These devices must also be validated to the PCI SSC PTS (PIN Transaction Security) program as listed on the PCI SSC website (excluding SCRs; Secure Card Readers).

As with SAQ B, SAQ B-IP cannot be used where CHD is transmitted over VoIP due to the following statement in the eligibility criteria:

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

The other criteria of interest for SAQ B-IP are:

  • The standalone IP-connected POI devices are validated to the PTS POI program as listed on the PCI SSC website (excludes SCRs);

This is covered within the above paragraph.

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

This is covered within the above paragraph.  One thing to note with this criterion is that it does not prohibit multiple IP-connected POI devices from being used on the same IP Subnet.

  • The POI device does not rely on any other device (e.g., computer, mobile phone, tablet, etc.) to connect to the payment processor;

This is covered within the above paragraph.  As per the eligibility criteria already covered, these devices must be standalone, therefore they must directly connect to the network for all communication.

Technically, PEDs connected via a mobile network (GPRS/3G/4G) align to SAQ B-IP since IP Communication is used.  If these devices are provided by the Acquirer, they will usually accept an assessment against SAQ B, but you must ensure this is discussed with the Acquirer and permission is sought.

SAQ P2PE

Containing 33 PCI DSS requirements, SAQ P2PE is also designed for brick-and-mortar (card-present) merchants or mail/telephone order (card-not-present) payment channels that do not store electronic CHD.  When the P2PE SAQ was originally released, this was called SAQ P2PE-HW but in April 2015, the “HW” was removed from the title.

The beauty about this SAQ is that it can connect to your internal network, without bringing the network or any other system components into scope.  There is no criterion about this device being connected to any other systems due to the encryption mechanism used.  With a PCI P2PE deployed solution, only the devices themselves make up the scope of the PCI DSS assessment (and merchant receipts / chargeback letters if they contain the full PAN).

There are a couple of interesting statements in the eligibility criteria as follows:

  • All payment processing is via a validated PCI P2PE solution approved and listed by the PCI SSC;

Only PCI P2PE accredited solutions can be used if entities wish to assess against SAQ P2PE.  The solution needs to match one of the ones accredited on the PCI SSC website, including matching the approved components, POI devices, etc under the “Solution Details” tab by following the solution details link.  POI devices must match the hardware/firmware numbers.  The P2PE Solutions can be listed here.

  • The only systems in the merchant environment that store, process or transmit account data are the Point of Interaction (POI) devices which are approved for use with the validated and PCI-listed P2PE solution;

For the payment channel being assessed against SAQ P2PE, only POI devices validated against a PCI-listed P2PE are used.  This rules out the use of VoIP with this SAQ where telephone payments are being taken.

  • There is no legacy storage of electronic cardholder data in the environment;

Since P2PE solutions are often implemented as a replacement to an existing solution, the criterion is ensuring that no storage of electronic CHD exists in the environment.  Remember, as discussed earlier, where electronic storage of CHD is in the environment only SAQ D can be used.

  • Your company has implemented all controls in the P2PE Instruction Manual (PIM) provided by the P2PE Solution Provider.

This is often missed when P2PE Solutions are deployed within an environment.  Since all the eligibility criteria must be met before a SAQ can be used, entities need to ensure that the PIM is being followed properly and from the outset.  If this isn’t the case, and you cannot evidence that this has and is being followed, entities will default to completing SAQ D unless ALL the P2PE devices are re-born.  This often involves sending the devices back to the manufacturer so they can be reshipped with new encryption keys, following the chain of custody requirements.  I discuss the importance of the PIM in my “The Importance of the P2PE Instruction Manual (PIM)” blog post.

Finally, it is worth noting that some Acquirers will allow Level 1 Merchants who align to SAQ P2PE to forego a PCI QSA On-site Assessment in favour of a self-assessment against SAQ P2PE.  This will often be dependent on using a P2PE solution by the Acquirer.

SAQ C

Containing 154 PCI DSS requirements, SAQ C is designed for brick-and-mortar (card-present) merchants or mail/telephone order (card-not-present) payment channels that do not store electronic CHD.  This SAQ has been developed specifically for Merchants whose payment application systems (for example, point-of-sales) are connected to the Internet.

Originally, SAQ C was intended for the franchise industry where a franchisee would utilise the franchise ePOS system of choice to facilitate payments via a broadband type connection to the Internet.

Before exploring this SAQ, it is worth exploring what is meant by “Payment Application”.  Usually, this would be something like an ePOS (Electronic Point-of-Sales) system, however, this can expand into other applications supporting card payments.  Typically, payment applications are applications involved in storing, processing, or transmitting cardholder data to support authorisation and/or settlement functions.  Although, this sounds like there is a myriad of different types of “Payment Applications” that this can cover, the eligibility criteria of the SAQ will limit this.

There are two criteria that is worth noting within SAQ C:

  • The payment application system/Internet device is not connected to any other systems within your environment (this can be achieved via network segmentation to isolate payment application system/Internet device from all other systems);

As we have seen from some of the SAQs previously, there is also a dependent upon the payment application not being connected to any other systems.  One thing to note is that multiple payment applications at the same site can be connected to the same isolated LAN segment.  I.e. multiple ePOS systems at the franchisee bricks-and-mortar locations can be in use on the same network.

  • The physical location of the POS environment is not connected to other premises or locations, and any LAN is for a single location only;

This is most definitely the main criterion that often makes SAQ C not applicable to most entities.  Where multiple locations are used and inter-connected for a single Internet POP (point-of-presence), this precludes the use of SAQ C.  Even if each location has a separate Internet POP and site-to-site VPNs are used to permitted inter-site communication, this will often fall foul of the criterion mentioned above because often the ePOS will have central administration and therefore will allow connectivity for administrative purposes.

The point of SAQ C is for small retail organisations with single sites or multiple sites that are not inter-connected.  The payment application(s) MUST be isolated from everything else.

SAQ C-VT

Containing 83 PCI DSS requirements, SAQ C-VT is designed for brick-and-mortar (card-present) merchants or mail/telephone order (card-not-present) payment channels that do not store electronic CHD.  The VT stands for Virtual Terminal which is a web-browser based access to a payment terminal provided by an acquirer, processor, or service provider to authorise payment transactions for card-not-present payments.  This SAQ can only be used for entities that process CHD via an isolated computer(s) that connects only to the VT where single transactions are manually entered into the VT.

My personal opinion is to treat this payment channel as card-not-present, even if the cardholder is present since the card has no physical interactions with any devices, unlike where a PED/POI is being used.  Transaction charges from the acquirer will differ when using a VT since this type of payment is typically carried out as card-not-present.

Key points from the eligibility criteria are:

  • Your company’s only payment processing is via a virtual payment terminal accessed by an Internet-connected web browser;

All payment processing must be carried out via the PC using a web browser connected to the service providers VT.

  • Your company’s virtual payment terminal solution is provided and hosted by a PCI DSS validated third-party service provider;

The VT provider must be a PCI DSS validated service provider.  This means that the service provider must have undertaken an on-site QSA led ROC (Report on Compliance) and be able to provide the associated AOC (Attestation of Compliance)

  • Your company accesses the PCI DSS-compliant virtual payment terminal solution via a computer that is isolated in a single location, and is not connected to other locations or systems within your environment (this can be achieved via a firewall or network segmentation to isolate the computer from other systems);

As with nearly all the other SAQs so far, the system component used to capture the CHD must be isolated.  Additionally, this also requires the PCs used to access the VT to be in a single location, therefore you cannot have these PCs over multiple locations within the environment.

  • Your company’s computer does not have software installed that causes cardholder data to be stored (for example, there is no software for batch processing or store-and-forward);

Processing of CHD is carried out manually, one transaction at a time.

  • Your company’s computer does not have any attached hardware devices that are used to capture or store cardholder data (for example, there are no card readers attached);

Pretty self-explanatory, capture is via the computer keyboard, or mouse if a virtual keyboard is being used.

  • Your company does not otherwise receive or transmit cardholder data electronically through any channels (for example, via an internal network or the Internet);

Although we have seen this in previous SAQs, it is worth calling this one out again here.  This is because often entities will leverage SAQ C-VT when VoIP is in use.  This criterion would prohibit the use of SAQ C-VT where the transmission of CHD is over a VoIP system.

As more and more entities are embracing unified communications, especially as entities start to move to platforms such as Microsoft Teams, entities are finding themselves moving more to an alignment to SAQ D due to some of the eligibility criteria discussed in this blog.  I’ve discussed the implications of VoIP in a couple of blogs over the past few years so feel free to look at these if your organisation is using VoIP or unified communications to facilitate telephone payments.  Take a look at; VoIP and Small Merchants and New Released PCI DSS Telephone Guidance.

Another common mistake with this SAQ is where Merchants will deploy remote desktop technologies/VDI (Virtual Desktop Infrastructure) to limit the scope to an isolated remote desktop/VDI environment where the virtual terminal is accessed from. Unfortunately, it is simply not viable to align SAQ C-VT in this scenario since the call agent’s desktop used to access the remote desktop/VDI environment is also in-scope because the call agent is using the desktop to input the CHD. The call agent’s desktop and everything else that it has connectivity to is included in scope, which is typically the entire environment. The following eligibility criterium isn’t typically met when a centralised remote desktop/VDI environment is used:

  • Your company accesses the PCI DSS-compliant virtual payment terminal solution via a computer that is isolated in a single location, and is not connected to other locations or systems within your environment (this can be achieved via a firewall or network segmentation to isolate the computer from other systems)1;

Exploring this criterium, the following issues arise:

The remote desktop/VDI environment is typically in a different location to where call agent PCs are, therefore not in a single location;

The SAQ is design for a computer; i.e. PC or Laptop as indicated within the criterium bullet point, also the PCI Security Council’s FAQ 1443 “What is the Intent of the SAQ eligibility criteria“, this clearly states that the intent of SAQ C-VT is for us through a computer and not a remote desktop/VDI environment through the following statement ‘SAQ C-VT for environments using only web-based virtual payment terminals on a personal computer‘;

The call agent’s PC is “connected to” other systems within the environment; i.e. the remote desktop/VDI environment;

SAQ D (for Merchants and Service Providers)

Containing 375 PCI DSS requirements (Service Provider version, the Merchant version will contain less due to there being some Service Provider specific requirements), SAQ D is designed for use when Merchants don’t meet any of the other SAQs eligibility criteria, when multiple payment channels are being assessed in a single assessment, where electronic CHD is being stored (which may only be temporary) or for ALL Service Provider self-service assessments, using SAQ D for Service Providers.

SAQ D covers all PCI DSS requirements so is often difficult for organisation to attain and maintain PCI DSS compliance. 

Where SAQ D is being aligned, segmentation techniques can often be utilised to reduce the scope that PCI DSS requirement apply to, thereby reducing the entities PCI DSS burden and efforts.  This is often carried out incorrectly and often segmented systems and networks are often incorrectly deemed out of scope.  The PCI DSS discusses segmentation as meaning isolation which is documented within the following paragraph on page 11 of the PCI DSS.

“Without adequate network segmentation (sometimes called a “flat network”) the entire network is in scope of the PCI DSS assessment. Network segmentation can be achieved through a number of physical or logical means, such as properly configured internal network firewalls, routers with strong access control lists, or other technologies that restrict access to a particular segment of a network. To be considered out of scope for PCI DSS, a system component must be properly isolated (segmented) from the CDE, such that even if the out-of-scope system component was compromised it could not impact the security of the CDE.”

I discuss my segmentation methodology within “My Scoping and Segmentation Methodology” blog post.

Completing the SAQs

Most entities complete SAQs incorrectly.  Either they align an incorrect SAQ by misinterpreting the eligibility criteria, or the assessment carried out is completed incorrectly.  The main misconception with completing SAQs is that this is a simple tick-box exercise.  This is far from the truth, which often means that entities believe they are PCI DSS compliant, when they are not.

Entities MUST still validate each applicable requirement by following the tasks within the “Testing Procedures” column within the SAQ.  Even if an entity believes the requirement to be in place, this still needs to be verified.  Where I work at Sec-1, Part of Claranet Cyber Security, we undertake assisted SAQ consultancy where our QSAs will complete the SAQ on behalf of our clients, to provide additional assurance that the SAQ has been completed correctly.  The QSA will verify each applicable requirement and complete the SAQ Acknowledgement section to describe what activities the QSA has carried out and provide a signature.

Merchant’s Service Provider Responsibility

Service Providers have a PCI DSS responsibility if they are storing, processing, or transmitting CHD on behalf of their clients, or if they can impact upon the security of their client’s CDE.  Where a Service Provider has a PCI DSS responsibility, the service being consumed should be operating in a PCI DSS compliant manner.  Service Providers do not have a direct reporting obligation to the card brands; therefore, it is up to the Merchants consuming the service to request evidence that the service is PCI DSS compliant.  This can either be done by requesting an Attestation of Compliance from the Service Provider, or by including the Service Provider within the Merchant’s PCI DSS assessment.  The latter would require the Service Provider to supply evidence to the Merchant that all PCI DSS requirements that are applicable for the Service Provider are being met.

Where Service Providers are handling, or can impact upon, over 300,000 transactions per annum, the Service Provider must undertake an onsite QSA led assessment.  Where transactions are below 300,000, the Service Provider can conduct a self-assessment against SAQ D for Service Providers.

Merchants have a requirement within PCI DSS under Requirement 12.8, to ensure Service Provider due diligence is carried out, which includes monitoring the Service Provider’s PCI DSS compliance status.  Merchants should ensure clauses are within all Service Provider contracts to ensure the Service Provider maintains PCI DSS against a current version of the standard.

I discuss service providers further in my “Third-Party Service Providers” and “Service providers and PCI DSS Compliance” blogs.

My Ramblings

Although this blog article provides a lot of useful information regarding the use of SAQs, ultimately the Acquirer will determine an entity’s SAQ obligations for reporting PCI DSS compliance.  Since the Acquirer will not understand your operating environment and the way payment flows are working, it is often best to engage a QSA to help understand the environment and payment channels and provide feedback for an Acquirer in helping with the SAQ determination.  This is especially true where the Acquirer utilises a ‘PCI Compliance Portal’ to help identify SAQ eligibility as my experience usually highlights that the portal can often identify the wrong SAQ due to incorrect responses to the questions posted by the portal.

Mapping out the cardholder data environment (CDE) and wrestling with the SAQ alignments can be daunting so if you would like QSA assistance then please feel free to reach out to me at Sec-1, part of Claranet Cyber Security on this address info.cybersecurity@uk.clara.net

Updated PCI DSS Version 4.0 Timeline

PCI SSC push back the PCI DSS Version 4.0 completion date.

The Payment Card Industry Security Standards Council (PCI SSC) released a new blog post entitled “PCI DSS v4.0 Timeline Update to Support an Additional RFC” on the 26th February 2021. The PCI SSC has evolved the way PCI standards are updated by actively seeking feedback from key stakeholders as part of the review and update process. Since PCI DSS (Payment Card Industry Data Security Standard) is such a widely used standard, and is undergoing such a fundamental change, the review process has already undergone two RFC (Request for Comments), one which started in October 2019, and the other one which started in September 2020.

The anticipated timeline for completion had been Q2 in 2021 as detailed within the “PCI DSS v4.0 Anticipated Timelines and Latest Updates” blog post on the 29th May 2020, however, the newly released blog post is now anticipating the completion to be more likely Q4 in 2021. This is reported to be due to the SSC wanting an additional feedback loop on the validation documents (i.e. Report on Compliance, Self-Assessment Questionnaires and Attestation of Compliance) which will now delay the completion.

As detailed within the new blog post, there is currently no indication of what the publication date of the new version will be, however, a further communication on this is expected within the next couple of months by the PCI SSC.

PCI DSS Compliance with just SAD

This is something that keeps cropping up and I have had many debates with my QSA peers.  So, the question is simple, does the PCI DSS (Payment Card Industry Data Security Standard) apply to environments where SAD (Sensitive Authentication Data) is present but no PAN (Primary Account Number)?

Setting the Scene

How may this situation arise?  I have mainly come across this within environments where there are multiple payment channels and tokenisation is being used to facilitate quicker and easier payments.  A cardholder may utilise a payment channel to either updated their payment card details or make an initial payment for goods or services.  That payment channel will be capturing the Account Data (detailed below) for tokenisation and potential payment processing if the payment flow is to facilitate a payment.

Account Data

Cardholder Data (CHD) includes:

Sensitive Authentication Data (SAD) includes:

– Primary Account Number (PAN)

– Cardholder Name

– Expiration Date

– Service Code

– Full track data (magnetic-stripe data or equivalent on a chp)

– CAV2/CVC2/CVV2/CID

– PINs/PIN blocks

Under the PCI DSS, SAD MUST NOT be stored after authorisation.  If SAD must be stored prior to authorisation, it is still best to contact the relevant payment card brands as they will stipulate different constraints to this; such as how long this can be stored for.

For the purpose of this post, SAD only refers to the CAV2/CVC2/CVV2/CID (Card Authentication Value/Card Verification Code/Card Verification Value/Card Identification) since full track data contains the PAN and PIN blocks are heavily encrypted.  Additionally, I’ve only ever come across this scenario for card-not-present payment channels which utilise CAV2/CVC2/CVV2/CID.  For the remainder of this blog post, I’ll only reference CVC2 instead of all 4 acronyms.

Once a Merchant has obtained a token, the CVC2 will not be stored by the Tokenisation Provider along with the card data as this is classed as SAD, which cannot be stored after authorisation.  The token can be leveraged by the Merchant to facilitate future payments, simplifying the payment process as the PAN, Name, Expiry date will be linked to the token, however, often the payment process will still prompt for the CVC2 number.  Some payment processes may not prompt for the CVC2, however, these are very few and far between since the use of CVC2 has become mandatory in many countries.

So, this leads onto the question, where tokenisation is being used by a merchant and therefore no PAN, but the CVC2 is still captured and sent with the token to facilitate a payment with the payment gateway/payment processor, would this payment channel fall under the PCI DSS?

Background

This question seems to still crop up from time to time and it can be a little confusing.  QSAs will have differing opinions on this.  With the scenario above, providing the two payment channels are separate (isolated) from each other, then why would the channel handling only the CVC2 be in scope? These numbers don’t relate to anything within the environment.

So, where does the confusion come from?

I believe this confusion has come from an update to PCI DSS introduced within PCI DSS Version 3.0.  PCI DSS Version 2.0 contained the following text on Page 12;

“The primary account number (PAN) is the defining factor in the applicability of PCI DSS requirements and PA-DSS. PCI DSS requirements are applicable if a primary account number (PAN) is stored, processed, or transmitted. If PAN is not stored, processed, or transmitted, PCI DSS and PA-DSS do not apply.”

PCI DSS Version 3.0 contained the following updated text on Page 7;

“The primary account number is the defining factor for cardholder data. If cardholder name, service code, and/or expiration date are stored, processed or transmitted with the PAN, or are otherwise present in the cardholder data environment, they must be protected in accordance with applicable PCI DSS requirements.

PCI DSS requirements apply to organizations and environments where account data (cardholder data and/or sensitive authentication data) is stored, processed or transmitted.”

The PCI DSS Version 3.0 updated text seems to have introduced the application of PCI DSS requirements to where ‘Account Data’ is being stored, processed or transmitted.  This includes not only CHD (including the PAN) but also SAD.

Why change this?

I think this change was brought about in response to issues where tokenisation and SAD was being used by Merchants and SAD was ultimately being stored to facilitate future payments.  This isn’t desirable as the CVC2 is used not only to help mitigate fraud against card-not-present transactions (i.e. where the physical card isn’t present, not that the cardholder isn’t present) but also helps to demonstrate that the cardholder is present within the payment process.  Years ago, the use of the CVC2 also reduced processing fees, however these days this isn’t the case as other security fraud prevention techniques are used, for example, 3D Secure (3DS).

Intent

After many conversations around this subject I believe the intention of this change was to ensure that where SAD is used within an environment where the PAN is not present, only PCI DSS Requirements related to SAD are in scope for these environments.  This means the CVC2 cannot be stored and therefore the cardholder would still need to be part of the payment process.

Tokenisation

Where tokenisation is used by the Merchant to remove PAN from environments that still handling CVC2 as part of the payment journey, the tokenisation mechanism MUST be robust enough to ensure that the PAN cannot be derived from the token.  The PCI SSC (Payment Card Industry Security Standards Council) Information Supplement “Tokenization Production Security Guidelines” should be followed to ensure the token is secure.

SAD Specific PCI DSS Requirements

The following PCI DSS Requirements (Version 3.2.1) relate to SAD;

  • Requirement 3.2: Do not store sensitive authentication data after authorization (even if encrypted). If sensitive authentication data is received, render all data unrecoverable upon completion of the authorization process.
  • Requirement 3.2.1: Do not store the full contents of any track (from the magnetic stripe located on the back of a card, equivalent data contained on a chip, or elsewhere) after authorization. This data is alternatively called full track, track, track 1, track 2, and magnetic-stripe data.
  • Requirement 3.2.2: Do not store the card verification code or value (three-digit or four-digit number printed on the front or back of a payment card used to verify card-not-present transactions) after authorization.
  • Requirement 3.2.3: Do not store the personal identification number (PIN) or the encrypted PIN block after authorization.

My Final Ramblings

The PCI DSS Version 3.0 update seems to have confused a lot of people which hopefully PCI DSS Version 4.0 will look to address by providing much more clarity to industry stakeholders.

Based upon what I have learned, my approach to this is that where SAD is present without the PAN, and without any potential access to the PAN, either by access to payment channels handling the PAN or due to weak tokens, only the PCI DSS Requirements specific to SAD as detailed above are in scope.

PCI DSS Post COVID-19

We are still living in trouble times with COVID-19 still wreaking havoc across the globe with only a glimmer of hope with a few of the vaccines in stage 3 trials looking likely to be available early 2021.  Regardless, there will become a time when life will hopefully get back to some normality and the worldwide restrictions imposed by governments will start easing.

The aim of this blog post is to get you thinking about what the long-term impact of COVID-19 will or may have on your PCI DSS Compliance programs going forward.

I have broken my thoughts down into the following areas, although I’m sure there are more areas that I’ve not included so hopefully this post will help the community start thinking about PCI DSS post COVID-19.

  • Will the need for on-site assessments reduce?
  • Unanticipated Increase in transaction volumes
  • Increased e-commerce risks
  • Is homeworking here to stay?
  • Risk of failing requirements

Will the need for on-site assessments reduce?

The PCI Security Standards Council (PCI SSC) has always maintained that QSA (Qualified Security Assessor) led PCI DSS assessments must be carried out ‘on-site’, as highlighted within section 5.3 ‘Qualified Security Assessor Companies (QSA Companies)’ of the “QSA Program Guide”, detailing that QSA Companies and their QSA Employees must perform PCI DSS Assessments in accordance with the PCI DSS by being on-site at the assessed entity during the PCI DSS Assessment.

This is further highlighted within FAQ 1455 “Does a QSA need to be onsite at the client’s premises for all aspects of a PCI DSS assessment?” which, at the time of writing said:

‘PCI SSC intends for on-site testing to be the norm, with the majority of PCI DSS assessment testing completed at the physical client location. Though the entire PCI DSS Assessment may not require being on-site, required validation methods like ‘observe’ – meaning the assessor watches an action or views something in the environment – are difficult to complete remotely. Examples of observation subjects include personnel performing a task or process, system components performing a function or responding to input, system configurations/settings, environmental conditions and physical controls.”

Although the FAQ does put the onus on the QSA to be able to defend the decision to perform elements of the assessment remotely, the FAQ follows up with the following:

‘The QSA is expected to be physically on-site for each PCI DSS Assessment, though the duration of the on-site visit will vary.  PCI SSC recognizes that outlier scenarios may exist where validation of individual requirements can be reasonably achieved remotely without on-site visit, but these are expected to be the exception and if such an approach is used, the QSA must be able to sufficiently document and defend why this approach was used for those individual requirements.’

The issue with performing fully remote assessments is that if they get selected by the PCI SSC AQM (Assessor Quality Management) team for an audit, it could potentially cause issues if the AQM Team do not agree with your reasoning for a remote assessment.

COVID-19 Implications

The introduction of COVID-19 restrictions earlier this year has highlighted that, to some extent, on-site PCI DSS assessments can be conducted remotely. On the 11th March 2020, the PCI SSC released a blog post entitled “Remote Assessments and the Coronavirus” which acknowledged that the global efforts of governments in controlling the spread of the virus will have an impact upon PCI DSS (and others) assessments. This early guidance by the PCI SSC provided details on how a remote assessment should be carried out and how it should be reported within the Report on Compliance (ROC). It is stressed that remote assessments must be carried out with the same level of assurance that controls are properly implement and that requirements are met as if the assessment was being carried out on-site.

Additional guidance was released in April entitled “Additional Remote Assessment Considerations During COVID-19”.

In my opinion, some assessments possibly could benefit from being done remotely, i.e. ROC-A (ROCs that align to Self-Assessment Questionnaire (SAQ) A and therefore have only requirements from SAQ A in scope) where an iframe or redirect is being used for e-commerce only payment channels.  One could argue that the “onsite” elements of this assessment could reasonably be done remotely via screensharing and video call.

It will be interesting to see how this shapes assessment going forward and if this “Remote Assessments” guidance will be extended to a normal way of working which will inevitably help reduce the time travelling and associated costs.  Who knows what PCI DSS Version 4.0 will bring to this topic of conversation, especially since I would imagine that the proposed “Customised Implementation” will certainly increase the costs of onsite assessments. Some details on the new customised approach can be found on one of my previous blog posts entitled “PCI DSS Version 4.0 Buzz” or the PCI SSC Blog entitled “5 Questions About PCI DSS v4.0”.

There is still a long way to go before PCI DSS Version 4.0 will be released and reporting requirements will transition to this new version of the standard.  More details on the PCI DSS Version 4.0 timeline can be found on the “PCI DSS v4.0: Anticipated Timelines and Latest Updates” PCI SSC Blog.

Unanticipated increase in transaction volumes

There have been two major shifts in consumer habits that have been brought upon by COVID-19.  These are:

  • Increase in contactless transactions: Although a huge number of bricks and mortar stores were forced to close around the world during county lockdown measures, when these measures were released, a lot of stores have been encouraging contactless payments to limit the risk of spreading COVID-19.  In response to this, the contactless payment limit was increased on the 1st April 2020 from £30 to £45 as part of the financial services industry’s response to COVID-19, https://www.ukfinance.org.uk/press/press-releases/contactless-limit-uk-increases-%C2%A345-today.
  • Increase in online shopping: Although as one can image, there have undoubtably been some winners and losers when it comes to online shopping volumes during the pandemic.  According to a post by Econsultancy: Stats roundup: coronavirus impact on marketing, ecommerce & advertising, grocery, home & gardening and clothing shops were winners, whilst beauty and skincare shops were seeing a decline.  The same article says there were reportedly “a 66% spike in global daily ecommerce sales at the height of the lockdown, analysis from Nosto suggests that this has levelled off to an average 7% above levels recorded last year, as of early August” (Article updated weekly, this was taken from the November 6th 2020 update).

It will therefore not come as a surprise, that this will likely see an increase in Merchant transaction volumes which could see some Merchants annual card transactions increasing.  There are two potential impacts to this:

  1. Your Merchant level may increase changing the reporting requirements to the Acquirer.  If this changes from Level 2 to Level 1 (or in some instances from Level 3 to Level 2), a QSA Lead assessment may be required.
  2. This may impact your Service Provider (SP) levels that you are utilising, if their annual card transactions go over 300,000 per year.

So, what if my Merchant Level increases?

There are four merchant levels.  Merchant Level 1 requires an onsite QSA Lead assessment and the production of a Report on Compliance (ROC) and Attestation of Compliance (AOC) by the QSA.  The other levels require a Self-Assessment Questionnaire (SAQ) and AOC completed by the Merchant.  Merchant levels are determined by the transaction volumes over a year period.  Over 6 million per year and you are Level 1.

Merchant LevelCriteria (Visa)
Level 1>6 million transactions or a report compromise
Level 2>1 and <6 million transactions
Level 3>20,000 e-commerce transactions but <1 million transactions in total
Level 4<1 million transactions

Going from Merchant Level 2 to Level 1 may have a significant impact for an organisation as a QSA will need formally assess you against the PCI DSS. Changes within between other levels can also have some impact as some Payment Brands also require an onsite QSA Led assessment or an internal assessment by an “Internal Security Assessor” (ISA) at Merchant Level 2, so there may be some impact moving from Level 4/3 to Level 2.

Either way, changes between the Merchant Levels may prompt Acquirers to follow up on PCI DSS reporting requirements more stringently.

What about Service Provider Levels?

There are only two SP Levels, Level 1 SPs require an onsite QSA Led assessment whilst Level 2 SPs allows for a Self-Assessment Questionnaire (SAQ D for Service Providers) and a Service Provider AOC to be completed.  SPs have a much smaller transaction criteria of 300,000 transaction per year before they are classed as a Level 1 SP.  As you can imagine, this could be reached within a relatively small –time-frame in the current climate and therefore SPs need to be mindful that customers may be requiring Level 1 Onsite Assessments to support their own PCI DSS programs.

Sustained Change in Consumer Shopping Behaviours

This shift to contactless payments for card-present transactions and increase in online shopping.  This shift in consumer shopping behaviours may continue once society gets back to normal.  This change in the Merchant Levels may therefore stay at the levels experienced during the government restrictions and constraints placed upon society to help limit the spread of COVID-19.  There may also be an impact on the organisations business model, especially if consumers are making more use of online shopping and less use of stores. The same Econsultancy article says that “71% of British consumers are reluctant to shop in store this Christmas.”.

Increased E-commerce Risks

Since the global pandemic hit, consumer shopping behaviours have changed with more opting for online shopping options.  As we discussed earlier, this has seen an increase in e-commerce sales across various vertical markets.  An article by Security Boulevard entitled “COVID-19 and the normal for e-commerce” states that the United States has seen a significant 91% increase in online shopping.  It is not surprising that what comes with this growth, also comes an increase in e-commerce compromises.  The same Security Boulevard article quotes a 30% increase in Magecart, online skimming attacks on online retailers and banks during the pandemic (as of May 2020 when the article was published).  See my previous blog post entitled “PCI SSC Online Skimming Blog Post” article for more information on Magecart.

E-commerce fraud has been an increasing trend as more and more consumers move towards e-commerce and card-present channels become more and more secure, for example with P2PE (Point-to-Point Encryption) solutions and EMV.

Organisations need to be mindful of these shifts in consumer habits and the increased risks of doing business online.

Most organisations are moving towards simpler e-commerce payment deployments to leverage the use of smaller Self-Assessment Questionnaires (SAQs) and therefore less PCI DSS effort.  I have seen an increase in the number of clients moving towards iframe and redirect deployments to leverage SAQ A which has the smallest number of PCI DSS requirements.

Although utilising these technologies does reduce the overall PC DSS scope and simplifies the organisations PCI DSS compliance programs, there are still potential security gaps if only PCI DSS SAQ alignment is considered.  I wrote a blog post several years ago that highlights this called “Why the PCI DSS Version 3.2.1 SAQ A update isn’t enough!”.

My recommendation, especially in today’s climate and the increased threats from compromises of e-commerce channels is to provide additional security controls above and beyond that of SAQ A, even if you are utilising iframe and redirect payment techniques.

Is Homeworking Here to Stay?

A quick google search on this subject and there are an overwhelming number of articles claiming that the pandemic has shown home working does work and many companies are planning to make home working the new ‘norm’.  A BBC article from the 5th October called “Home working her to stay, study of businesses suggests” states that 74% of firms plan to maintain the increase in home working.  How does this factor into the PCI DSS discussion here then?  There are several potential impacts to this;

  • Changes in telephone payment channels,
  • Potential Remote Access implications,
  • Introduction of gaps within existing PCI DSS business processes

PCI DSS scope changes to telephone payment channels

One possibility is that the scope of telephone payment channels could change if telephone payments are to be taken remotely.  This very much depends upon the technologies being used, for example, if DTMF (Dual-Tone Multi-Frequency) or IVR (Interact Voice Response) is used then this likely will make no difference, however, if call agents are taking the payment details for processing, then this can have significant risk impacts and impacts to the overall PCI DSS scope for the payment channel.

A QSA should be consulted if call agents will be taking payments from home and Merchants should discuss this with their Acquirers.

Potential Remote Access implications

Depending upon how the cardholder data environment (CDE) is setup, organisations may already permit remote access into the CDE.  Where this is not implemented, the remote access solution becomes in scope and there are several PCI DSS requirements which govern where remote access is permitted which can access or impact the CDE.  These are detailed as follows:

8.1.3 Immediately revoke access for any terminated users.

Scope is extended to the remote access solution if user authentication is not utilising the same directory service as is serving the CDE already.

8.1.5 Manage IDs used by third parties to access, support, or maintain system components via remote access as follows:

• Enabled only during the time period needed and disabled when not in use.

• Monitored when in use.

With the increase of remote working, service providers may also embrace remote working and whereas previously they may have come onsite to carry out maintenance or troubleshooting/repair work, they may wish to do this remotely. This requirement is specifically where third parties are provided with remote access into the CDE.

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.

If remote access solutions are being reconfigured to permit access into the CDE, multi-factor authentication (MFA) will need to be configured to meet this requirement.

12.3 Develop usage policies for critical technologies and define proper use of these technologies.

Remote access would be classed as a critical technology and would therefore need to be incorporate into all relevant policy/process documentation for usage of remote access.

12.3.8 Automatic disconnect of sessions for remote-access technologies after a specific period of inactivity

Remote access technologies should be configured with a period of inactivity specified.  What is strange about this requirement is that the “period” is not defined.  My recommendation is to review vendor and industry recommendations and perform a risk assessment of this to identify a suitable period which can then be defined and configured.

12.3.9 Activation of remote-access technologies for vendors and business partners only when needed by vendors and business partners, with immediate deactivation after use

This one is self-explanatory.  It needs to be written in policy and a suitable process developed to meet this requirement.

12.3.10 For personnel accessing cardholder data via remote-access technologies, prohibit the copying, moving, and storage of cardholder data onto local hard drives and removable electronic media, unless explicitly authorized for a defined business need.  Where there is an authorized business need, the usage policies must require the data be protected in accordance with all applicable PCI DSS Requirements.

Ensure remote access policies are in place to meet this requirement.

Risk of failing requirements

This is potentially an issue which could land organisations in hot water come assessment time and would therefore only be an issue in the short term after the pandemic ends.  With all the potential changes to payment channels and employee working patterns, we’ve already touched on the implication of increased requirements based on some of these changes, however what we haven’t highlighted is the potential that supporting PCI DSS documents and processes will most likely need to be adapted to support these changes.  If not careful, organisations may forget to update all the necessary documentation and processes which may lead to a failed PCI DSS assessment due to potential gaps.

My Final Ramblings

I think it’s inevitable that there will be some long-lasting changes when things get back to more normality.  Organisations need to consider what the implications to their PCI DSS environments and supporting documentation and business processes these changes will mean.  The threat landscape is constantly evolving and as we’ve discussed, the threat to e-commerce environment has increased.  Although PCI DSS is an excellent and mature data security standard, organisations should leverage tooling in the form of risk assessments to identify areas of the payment environment where the heightened risk levels warrant going above and beyond PCI DSS requirements and where organisations are aligning to smaller Self-Assessment Questionnaire reporting requirements, look to complement their PCI DSS security programs with additional requirements to strengthen security based upon the risk assessments carried out. 

PCI DSS “Not Tested” Response

This is a short post to discuss the “Not Tested” response when undertaking a PCI DSS assessment.  I first saw this practice a couple of years ago when reviewing an “Attestation of Compliance for Onsite Assessments – Service Providers” (Service Providers AOC) whilst undertaking a PCI DSS assessment for one of my customers.  This was limited to the physical security controls for the data centre providing co-location (colo) services to my customer.  The AOC (Attestation of Compliance) utilised the “Not Tested” responses for a lot of PCI DSS Requirements, which at the time seemed reasonable since the scope of the assessment didn’t involve any payment flows as these were contained within the customers responsibilities within the colo service.  This was something that I started to adopt in similar types of assessments where it made sense to utilise this response.

However, during the 2019 PCI SSC (Security Standards Council) Europe Community Meeting in Dublin, Brandy Cumberland (PCI SSC Director, AQM Programs) gave an AQM update during the QSA Assessors session on the last day.  During this talk, she pointed out that when utilising the “Not Tested” response, you cannot and should not provide a compliant assessment.

The way this was explained to me was to do with the legal language within the AOC in “Section 3: Validation and Attestation Details” under the “Part 3. PCI DSS Validation” subsection.  The key text within this section is the “all questions answered affirmatively” as follows:

  • “Compliant: All sections of the PCI DSS ROC are complete, all questions answered affirmatively, resulting in an overall COMPLIANT rating; thereby (Merchant Company Name) has demonstrated full compliance with the PCI DSS.”, or
  • “Non-Compliance: Not all sections of the PCI DSS ROC are complete, or not all questions are answered affirmatively, resulting in an overall NON-COMPLIANCE rating, thereby (Merchant Company Name) has not demonstrated full compliance with the PCI DSS.”

The issue with using the “Not Tested” is that you are not answering the question affirmatively because no testing has been carried out to provide an affirmative response.  Even “Not Applicable”, is an affirmative response since the QSA needs to assess the applicability of the requirement.

When can “Not Tested” be used?

The PCI SSC has released an FAQ entitled “Can a partial PCI DSS assessment be documented in a Report on Compliance (ROC)?” which provides further details on Partial PCI DSS assessments which utilise the “Not Tested” response.  The FAQ details five example scenarios for when partial assessments are likely to be carried out; for example, an acquirer asking a Merchant to validate the milestone they are working at from the PCI DSS Prioritised Approach.

The “ROC Summary of Assessor Findings” section of the Report on Compliance (ROC) document details when the “Not Tested” response should be used.  For the “Not Tested” the response is used when:

“The requirement (or any single aspect of the requirement) was not included for consideration in the assessment and was not tested in any way.”

Meaning that the requirement was not looked at to determine its applicability to the environment to determine if it should or should not be in scope.  The QSA has not verified the requirements applicability to the assessment and instead has chosen to ignore the requirement completely.  Section “What is the difference between “Not Applicable” and “Not Tested”” says:

“If a requirement is completely excluded from review without any consideration as to whether it could apply, the “Not Tested” option should be selected.”

My final rambling

QSAs need to ensure that compliant assessments have not utilised the “Not Tested” or “Not in Place” response in any of the responses within the ROC (or SAQs if the QSA is providing an assisted SAQ).  A “Not Applicable” should be used, after the QSA has assessed the requirement and determined that the requirement was deemed as not applicable for the assessment.  If performing a Service Provider assessment, a Merchant’s QSA may not accept the AOC being provided if the “Not Tested” has been used to provide a compliant assessment.

Round 2 PCI DSS v4.0 Request for Comments Started

On the 23rd of September 2020, the PCI SSC (Security Standards Council) opened up round two of the PCI DSS (Payment Card Industry Data Security Standard) version 4.0 Request for Comment (RFC) period. This will run from the 23rd September 2020 to the 13th November 2020. The PCI SSC released a blog entitled “Request for Comments: PCI DSS Version 4.0 Draft Standard” discussing this.

For the first time since the initial release of PCI DSS, the PCI SSC has introduced this RFC process, allowing, under NDA (Non-Disclosure Agreement), PCI Stakeholders the opportunity to review a draft of the updated standard and provide comment. Each and every comment received by the PCI SSC gets reviewed as part of this new process.

There is very little information on what is proposed for PCI DSS v4.0 since this is under strict NDA, I discussed some of the ‘proposed’ changes in a previous post (PCI DSS v4.0 Buzz) prior to signing up to the RFC and thus signing the NDA. Unfortunately, I will be unable to provide any insights, apart from what is already in the public domain due to this.

It is anticipated that the new version will be released in Q4 of 2021 with a long sunset period far beyond the usual six months which looks to be 18 months. This takes us to around Q2 2023 until PCI DSS v3.2.1 can no longer be used. Timelines were discussed back in May 2020 in a blog post entitled “PCI DSS v4.0: Anticipated Timelines and Latest Updates“

This RFC is open to the following stakeholders; Participating Organisations (POs), QSA Companies (QSACs) and ASV Companies. Details will have been sent to your primary contact so please reach out to them to get involved and get your voice heard and help shape this new and major shakeup of PCI DSS.

PDQ Device Use From Home

Post to highlight potential issues with using PDQ Devices from home during the Coronavirus pandemic.

As countries around the world are implementing social distancing measures and in some cases country/state/county wide lockdowns, organisations are looking at introducing remote working to allow the business to continue working with employees working from their homes.

This is having an impact on organisations’ payment channels which are having to adapt to these new ways of working.  Often, these changes mean that the security of the payment channels are not implemented to the same rigour as they normally are, or the introduction of these remote working practices means that the channel just cannot be PCI DSS compliant due to the technologies and practices deployed.  I’ve already wrote about this within the following post; COVID19 Implications, so I will not cover this off again.

I was recently asked to comment on the risks with employees taking chip-and-pin/PED/PDQ/POI (Pin Entry Devices/Pretty Damn Quick/Point of Interaction) devices home so employees can still process customer payments.  To be honest, on the face of it there didn’t seem too many risks, until I started to investigate how calls may be taken by remote workers and the potential connectivity issues depending on how the PDQ device connects.  Obviously, these devices must be used in card-not-present mode, therefore the only feasible way to get the information to the Merchant employee would be over the phone.

Note: Merchants MUST NOT instruct customers to send cardholder data by insecure messaging technologies such as, but not limited to; chat mechanisms (skype, teams, text, Whatsapp, etc..), email messaging, etc…

Let us look into the following areas;

  • Insecure Home Networks
  • Telephone
  • POI Connectivity
  • POI Obligations
  • Other Implications

Insecure Home Networks

There are many security implications with utilising corporate devices on home networks.  The security posture of home networks is an unknown and therefore should be considered insecure or ‘a dirty network’.  There are techniques that employees can carry out to help further secure these environments, which may need support from the organisation’s IT Support team.  Some of the issues surrounding these home networks includes:

  • Default passwords on home devices (i.e. Wireless/ADSL routers, IoT devices, etc…)
  • Insecurely configured Wi-Fi on home routers (default encryption keys or insecure encryption keys and insecure encryption algorithms/Features used (WEP/WPS)
  • The use of multiple devices within the home, on the same network (wireless/wired) with different levels of security (i.e. insecurely developed & unpatched); IoT is notorious for being insecure which could introduce a security risk to other devices within the household.

Organisations are finding they need to support home working and therefore are expanding their network boundaries past the organisations Internet gateway into employees’ own homes which has not only security implications but can also have compliance, data privacy and other legal complications.

Employees should work to try and bridge some of these gaps within their home networks.  Default passwords can be changed on devices within the home environment that connect to the network.  Random and strong passwords should be used.  Password managers (for example; Lastpass) can help employees to manage and maintain separate and unique passwords for all the different devices and websites that they require access to.  This will not only strengthen the devices within the home network environment but will also help to strengthen their online presence by enabling them to have different passwords for all the different online resources.

Password managers can also be used to store Wireless keys, which should be configured to use WPA2 at a minimum with a password that is no less than 15 characters.

All devices within the home network should be regularly patched, this will limit the chances of a devices being compromised by a malicious threat actor.  If it is possible, it would be more secure broadband routers supported it to segment the network into corporate and household traffic.  If existing routers cannot support this functionality, organisations should consider procuring and pre-configuring ADSL routers that can support this, these are not that expensive.

An assumption has been made that organisations will provide home workers with corporate issued laptops which will be suitably configured with a local firewall, anti-virus and be suitably patched.  Bring Your Own Device (BYOD) brings a myriad of issues which are not discussed in the blog post.

Telephone Implications

A lot of organisations support Voice-over-IP (VoIP) telephone systems, which are often extended out to employee’s homes to support home working.  This is either presented directly over the Internet with the phone dialling into the corporate VoIP system, via a softphone on the corporate Laptop support by a VPN or by utilising a cloud VoIP provider and therefore just connecting directly over the Internet.

VoIP can cause massive headaches for PCI DSS Compliance which are discussed within the following articles; Newly Released PCI DSS Telephony Guidance and VoIP and Small Merchants.  I’m not going to dwell into too much detail as these posts discuss this further.  Unless a call divert (and the corporate PBX performing the call divert is already PCI DSS Complaint) to a landline or mobile phone is in place, the likelihood is that the call will be made using VoIP which introduces a risk to the voice communication.

This can have further implications to the organisations if the call routing has been changed to support the home workers.  The telephone system, if Dual-Tone Multi-Frequency/Interactive Voice Response (DTMF/IVR) is normally used to take payments, may not usually be in scope for PCI DSS compliance and therefore the Internal network isn’t in scope.  By changing the routing (where a softphone is used) the scoping is potentially going to see a significant increase by including the corporate network, telephone system, PCs (softphones), VPN systems and any other connected-to systems that touch these systems that are now routing the VoIP traffic.

Organisations also need to understand where cloud providers are used, is the traffic that is traversing the Internet encrypted?  Contrary to PCI SSC FAQ 1153 “How does PCI DSS apply to VoIP?”, which in my honest opinion needs to be altered, Merchants have no control over the voice traffic from the customer (cardholder) as it routes to their environment, however, and this is where I disagree with FAQ 1153, Merchant’s do have control over the connectivity from their Telco into their own environments along with voice traffic leaving the organisation.  I believe Merchants should provision secure voice communications between them and their voice provider; therefore, where a VoIP Cloud Provider is used, this traffic should be encrypted.

Finally, an additional complication can be with voice recordings.  The same mechanisms to support pause/resume functionality or DTMF/IVR functionality may not be available to the organisation due to the changes in the voice routing.  Where this is the case, organisations mustn’t take calls that will be handling cardholder data IF call recordings cannot be paused.  This will expose the card information to all call recordings which will include the Sensitive Authentication Data (SAD) which isn’t permitted to be stored after authorisation (please see the newly released PCI Security Standard Council guidance ‘Protecting Telephone-Based Payment Card Data’ which describes a very specific exception to this.

POI Connectivity

Devices can support multiple types of connectivity; Plain Old Telephone Service/Public Switched Telephone Network (POTS/PSTN), Mobile Network (i.e. GPRS/3G/4G), IP Connected (Wireless or Wired) and P2PE (Point-to-Point Encrypted) IP Connected.

As you can probably gather, PSTN and Mobile connectivity has no “connectivity” implications since these are not operating on the potentially insecure home network.  P2PE also has no implications because the supporting IP network is not in scope for these types of devices.  Security concerns are seen with IP Connected devices because these will utilise the home network to support connectivity.  As we have already discussed, there are security concerns over the security posture of the home network which must be treated as insecure.  Although these devices undergo independent testing and the communication of CHD should utilise strong encryption, the use of these devices bring the networking components into scope for PCI DSS, therefore, it would be unlikely on a home network that this could become PCI DSS compliant.  Either, utilise a device that doesn’t introduce “connectivity” implications or look to deploy a corporately secure network component at employees’ homes.

POI Obligations

Within PCI DSS Requirement 9, organisations have POI obligations.  Organisations need to perform substitution and tamper checks on a regular basis (as defined by the organisations, typically based on a risk assessment).  These checks will still need to be completed and adequately documented and evidenced to support the organisations ongoing PCI DSS Compliance program; however, with the devices being used at a home environment, the risk of tampering and substitution may be a lot lower than within the corporate environment.  These checks could therefore be carried out at longer time intervals, i.e. every 2 weeks instead of every day, however the recommendation would be to carry out a risk assessment and document how the organisation came to the interval that has been defined.

Although it may not be necessary to secure the devices at home when not in use, it would still be recommended and good practice.  The risk of a family member or friend tampering with the devices are slim; however, if you have ability to lock the device in a drawer/filing cabinet then this would be ideal to demonstrate due diligence and good practice.

Other Implications

Finally, I wanted to highlight a few other implications of taking card-not-present payments through a PDQ at home.

  • Have the devices been configured to mask the PAN (Primary Account Number) from the Merchant receipt?  Often the PAN is not needed by the organisation, and it would be much more beneficial to ensure that the Merchant receipts are masking this number, otherwise it will become in scope for media handling requirements within PCI DSS Requirement 9.  It is much simpler to just instruct the Acquirer to turn this functionality off on the PDQ device.
  • It is much harder to monitor employees when they are working from home, which increases the risk of fraud.  Employees can start to harvest cardholder details from callers which can then be used for fraudulent reasons or sold.  This is near impossible to police since employees need to obtain the card information for input into the PDQ.  The only real way to limit this exposure is to deploy technologies such as DTMF/IVR.  Employees should obtain regular training to ensure they still handle cardholder data (CHD) appropriate and still don’t write the information down.  Organisations can include practices of writing CHD down as long as this data is suitably handled in line with applicable controls, or as most organisations will do, they have strict policies prohibiting CHD from being written at all, enforcing that data must be inputted directly into the capture mechanism (e.g. Website Portal, PQD).  This is easier to policy from the workplace, however it will be much more difficult when working from home.  Where practices allow employees to write down CHD, this should be disallowed for working from home and effectively communicated to employees.  The controls around storage and disposal will not likely be as thorough within the home environment which will increase the risk of exposing CHD.

My Ramblings

There are many concerns with deploying PDQ/PED devices at home locations.  The security posture of the home network, implications of taking payments over the telephone, POI connectivity issues and other POI implications. In line with PCI DSS Requirement 12.2, organisations should perform a full risk assessment to ensure all the risks have been considered and suitable controls/mitigations have been implemented.

There are some techniques employees can employ to try and mitigate the risk of the home network; however, ideally the home network and devices for corporate use should be separated to provide an additional layer of protection.  This can be implemented by replacing the employees ADSL Router with one that can support network/Wi-Fi segmentation, which can be configured by IT.  The intention is that this should be a short-term plan to handle the worldwide COVID-19 pandemic.  If this was a more long-term plan, then consider deploying a corporate owned Internet circuit to staff expected to take card payments.  If, P2PE (Point-to-Point Encryption) validated PEDs are used, then the home network will not come into consideration since the network is not in scope when these devices are used.

Telephony is a problem which as discussed above has massive implications.  Ideally, PDQ/PEDs won’t be used in favour of a DTMF/IVR solution which not only takes the network and PDQ/PEDs out of scope, but also takes the call agent out of scope, further securing the payment channel and limiting risk.  If a longer working from home strategy is sought, then this should be considered.

Where VoIP has to be used, then organisations should make considerable efforts to secure the communication as I discuss in my COVID-19 Implications post, due to the relatively fast pace that changes have had to be incorporating into the payment channels to ensure continued business operations, organisations still have a responsibility to ensure the payment channels are secure and maintain PCI DSS compliance. Where this is not possible, this should be a short-term situation with organisations continually improving the security posture and PCI DSS compliance status over time.  The most secure short-term mechanism is probable the use of a corporate laptops with VPN Connectivity and a softphone.  All transmission is over the VPN and then contained within the organisations corporate network environment boasting strong security technologies and practices and a mature security and compliance program.  The laptop should meet a minimum set of PCI DSS requirements to protect it from the home network environment, which are detailed within the referenced COVID-19 Implications post post.

The simplest device connectivity is either P2PE Devices using a network/wireless connection, a device using a mobile network connection (GPRS/3G) or a device connecting via POTS/PSTN.  Utilising a Wireless and or Network device is much less secure if the device is configured to run on the home network, unless a corporate configured ADSL Router is in use which has been preconfigured (or a corporate supplied Internet circuit).

As discussed, don’t neglect the POI obligations under PCI DSS Requirement 9.  The interval between tamper and substitution checks could feasibly be increased as the risk should be much less; however, organisations should carry out a risk assessment and document how the interval was determined.

Organisations need to review Merchant receipts from the PDQ devices to ensure the PAN is masked.  If it is not, the Acquirer should be contacted asking them to mask the PAN if it isn’t required for chargeback enquiries.  If this cannot be done, then suitable handling processes/policies needs to be implemented to specifically address the storage of these receipts at employees’ homes. Secure storage may need to be procured in order to support employees handling of these. 

Finally, organisations need to be conscious of the increased risk of fraud and should carry out a risk assessment against this.  Where possible, consider the use of DTMF/IVR solutions to take telephone payments which should not only significantly simplify the organisations PCI DSS Compliance program but also help to reduce the risk of fraud and CHD compromises.

COVID-19 Implications

Post to discuss the potential implications of the COVID-19 pandemic and how organisations are forced to adapt their payment channels to continue doing business.

The current COVID-19 outbreak is a global crisis on an unprecedented scale.  Countries all over the world are working hard to protect citizens and to collaborate on global efforts to understand the virus and work on preventative measures to help in the fight against this worldwide killer.

In attempts to limit the loss of life, governments all around the world are limiting social contact and, in some instances, implementing countrywide lockdowns of citizens.  Due to these extreme but necessary measures being implemented, and to limit the risk to staff, businesses are closing or moving to remote working practices which has resulted in changes to the way cardholder data is flowing through organisations’ payment channels.  Most organisations are finding that their business continuity plans are not equipped to handle the scale of remote working that has come out of these extreme measures whereby no office locations are accessible (or very limited access to an extremely small number of employees).

The PCI SSC (Payment Card Industry Security Standards Council) released a blog post “Remote Assessments and the Coronavirus” on 11th March 2020 providing guidance to the community on how remote PCI DSS assessments may work with the imposed travel restrictions.  In addition to this, the PCI SSC has setup a COVID-19 page to release response and guidance to the PCI stakeholders and community.

The guidance received so far has been focused around the continuation of PCI DSS assessments and how QSAs can adapt their way of working during the current crises.  I’m getting clients reaching out to ask how they can adapt their payment channels to allow workers to work from home.  There doesn’t seem to be much information regarding this so hopefully this post will help organisations that need to make changes to their current working practices, which ultimately results in changes to their payment channels.

A significant issue with organisations adapting existing payment channels, or in some cases defining new ones is the timescale in which these changes have had to be made within.  This quick turnaround on these changes means that organisations are often unable to validate that any changes made are in line with the requirements of the PCI DSS (Data Security Standard).  There are several issues I have come across thus far such as:

  • changes to the payment channel are utilising system components and networks that are not currently included within an organisations scope for PCI DSS assessment activities;
  • due to the remote working instructions from most governments, both Bring Your Own Devices (BYOD) and Corporate devices that are not part of an organisations PCI DSS assessment activities are being used by employees, and;
  • Home wireless networks are the primary connectivity of mobile devices being used by employees.

This means changes will be leveraging an environment that may not be PCI DSS compliant which will therefore breach the signed attestation of compliance (AOC) that is in place which includes the following two statements; “I have read the PCI DSS and I recognize that I must maintain PCI DSS compliance, as applicable to my environment, at all times” and “If my environment changes, I recognize I must reassess my environment and implement any additional PCI DSS requirements that apply”.  Obviously, with the timescales involved, validating these un-assessed systems and environments is just not plausible under the current crises which is becoming a challenge to compliance concerns by many organisations.

Under the current pandemic and an organisations obligation to key stakeholders and its customers; most organisations see remote working as a necessity to continue doing business.  What I have found is that Acquirers are very sympathetic to these needs based upon the current pandemic and don’t want to stop organisations doing business.  My main advice to clients is to talk to your Acquirer and/or payment brands regarding any changes that are required to help you continue to operate for the short term.  Ensure you have detail of what you intend to do and what “quick wins” you can implement or have already implemented to help mitigate the risk to the environment after the changes are made.

What can I do?

Although Acquirers and/or payment brands are showing flexibility during this time of crisis, organisations still need to do their upmost to ensure payment channels stay secure.

Where remote access solutions are to be introduced to help support business operations, I would recommend at a minimum the following tasks are carried out:

  • Treat changes as a significant change, although organisations may struggling to complete their significant change obligations (ie. Internal/external penetration testing).  See once this is over section…
  • Perform a risk assessment on the changes proposed to help identify the key risks that you should be looking to minimise.  Follow the risk assessment methodology that is used per Requirement 12.2;
  • Review the information security policy and adapt it based on the new way of working, ensure this is shared with all staff and staff have read and understood it as per Requirement 12.1 and Requirement 12.1.1;
  • Multi-Factor Authentication (MFA) should be in place for all remote access into the PCI DSS environment as per Requirement 8.3.2;
  • Provide additional user awareness training and cardholder data handling training of staff that will be supporting the new or updated payment channel. Although not specifically linked to Requirement 12.6, this will help staff operate in a secure manner;
  • Where VPNs are being used to provide remote access, split tunnelling should be disabled to ensure that all traffic MUST go over the VPN.  This will ensure that connectivity to the Internet is still governed by the organisations security policies and technologies deployed to enforce these policies;
  • Least privileges should be enforced through any remote access solution to provide additional security.  Remote access profiles should be configured for each user’s role, physically restricting access to systems that can be reached over the VPN.

Corporate Owned Mobile Devices

Mobile devices (Laptops for example) that are being used by employees to remotely connect into the environment should be configured as:

  • Local firewall must be enabled and at a minimum configured to block all incoming traffic as per Requirement 1.4;
  • Antivirus should be deployed in line with Requirement 5 of PCI DSS.  Even if the mobile devices have never been included within scope, this is security 101 and should be in place for most organisation’s environments;
  • Automatic patching of the mobile device should be in place which should be in line with Requirement 6.2, again this is security 101 and should be in place for most organisation’s environments.

BYOD

Organisations have always found BYOD to be problematic, which is why many of them will not permit BYOD within their organisations.  Problems arise from a lack of assurance over the security posture of the devices since they are owner, managed and maintained by employees.  Due to this lack of assurance, this causes issues with compliance because it is unlikely that adequate security measures are being maintained, thereby making compliance impossible.  BYOD should be avoided in favour of a corporate owned device; however, if BYOD is the only option to ensure the business is able to still operate during this pandemic, then organisations should look to limit the risk of BYOD as much as possible.  This could include providing guidance to staff to raise the security posture of their devices or by allowing IT Support staff to remotely connect to implement these measures to help reduce risk.  It would be unlikely that BYOD could be used whilst maintaining PCI DSS compliance.  To limit the risk, the following could be carried out (short term plan):

  • Run an anti-malware scan to ensure the device is clean of malware (there are free tools on the Internet, or some enterprise anti-virus vendors include employee licensing);
  • Run Anti-virus software and ensure it is configured correctly and it is checked to ensure it is up-to-date and automatically receiving signature updates (see if current corporate AV software is covered for employee use);
  • Ensuring the machines are fully patched.  Windows updates configured to automatically update (and can be manually ran) and other tools can be downloaded to ensure other applications are patched (PatchMyPC for example);
  • Firewalls configured to block all incoming connections.  This should be considered for any local connections also to ensure devices connected to the Wireless network are unable to remotely connect to the device.
  • Out-of-date Operating Systems must not be used as BYOD devices; for example Windows XP or Windows 7.

Some QSA will offer an alternate solution to improve the security and limit risk of BYOD being used by use of a Virtual Desktop Infrastructure (VDI) solution such as Citrix, VMware, Windows Remote Desktop or Amazon WorkSpaces to name a few.  Some solutions also can perform endpoint checks to validate the security posture of these devices trying to connect, which can provide additional assurance.  This doesn’t completely remove the risks since a compromised BYOD can still have malware that captures keystrokes and therefore harvest cardholder data being inputted into the VDI environment.  By endpoint checking before a connection is permitted will further reduce this risk, along with the additional tasks identified above.

Note: Not really a PCI DSS issue (as cardholder data is unlikely to be stored on mobile devices) but care needs to be taken if confidential and/or PII data is being stored on BYOD’s since these will unlikely to have disk encryption deployed and the security posture will not be at the same level as corporate owned devices.

Long Term

Measures should only be a short-term fix to allow organisations to continue to work during these unprecedented times.  There is a chance that this pandemic and the extreme measures could be in place for months and therefore organisations should, and must, look to be implementing additional controls and security measures to improve the security of the new or modified payment channels.  It is important that organisations stay in touch with their Acquirers and/or payment brands.

Once this is over!

It is unclear how long this pandemic will continue for and how long it will be before organisations can get back to a status quo on business operations.  I wanted to highlight some areas where I can foresee potential issues that may arise from the aftermath of what’s currently going on around the world.

It is unclear how much leeway organisations will have once everything is back to normal and organisations are undergoing PCI DSS assessments in the 1-year aftermath of this global crisis.   

There will inevitably be some requirements that will end up being “Not in Place” due to this crisis; for example, organisations may be unable to; run an internal quarterly vulnerability scan, quarterly wireless scans or inspections of unattended POI devices, for example.  In addition to these types of requirements that just are unable to be carried out, during an assessment a QSA may be expecting to see specific evidence based on the COVID 19 crisis, for example:

  • Significant change specific requirements; change control, internal/external vulnerability scans, internal/external penetration testing.  This will very much depend on how long this needs to be in place,
  • Change control evidence specific to alterations made in response to some of the changes made to allow remote working,
  • Update (or at least a review) to the Information Security Policy based on this current crisis,
  • A risk assessment being carried out,
  • Update to the Incident Response Plan as the potential threat landscape has changed due to payment channel changes.

Additionally, organisations may be wondering if there will be any extensions to their current assessments which may get delayed.

I’m hopefully that the payment brands will provide us with more guidance on these types of issues in due course, especially for Service Provider assessments where an Acquirer cannot be contacted for a decision.

My Ramblings

Please speak to your Acquirers regarding any changes that need to be made that may impact the security of your payment card channels.  There is a global response to this pandemic and Acquirers and the Payment Brands understand that organisations need to very quickly adapt their working practices to ensure continued business operations.

All organisations should start with a Risk Assessment in line with Requirement 12.2, it is important that organisations carry out a detailed risk assessment and look to implement basic security controls and/or techniques to help mitigate key risks identified.

This is not an excuse for organisations to run payment environments with sub-standard security measures, so organisations must look to improve the security of any “Short Term” solution that is put in place.

It is expected that further guidance will be released by the PCI SSC and Payment Brands so keep an eye on PCI SSC’s COVID 19 page and relevant Payment Brand releases for further information.

Significant Change [Updated]

PCI DSS (Payment Card Industry Data Security Standard) mentions significant change in several of its requirements.  Often, organisations can fall foul of this requirement because they simply don’t understand what is meant by a ‘Significant Change’.  This article will hopefully help organisations to understand this terminology, identify what this means to them and help to ensure PCI DSS requirements which rely on significant changes can be fulfilled.

What is a Significant Change?

A significant change can vary from environment to environment, what a significant change to Company X may be different to what a significant change is to Company Y.  My recommendation to all my clients is to document what a significant change means to them and their environments, listing out changes that would meet this requirement.  PCI SSC (PCI Security Standards Council) released FAQ 1317 in 2015 which included a couple of sentences to help understand what is meant by a significant change as follows;

“Generally, changes affecting access to cardholder data or the security of the cardholder data environment could be considered significant.  Examples of a significant change may include network upgrades, additions or updates to firewalls or routing devices, upgrades to servers, etc.”

For me, this is summed up in the following extract “changes affecting access to the cardholder data or the security of the cardholder data environment”, where changes to critical devices and/or security impacting devices could introduce a security weakness to either the cardholder data environment or access to cardholder data should be considered a significant change.  This is still open to interpretation; therefore, to ensure assessments run smoothly, this is why I advise my clients to document what types of changes should be treated as a significant change for their specific environment.  For example, an organisation may choose to include the commission of a new public facing website as a significant change; whereas, an organisation using Serverless architecture where the number of public facing web services can increase on demand may not deem this as affecting the security of the environment since the new servers are based on the existing webserver which runs a hardened images, meeting PCI DSS requirements.  Another example of a significant change may be replacing a firewall for a new vendor’s firewall.  This would require significant reconfiguration and the risk of introducing misconfigurations that could compromise the security of the environment would be quite high.

Key PCI DSS Requirements

The following key requirements of PCI DSS Version 3.2.1 are applicable when an organisation is undergoing a significant change.  Each of these will be discussed as follows;

  • 6.4.6 Upon completion of a significant change, all relevant PCI DSS requirements must be implemented on all new or changed systems and networks, and documentation updated as applicable

All sub requirements of Requirement 6.4 relate to change control requirements.  This specific requirement is designed to ensure that all significant changes are carried out in a PCI DSS compliant manner, ensuring all the necessary PCI DSS controls are applied and that any relevant documentation is updated to reflect the changed environment.  This can be updates to the asset registry (Critical Devices/Software), updates to build standards (for example, a replacement of a firewall to a new vendor), updates to network diagrams, etc…  Suitable checks and balances should be in place to validate that significant changes have been applied as per the requirements of PCI DSS.  This should be documented within the change control records to provide an audit trail and to ensure the processed are properly followed.

  • 11.2 Run internal and external network vulnerability scans at least quarterly and after any significant change in the network (such as new system component installations, changes in network topology, firewall rule modifications, product upgrades).

This should be self-explanatory.  The intention here is to identify any misconfiguration or low hanging fruit vulnerabilities that vulnerability scanners would pick up.  This should include both internal and external vulnerability scans.

The change should be adequately planned so these scans run as soon as possible after the change.  This will limit the vulnerability window (i.e. the point in time the vulnerability appears, to when the vulnerability was fixed) thus reducing the risk from the vulnerability introduced during the significant change.

The scope doesn’t necessarily have to include the entire environment; however, organisations need to ensure that system components and security impacting systems that can be directly, or indirectly effected by the change are inadvertently missed from the scope.  If you are a Level 1 or a Level 2 Merchant that requires a QSA Led Assessment or you are a Level 1 Service Provider, the QSA (Qualified Security Assessor) should pick up on whether the scope is adequate to cover the significant change.  If in doubt, discuss this with your QSA.

  • 11.2.3 Perform internal and external scans, and rescans as needed, after any significant change. Scans must be performed by qualified personnel.

This requirement supports 11.2 above, requiring rescans should any internal or external scans pick up vulnerabilities that requires rescans under PCI DSS (i.e. CVSS Score 4 or above for external ASV Scans or Internal Scans that have any “high risk” vulnerabilities as defined by the organisation within PCI DSS Requirement 6.1.

  • 11.3.1 Perform external penetration testing at least annually and after any significant infrastructure or application upgrade or modification (such as an operating system upgrade, a sub-network added to the environment, or a web server added to the environment).
  • 11.3.2 Perform internal penetration testing at least annually and after any significant infrastructure or application upgrade or modification (such as an operating system upgrade, a sub-network added to the environment, or a web server added to the environment).

Requirement 11.3.1 and 11.3.2 are the same; one is for external and one is for internal penetration testing.  The response to Requirement 11.2 is very valid here also.  Significant changes within PCI DSS environments can inadvertently introduce vulnerabilities which would go undetected until the annual penetration testing activities, massively increasing the vulnerability window, thereby increasing the risk of a compromise to the environment.  It is important that penetration testing is planned for in advance, with the penetration test ideally being included within the project deliverables, and the  penetration testing company engaged as early into the project as possible.  It is worth noting that often penetration testing companies can have 6+ week lead times for delivering penetration tests, therefore this needs to be factored into the project.

  • 12.2 Implement a risk-assessment process that:
    • Is performed at least annually and upon significant changes to the environment (for example, acquisition, merger, relocation, etc.),
    • Identifies critical assets, threats, and vulnerabilities, and
    • Results in a formal, documented analysis of risk.

This is often overlooked because the examples do not include technical changes to the cardholder data environment.  For me, I would highly recommend organisations to undertake a full risk assessment process for any potentially significant changes that are to be undertaken.  This will help the organisation identify and document any new risks to the cardholder data environment that will exist after the change but can also be used to identify where potential risks can be introduced by not implementing the proposed change correctly.  This work will not only help the organisation account for any perceived issues from the change but also help identify the correct scope for vulnerability scanning and penetration testing activities.

NIST SP 800-37 (Updated Section to Blog)

Thank you to Jim Seaman for pointing out NIST SP 800-37 Risk Management Framework for Information Systems and Organizations: A systems Life Cycle Approach for Security and Privacy which includes reference to ‘Significant Change’ and highlights examples of what types of significant changes could impact an organisations risk posture.  Within Appendix F, there is a section called “Event-Driven Triggers and Significant Changes”, which discusses a significant change as being an indicator or prompt that causes an organisational predefined reaction (defined as an event-driven trigger). An organisations reaction would be to re-evaluate the organisations risk posture based upon the trigger.

NIST SP 800-37 defines a significant change as “A significant change is defined as a change that is likely to substantively affect the security or privacy posture of a system.” Significant changes to systems that may trigger an event-driven review to include, but not limited to:

  • Modifications to how information, including PII, is processed;
  • Installation of a new or upgraded operating system, middleware component, or application;
  • Modifications to system ports, protocols, or services;
  • Installation of a new or upgraded hardware platform;
  • Modifications to cryptographic modules or services;
  • Changes in information types processed, stored, or transmitted by the system; or
  • Modifications to security and privacy controls.

Environmental significant changes that may trigger an event-driven review to include, but not limited to:

  • Moving to a new facility;
  • Adding new core missions or business functions;
  • Acquiring specific and credible threat information that the organization is being targeted by a threat source; or • Establishing new/modified laws, directives, policies, or regulations.

My Ramblings

Although this seems to be quite a simple requirement to meet, if organisations are not careful and don’t plan this element of PCI DSS correctly, they can fall foul of it which can jeopardise their PCI DSS Certification.

Hopefully this article will help organisations be better prepared for the implementation of significant changes within their PCI DSS environments.

On a final note, Appendix A3 Designated Entities Supplemental Validation (DESV) also includes provisions for significant change.  Not many organisations are asked to complete this supplemental validation by their Acquirers; however, the following related requirements should be considered as an additional validation step after a significant change is carried out (although, unless you have to complete DESV, organisations have no obligation to carry this out);

  • A3.2.1 Document and confirm the accuracy of PCI DSS scope at least quarterly and upon significant changes to the in-scope environment. At a minimum, the quarterly scoping validation should include:
    • Identifying all in-scope networks and system components
    • Identifying all out-of-scope networks and justification for networks being out of scope, including descriptions of all segmentation controls implemented
    • Identifying all connected entities—e.g., third-party entities with access to the cardholder data environment (CDE)

PCI DSS Reference: Scope of PCI DSS Requirements

  • A3.2.5 Implement a data-discovery methodology to confirm PCI DSS scope and to locate all sources and locations of clear-text PAN at least quarterly and upon significant changes to the cardholder environment or processes.

Data-discovery methodology must take into consideration the potential for clear-text PAN to reside on systems and networks outside of the currently defined CDE.

PCI DSS Reference: Scope of PCI DSS Requirements

As most of you have already probably noticed, Requirement A3.2.1/A3.2.5 activities are designed to validate the scope of the PCI DSS environment.  After a significant change, it is most definitely worthwhile validating that changes made haven’t inadvertently brought additional systems and/or networks into scope for assessment activities.  A3.2.5 is designed to identify if a by-product of the change has introduced any clear-text PANs (Primary Account Numbers) into the environment.

Ultimately, the expectation is that the organisation will have a defined policy for what it classes as a ‘significant change’ (review the examples within NIST SP 800-37 and reference this within the policy), will perform a risk assessment against any proposed significant changes, will perform actions to mitigate any risks identified, and will have a defined process for what activities are to be conducted (such as pen test etc) when that criteria for a significant change is met.

Segmentation and Shared Active Directory of a Cardholder Data Environment

Warning: Due to the topic, this post is long and therefore I have made a PDF version of this which can be downloaded here.

This is something that many QSAs (Qualified Security Assessors) are unable to agree on and I’ve been involved in many discussions for and against utilising a shared Microsoft Windows Active Directory (AD) infrastructure.  As I’ve already written about, this is something that in the past I have not allowed because when I used to do penetration testing, the ability to compromise the whole Windows Domain from simply gaining administrative access to a domain joined host was usually trivial.  That said, one could argue that this was due to the configuration of AD and the security of the Windows systems supporting it.

From a PCI DSS perspective, the PCI SSC guidance “Information Supplement: Guidance for PCI DSS Scoping and Network Segmentation” (Referred to as the PCI SSC Scoping Guidance herein) includes the use of Microsoft AD as a ‘Shared Service’, meaning that the same Microsoft AD can be used to service the in-scope Cardholder Data Environment (CDE) and the not-in-scope environments. This still finds me somewhat uneasy and I would still highly recommend designing a separate Microsoft AD environment to support the CDE and non-CDE environment as sharing a Microsoft AD environment will introduce unnecessary risks to the CDE and the cardholder data (CHD) being handled.  Mis-configurations over time to a shared Microsoft AD will only increase the chances of a compromise, therefore this is an important risk that must be managed well to ensure the environment stays secure.

That said, I have set off on this path to identify if there is a way to configure Microsoft AD and it’s supporting Windows infrastructure in a way that will provide increased protection against compromised untrusted domain joined hosts from leading to a complete compromise of Microsoft AD and the Domain Controllers (DCs).  This article will discuss the approach and findings to this research in the hope of providing further guidance for hardening Microsoft AD to reduce the risks of this type of deployment if an organisation is adamant on deploying Microsoft AD in this manner.

Objective

I’ve discussed my approach to ‘Scoping and Segmentation’ in a previous post (here), if you haven’t already read it I would recommend you do so.  As a recap, I discuss an approach which was originally introduced within the “Open PCI DSS Scoping Toolkit” (Referred to as the Open Scoping Toolkit herein) and which maps to a similar concept within the PCI SSC Scoping Guidance.  Both documents discuss the concept of 3 categories of network segments of different security boundaries.  These are defined as follows;

  • Page 10 of PCI SSC guidance document discusses three categories of systems as follows;
    • CDE Systems,
    • Connected-to or Security-impacting Systems (Shared Service),
    • Out-of-Scope Systems.
  • Open PCI DSS Scoping Toolkit 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)

To make the post easier to read, I’ll be using the terms CAT 1, CAT 2 and CAT 3, however these are synonymous to the three categories (CDE Systems, Connected-to/Security-impacting systems and Out-of-Scope Systems) identified within the PCI SSC Scoping Guidance as detailed above.

The key concept within these two documents is that the CAT 1 and CAT 3 segments should never have direct connectivity.  “Shared Services” can operate within the CAT 2 environment, which can serve both the CAT 1 and CAT 3 segments.  CAT 1 and CAT 2 are in scope for PCI DSS assessment activities, whilst, typically the CAT 3 segment remains out-of-scope for PCI DSS assessment activities.

The PCI SSC guidance document includes Microsoft Active Directory as a “Shared Service” which can service both the CAT 1 and the CAT 3 segments, which, as I’ve already discussed, I have always felt uncomfortable with.  The objective of this research and this article is to assume that the CAT 3 segment and all ‘not-in-scope’ (or untrusted) domain joined hosts within this segment have been compromised and a threat actor has “Administrative” control of one of (or all of) them.  Administrative access may give the threat actor access through Firewalls / Access Control Lists (ACLs) providing segmentation between the various network segment security boundaries.  Therefore, the goal is to identify a configuration of Active Directory that protects the CAT 2 and CAT 1 Active Directory infrastructure against a domain level attack, limiting the exposure to just CAT 3 devices.

The following paragraph on Page 6 of the PCI SSC Scoping Guidance says;

“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.”

Therefore, my objective is aligning to this premise of obtaining administrative access to the CAT 3 system(s), proving little to no risk to the environment, namely Active Directory, thus maintaining CAT 3 ‘out-of-scope’.

I’ll be looking at techniques to do this without the need to implement mitigation’s on the untrusted CAT 3 devices themselves.  Since we are trying to keep these hosts out-of-scope, if we start to implement mitigation controls on them, we are then bringing them into scope for some requirements which could then snowball into the whole of CAT 3 pretty much implementing all applicable PCI DSS controls thereby negating the point of them being not-in-scope.

Architecture

Due to the scoping and segmentation concepts discussed, a lot of organisations and QSAs will accept a design which is architecturally implemented in this manner, see the simplistic diagram below.

Simplistic Design

Simplistic Design Diagram

Domain Controllers could be deployed in one or many various locations across CAT 1, CAT 2 and CAT 3.  Regardless of their deployments, providing Microsoft Active Directory Sites and Services is configured correctly, you can still restrict which DCs clients will utilise for authentication to limit blanket access through firewalls from many Domain Joined hosts.

For Microsoft Windows and Microsoft AD to function correctly, multiple services operating within a Windows infrastructure have various port requirements.  The following table lists various port requirements which allow connectivity between Windows workstations and DCs and for intra-DC communications.  These ports are used to support services such as, but not limited to; Active Directory, Distributed File System Namespaces, Distributed File System Replication, Distributed Transaction Coordinator and Group Policy.  For a breakdown of ports and services, see the following Microsoft article; “Service Overview and Network Port Requirements for Windows”;

Source Port Protocol Application Protocol Destination Ports
1024-65535 TCP/UDP DNS 53
1024-65535 TCP/UDP Kerberos 88
1024-65535 TCP RPC (Remote Procedure Call) 135
1024-65535 TCP/UDP NetBIOS Name Server 137
1024-65535 UDP NetBIOS Datagram Service 138
1024-65535 TCP/UDP NetBIOS Session Services 139
1024-65535 TCP/UDP LDAP (Lightweight Directory Access Protocol) 389
1024-65535 TCP SMB (Server Message Block) 445
1024-65535 TCP Microsoft Active Directory Global Catalog 3268
1024-65535 TCP Microsoft Active Directory Global Catalog with LDAP/SSL 3269
1024-65535 TCP RPC 5722**
1024-65535 TCP Active Directory Web Services (ADWS) / Active Directory Management Gateway Services 9389
1024-65535 TCP/UDP Dynamic Port Ranges 49152-65535*

* Windows 2000, XP and Windows Server 2003 utilise a smaller range of dynamic ports; 1025 to 5000

** Windows 2008/2008 R2 servers only

So, these firewall ports will be included between CAT 3 and CAT 2 and between CAT 1 and CAT 2 in the diagram above.  These ports will likely need to be in both directions.

As you can see from the table, the port requirements are quite significant with some of these ports introducing many additional security concerns to the environment, especially SMB, RPC and NetBIOS ports which can allow threat actors to map out the Windows environment, brute-force user credentials or can expose vulnerabilities as these services are often the target of threat actors looking to find 0-day vulnerabilities.

Attacks/Risks

There are many attacks and mis-configurations that can lead to a compromise of a Microsoft AD infrastructure.  Due to the nature of Microsoft AD and the way in which it controls user authentication and utilises trusts-relationships between other domains, forests and computers, there are inherent risks that can often be introduced.  Some of the most common issues include;

Over privileged accounts: A secure design of Microsoft AD, or any other authentication system usually includes a least privilege concept.  This ensures users’ accounts are configured with the absolute minimum privileges required for the user to carry out their job function.  It is often the case that Microsoft AD accounts are configured with more privileges than needed and within larger environments, you can often see 100’s or even 1000’s of accounts like this.  This increases the attack surface area and the probability of compromising an over privileged account that can be used to gain full administrative control over the entire Microsoft AD infrastructure.

Privileged accounts with weak credentials: Linked to the above, there is a risk of privileged accounts having weak passwords that can be easily guessed and therefore compromised.  If a threat actor can gain access to a privileged account, this could provide an attack vector that leads to a compromise of the entire Microsoft AD infrastructure.

Password reuse: This can pose a real problem within Microsoft AD environments.  Often, passwords will be re-used across multiple accounts and across multiple devices.  If not managed correctly, it only takes a compromise of a single system to then yield a privileged account password that is used across many devices or either the entire environment.  An attacker can leverage this to then compromise the entire Microsoft AD infrastructure.

Abuse of Delegation Tokens: An issue within a Microsoft AD environment is that delegation tokens can often be cached on domain joined servers and workstations.  This becomes a massive issue if there is inadequate patching which exposes domain joined machines to privileged access.  Finding a domain joined machine with a domain administrative delegation token provides an attacker with administrative privileges across the whole domain.  With a delegation token, it allows the computer or service to present the credentials of that user via their delegation token.  Therefore, if a delegation token of a domain administrator is located, the delegation token can be used as if you were that domain administrator.

Pass-the-hash attacks: With pass-the-hash attacks, if the user’s password hash is obtained (for example, by dumping a local machines password database), Windows will allow a user to present the hash of their password instead of the actual password. This negates the need of an attacker cracking a user’s password since they can simply just present the hash obtained, authenticating as that user.

SMB Relay attacks: This is an old problem dating back to 1997 in a paper by Dominique Brezinski called “A weakness in CIFS Authentication”.  This man-in-the-middle attack allows an attacker to authenticate to a domain resource as a valid user.  The attack works by waiting for the start of a user’s SMB authentication process, then routing this traffic through the attacker’s computer, modifying the request so it is coming from the attacker but with the user’s credentials, thus authenticating to the resource as that user.  A good write up of this can be found in the “Server Message Block: SMB Relay Attack (Attack That Always Works)” article.

Kerberoasting attacks: This attack relies on having a valid user account to request service tickets for service accounts via their Service Principal Name (SPN) values.  Active Directory will return an encrypted ticket, which is encrypted using the (NT Lan Manager) NTLM hash of that account.  This can then be used to perform an off-line brute force attack to obtain the service account password in plain text. As discussed within Microsoft’s “Best Practices for Securing Active Directory”, avenues to compromise also includes; outdated applications and operating systems, missing patches and gaps in anti-virus and anti-malware deployments.  These elements are not specific to this discussion; therefore, these other attack vectors are not discussed further within this document which will purely focus on specific configuration and techniques to help secure Microsoft AD deployments.

Targeted Accounts

Within Microsoft AD, there are three main privileged groups that are targeted by threat actors, EA (Enterprise Admins), DA (Domain Admins) and BA (Built-in Administrators) groups, DNSAdmin is also targeted which is discussed later.  Users of these groups are the target of threat actors since these groups of users have privileged access to the Active Directory.  On workstations and member servers, the local Administrators group is also targeted as this group provides the attack with privileged access to the workstation/server.

Additionally, VIP (Very Important Person) domain accounts are often targeted due to the types of data they have access to.

The remainder of this document discusses one possible design and various best practice configuration techniques which will help mitigate some of the threats to Microsoft AD helping to secure Microsoft AD as a ‘Shared Service’.

One Possible Design Scenario

My issue with the simplistic design above is that domain controllers are located within CAT 2, therefore there are a lot of ‘undesired’ ports required to allow functionality between the untrusted domain joined machines in CAT 3 and the Microsoft AD services in CAT 2.  The following design can somewhat simplify this since a second DC (or multiple for fault tolerance) can be included within CAT3, however this DC would still be in scope for PCI DSS assessment activities.  Additionally, since there is no firewall between the CAT 3 system components and the DC housed within CAT 3, this exposes the DC to additional threats.  For this reason, it is recommended that the local software firewall be utilised to provide additional firewalling functionality (which would come into scope for PCI DSS Requirement 1).

Example Design Scenario

Example Design Scenario Diagram

Specific Configuration and Best Practice Techniques

This section provides some best practice and configuration specifics that can (and most definitely should) be used to harden the Microsoft AD environment.  The narrative of the discussions within this section will be based on the example design scenario above.  The following sub-sections will discuss some specific configurations, techniques and areas of AD that can help secure the environment.

Microsoft Active Directory Sites and Services

With this example design, traffic from the untrusted domain joined machines within CAT 3 and Microsoft AD can be limited to DC3.  This can be done by configuring Microsoft AD Sites and Services correctly.  Once setup correctly, the firewall rules can be locked down to block traffic between domain joined machines and CAT 2, only allowing DC3 into CAT 2.

N.B. The design diagram does identify additional shared services, such as Microsoft CRM and Exchange Server.  Access to these resources can be restricted on the firewall or front-end servers (Microsoft Exchange) could be used within CAT 3.

Separate Accounts

Privileged access accounts should not be used for general productivity (day-to-day) tasks.  Privileged accounts should only be accessed when required to perform a specific task which requires elevated privileged and should only be used to complete said task.

There are a lot of Windows vulnerabilities that require elevated privileges to work, therefore only standard user accounts should be used for general day-to-day activities.  As per the 2019 BeyondTrust Annual Microsoft Vulnerabilities Report (Available Here), 81% of crucial vulnerabilities discovered in 2018 would be mitigated by simply not running as an Administrator.

Additionally, as already discussed in the Attacks/Risks section above, limiting use of these accounts will reduce the attack surface and the chances a threat actor will gain access to a privileged account.

Securing Privileged Accounts

This section discusses the various techniques that can help with securing privileged accounts.

Privileged Account Hardening/Best Practice

Microsoft has released many extremely useful articles discussing how privileged user credentials can be secured to protect against many of the threats they face.  This section will provide information on some (not all) of the recommendations as follows:

  • Privileged accounts should not be used to browse the Internet or receive emails.  In fact, Domain Controllers and other sensitive systems, including Privileged Access Workstations (PAWs); which are discussed later, should not have access to the Internet.  Restrictions on web browsers and email clients can be placed on these systems and firewalls can be configured to block Internet access.
  • Password re-use should not be in use within the environment.  Password re-use is where the same password is used across many accounts.  In fact, this is a breach of one of PCI DSS requirements 8.5.b which says “8.5.b Examine authentication policies and procedures to verify that use of group and shared IDs and/or passwords or other authentication methods are explicitly prohibited.”.  LAPS can help with this which is discussed later, however it still comes with its complications so the easiest way to overcome this problem is to simply disable Administrator accounts across all servers and workstations (booting into Safemode will still allow disabled Administrator accounts to be used).  LAPS coupled with disabling the Administrator account will provide coverage against password reuse and the ability to utilise the Administrator account remotely.
  • Limit the number of accounts within privileged domain groups, or better yet, add accounts to the “Privileged Groups” only when needed and only for the duration of when that user requires said privileges.  This should be supported by a strong approvals process for granting these privileges.
  • Authentication Policy Silos can be used to limit where account can be used.  This can effectively be used to limit privileged and “sensitive” accounts to where they can be used within the domain.  This can be used to limit high-value account usage to high-value assets, thus limiting the risks of account compromises of these high-value accounts by enforcing their usage to high-value assets only (i.e., can limit accounts for us in CAT 1 only).  See the “Authentication Policies and Authentication Policy Silos” article for further reading.
  • Limit the number of accounts with direct administrative control over workstations and servers. Many organisations will limit access to privileged domain groups but will provide user accounts with local administrative rights to a lot of the estate’s workstations and servers.  These accounts would still be targeted by attackers and could be leveraged to compromise the AD estate.
  • LAPS can be used to provide just-in-time local admin passwords.  With LAPS, unique random passwords are generated for administrative user accounts across all workstations and servers the LAPS client has been deployed to.  The passwords are then stored within Active Directory, which are protected by ACLs (Access Control Lists) which can be configured to a select number of system administrators.  Ideally, the Administrative account should be disabled instead of relying on LAPS, due to additional complications as detailed below.

N.B. This can cause an issue with PCI DSS requirements because potentially, multiple users will have access to the administrative passwords.  A suitable compensating control would need to be implemented to work with LAPS due to this issue.

  • MFA using Smart cards or certificate-based authentication mechanisms can and should be used to further protect privileged accounts.
  • A Microsoft article (found here) discusses activities that increase the likelihood of compromise.  Within this article, it suggests that logging on to unsecured computers with privileged accounts can increase the risk of a compromise.  The issue is that the security posture of the unsecured domain joined computers is unknown, therefore utilising an AD account that has elevated privileges across the domain is a bad idea as the credentials could be compromised.  To perform administrative functions across these machines, the recommendation would be to create specific domain user accounts (Not Domain Admin) designed for the purpose of performing administrative functions on these unsecured computers.  Add these users to an Active Directory Group (Unsecure Comp Local Admins) and add this group into the local Administrators groups on each machine within CAT 3.  This will give these users the ability to perform local administrative functions.  Domain user accounts should only be added to this group when they need to perform remote administrative activities so this group should remain empty for the majority of the time.

Care still needs to be taken when logging on directly or utilising logon types which will leave reusable credentials on the destination host (e.g. RUNAS authentication).  As already mentioned, it would be recommended that these accounts utilise MFA (all privileged accounts would be recommended).  The “Administrative Tools and Logon Types” section of the “Active Directory administrative tier model” document details which logon types leave reusable credentials on a destination host.  Again, it is important that the membership of the “Unsecure Comp Local Admins” group is kept empty until needed.  To further secure these accounts, Active Directory Users and Computers can be used to restrict authentication of these user accounts to only work for the unsecured computers.  This can be done by configuring the “Logon Workstations” for the user account profile (this can be found under Account à Log On To).  You need to specify the NetBIOS machine name or DNS computer name of each machine the user account can logon to.  This can get tiresome; therefore, this can be done via PowerShell by providing a list of users.  Note: This property is limited to 64 computers.

Workstations and Member Servers Local Privileged Accounts

The following best practices are recommended for privileged accounts on domain joined workstations and servers;

  • Limit the exposure of compromised Administrator accounts by limiting where they can logon;

Via Group Policy, this can be done by adding Administrator to the following objects;

Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignments:

  • Deny access to this computer from the network
    • Deny log on as a batch job
    • Deny log on as a service
    • Deny log on through Remote Desktop Servers
  • The following “Securing Privileged Access” Microsoft article recommends the use of just-in-time passwords (i.e. LAPS) to perform administrative functions on workstations which are in less secure environments (i.e. CAT 3), so as not to expose a domain admin account.  A contradictory recommendation within the follows “Avenues-to-Compromise” article also suggests disabling the built-in administrator account, which is disabled by default in current versions of Windows Workstation (from Windows Vista).  Under normal operation of the Windows host, a disabled administrator accounts cannot be used. This, coupled with LAPS, will therefore further secure the environment since should a host get compromised and the attacker obtain the local administrator password hash, it will be a randomly generated password.  A disabled administrator account can only be used if the machine is booted up into safe mode, so for Disaster Recovery purposes, an authorised user can access the LAPS passwords within Active Directory and recover the system through safe mode.

Privileged Accounts and Groups in Active Directory

The following best practices should be applied to privileged accounts and groups in Microsoft AD;

  • For BA accounts, the following controls should be implemented;
    • Enable the “Account is sensitive and cannot be delegated” flag on the account.  This can be done within the user’s properties within Active Directory Users and Computers.
    • Enable the “Smart card is required for interactive logon” attribute on the account.  Windows will reset the account’s password to a 120-character random value.  This makes this account unusable, although the password could be reset if required.
    • Within a Group Policy object that is linked to all workstations and servers, add this BA account into the following rights in Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignments;
      • Deny access to this computer from the network
      • Deny log on as a batch job
      • Deny log on as a service
      • Deny log on through Remote Desktop Services
    • Within a Group Policy object that is linked to domain controllers, add this BA account into the following rights in Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignments;
      • Deny access to this computer from the network
      • Deny log on as a batch job
      • Deny log on as a service
      • Deny log on through Remote Desktop Services

(N.B.: This does not stop the Administrator account from being used at the console, or in disaster recovery scenarios)

  • Disable the BA account.
    • Enable auditing of the BA account to highlight any changes to the configuration of the account.
  • For the EA group, the following controls should be implemented;
    • On a day-to-day basis, the EA group should not have any members, apart from possibly the Forest Root domain’s administrator, which should be secured as above.
    • Within a Group Policy object that is linked to all workstations and servers, add this EA group into the following rights in Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignments;
      • Deny access to this computer from the network
      • Deny log on as a batch job
      • Deny log on as a service
      • Deny log on through Remote Desktop Services
    • Enable auditing of the EA group to highlight any changes to the configuration of the account.
  • For the DA group, the following controls should be implemented;
    • On a day-to-day basis, the DA group should not have any members and should only be used in build or disaster recovery scenarios.  The only possible exception to this is possibly the domain’s administrator account, which should be secured as above.
    • Within a Group Policy object that is linked to all workstations and servers, add this DA group into the following rights in Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignments;
      • Deny access to this computer from the network
      • Deny log on as a batch job
      • Deny log on as a service
      • Deny log on through Remote Desktop Services

N.B. If jump servers are used to administer DCs and Microsoft AD, ensure these are within an Organisational Unit (OU) that restricts this GPO from being applied.

  • Enable auditing of the DA group to highlight any changes to the configuration of the account.

N.B. By default the Domain Admins group is added as a member of the local Administrators group on workstations and servers when they get added to the domain.  This should not be modified as it can affect supportability and disaster recovery options.

  • For the local Administrators group, the following controls should be implemented;
    • On a day-to-day basis, the DA group should not have any members and should only be used in build or disaster recovery scenarios.  The only possible exception to this is possibly the domain’s administrator account, which should be secured as above.
    • Within a Group Policy object that is linked to all workstations and servers, add this local Administrators group into the following rights in Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignments;
      • Deny access to this computer from the network
      • Deny log on as a batch job
      • Deny log on as a service
    • Within a Group Policy object that is linked to all domain controllers (usually the Domain Controllers OU), add this local Administrators group into the following rights in Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Rights Assignments;
      • Access this computer from the network
      • Allow logon locally
      • Allow logon through Remote Desktop Services
    • Enable auditing of the local Administrators group to highlight any changes to the configuration of the account.

N.B. Be careful do not implement Deny logon locally or Deny logon through Remote Desktop Services for the local Administrators group as this could cause issues.

N.B. All additional PCI DSS Requirements for user accounts should also be implemented as per the PCI DSS V3.2.1; i.e. Requirements 7 & 8.

Multi-Factor Authentication should be used for all “Administrative” accounts.

Role Based Access Controls (RBAC)

As discussed in the previous section, in most cases, membership of the EA, DA and BA privileged groups should not have any members in them.  So, how do system administrators carry out admin tasks?  This is where RBAC comes in.  This can be achieved via native tools and interfaces, tooling created by the company or third-party products.  The idea of RBAC is to create roles within Active Directory and delegating the necessary rights and permissions to that group, allowing its members to perform day-to-day admin tasks.  By utilising this approach, the organisation can create roles with specific rights and permissions, ensuring that the group doesn’t have too much privilege.

This can be challenging and will rely on the organisation having clearly defined roles and responsibilities for the various groups of administrators within the IT teams.  To ensure each role is configured with the least privileges required, for each role, the organisation should identify;

For each role you define, you should identify:

  1. Which tasks members of the role perform on a day-to-day basis and which tasks are less frequently performed.
  2. On which systems and in which applications members of a role should be granted rights and permissions.
  3. Which users should be granted membership in a role.
  4. How management of role memberships will be performed.

N.B. If highly privileged rights/permissions are required, then separate accounts should be used, with MFA enabled on these accounts.  All the guidance above for “Privileged” accounts should be followed for these highly privileged roles.

Microsoft AD does have some predefined security groups that may be appropriate for specific job roles, for example; the DNS Admins group.  The DNS Admin group has the necessary rights and permissions to maintain and manage DNS zones and records, however care of this group needs to be taken since DNS is heavily utilised for the correct operation of AD so a malicious threat actor could compromise the correct operation of AD by modifying DNS or can redirect traffic flows.

Membership within the privileged groups; EA, DA and BA should be temporary and immediate revoked once the user has carried out their task.

Service Account Hardening

Many system administrators will configure service accounts with excessive permissions.  These accounts will often be configured as members of some of the highly privileged groups such as Domain Admins or Schema Admins.  Each service account’s function needs to be fully understood so the minimum level of privileges can be configured for the account to operate correctly.  A compromise of a privileged account could allow an attacker to compromise the accounts of every user or service account utilising this information to compromise other systems within the environment.

Ensuring all service accounts are limited to privileges required for the service to perform its functions ensures that a compromise of the account doesn’t give the attacker too much functionality within the Microsoft AD environment.

Another issue with service accounts is managing passwords.  Typically, a service account will have a strong password configured and securely stored within the environment for when additional services are installed that requires that service account.  This causes a security concern and causes issues with PCI DSS since multiple users know the service account’s password.  Something added in Windows Server 2012 was gMSA (Group Managed Service Accounts) which utilises the Key Distribution Service to generate new passwords in line with the ManagedPasswordInterval setting.  This can be used for scheduled tasks, IIS Application Pools, and other applications that support gMSA.

Where service accounts are used, gMSA should be investigated to determine if this feature can be used.  If gMSA cannot be used, strong passwords should be configured along with a documented process ensuring that each service account has its password changed at an acceptable pre-defined interval and the supporting applications are re-configured to reflect this.  An individual shouldn’t have access to the password, which should be under dual-control (i.e. two administrators who both set half the password).  There should be no reason to store this as processes should be in place to simply reset the password and application should this be required.

Additional hardening should be carried out; such as, but not limited to:

  • Enable the “Account is sensitive and cannot be delegated” flag on the account.  This can be done within the user’s properties within Active Directory Users and Computers.
  • If the service account is used on a handful of computers, restrict the account to these specific computers within Microsoft Active Directory for Users and Computers.
  • Enable auditing of the service account to highlight any changes to the configuration of the account.
  • Ensure a service account is created for each specific function.  Don’t share service accounts that have similar privilege requirements.

The “Windows server 2012: Group Managed Service Accounts” article discusses how gMSA’s can be configured for scheduled tasks.

This should provide some protection against Kerberoasting attacks.

Read-Only Domain Controllers

Read-Only Domain Controllers (RODC) are ideal for locations which are less secure or present a greater risk to the asset.  This RODC type is designed so no changes can be made to AD and, that replication traffic is in-bound only.

By default, credential caching is not enabled on RODCs, therefore no passwords are stored.  This behaviour can be changed if required by permitting specific groups to cache passwords.  Due to the physical risks of RODCs, this would not be advisable.

Another feature of the RDOC is the ability to filter specific object attributes to stop replication of these attributes to the RDOC.  This would be recommended if utilising LAPS to ensure the administrator account passwords are not replicated to these RODCs.

There are other features of RODC; such as SYSVOL Modification Isolation, Administrator Role Separation and Read-only DNS Server which help to protect the environment.  These are discussed further within the following paper; “Beyond the MCSE: Active Directory for the Security Professional” that was presented at Black Hat and should be configured.

Finally, where RODCs are used in less secure remote locations, BitLocker Drive Encryption should be used to protect the operating system against physical attacks.  That said, since this ‘critical’ piece of infrastructure is within these remote locations, PCI DSS Requirements 9.1 to 9.4 would also be included for these physical locations.

Just in Time (JIT) Administration

JIT, also referred to as just in time privileges utilises Microsoft solutions to provide administrative privileges when required for a specific task and for a specified time period.  Introduced in Windows Server 2016, this is performed by leveraging “Microsoft Identity Manager and Privileged Access Manager (PAM)“.  PAM builds upon this JIT least privilege principle ensuring administrators don’t have administrative privileges for a prolong period.  This builds on a PowerShell toolkit defining a set of commands for performing privileged activities known as Just Enough Administration (JEA) (Discussed here from a TechEd 2014 Talk https://channel9.msdn.com/Events/TechEd/NorthAmerica/2014/DCIM-B362)

PAM works by separating privileged accounts to a BASTION domain from an existing Active Directory environment.  For an account to be provided with privileged access, this needs to be requested and then approved before the privileged account is given the necessary permission via a foreign principal group (shadow principals) within the BASTION forest which mirror objects within the existing Active Directory.  Workflows are leveraged for users to request temporary access to privileged groups within the main active directory which is achieved via shadow principal users and groups within the BASTION forest, which have a time-to-live value so the shadow principle through these shadow principle users and groups.

PAM has four setup and operation steps as follows;

  1. Prepare:  This preparation step is concerned with identifying the groups within the existing Active Directory that has significant privileges which need to then be created within the BASTION domain.
  2. Protect: Designed to protect the authentication of the users requesting JIT administration using; for example, Multi-Factor Authentication (MFA).
  3. Operate: This step is responsible for granting administrative privileges by adding the user account to the privileged group within the BASTION domain, for a set period of time.  This will only be fulfilled if the authentication requirements are met, and the request gets approved.
  4. Monitor: This whole activity is audited with alerting and report functionality included by PAM.

Privileged Access Workstations (PAW)

Aka Secure Administrative Hosts, are hosts dedicated to providing a secure platform to allow privileged accounts to undertake administrative tasks within AD and the supporting environment.  These hosts should not be permitted to access the Internet and should not run unnecessary applications such as, but not limited to, email applications, web browsers or productivity software (for example Microsoft Office).

These systems should never be accessed from a less-trusted system and the privileged accounts used when operating on these hosts shouldn’t rely on a single authentication factor.  Physical security of these devices should be considered and therefore PCI DSS Requirements 9.1 to 9.4 should be included wherever these hosts are located.

Smart cards should be used for privileged accounts used to access the PAW.  This can be done by enforcing the use of smart cards on the PAW through Group Policy through the following GPO setting;

  • Computer Configuration\Policies\Windows Settings\Local Policies\Security Options\Interactive logon: Require smart card

The accounts permitted to access the PAW should be limited through the following GPO settings;

  • Computer Configuration\Policies\Windows Settings\Local Policies\Security Settings\Local Policies\User Rights Assignment

A secure baseline of the PAW should be created utilising tools such as; but not limited to, the Microsoft Security Configuration Wizard, Microsoft Security Compliance Manager and other third-party tools; for example, CIS (Centre for Internet Security) baselines.

AppLocker or a third-party application restriction software should be deployed to restrict which scripts, tools and applications are permitted to run.

RDP restrictions should be configured to limited who can connect to the Remote Desktop Service.

PAWs shouldn’t have Internet connectivity and should be properly patched inline with PCI DSS Requirement 6.2.

Finally, care needs to be taken if the PAWs are running on a virtualisation infrastructure since additional security controls and hardening of the virtualisation infrastructure would need to be carried out.

SMB Message Signing

SMB Message Signing helps to prevent attacks relaying NTLM authentication messages, therefore stopping SMB Relaying discussed above.  This can be done through GPO by enabling the;

  • SMB Servers
    • Microsoft network server: Digitally sign communications (always)
  • SMB Clients
    • Microsoft network client: Digitally sign communications (always)

N.B.  As discussed in the following blog article “Security Advisory: Critical Vulnerabilities in NTLM Allow Remote Code Execution and Cloud Resources Compromise”, a recent vulnerability allows SMB Signing to be bypassed, therefore the June 2019 Microsoft patch for CVE-2019-1040 and CVE-2019-1019 needs to be applied.

Domain Controllers and Member Servers

Regardless of their location within the environment, Security Features on Domain Controllers and Member Servers should not be disabled.  The Windows Firewall automatically configures itself based on the roles or features installed on it, additionally User Access Control (UAC) should not be disabled on any server unless a specific scenario requires it as per Microsoft Support article 2526083.

As already discussed, access to the Internet from Domain Controllers and Members Servers should be blocked and a robust patching policy / process needs to be implemented. Also, as discussed under PAWS, a secure baseline should be created utilising tools such as; but not limited to, the Microsoft Security Configuration Wizard, Microsoft Security Compliance Manager and other third-party tools.

As highlighted in one of the linked Microsoft articles, care needs to be taken when security baselines are transposed from older operating systems to newer operating systems as some of the newer security settings may end up being misconfigured.  When installing newer servers or raising the functional levels of the domain/forest, the newer security features should always be reviewed, creating a new baseline for these systems.

RDP restrictions should be in place on all Domain Controllers and Member Servers.  This should be configured using a combination of user rights settings allowing specific users RDP access and through the correct implementation of WFAS (Windows Firewall with Advanced Security) configuration to limit access to authorised clients such as PAWs.  This should be configured through GPO to ensure a consistent configuration and to ensure the settings are re-applied, should they get changed.

Remote Desktop Admin Mode

This should be configured across the entire estate.  With this setting enabled, the transmission of reusable credentials to the remote systems are prevented.  This will prevent administrative credentials from being harvested should the remote system be compromised.  How to configure this on the remote systems and how to launch remote desktop in RestrictedAdmin mode is explained within this “Remote Desktop Services: Enable Restricted Admin mode” article.

Alerting / Logging

As with any environment, adequate logging and alerting should be configured to help identify compromises, hacking attempts and to assist in any forensics work to help identified specific details of the attack/compromise.  The Microsoft “Audit Policy Recommendations” article provides details of what logging should be enabled.

Additional General Hardening

This section is in no way a comprehensive list of all best practice security hardening required to design a secure Microsoft Active Directory environment.  Industry-recognised hardening resources and tools such as the Microsoft Security Configuration Wizard, Microsoft Security Compliance Manager and other third-party tools should be utilised to ensure a robust hardening configuration strategy is used.  Some hardening examples include;

  • Enforce NTLMv2 within the environment (or investigate replacing it with a more secure authentication protocol such as Kerberos and restricting the use of NTLM within the environment.  The following “Restricting NTLM usage” article provides additional information)
  • Enforce LDAP/S Signing (Microsoft plan to enforce a security update early 2020 to enabled LDAP channel binding and LDAP signing hardening changes; see https://support.microsoft.com/en-us/help/4520412/2020-ldap-channel-binding-and-ldap-signing-requirement-for-windows)
  • Enforce EPA (Enhanced Protection for Authentication)
  • Group Policy Preferences is a feature introduced in Windows 2008.  In 2014, Microsoft released the encryption key used by this feature to encrypt credentials that can be stored within Group Policy for scheduling tasks, mapping drives, etc…  Although in 2014 Microsoft released a patch for this, the old credentials can still be left lingering within the SYSVOL share or cached on local machines.  It is important to ensure these are not located within the environment.  GrimHacker released a tool called “GP3Finder” that can be used to help identify this issue
  • On Member Servers, set the “Computer Configuration\Windows Settings\Security Settings\Account Policies\Local Policies\Interactive logon: Number of previous logons to cache (in case domain controller is not available)” to 0.  This will ensure users credentials are no longer cached on Member Servers which is set to 10 by default.
  • On all systems, disabled the “Store password using reversible encryption” option in Group Policy.  This is within the following setting; “Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy: Store passwords using reversible encryption”
  • Prevent WDigest passwords being stored in memory.  A patch was released to resolve this issue back in 2014, however a registry key setting is also required; “HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SecurityProviders\WDigest: UseLogonCredential” set to 0

See the following Microsoft Security Advisory “Update to improve credentials protection and management”

  • Disable NetBIOS and LLMNR, which can be done by as follows:
    • For NetBIOS, use the “001 Microsoft Disable Netbios Option” and then configure the clients to accept the DHCP server to determine the NetBIOS behaviour.  This can be done through the following registry key, which can be configured through Group Policy; HKLM:SYSTEM\SYSTEM\CurrentControlSet\Services\NetBT\Parameters\Interfaces\tcpip{*}:NetbiosOptions -Value 2

N.B. The * denotes a unique hexadecimal number

  • For LLMNR, this can be done via GPO by setting enabling “Turn off Multicast Name Resolution” option within Computer Configuration\Administrative Templates\Network\DNS Client within Group Policy

Regular Review of Controls

Since there is a lot of the security configuration, techniques and controls used to help secure Microsoft AD for us as a “Shared Service”, this configuration must be regularly reviewed against the baseline.  Privileged Groups/Accounts should be monitored to identify any unauthorised changes which could indicate a potential compromise of the environment, or a simply mis-configuration by an administrator.

My opinion would be that this review needs to be carried out at least quarterly to help ensure no mis-configurations compromising the security of the design and implementation is introduced and that all security controls, configurations and techniques are maintained.  Staff should also be allowed time to keep abreast of new security techniques designed to further secure Microsoft AD and Windows hosts to maintain a high security baseline across this type of deployment.

Penetration Testing

There is no denying that the use of Microsoft Active Directory as a “Shared Service” is highly risky and requires a lot of technical configuration and discipline to best practices to help secure the environment.  A breakdown of just one of these technical controls or a discipline to best practices implemented can result in a compromise of the secure environment and breach of cardholder data.

To ensure the security best practices and technical configuration is maintained, it is important that the environment is adequately scoped for Penetration Testing activities.  Testing should be increased within these environments to validate the security and segmentation across the environment with penetration testing recommended to be a minimum of every 3 to 6 months depending upon the volumes of cardholder data that could be at risk through a compromise.

MFA

With the introduction of PCI DSS Version 3.2.1, all non-console administrative access needs to support Multi-Factor Authentication (MFA).  The guidance within the PCI DSS Requirements and Security Assessment Procedures document does highlight that where the CDE is segmented, MFA can be configured at the network level for entry into the CDE, it doesn’t then need to be configured on each system.  However, with this type of setup, I would suggest that for all non-console access where administrative users are being used, MFA be enabled to protect against replay attacks.  Additionally, it is also worth pointing out that for some authentication; SMB access, it is unlikely that MFA can be configured, therefore it is best to ensure administrative accounts are not used on any authentication mechanisms that does not support MFA.

Domain Controller PCI DSS Requirements

When the DC is located within the CAT 3 zone, it will still be in scope for all applicable requirements.  This section gives an idea of what PCI DSS Version 3.2.1 requirements will NOT likely be applicable; however, this list can still depend upon the environment setup and the QSAs discretion.

N.B. This section only covers the applicability of PCI DSS Requirement to the Domain Controller in the scenario highlighted at the beginning of the post, i.e. operating within the CAT 3 zone.  It doesn’t include the organisations overall PCI DSS requirement.  It doesn’t include the Jump Box or PAWS that may be located within the CAT 3 zone used to access the DC within its site location.

Requirement 1: Install and maintain a firewall configuration to protect cardholder data

This requirement is applicable since the WFAS should be configured to reduce the attack surface of the DCs.  If other “in-scope” devices; for example, a Jump Box/PAWS, are located at remote sites where the RODCs are located, a hardware firewall may be used to protect all these in scope devices.  This will very much depend upon the environment since the use of the WFAS can simplify the firewall configuration since Windows can pre-configure this based on the roles/components installed.

The following requirements have been identified as potentially not being applicable;

Requirement Discussion
1.1.4 DMZ wouldn’t be applicable for the CAT 3 Domain Controller.
1.2.2 Router isn’t applicable for the CAT 3 Domain Controller.
1.3 Public access to the Domain Controller wouldn’t be applicable for the CAT 3 Domain Controller.
1.4 Portable computing devices aren’t applicable for the CAT 3 Domain Controller.

Requirement 2: Do not use vendor-supplied defaults for system passwords and other security parameters

Hardening of the DCs will be in scope to ensure they are not susceptible to compromise.  Only the following requirements have been identified as potentially not being applicable;

Requirement Discussion
2.1.1 Wireless wouldn’t be applicable for the CAT 3 Domain Controller.
2.6 Shared Hosting shouldn’t be applicable for the CAT 3 Domain Controller.

As per requirement 2.2, configuration standards need to be in place for ALL system components (which include DCs).  Suitable hardening needs to be carried out, this should be aimed at protecting the systems from attack.  Industry-accepted system hardening standards exist and must be used to help meet this requirement.  My recommendation would be to incorporate as many security hardening standards and sources as possible to ensure DCs (and other system components) are securely configured.

Requirement 3: Protect stored cardholder data

This requirement wouldn’t be applicable since the DCs in CAT 3 wouldn’t be storing CHD.

Requirement 4: Encrypt transmission of cardholder data across open, public networks

This requirement wouldn’t be applicable since the transmission of CHD wouldn’t touch the DCs.

Requirement 5: Maintain a Vulnerability Management Program

The only requirement that wouldn’t be applicable within Requirement 5 would be Requirement 5.1.2, since the DCs would be considered as commonly affected by malicious software and therefore would need anti-virus to be installed.

Requirement 6: Develop and maintain secure systems and applications

Within Requirement 6, only Requirements 6.1, 6.2 and 6.4 would likely be applicable for the in-scope DCs.

Requirement 7: Restrict access to cardholder data by business need to know

All Requirement 7 is likely in scope for the CAT 3 DCs.

Requirement 8: Identify and authenticate access to system components

All Requirement 8 is likely in scope for the CAT 3 DCs.  The majority of this will be covered by settings which are configured within the Active Directory domain which would be replicated to the DCs; therefore, already be covered by the entire PCI DSS program.

Requirement 9: Restrict physical access to cardholder data

Only the requirements from Requirement 9.1 to Requirement 9.4 (inclusive) would likely be included in scope for PCI DSS assessment activities.  These cover the physical location of where the DCs are physically located.

Requirement 10: Track and monitor all access to network resources and cardholder data

All Requirement 10 is likely in scope for the CAT 3 DCs.

Requirement 11: Regularly test security systems and processes

The only exception to all Requirement 11 being in scope is Requirement 11.2.2 for External ASV scanning.

Requirement 11.1 would be applicable for the CAT 3 DCs and the location where the CAT 3 Domain Controllers are located.

Requirement 12: Maintain a policy that addresses information security for all personnel

I would expect all of Requirement 12 to be in scope for PCI DSS.  12.3 should include acceptable use of some of the privileged accounts, limited their use on certain devices.

My Final Ramblings

Reviewing the PCI SSC released the PCI SSC Scoping guidance, the use of Microsoft Active Directory as a ‘Shared Service’ is included.  For this reason, many organisations have started to adopt this same strategy within their architectural designs for their CDE and non-CDE environments.  In my honest opinion, this is still dangerous since one mis-configuration of the myriad of security controls designed to secure this setup can potentially lead to a compromise of the environment.  It is generally much safer to separate the non-CDE and CDE Microsoft Active Directories.

Although the above techniques should help organisations configure Microsoft Active Directory securely to support its use within a PCI DSS Cardholder Data Environment (CDE).  Organisations still need to be careful of scope creep within the CAT 3 environment.  The premise of determining if a system component is in scope or not, depends on the risk that system has to the environment should it be compromised.

Your specific environment should be reviewed by a QSA to determine what the scope is and only a QSA would be able to sign this off.  Although the customer is responsible for defining the scope of the environment, the QSA will validate it during the assessment.  This is a requirement within the front section of the Report on Compliance (ROC) so a QSA would still have to sign it off.

This is just one type of Microsoft Active Directory design and doesn’t include the use of multiple domains within the forest or multiple inter-connected forests.  There are specific attacks against domain trusts which would need to also be considered should a Microsoft Active Directory forest with multiple Active Directory domains be in use.  There are some articles discussing this at the end of this blog.

If the entity being assessed is deploying a shared Active Directory, the specific hardening and secure design concepts being followed should be adequately documented so the QSA is able to validate the secure design and review specific configuration settings before signing it off as adequately segmented and secured.

I would also like to make a very specific point on segmentation testing and penetration testing.  If a shared Active Directory is deployed, the scope of the internal penetration testing and segmentation testing MUST include an exhaustive test of all CAT 3 environments, INCLUDING system components within them.  This MUST include domain joined hosts, even if they are not determined in scope for the PCI DSS Assessment.  The aim of the penetration testing and/or segmentation testing should be to compromise CAT 3 hosts to see if the penetration tester can leverage the host to compromise in-scope CAT 3 systems or the CAT 2/1 environments.  This should be fully documented within the organisations penetration testing methodology which is a requirement under PCI DSS Requirement 11.3.

Planning for Compromise

The various Microsoft articles linked within this blog post include a section called “Planning for compromise”.  This is an interesting read and organisations should plan for when a Microsoft Active Directory gets compromised because it may require a full rebuild of the environment and therefore should be included within the organisation’s disaster recovery plan.  A compromise of a system makes that system untrustworthy, which means it will need to be rebuilt before it is considered trustworthy within the environment.  If the compromise impacts the Domain Controllers within the environment, due to the replication between all Domain Controllers, all Domain Controllers within the environment become untrustworthy, therefore requiring a complete rebuild of the environment.  Therefore, it is important that this needs to be planned for.

Some of the articles used during research

I don’t usually include a section like this within my posts, however I feel that some of the resources I used in the writing of this post may be useful to others.

  1. A Guide to Attacking Domain Trusts: http://www.harmj0y.net/blog/redteaming/a-guide-to-attacking-domain-trusts/
  2. Active Directory administrative model: https://docs.microsoft.com/en-us/windows-server/identity/securing-privileged-access/securing-privileged-access-reference-material
  3. Active Directory forest trusts part 1 – How does SID filtering work?: https://dirkjanm.io/active-directory-forest-trusts-part-one-how-does-sid-filtering-work/
  4. Authentication Mechanism Assurance for AD DS in Windows Server 2008 R2 Step-by-Step Guide: https://technet.microsoft.com/library/dd378897.aspx
  5. Best Practices for Security Active Directory: https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/plan/security-best-practices/best-practices-for-securing-active-directory
  6. Beyond Domain Admins – Domain Controller & AD Administration: https://adsecurity.org/?p=3700
  7. Beyond the MCSE: Active Directory for the Security Professional: https://www.blackhat.com/docs/us-16/materials/us-16-Metcalf-Beyond-The-MCSE-Active-Directory-For-The-Security-Professional-wp.pdf
  8. Designing the Site Topology: https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/plan/designing-the-site-topology
  9. How Active Directory Authentication Works: http://www.rebeladmin.com/2018/06/active-directory-authentication-works/
  10. How to configure a firewall that resides between a Windows Domain Controller and a NetApp controller: https://kb.netapp.com/app/answers/answer_view/a_id/1030571/~/how-to-configure-a-firewall-that-resides-between-a-windows-domain-controller
  11. Microsoft Attack Surface Analyzer: https://github.com/Microsoft/AttackSurfaceAnalyzer/wiki
  12. Protecting Privileged Domain Accounts: Safeguarding Access Tokens: https://digital-forensics.sans.org/blog/2012/03/21/protecting-privileged-domain-accounts-access-tokens?fbclid=IwAR3IBEmPT_WRUuPLScrjudvrceS7jw1YF_rZITfVZGsrYfevH7L1s4pglXk
  13. Remote Desktop Services: Enable Restricted Admin mode: https://social.technet.microsoft.com/wiki/contents/articles/32905.remote-desktop-services-enable-restricted-admin-mode.aspx
  14. Security Advisory: Critical Vulnerabilities in NTLM Allow Remote Code Execution and Cloud Resources Compromise: https://blog.preempt.com/security-advisory-critical-vulnerabilities-in-ntlm
  15. Service overview and network port requirements for Windows: https://support.microsoft.com/en-gb/help/832017/service-overview-and-network-port-requirements-for-windows
  16. Windows 10 Device Guard and Credential Guard Demystified: https://blogs.technet.microsoft.com/ash/2016/03/02/windows-10-device-guard-and-credential-guard-demystified/
  17. Windows Server 2012: Group Managed Service Accounts: https://techcommunity.microsoft.com/t5/Core-Infrastructure-and-Security/Windows-Server-2012-Group-Managed-Service-Accounts/ba-p/255910