Compliance-driven testing: penetration test vs vulnerability assessment

A vulnerability assessment identifies and ranks weaknesses across a broad scope. A penetration test checks which of them can be exploited and how far. Frameworks name one, the other or both, so confirm the exact requirement before you buy.

On this page

Penetration test vs vulnerability assessment: which one your compliance framework asks for

When a compliance requirement says "test your security," the first decision is which kind of test it means. A vulnerability assessment identifies and ranks weaknesses across a broad scope, while a penetration test validates which of those weaknesses an attacker could exploit and how far. Choose a vulnerability assessment when you need a current inventory of weaknesses across many systems, ranked for remediation. Choose a penetration test when the requirement asks whether an attacker could chain weaknesses into access to cardholder, patient or other sensitive data, and when you need a report that documents the exploitation path and the proof used for the retest. Cost follows the hands-on hours, so ask each provider how much of the work is manual exploitation and how much is tool output. The framework text decides which one is required, so read the requirement before you read any vendor brochure.

Many programs run both. NIST SP 800-115 notes that organizations often combine techniques to reach an in-depth assessment at an acceptable level of risk, and it suggests regularly scheduled network and vulnerability scanning interspersed with periodic penetration testing. Scans keep the asset inventory and weakness list current between tests, while the penetration test checks whether the top-ranked findings actually form an attack path. CMMC Level 3 shows the same pattern in one requirement: CA.L3-3.12.1e calls for penetration testing at least annually or after significant security changes, using automated scanning tools together with ad hoc tests by subject matter experts under 32 CFR 170.14. In practice, write the combined plan into one statement of work that lists which systems are scanned on what cycle, which are exploited by testers, and who retests each fix.

Check the wording before you buy. PCI DSS requirements 11.4.2 and 11.4.3 require internal and external penetration tests at least every 12 months and after significant changes, performed by a tester with organizational independence. The PCI SSC's penetration testing guidance is explicit that simply running an automated tool does not satisfy the penetration testing requirement, so a scanner report alone will not close that item. HIPAA works differently: the Security Rule never uses the term penetration testing, and 45 CFR 164.308(a)(8) asks for periodic technical and nontechnical evaluation, where NIST SP 800-66 Rev. 2 suggests penetration testing as one part. For each framework, ask your assessor in writing which test types and frequencies they accept as evidence, and record the answer in the scope document before the test starts.

Penetration test vs vulnerability assessment: goal, scope, method and evidence

This table compares a vulnerability assessment and a penetration test on the points an auditor or procurement lead checks: goal, scope, method, access, risk, independence, output and frequency. Read each row against the framework your organization must meet, because some frameworks name penetration testing specifically while others ask for scanning as well. The main takeaway is that a scan shows where weaknesses may exist, and a penetration test shows which of them can be exploited.

