Skip to main content

PCI DSS penetration testing

PCI DSS requires penetration testing of your cardholder data environment, from outside and from inside, at least once a year and after any significant change. If you rely on segmentation to cut scope, that is tested too. Here is what that means in practice and how to buy it.

What PCI DSS requires

PCI DSS calls for penetration testing of the cardholder data environment at both the network and application layers, from outside (external) and inside (internal) perspectives. If you use network segmentation to keep systems out of scope, the effectiveness of that segmentation must also be tested.

Testing is required at least annually and after any significant change to the environment. The exact clauses and any version-specific detail should always be confirmed against the current PCI DSS standard and with your assessor (QSA), as requirements are periodically revised. The council’s summary of changes for version 4.0 shows how the testing requirements moved between versions.

The PCI penetration testing cycle

A yearly PCI DSS penetration testing cycleFour steps: define the cardholder data environment and segmentation, test external, internal and application layers plus segmentation, fix and retest, then keep the methodology and results for your assessor.1Define scopeCard dataenvironment andsegmentation2TestExternal, internal,application andsegmentation3Fix and retestFindings correctedper your riskassessment4Keep recordsMethod andresults foryour assessor
Repeat at least every 12 months and after any significant change to the in-scope environment.

In version 4.0 (requirement 11.4.1 in the council’s summary of changes), the penetration testing methodology must be defined, documented and implemented by the entity, and the results retained for at least 12 months. The methodology includes a documented approach to assessing and addressing the risk from exploitable vulnerabilities and security weaknesses found during testing. Requirement 11.4.4 adds that findings are corrected in line with your assessment of the risk they pose.

What counts as a significant change

The council’s guidance gives examples, such as an infrastructure or application upgrade or modification, or a new system component installation, and says that what is significant depends heavily on your risk assessment process and the configuration of your environment.

Deciding whether a change needs a penetration testThree steps: a change is made, your risk assessment decides whether it is significant, and if it is, the changed environment is penetration tested.1A changeUpgrade, change ornew component2Risk assessmentIs it significantfor your setup?3Test itPenetration test ofthe changed scope
Write the decision down. Your assessor may ask how you judged it.

What is in scope

The PCI Security Standards Council’s penetration testing guidance puts the whole perimeter of the cardholder data environment, and any critical systems, in scope, both the external perimeter and the internal one. If segmentation controls are used to keep systems out of scope, testing them is required too.

In practice that usually means an external and an internal test, plus a web application test of any payment pages or applications that handle card data. If the environment runs in the cloud, the council’s cloud computing guidelines explain how responsibilities split with the provider; see also the cloud testing guide.

Scan and test are both required

Purpose
Vulnerability scan: Identify, rank and report vulnerabilities that could lead to compromise
Penetration test: Find ways to exploit vulnerabilities to get past security features
When
Vulnerability scan: At least quarterly and after significant changes
Penetration test: At least annually and upon significant changes
How
Vulnerability scan: Automated tools combined with manual verification
Penetration test: A manual process that may use scanners, ending in a comprehensive report

A common source of confusion: PCI requires both regular vulnerability scanning and penetration testing. Scanning is an automated, recurring check for known vulnerabilities. Penetration testing is a deeper, manual-led exercise that attempts to exploit weaknesses and confirm whether controls actually hold. Passing scans does not satisfy the penetration-testing requirement.

Choosing a firm for PCI

Look for a firm that tests independently of the systems under test, documents its methodology, and produces a report structured so your assessor can map findings to the relevant requirements. Recognised accreditations such as CREST are a useful signal of quality, though PCI does not mandate one specific certification. Confirm the firm has done PCI-scoped work before and will retest remediated issues.

The council’s guidance also allows a qualified internal team to do the testing, if it is organisationally separate from the management of the systems tested. For version 4.0, the council’s summary of changes says the methodology is documented and the results are kept for at least 12 months.

What the report should contain

The council says a report that merely lists vulnerabilities does not meet the intent of the test: it should clearly communicate what was tested, how it was tested, and the results. Its guidance offers a suggested outline, and states that it does not define specific reporting requirements, so confirm the format with your assessor.

Suggested outline of a PCI penetration test reportSeven parts from the council's guidance: executive summary, statement of scope, statement of methodology, statement of limitations, testing narrative, segmentation test results and findings.1Executive summaryScope and major findings2Statement of scopeCard data environment vs the rest3Methodology and limitationsHow it was tested, what was restricted4Testing narrativeHow testing progressed5Segmentation resultsIf segmentation reduces scope6FindingsSeverity, targets affected, references
Outline taken from the PCI Security Standards Council’s penetration testing guidance, section 5.2.

Independence matters for who does the work. The guidance says qualified internal resources or a qualified third party may do the test if they are organisationally separate from the management of the target systems. It gives an example: a company carrying out your PCI DSS assessment cannot also do the penetration test if it was involved in installing, maintaining or supporting the systems.

Who can carry out a PCI DSS penetration testThree cards. A qualified internal team that is organisationally separate from the managers of the target systems can test. A qualified third party can test. A company that installed, maintained or supported the target systems cannot also do the test.Internal teamQualified, and separatefrom those who managethe target systemsThird-party firmQualified andorganisationallyindependentNot allowedA party that installed,maintained or supportedthe target systems
Source: PCI SSC penetration testing guidance, section 3.

Next steps

Sources

Frequently asked

Does PCI DSS require penetration testing?

Yes. PCI DSS requires both external and internal penetration testing of the cardholder data environment, covering the network and application layers, and testing of any segmentation controls used to reduce scope. It must be performed at least annually and after any significant change.

How often is PCI penetration testing required?

At least once every 12 months, and again after any significant change to the in-scope environment — for example a new system component, a network change, or an application upgrade. Where segmentation is used to keep systems out of scope, the segmentation controls must be tested too.

Who can perform PCI penetration testing?

PCI SSC guidance says a qualified internal team or a qualified third party can do the test, provided they are organisationally separate from the management of the systems tested. PCI does not mandate a single certification, and many buyers look for recognised accreditations such as CREST.

What is the difference between a scan and a penetration test for PCI?

PCI requires both. Quarterly vulnerability scanning is an automated check for known issues; penetration testing is a deeper, manual-led assessment that attempts to exploit weaknesses and validate controls. They are separate requirements and one does not replace the other.

Compare UK penetration testing companies

Filter firms by service and accreditation, then contact the ones you like.

Browse the directory