PCI DSS Penetration Testing

This page explains what PCI DSS Requirement 11.4 asks for penetration testing: the methodology, how often tests run, who may perform them, and what to do about the findings.

PCIComplianceHub is not a QSA or an ASV and does not perform penetration tests.

PCI DSS 11.4

What Requirement 11.4 asks

Requirement 11.4 says external and internal penetration testing is regularly performed, and that exploitable vulnerabilities and security weaknesses are corrected (PCI DSS v4.0.1, page 274).

A penetration test simulates a real-world attack, to identify how far an attacker could get into an environment. It differs from a vulnerability scan. A penetration test is an active process that usually includes exploiting the vulnerabilities it identifies (PCI DSS v4.0.1, Requirement 11.4.1 Guidance, page 274).

The requirement has seven parts:

  • 11.4.1: the penetration testing methodology.
  • 11.4.2: internal penetration testing.
  • 11.4.3: external penetration testing.
  • 11.4.4: correcting what the test finds, and testing again.
  • 11.4.5: segmentation tests.
  • 11.4.6: segmentation tests for service providers.
  • 11.4.7: external testing support for multi-tenant service providers.

The methodology comes first

Requirement 11.4.1 says a penetration testing methodology is defined, documented and implemented by the entity. The methodology includes (PCI DSS v4.0.1, page 274):

  1. industry-accepted penetration testing approaches;
  2. coverage for the entire CDE perimeter and critical systems;
  3. testing from both inside and outside the network;
  4. testing to validate any segmentation and scope-reduction controls;
  5. application-layer penetration testing to identify, at a minimum, the vulnerabilities listed in Requirement 6.2.4;
  6. network-layer penetration tests that encompass all components that support network functions as well as operating systems;
  7. review and consideration of threats and vulnerabilities experienced in the last 12 months;
  8. a documented approach to assessing and addressing the risk posed by exploitable vulnerabilities and security weaknesses found during penetration testing;
  9. retention of penetration testing results and remediation activities results for at least 12 months.

The standard's further information names two industry-accepted approaches: the Open Source Security Testing Methodology and Manual (OSSTMM), and the Open Web Application Security Project (OWASP) penetration testing programs (PCI DSS v4.0.1, Requirement 11.4.1 Further Information, page 276).

Read Requirement 11.4.1

Internal and external tests, and how often

Internal penetration testing means testing from inside the CDE, and into the CDE from trusted and untrusted internal networks. External penetration testing means testing the exposed external perimeter of trusted networks, and critical systems connected to or accessible to public network infrastructures (PCI DSS v4.0.1, Requirement 11.4.1 Applicability Notes, page 275).

Requirement 11.4.2 (internal) and 11.4.3 (external) each require the test to be performed per the entity's defined methodology, at least once every 12 months, and after any significant infrastructure or application upgrade or change. The test is performed by a qualified internal resource or a qualified external third party. The tester must be organizationally independent (not required to be a QSA or ASV) (PCI DSS v4.0.1, pages 276 and 277).

Test frequency, from PCI DSS v4.0.1 (June 2024), Requirements 11.4.2, 11.4.3, 11.4.5 and 11.4.6
TestRequirementHow oftenAlso after
Internal penetration test11.4.2At least once every 12 monthsAfter any significant infrastructure or application upgrade or change
External penetration test11.4.3At least once every 12 monthsAfter any significant infrastructure or application upgrade or change
Segmentation test11.4.5At least once every 12 monthsAfter any changes to segmentation controls or methods
Segmentation test, service providers11.4.6At least once every six monthsAfter any changes to segmentation controls or methods

Read Requirement 11.4.2 · Read Requirement 11.4.3

What counts as a significant change

The standard leaves it to the entity to decide what counts as a significant change, depending on its environment. At a minimum, each of these must be considered and evaluated (PCI DSS v4.0.1, Section 7, "Significant change", page 26):

  • new hardware, software or networking equipment added to the CDE;
  • any replacement or major upgrades of hardware and/or software in the CDE;
  • any changes in the flow or storage of account data;
  • any changes to the boundary of the CDE and/or to the scope of the PCI DSS assessment;
  • any changes to the underlying supporting infrastructure of the CDE (including, but not limited to, directory services, time servers, logging and monitoring);
  • any changes to third-party vendors or service providers (or services provided) that support the CDE or meet PCI DSS requirements on behalf of the entity.

Who may perform the test

The tester is a qualified internal resource or a qualified external third party. The tester must be organizationally independent. A penetration tester is not required to be a QSA or ASV (PCI DSS v4.0.1, Requirements 11.4.2, 11.4.3 and 11.4.5).

Guidance, not a requirement: when choosing a qualified resource, look for credentials specific to penetration testing, and for prior experience conducting penetration testing, such as years of experience and the type and scope of prior engagements (PCI DSS v4.0.1, Requirement 11.4.3 Good Practice, page 277).

To find a penetration testing provider, see the vendor directory on this site.

Fixing what the test finds

Exploitable vulnerabilities and security weaknesses found during penetration testing are corrected, in line with your risk assessment under Requirement 6.3.1. The penetration test is then repeated to verify the corrections (PCI DSS v4.0.1, Requirement 11.4.4, page 278).

