Compliance

Penetration testing for compliance: what PCI DSS, SOC 2, ISO 27001 and HIPAA actually require

Published Updated 5 min read

The short answer

Of the common frameworks, the Payment Card Industry Data Security Standard (PCI DSS) is the one that explicitly requires penetration testing, at least every 12 months and after significant changes. SOC 2, ISO/IEC 27001 and the HIPAA Security Rule do not mandate a penetration test by name, but each requires you to identify and manage technical vulnerabilities, and a penetration test is a common way to show you have. This page summarizes what each says; it is not legal or audit advice, so confirm specifics with your assessor.

Which frameworks require a penetration test?

Penetration testing in common compliance frameworks (as of October 2026)
FrameworkExplicit pentest requirement?Where it comes fromFrequency stated
PCI DSS v4.0.1YesRequirement 11.4 (11.4.1 to 11.4.7)At least every 12 months and after significant changes; segmentation checks every 12 months, every 6 months for service providers
SOC 2NoTrust Services Criteria; penetration testing is named in a CC4.1 point of focus as one type of evaluationNone stated; auditors commonly expect annual evidence
ISO/IEC 27001:2022NoAnnex A controls, notably 8.8 (management of technical vulnerabilities) and 8.29 (security testing in development and acceptance)None stated; set by your risk assessment
HIPAA Security Rule (current)NoRisk analysis, 45 CFR 164.308(a)(1)(ii)(A), and periodic evaluation, 164.308(a)(8)None stated
HIPAA Security Rule (proposed, January 2025)ProposedNotice of proposed rulemaking published January 6, 2025Pentest at least every 12 months; vulnerability scans at least every 6 months (not final)
EU DORAYes, for in-scope financial entitiesRegulation (EU) 2022/2554, Articles 24 to 26Testing programme including penetration tests; threat-led penetration testing at least every 3 years for entities identified by authorities

What does PCI DSS require?

PCI DSS v4.0.1, published by the PCI Security Standards Council, is the current version. Requirement 11.4 covers penetration testing of the cardholder data environment (CDE) and the systems that can affect it. In summary:

  • 11.4.1: a documented methodology based on industry-accepted approaches, covering the entire CDE perimeter and critical systems, both application and network layers, and testing performed by a qualified internal resource or qualified external party with organizational independence (it does not have to be a QSA or ASV).
  • 11.4.2 and 11.4.3: internal and external penetration testing at least once every 12 months and after any significant infrastructure or application upgrade or change.
  • 11.4.4: exploitable vulnerabilities and security weaknesses found are corrected according to the entity's risk ranking, and penetration testing is repeated to verify the corrections.
  • 11.4.5: if segmentation is used to reduce scope, segmentation controls are tested at least every 12 months and after changes to them.
  • 11.4.6: service providers test segmentation at least every six months and after changes.
  • 11.4.7: multi-tenant service providers support their customers' external penetration testing.

PCI DSS also separately requires internal and external vulnerability scans at least every three months (Requirement 11.3). Scans do not satisfy 11.4, and a penetration test does not satisfy 11.3.

Does SOC 2 require a penetration test?

Not strictly. A SOC 2 report is an auditor's opinion on your controls against the AICPA's Trust Services Criteria. The criteria do not list a mandatory penetration test. Under CC4.1 (monitoring activities), one of the points of focus names penetration testing among the kinds of ongoing and separate evaluations an organization may use, and CC7.1 deals with detecting vulnerabilities. Points of focus are guidance, not a checklist of requirements.

In practice, many auditors and most enterprise customers reviewing your report expect to see a recent third-party test, and having none means you must show another way your controls are evaluated. If you are preparing for SOC 2, ask your auditor early what evidence they expect, and time the test inside your observation period.

What does ISO/IEC 27001 say?

ISO/IEC 27001:2022 is a management system standard. You assess risk, choose controls from Annex A (or justify excluding them) in a Statement of Applicability, and show those controls operate. No clause says "perform a penetration test".