FactorVulnerability assessmentPenetration test
Primary goalFind and rank known weaknesses across many assets so they can be fixed.Test whether weaknesses can be exploited to reach defined targets or data.
Scope and target selectionBroad, based on an asset inventory or network range, often covering many hosts.Defined targets agreed in writing, built from the rules of engagement template in NIST SP 800-115 Appendix B.
Method (buyer's view)Automated checks with analyst review of results and false positives.Tester-driven exploitation. PCI SSC says running an automated tool alone does not satisfy the requirement.
Access levelOften unauthenticated, with credentialed scans where configuration checks need them.Internal and external views, with or without credentials, set by the rules of engagement. PCI DSS 11.4.1 requires both views.
Risk to live systemsLower risk, but active checks can still disrupt fragile systems. Confirm scan settings first.High risk: NIST SP 800-115 treats it as high risk because it runs exploits against production systems and data.
Tester independenceCan be run in-house or by a vendor. Confirm what the framework asks of the operator.PCI DSS 11.4.3 requires organizational independence; NIST SP 800-53 CA-8(1) describes an independent team.
Typical outputPrioritized list of findings, with evidence of detection and recommended fixes.Validated attack paths, evidence of what was reached, and retest of corrected findings.
How frameworks set frequencyNIST SP 800-115 suggests regularly scheduled scanning. The HIPAA proposed rule (not final) would require scans every six months.PCI DSS 11.4.2 and 11.4.3 require at least every 12 months and after significant changes. NIS2 sets no fixed frequency.

What each test finds, and what each one misses

Both tests surface weaknesses, but they answer different questions. A vulnerability assessment shows where known weaknesses exist across the estate, while a penetration test shows which of them an attacker can use. The cards below set out what each finds and what each one leaves untested.

What a vulnerability assessment finds

A vulnerability assessment inventories hosts, services and software, then matches versions and configurations against known vulnerability data. The output is a ranked list of missing patches and misconfigurations, each tied to a named asset. NIST SP 800-115 suggests regular scanning between periodic penetration tests, which makes this the routine layer. Illustrative example: a scan flags an outdated web framework on a payment portal host based on version match alone. Check whether authenticated scanning is enabled, since unauthenticated scans see far less of an internal estate.

NIST SP 800-115

What a vulnerability assessment misses

A scan reports that a version is vulnerable, but it does not confirm that anyone can exploit it. Exploitability is the gap: a flagged library may sit behind a control that blocks the attack path, or it may be reachable only through a chain of weaker issues that no single finding shows. Scanners also rarely test business logic, such as whether a refund flow can be abused. Ask the provider which findings were validated by hand and how exploitable issues are separated from theoretical ones before treating the list as a risk ranking.

What a penetration test finds

A penetration test uses manual exploitation to show what an attacker can reach, which is why PCI SSC describes it as essentially a manual process. Testers link chained weaknesses across hosts, accounts and application layers, and the report records each step with evidence. Illustrative example: a tester combines a low-risk information leak with a weak internal service account to reach a database holding cardholder data. PCI DSS 11.4.1 requires testing from inside and outside the network, covering both application and network layers, so ask how each viewpoint is covered.

PCI SSC guidance

What a penetration test misses

A penetration test samples the agreed scope on the agreed dates. It covers only the systems, roles and time window written into the rules of engagement, so a role left out of scope or a host deployed after testing stays untested. PCI DSS 11.4.2 and 11.4.3 require internal and external tests at least once every 12 months and after significant changes, so a clean report ages quickly. Ask for the in-scope roles and the test window in writing, and confirm that the retest of corrected findings under 11.4.4 is included in the quote.

Penetration test vs vulnerability assessment: how to choose when a framework applies

The path starts with the framework clause and asks whether it names a scan, a penetration test or both. Next comes system scope and significant-change triggers, which decide whether a test is due now or on the regular cycle. A scan-only clause ends at a scan. A clause that names a penetration test ends at a penetration test only, unless a scan is also named or fixes must be verified, which ends at both with a retest. Check each clause's frequency and wording with the framework owner. The final choice depends on the framework text and the assessor's view, so confirm it with them before you scope the work.

Decision path from framework wording to one of three testing outcomes.

Which compliance frameworks call for a penetration test, a scan or both

PCI DSS v4.0.1 is the clearest regime where a penetration test is required in its own right. Requirements 11.4.1 to 11.4.4 set a defined methodology for the cardholder data environment, internal and external tests at least every 12 months and after significant changes, and correction of exploitable findings followed by a repeat test. The PCI SSC's Penetration Testing Guidance describes the work as essentially manual and says that simply running an automated tool does not satisfy the requirement. Vulnerability scans still matter for the wider program, but they do not produce the evidence this requirement asks for.

  • Frequency: Internal and external tests at least once every 12 months, plus after significant changes to the environment.
  • Scope: The methodology must cover the full CDE perimeter and critical systems, tested from inside and outside the network, with segmentation validated and both application and network layers covered.
  • Tester: A qualified person with organizational independence from the team that runs the systems. The tester does not need to be a QSA or an ASV.
  • Retesting: Exploitable findings must be corrected and the test repeated to confirm the fix, with results and remediation records kept for at least 12 months.
  • Evidence: Keep the methodology, scope, tester qualifications and remediation records ready for the assessor, since these are the items a QSA will ask to see.

Confirm the current v4.0.1 wording with your QSA or acquiring bank, and ask any tester to map its methodology to each sub-requirement before work starts.

What you receive from each test, and what an auditor asks to see

This table compares what each test hands you and what an assessor will ask to see in the evidence file. Use it as a checklist for reviewing a sample report and planning your records. The main takeaway is that a prioritized findings list shows known weaknesses, while a report of validated attack paths shows what was exploited and needs retest proof that the fixes held.

ItemVulnerability assessmentPenetration test
Main outputA prioritized list of findings with remediation notes, based on known weaknesses and configuration checks.A report of validated attack paths with evidence of exploitation, showing what a tester reached and how.
Retest outputRescan results confirming which findings are closed, run with the same scope and credentials.Retest of exploited findings to verify corrections, as PCI DSS 11.4.4 requires.
Scope and rules of engagementAsset and address list, scan windows, credential use and escalation contacts. Confirm them in writing.NIST SP 800-115 Appendix B gives a rules of engagement template. Confirm targets, windows, permitted techniques and contacts.
Evidence assessors requestTest schedule, scan reports and records of how each finding was triaged (ENISA NIS2 guidance lists these).Test plan, penetration test report with exploitation evidence, and related code review or audit reports (ENISA NIS2 guidance).
Remediation recordsTicket trail per finding showing owner, fix and closure. Ask whether your program sets a retention period.Remediation records for each exploited path, kept at least 12 months under PCI DSS 11.4.1.
Question the evidence answersAre known weaknesses found, triaged and scheduled on a repeatable cycle?Can a qualified tester exploit weaknesses, and were they fixed and retested?
What to ask to see in a sample reportSeverity basis, asset list, false positive handling and how the ranking was set.Attack path narrative, reproduction steps, evidence captures, tester qualifications and independence statement.

What drives the cost and effort of each test

This page gives no figures, because cost and effort depend on each environment and each written scope. The six factors below shape the work for both approaches, and they show where a penetration test and a vulnerability assessment diverge. Any quote should separate one-time work from recurring work so the annual cycle is visible.

Scope size and environments

Every host, application, user role and environment in scope adds work to both approaches. A vulnerability assessment grows mainly with the number of assets it scans. A penetration test also grows with the number of paths testers must check between them, so every user role and environment matters. Illustrative example: an application with four user roles needs its permissions checked for each role, which usually adds more test cases than a single-role application. Ask whether production and staging are both in the written scope and how many roles each application has.

Authentication and test accounts

Testing with valid accounts reaches functions an anonymous scan never sees, so each authenticated role adds effort to both approaches. Testers need test accounts provisioned before work starts, with the permissions and sample data the business expects, plus a way to reset them between rounds. Ask who creates the accounts, how credentials are passed and stored, and whether multi-factor authentication or single sign-on must be supported or adjusted during testing. Confirm that test accounts are disabled at close so the engagement leaves no standing access.

Frequency and triggers

Cost recurs with the testing calendar. PCI DSS requirement 11.4.2 requires internal and external penetration tests at least every 12 months and after significant changes, so each cycle repeats scoping, access setup and reporting. NIST SP 800-115 suggests regularly scheduled scanning between periodic penetration tests, which adds a lighter recurring load. Ask what counts as a significant change in your environment, and what an out-of-cycle test would cost under the quote.

Tester skill and independence

A penetration test is manual work. PCI SSC's guidance says that simply running an automated tool does not satisfy the penetration testing requirement, so tester skill shapes both depth and effort. PCI DSS requirement 11.4.3 also calls for a qualified tester with organizational independence, which may mean separate reporting lines for an internal team or an outside firm. Vulnerability assessments depend less on individual skill because scanner output sets much of the work. Ask for tester qualifications and for how independence is demonstrated.

Triage and retest effort

Both approaches create triage work. A vulnerability assessment can produce long lists that need deduplication, false-positive review and an owner for each item before anyone fixes anything. A penetration test yields fewer but deeper findings, and each often needs a reproduction walkthrough and a fix that touches code, configuration or architecture. PCI DSS requirement 11.4.4 requires exploitable findings to be corrected and the testing repeated, so plan a retest round into the schedule and confirm whether the quote includes it.

Who pays for what

Costs fall into three buckets: internal staff time for scoping, access, triage and fixes; tooling licenses for scanners or testing platforms your team runs; and fees paid to an external firm. Some costs are one-time, such as the first scope, account setup and process design. Others recur each cycle, such as scanner subscriptions, rescans and retests. DeployOpen's quote follows a written scope agreed before work starts, so ask every provider to state what they supply and what your team must supply.

How to combine scans and penetration tests in one testing cycle

This sequence ties scheduled scanning, triage, penetration testing and retesting into one cycle, so each activity feeds the next. The output is a set of scoped, validated findings, verified fixes and detection checks that your assessor can trace back to the framework clauses you are testing against.

  1. Map framework clauses to in-scope systems

    List the compliance clauses that apply to your environment, such as PCI DSS requirement 11.4 for the cardholder data environment, and tie each clause to the systems, networks and applications it covers. Record segmentation boundaries and any system excluded from scope, with the reason. The compliance lead owns the map with the security team. It is done when every in-scope system links to at least one clause and the assessor has reviewed the scope document.

  2. Schedule recurring scanning for in-scope assets

    Set a recurring network and vulnerability scanning schedule for every in-scope segment, which NIST SP 800-115 suggests interspersing with periodic penetration tests. Security operations runs the scans and keeps the asset inventory current so no in-scope host is missed. Confirm the cadence with your assessor, since each framework sets its own minimum. The cycle is working when each run produces a dated report that is filed against the scope record.

  3. Triage scan output with exploitability context

    Treat scan output as a list of candidate weaknesses that still need confirmation. Sort each finding by whether the affected system is internet-facing, inside the cardholder data environment or reachable from a system an attacker could already control, and check whether the vendor or a public advisory describes active exploitation. Assign each finding to fix, documented risk acceptance or penetration test validation. Done when every finding carries a disposition and an owner.

  4. Scope penetration tests from both viewpoints

    Scope penetration tests on critical in-scope systems from inside and outside the network. PCI DSS requirements 11.4.2 and 11.4.3 call for internal and external tests, and CIS Controls Safeguards 18.2 and 18.5 ask for both at least annually. The tester should be qualified and organizationally independent, and the work should include manual exploitation, since PCI SSC says running an automated tool alone does not meet the penetration testing requirement. Done when the signed scope and rules of engagement name both viewpoints and the report lists what testers attempted and confirmed.

  5. Correct exploitable findings and retest

    Developers and system owners correct every exploitable finding from the penetration test, and the tester repeats the test to verify each correction. PCI DSS requirement 11.4.4 requires this retest, so keep it separate from ordinary patch tickets. Scanner-only findings go back through the normal remediation queue and are rescanned on the next run. Done when retest evidence shows each exploitable finding closed, with the retest date recorded against the original finding.

  6. Validate detections against tested techniques

    Security monitoring staff check whether detections fire for the techniques the testers used. CIS Controls Safeguard 18.4 asks for security measures to be validated after each test so that detections cover those techniques. Label each technique in the tester's report with a shared identifier, such as a MITRE ATT&CK technique, and map it to an alert, a log source or a named gap. Done when each technique has a detection result, and each gap has a tracked owner and fix.

  7. Keep results and remediation records

    Compile the scope record, scan reports, penetration test report, retest evidence and detection validation into one evidence set per cycle. PCI DSS requirement 11.4.1 requires results and remediation records to be retained for at least 12 months, so set retention to that period or the longer period your framework or assessor requires. The compliance lead owns the set. Ask your assessor which evidence formats they accept. Done when an assessor can trace each framework clause to the scope, the test, the fix and the retest without requesting missing items.

What compliance buyers ask before commissioning either test

Can a vulnerability assessment replace a penetration test for PCI DSS?

No. A vulnerability assessment cannot replace the penetration test that requirement 11.4 calls for. PCI SSC's Penetration Testing Guidance (v1.1, September 2017) describes penetration testing as essentially a manual process and says that simply running an automated tool does not satisfy the penetration testing requirement. A tester has to attempt exploitation, confirm which weaknesses are exploitable in your environment, and record what an attacker could reach. Vulnerability scanning still has a role between tests, because it gives ongoing visibility and can inform the penetration test scope. Ask your assessor to confirm in writing which reports they will accept as evidence for each requirement.

How much does a PCI penetration test cost compared with a vulnerability assessment?

The quote follows the scope and the amount of manual effort, so no single figure applies to every organization. A penetration test pays mainly for tester time spent on exploitation, validation, retesting after fixes and the report. A vulnerability assessment usually costs less because most of its effort goes into scanning, triage and reporting. The drivers for both are the number of hosts, applications, user roles, environments and network segments in scope, whether testing is internal, external or both, and how many retests you need. Initial scoping is one-time work, while annual and post-change testing recurs. Ask every provider for a written scope that lists assumptions, deliverables and retest terms. DeployOpen does not publish a price list, and its quote follows from the written scope.

How long do penetration tests and vulnerability assessments take to complete?

Duration depends on scope, access and how quickly fixes are verified, so the duration should come from the written scope and be confirmed before work starts. Plan for your team to provide network paths and accounts, test accounts for each role in scope, change windows that let testers work safely, and named remediation owners who can act on findings. A penetration test also needs time after the report for fixes and a retest, because requirement 11.4.4 expects exploitable findings to be corrected and testing repeated to verify the corrections. A vulnerability assessment usually needs less hands-on time from your team, but the same access and owner decisions still apply. Confirm the start date, testing window, retest window and report delivery date in writing.

Can our internal security team run a PCI penetration test themselves?

Sometimes, but only if the tester is qualified and has organizational independence, and you should confirm that with your assessor before commissioning anything. PCI DSS requirements 11.4.2 and 11.4.3 call for internal and external penetration tests at least once every 12 months and after significant changes, performed by a qualified tester with organizational independence. The tester does not need to be a QSA or an ASV, but the assessor decides whether a given team meets the independence expectation. Ask who on the tester side reports outside the team that runs the systems under test, and how that reporting line is documented. An outside firm such as DeployOpen is one option, and DeployOpen runs security testing but does not issue audit reports or attestations, so the assessor still makes the compliance decision.

How often do penetration tests need to happen under compliance frameworks?

The framework or your risk assessment sets the frequency, and several frameworks name a fixed interval. PCI DSS requires internal and external penetration tests at least every 12 months and after significant changes. CIS Controls Safeguards 18.2 and 18.5 ask for external and internal penetration tests at least annually. CMMC Level 3 requires penetration testing at least annually or after significant security changes. Under DORA, Article 24(6) requires financial entities other than microenterprises to test ICT systems supporting critical or important functions at least yearly, and Article 26 sets threat-led testing at least every 3 years for entities their competent authority identifies. Where no interval is fixed, the risk assessment should justify the schedule and record the reasoning.

What frequency does NIS2 require for security testing?

NIS2 sets no fixed frequency. The NIS2 Implementing Regulation (EU) 2024/2690, Annex point 6.5, requires a security testing policy and procedures, with the need, scope, frequency and type of tests set by the risk assessment. It also expects documented results and mitigating actions for critical findings. ENISA's June 2025 NIS2 technical implementation guidance lists test plans and schedules, reports of vulnerability assessments, penetration tests and code reviews, and audit reports as examples of evidence. A schedule that cannot be traced back to a risk assessment is harder to defend in a regulator review. Confirm with your national competent authority how it reads these expectations for your sector, because national rules may add detail.

What does PCI requirement 11.4.1 expect the testing methodology to cover?

Requirement 11.4.1 expects a defined penetration testing methodology that covers the whole cardholder data environment perimeter and critical systems. Testing must come from inside and outside the network, validate segmentation, and cover both application-layer and network-layer testing. The methodology must also review threats from the last 12 months. Results and remediation records must be kept for at least 12 months. For a buyer, this means the written scope should name every network range, application and role in the cardholder data environment, plus the segmentation boundary the test must validate. Ask the provider how their methodology maps to each part of 11.4.1, and confirm the mapping with your assessor before testing starts.

How DeployOpen scopes, runs and retests compliance-driven testing

DeployOpen scopes compliance-driven testing in writing before work starts, so a penetration test and a vulnerability assessment are each defined against the control they must satisfy. The team plans, runs and documents both, prepares the evidence a compliance assessor will ask for, and does not issue audit reports or certifications, which independent auditors and certification bodies do.

How we scope

  • The written scope names target systems, environments and access level, such as the external perimeter or cardholder data environment.
  • Engagements are fixed-scope, so the systems, test types, deliverables and timeline are agreed before any testing starts.
  • Confirm with your assessor which test type each requirement names, since PCI DSS and CMMC treat them differently.

How we build

  • Penetration testers attempt exploitation within agreed rules of engagement, which set limits for production systems and sensitive data.
  • Vulnerability assessments rely on scanning and analysis to list weaknesses, without proving that an attacker can exploit them.
  • Retests confirm fixes, as PCI DSS requirement 11.4.4 expects for exploitable findings in a penetration test.

How we hand over

  • Reports separate exploited paths from unexploited weaknesses, so the evidence matches what the test actually proved.
  • Deliverables are listed in the written scope, so confirm the report contents and retest record before signing.
  • Ask how results and remediation records are retained, since PCI DSS requirement 11.4.1 expects at least 12 months.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, separate from the fixed-scope test.
  • Plan the annual internal and external penetration tests and post-change tests on one calendar, with a retainer if needed.
  • Ask your assessor which evidence they accept, since DeployOpen prepares evidence but does not issue audit reports.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.