Skip to content
cloudgrip

$ cat compliance/pci-dss-penetration-testing.md

//compliance

Penetration testing for the months between your annual PCI DSS tests.

What PCI DSS Requirement 11.4 asks of a penetration test, who must perform the annual test, and how testing every release covers the significant changes in between.

  • 7 min read
  • updated Nov 15, 2026

PCI DSS asks for a penetration test every year and again after each significant change. Hydra, Cloudgrip's offensive product, covers the changes: agents test every release, prove what they find and retest your fixes.

Requirement 11.4, part by part

PCI DSS (Payment Card Industry Data Security Standard) applies to any organization that stores, processes or transmits payment card data. Larger merchants and service providers are assessed against it by a Qualified Security Assessor (QSA). Unlike most frameworks, it names penetration testing directly, in Requirement 11.4. Some parts fit continuous testing. Others need a qualified tester who is organizationally independent.

Requirement 11.4.1: a documented methodology

  • What it asks: Define and follow a penetration testing methodology. It must cover the whole cardholder data environment (CDE), from inside and outside the network, at the application layer and the network layer. Keep the results for at least 12 months.
  • What the QSA wants to see: The written methodology, plus test results and remediation records going back 12 months.
  • What a Hydra run gives you: Application-layer testing on every run, and a dated report from each run for you to retain. Network-layer testing comes from your annual tester.

Requirements 11.4.2 and 11.4.3: testing after significant changes

  • What it asks: Run internal (11.4.2) and external (11.4.3) penetration tests after any significant upgrade or change to infrastructure or applications, not only once a year.
  • What the QSA wants to see: A test report dated after each significant change and tied to that change.
  • What a Hydra run gives you: A test on every release, so application changes are tested as they ship. Confirm with your QSA that these runs meet the tester requirements for your environment.

Requirement 11.4.4: fix and retest

  • What it asks: Correct the exploitable vulnerabilities and security weaknesses that penetration testing finds, in line with your own risk ranking. Then repeat the testing to verify the corrections.
  • What the QSA wants to see: For each finding, the fix and a retest showing the exploit no longer works.
  • What a Hydra run gives you: Every reported finding has already been exploited and replayed from a clean session. Hydra writes the fix, as a pull request if you connect your repo, and attacks again after the fix merges. The retest result is recorded.

Requirements 11.4.2 and 11.4.3: the annual test

  • What it asks: Run internal and external penetration tests at least once every 12 months. The tester must be a qualified internal resource or a qualified external third party, and must be organizationally independent. The tester does not have to be a QSA.
  • What the QSA wants to see: The tester's report, and evidence of the tester's qualifications and independence. Your QSA judges whether both are adequate.
  • What a Hydra run gives you: Not the annual test. Plan that with a qualified tester. Hydra runs before and after it, so the tester starts from a system whose known problems are already fixed.

Requirement 11.4.5: segmentation controls

  • What it asks: If you use network segmentation to keep systems out of PCI scope, test at least once every 12 months, and after any change to the segmentation, that it really isolates the CDE. Service providers must test every six months (11.4.6).
  • What the QSA wants to see: Results showing that out-of-scope networks cannot reach the CDE.
  • What a Hydra run gives you: Nothing here. Segmentation testing is network testing done from inside your environment. It stays with your annual tester.

Requirement 6.4: public-facing web applications

  • What it asks: Protect web applications that face the internet against attacks on an ongoing basis. In version 4 this means an automated solution in front of the application that detects and blocks web attacks, such as a web application firewall.
  • What the QSA wants to see: Proof that the protection is in place, running, up to date and producing logs.
  • What a Hydra run gives you: A different layer. Testing finds the flaws in the application itself so you can fix the cause. It does not replace the protection that Requirement 6.4 asks for.

Requirement numbers follow version 4 of PCI DSS. This page explains the standard in plain words. The text from the PCI Security Standards Council and your QSA's reading of it are what count.

How it works

  1. Connect. Give Hydra the URLs of your payment-facing apps and APIs and two test logins, plus an optional read-only cloud role. Ownership of each target is verified first. First exploited findings arrive within 24 hours, if there's something to find.
  2. Test every release. On every release, agents attack the changed application from the outside and as logged-in users. Findings that don't reproduce from a clean session are dropped.
  3. Hand over the evidence. Each run produces a dated report with scope, findings and retest proof. File it with your PCI evidence, and give it to your annual tester as a starting point.

What goes in your PCI evidence folder

Requirement 11.4 is specific about what a test must record. Each run report has the same three parts.

  • Scope: the applications, APIs and roles tested, and the date. Match it against your documented methodology.
  • Proven findings: each exploitable weakness with its severity, the replayable requests and the evidence that the exploit worked.
  • Retest proof: the result of repeating each attack after the fix merged, with dates. This is the verification that Requirement 11.4.4 asks for.

What does PCI DSS require from a penetration test?

PCI DSS requires penetration testing by name. Requirement 11.4 asks for internal and external tests at least once every 12 months and after any significant change, following a documented methodology. Exploitable findings must be fixed and retested. The tester must be qualified and organizationally independent.

Hydra fits the second half of that requirement: testing after changes, proving findings and retesting fixes. Plan the annual test with a qualified tester, and let your QSA decide what evidence is acceptable. An automated test does not make you PCI compliant on its own.

FAQ

Can Hydra be our annual PCI penetration test?

Do not plan on it. PCI DSS requires the annual test to be done by a qualified internal resource or a qualified external third party with organizational independence, and your QSA judges whether that is met. Hydra is the testing between annual tests and after significant changes. If you want its reports to count for more, agree that with your QSA first.

What counts as a significant change?

PCI DSS gives examples and leaves the final call to you and your assessor. Typical cases are new systems added to the cardholder data environment, major upgrades, changes to how card data flows or is stored, and changes to the network or providers the environment depends on. When every release is tested, the test exists whichever way that call goes.

Is a penetration test the same as the quarterly scans?

No. Requirement 11.3 covers vulnerability scans: internal scans, and external scans by an Approved Scanning Vendor (ASV), at least once every three months. Requirement 11.4 covers penetration testing, where weaknesses are actually exploited. You need both, and Cloudgrip is not an ASV.

We use a hosted payment page. Does Requirement 11.4 apply to us?

It depends on how you take payments. Smaller merchants report with a self-assessment questionnaire (SAQ), and each SAQ type includes a different set of requirements. Your acquiring bank or a QSA can confirm which one applies. Testing the pages and APIs around your checkout is sensible either way, because a flaw there can still put card data at risk.

How long should we keep the reports?

At least 12 months. Requirement 11.4.1 asks you to retain penetration testing results and remediation results for that long. Each Hydra run produces a dated report you can file with the rest of your PCI evidence.

Does Cloudgrip help with logging and monitoring?

Cerberus, Cloudgrip's defense product, detects attacks in the telemetry you already collect, and every attack path Hydra proves becomes a detection it watches for. It does not replace your SIEM, and your QSA decides how it fits your evidence.

Does Cloudgrip itself hold a PCI DSS attestation?

Not yet. Our current status is listed on our security page.

Keep reading

See what an attacker would find.

Give us a URL and two test logins. If there’s something to find, your first exploited findings land within 24 hours.

You talk to the people who build Hydra and Cerberus. No sales script.

or write to founders@cloudgrip.ai