Two Annex A controls are where penetration testing usually lands. 8.8, management of technical vulnerabilities, requires obtaining information about technical vulnerabilities, evaluating your exposure and taking appropriate measures. 8.29, security testing in development and acceptance, requires security testing processes in the development lifecycle. A penetration test is one of the clearest ways to evidence both, and certification auditors commonly ask how you identify vulnerabilities beyond scanning.

Does HIPAA require penetration testing?

The current HIPAA Security Rule does not name penetration testing. It requires covered entities and business associates to conduct an accurate and thorough risk analysis of risks to electronic protected health information (45 CFR 164.308(a)(1)(ii)(A)) and to perform periodic technical and nontechnical evaluations (164.308(a)(8)). Penetration testing is a common input to both.

What about other regulations?

Sector rules increasingly name testing directly. The EU Digital Operational Resilience Act (DORA), applicable from January 17, 2025, requires financial entities to run a digital operational resilience testing programme that can include penetration tests (Articles 24 and 25), and requires entities identified by their competent authority to perform threat-led penetration testing at least every three years (Article 26). U.S. federal cloud authorizations, state financial regulators and customer contracts often impose their own testing clauses too.

Contracts are frequently the strictest source. Security questionnaires from enterprise customers often ask for an annual third-party test and a summary letter, regardless of which framework you follow.

How do you make one test serve several frameworks?

  1. Start from the strictest requirement in scope (usually PCI DSS if you handle card data) and design the scope and methodology to meet it.
  2. Write the scope so it maps to each framework's boundary: the CDE for PCI DSS, the systems in your SOC 2 description, the ISMS scope for ISO 27001.
  3. Ask for a report that states the dates, scope, methodology and tester independence, plus an executive summary or attestation letter you can share with customers.
  4. Keep evidence of remediation and retesting. PCI DSS requires it, and other auditors look for it. See retesting and fix verification.

A compliance test is a floor, not a ceiling. The scope an auditor accepts can be narrower than the systems an attacker would target, so it is worth asking what you would test if no auditor were involved.

How Brexa approaches this

Brexa's testing produces dated reports with scope, methodology, evidence for each finding and retest results, which is the material auditors and customers usually ask for. Brexa does not provide audits or certifications; your assessor decides what satisfies a requirement.

Frequently asked questions

Does a vulnerability scan satisfy a penetration testing requirement?

No. PCI DSS treats scanning (Requirement 11.3) and penetration testing (Requirement 11.4) as separate requirements, and auditors for other frameworks generally distinguish them as well.

Does my PCI DSS penetration tester need to be a QSA?

No. PCI DSS requires the tester to be qualified and organizationally independent, but they do not need to be a Qualified Security Assessor or Approved Scanning Vendor.

When should I schedule a pentest for a SOC 2 Type II audit?

Inside the observation period, early enough that you can fix and retest serious findings before the period ends. Confirm timing with your auditor.

Is this page legal or compliance advice?

No. It summarizes public standards as of October 2026. Your qualified assessor, auditor or counsel decides how a requirement applies to your organization.

Sources

  1. PCI Security Standards Council Document Library (PCI DSS v4.0.1)
  2. AICPA: 2017 Trust Services Criteria (with revised points of focus, 2022)
  3. ISO/IEC 27001:2022 Information security management systems
  4. 45 CFR 164.308 Administrative safeguards (eCFR)
  5. Federal Register: HIPAA Security Rule To Strengthen the Cybersecurity of ePHI (proposed rule, January 6, 2025)
  6. Regulation (EU) 2022/2554 (DORA), EUR-Lex

Written and reviewed by the Brexa team. Educational information, not legal or compliance advice. See our editorial policy.

Find out what an attacker could do with your systems.

Book a short scoping call. Nothing is tested until scope and rules of engagement are signed, and every finding comes with proof.