Guidance, not a requirement: the outcome of a penetration test is not a pass or a fail. The best outcome is a list of vulnerabilities and misconfigurations you did not know about. A test that finds nothing usually points to shortcomings of the tester, not to strong security (PCI DSS v4.0.1, Requirement 11.4.2 Guidance, pages 276 to 277).

Read Requirement 11.4.4

Segmentation tests

This applies only if you use segmentation to isolate the CDE from other networks. Requirement 11.4.5 then asks for penetration tests on the segmentation controls (PCI DSS v4.0.1, page 279):

  • at least once every 12 months, and after any changes to segmentation controls or methods;
  • covering all segmentation controls and methods in use;
  • according to the entity's defined penetration testing methodology;
  • confirming the controls are operational and effective, and that they isolate the CDE from all out-of-scope systems;
  • confirming the effectiveness of any isolation between systems with differing security levels (see Requirement 2.2.3);
  • performed by a qualified internal resource or a qualified external third party, who is organizationally independent (not required to be a QSA or ASV).

Guidance, not a requirement: techniques such as host discovery and port scanning can verify that out-of-scope segments have no access to the CDE (PCI DSS v4.0.1, Requirement 11.4.5 Guidance, page 279).

Read Requirement 11.4.5

Service providers

Requirement 11.4.6 applies to service providers only. Their segmentation tests under 11.4.5 are performed at least once every six months, and after any changes to segmentation controls or methods. The other terms are those of 11.4.5 (PCI DSS v4.0.1, page 280).

Guidance, not a requirement: the standard says the exercise should be performed as frequently as possible, even though 11.4.6 sets at least once every six months (PCI DSS v4.0.1, Requirement 11.4.6 Guidance, page 280).

Requirement 11.4.7 applies to multi-tenant service providers only. It was a best practice until 31 March 2025, and has been required since 1 April 2025 (PCI DSS v4.0.1, page 281, and Applicability Notes, page 282). The provider supports its customers for external penetration testing under 11.4.3 and 11.4.4. It may either:

  • give customers evidence that external penetration testing was performed under 11.4.3 and 11.4.4 on the customers' subscribed infrastructure; or
  • give each customer prompt access, so the customer can perform its own penetration testing.

The evidence can include redacted results. It must show that all elements of 11.4.3 and 11.4.4 were met on the customer's behalf.

Read Requirement 11.4.6 · Read Requirement 11.4.7

Penetration test, vulnerability scan and ASV scan

Scanning for vulnerabilities alone is not a penetration test. A penetration test is not adequate if its focus is solely on exploiting vulnerabilities found in a vulnerability scan. A vulnerability scan may be one of the first steps, but it is not the only step. Penetration testing is a highly manual process, and some automated tools may be used (PCI DSS v4.0.1, Requirement 11.4.1 Guidance, page 275).

Three checks compared, from PCI DSS v4.0.1 (June 2024)
CheckRequirementHow often
Internal vulnerability scan11.3.1At least once every three months, and after any significant change (11.3.1.3, page 270)
External vulnerability scan11.3.2At least once every three months, by an ASV (11.3.2, page 271); also after any significant change (11.3.2.1, page 273)
Penetration test11.4At least once every 12 months, per the table above

The three-monthly external scan under 11.3.2 must be performed by a PCI SSC Approved Scanning Vendor (ASV) (page 271). An ASV scan is a vulnerability scan, so it does not meet Requirement 11.4 (11.4.1 Guidance, page 275). A penetration tester is not required to be a QSA or ASV (11.4.2, 11.4.3 and 11.4.5).

Read the ASV scan guide · Read Requirement 11.3.1

What the assessor examines

  • The scope of work and results from the most recent internal and external penetration test. The assessor interviews personnel to verify the tester was qualified and organizationally independent (11.4.2.a and b, 11.4.3.a and b).
  • The penetration testing results, to verify that noted exploitable vulnerabilities and security weaknesses were corrected (11.4.4).
  • The segmentation controls, the methodology and the results of the most recent segmentation test. The assessor interviews personnel to verify the tester was qualified and organizationally independent (11.4.5.a to c).

Testing procedures, PCI DSS v4.0.1, pages 276 to 279.

What to do next

  1. Write down your penetration testing methodology, and use it (11.4.1).
  2. List the CDE perimeter, the critical systems, and each segmentation control you rely on (11.4.1, 11.4.5).
  3. Choose a qualified internal resource or a qualified external third party. Confirm it is organizationally independent (11.4.2, 11.4.3).
  4. Schedule the internal and external tests at least once every 12 months, and after any significant change (11.4.2, 11.4.3, section 7).
  5. Plan a retest after fixes, to verify the corrections (11.4.4).
  6. Keep penetration testing results and remediation records for at least 12 months (11.4.1).

Sources and limits

This page states facts from PCI DSS v4.0.1 (June 2024) only: Requirements 11.4.1 to 11.4.7, the Section 7 definition of significant change, and the testing procedures for those requirements. Page numbers are the printed footer numbers of that version.

The Council's Information Supplement: Penetration Testing Guidance holds more detail. This page states nothing from it. Find it in the Council's document library.

This page does not say which SAQs include Requirement 11.4. Your assessor or acquirer decides what they accept.

Related glossary entries