Security risk assessment vs penetration testing

A risk assessment ranks risks across assets, threats and controls, while a penetration test proves whether a specific weakness can be exploited. This page shows when to choose each and how they combine.

On this page

Security risk assessment vs penetration testing: which one do you need first?

A risk assessment decides where risk sits and what to treat, while a penetration test validates specific weaknesses by attempting real exploitation. If your team is deciding what to fund next, start with the risk assessment when you cannot yet say which assets, data flows and threats matter most, and start with a penetration test when you already know the systems in scope and need proof that a known exposure can be used. NIST SP 800-30 Rev. 1 (September 2012) frames the risk assessment as identifying, estimating and prioritizing information security risks through four steps: prepare, conduct, communicate and maintain. Its output is a ranked view of risk and a set of treatment decisions, not a list of exploited hosts. Penetration testing sits under the assessment techniques in NIST SP 800-115 (September 2008) as target vulnerability validation, and that guide notes that organizations often combine techniques to reach an acceptable level of risk.

Regulation rarely asks for one or the other by name. Under the HIPAA Security Rule, risk analysis is a required implementation specification (45 CFR 164.308(a)(1)(ii)(A)), while the rule does not use the term penetration testing; 45 CFR 164.308(a)(8) requires periodic technical and nontechnical evaluation, and NIST SP 800-66 Rev. 2 suggests penetration testing as part of that evaluation where reasonable and appropriate. ISO/IEC 27001:2022 places risk assessment in clause 6.1.2, and PCI DSS ties its targeted risk analysis for lower-ranked vulnerabilities to requirement 12.3.1. Confirm the exact obligation with your regulator or assessor, since the HHS proposed revision that would require penetration testing every 12 months had not been finalized as of October 2026.

For most regulated teams the sensible sequence is assessment first, then targeted testing, then reassessment. The risk assessment identifies which systems deserve a penetration test and what a successful attack would mean for them. Ask the testing provider to report each finding against the assessment's asset and risk register so that results update the register rather than sitting in a separate report. Where a framework already requires penetration testing, such as PCI DSS requirement 11.4, run the test regardless of the assessment's conclusions. Run both together when a test reveals a control gap that the risk model did not anticipate, and treat that gap as a trigger to reassess.

How the two approaches differ on goals, scope and output

This table compares a security risk assessment with a penetration test on goal, unit of analysis, method, performer, governing frameworks, output and recurrence. Read it to see which question each answers, then use the output of one as an input to the other rather than treating either as a substitute.

DimensionSecurity risk assessmentPenetration test
Primary goalIdentify, estimate and prioritize information security risks across assets, threats and controls (NIST SP 800-30 Rev. 1)Technically validate whether specific weaknesses can be exploited and what an attacker could reach from them
Unit of analysisInformation assets, business processes, threat sources, vulnerabilities and existing controls considered togetherDefined targets such as hosts, applications, APIs or accounts within an agreed scope
MethodStructured analysis of likelihood and impact, using documented inputs such as interviews, asset inventories and prior findingsHands-on testing with exploitation against the agreed targets under written rules of engagement, following a methodology such as NIST SP 800-115 or PTES
Who performs itRisk, compliance or security staff, internal or external, with knowledge of business context and controlsInternal testers or an outside firm with technical testing skills; independence requirements depend on the regulation or standard
Governing frameworksNIST SP 800-30 Rev. 1, the HIPAA Security Rule risk analysis specification, and ISO/IEC 27001:2022 clause 6.1.2 for the risk assessment processNIST SP 800-115, PTES, OWASP WSTG, and control-specific requirements such as PCI DSS requirement 11.4 or NIST SP 800-53 CA-8
OutputA risk register or risk analysis covering identified risks, estimated levels, priorities and treatment decisionsA test report with validated findings, evidence of exploitation, affected systems and remediation guidance
RecurrenceOngoing or periodic; ISO/IEC 27001:2022 clause 8.2 requires assessments to run at planned intervals and when significant changes occurPeriodic, scoped to a point in time; regulators set minimum frequencies in some schemes, and results go stale as systems change

How NIST SP 800-30, HIPAA and ISO 27001 frame the assessment

NIST SP 800-30 Rev. 1 treats risk assessment as a management process, not a test. Published in September 2012, the *Guide for Conducting Risk Assessments* defines the activity as identifying, estimating and prioritizing information security risks, and breaks it into four steps: prepare for the assessment, conduct it, communicate the results and maintain it. Penetration testing sits inside the conduct step as one source of evidence about whether a vulnerability is exploitable, which is why the guide's output is a ranked list of risks with a decision attached to each. When you scope a test, ask who will own the risk decision it feeds and which step of the cycle that owner is in. Read the full guide at the NIST SP 800-30 Rev. 1 PDF.

ISO/IEC 27001:2022 places risk assessment in clause 6.1.2 and requires it to run in operation under clause 8.2. That split matters for planning. Clause 6.1.2 sets out the criteria and method your organization defines for information security risk assessment, while clause 8.2 requires the assessment to be repeated at planned intervals and when significant changes occur. A one-off penetration test does not satisfy either clause on its own. Confirm with your certification body how it expects test results to be recorded in the risk register and treatment plan, and whether it wants a documented trigger for re-assessment after a major release or infrastructure change. Verify the exact wording against your licensed copy of the standard, since its text is not reproduced here.

The HIPAA risk analysis is a required implementation specification under 45 CFR 164.308(a)(1)(ii)(A). It asks for an accurate and thorough assessment of potential risks and vulnerabilities to the confidentiality, integrity and availability of electronic protected health information. The Security Rule does not use the term penetration testing anywhere in that provision. Penetration testing appears instead under the periodic evaluation requirement in 45 CFR 164.308(a)(8), where NIST SP 800-66 Rev. 2 suggests it as part of the evaluation where reasonable and appropriate. For a covered entity or business associate, the practical check is whether the risk analysis documents the ePHI systems in scope, the threats considered and how test findings changed the risk ratings. The HHS OCR guidance on risk analysis is the natural next read.

What each approach finds and what it misses

A risk assessment ranks threats across assets and controls, while a penetration test proves whether a specific weakness can be exploited. The cards below show what each approach surfaces and where each one leaves gaps that the other must cover.

Unranked threats and asset exposure

A risk assessment under NIST SP 800-30 Rev. 1 identifies and estimates threats against each information asset, including threats no one has tested yet. What it misses is proof. A threat rated as likely may never be exploitable in your environment, and a low rating may hide a path that nobody has tried. Ask the assessor which assets were in scope, how likelihood was estimated, and whether the estimates were checked against any technical evidence.

Control gaps and residual risk

A risk assessment compares existing controls with identified risks and states what remains after those controls operate. This is the output that auditors and regulators usually want to see. It misses whether a control works as described. A written control can look sound on paper while a misconfigured service still lets an attacker through. Check whether each residual risk names the evidence used to rate the control as effective.

Validated exploit paths

A penetration test shows which weaknesses an attacker can actually use to reach a target. NIST SP 800-115 treats penetration testing as a target vulnerability validation technique that uses real exploits, which is why it carries high risk against production systems and data. What it misses is everything outside the agreed scope and time window. A clean result means the tested paths failed, not that the system is secure. Confirm the rules of engagement before testing starts.

Chained weaknesses

A tester often combines a low-rated finding, a weak credential and a permissive internal route into one attack path. Scanners and checklists usually report each item separately, so this chain is easy to miss. The limit is that a test is a sample. Testers follow the paths they choose within the time available, so an unexplored chain can remain. Ask for the attack narrative and the paths that were attempted but failed.

Detection and response gaps

A penetration test shows whether an attack succeeded, but it does not always show whether the security team noticed. CIS Controls Safeguard 18.4 asks for security measures to be validated after each test so that detections cover the techniques the testers used. A risk assessment rarely checks detection at all. Ask whether the test report records what was logged, alerted on and missed, and whether the monitoring team was informed.

Strategic risk outside the test window

Risks such as a vendor change, a new business process or a shift in threat actors fall outside any single exercise. A risk assessment can prioritize these items and set a review cycle, while a penetration test only examines the system as it stands on the test date. Confirm how the assessment is updated when systems change, and how test results are fed back into the risk register.

Which one a regulation actually requires

The HIPAA Security Rule makes risk analysis a required implementation specification. Under 45 CFR 164.308(a)(1)(ii)(A), covered entities and business associates must perform an accurate and thorough assessment of potential risks and vulnerabilities to the confidentiality, integrity and availability of electronic protected health information. The rule does not use the term penetration testing. Its evaluation requirement in 45 CFR 164.308(a)(8) calls for periodic technical and nontechnical evaluation, and NIST SP 800-66 Rev. 2 suggests penetration testing as part of that evaluation where reasonable and appropriate.

  • Risk analysis is mandatory: The assessment itself is the required element, and it must cover ePHI across the organization.
  • Penetration testing is suggested, not named: It fits the periodic evaluation when it is reasonable for your environment, which the entity must justify.
  • Proposed change pending: HHS's January 2025 proposed Security Rule revision (90 FR 898) would require penetration testing by a qualified person at least every 12 months. As of October 2026, no final rule has been published.
  • Guidance is not the rule: HHS OCR guidance on risk analysis explains expectations, but the regulation text controls.
  • Documentation drives evidence: Keep dated assessment records, findings and remediation decisions so an OCR review can trace them.

Confirm with your compliance lead or counsel whether the proposed revision will apply to you, and track its status before setting a testing cadence.

What you receive from each engagement

A risk assessment and a penetration test produce different artifacts, and each one feeds the other. The cards below describe what NIST SP 800-30 and NIST SP 800-115 point to, so you can check whether a proposed deliverable set covers the decisions you need to make. Confirm exact report contents in the written scope before work starts.

Risk register and scoring method

A risk assessment ends in a register that lists assets, threats, vulnerabilities, likelihood and impact estimates, and the resulting priority for each risk. NIST SP 800-30 Rev. 1 describes the process of identifying, estimating and prioritizing these risks, so the scoring method should be written down and repeatable. Ask the assessor to show how likelihood and impact were assigned and who approved the criteria. A register without a stated method cannot be re-run next year.

Risk treatment plan

A treatment plan records what the organization will do about each prioritized risk: accept, avoid, reduce or transfer it, with an owner for each decision. This is the output most often missing when a risk assessment is delivered as a report alone. Check that each treatment names a responsible owner and a review point, and that accepted risks are signed off by someone with authority to accept them. The plan should reference the register entries it covers.

Communicated results

NIST SP 800-30 treats communicating results as its own step, separate from doing the assessment. Expect a summary for leadership and a detailed version for system owners who must act. Confirm the audience for each document, how uncertainty and assumptions are stated, and how the results will be kept current after the assessment closes. A summary without the underlying assumptions is hard to defend to an auditor.

Rules of engagement

NIST SP 800-115 provides a rules of engagement template in Appendix B, covering what may be tested, when, by whom, and what the tester must do if something breaks. For a penetration test, this is the document that authorizes real exploitation against production or staging systems. Check that it names the in-scope addresses, testing windows, emergency contacts, data handling rules and the stop conditions. Confirm the exact template and sign-off process in the written scope.

Findings with reproduction steps

A penetration test report should list each validated weakness with the steps needed to reproduce it, the affected system, the impact the tester demonstrated and a recommended fix. Because the tester has exploited the weakness, the finding confirms exposure rather than theoretical risk. Ask whether each finding includes the exact request, command or account used, so your team can reproduce it without the tester present. Findings without reproduction steps are difficult to verify and to close.

Evidence and retest

Evidence includes captured outputs, screenshots and logs that support each finding, while the retest confirms whether a fix worked. NIST SP 800-115 describes penetration testing as validation work, so the retest is what shows a risk was reduced, not only reported. Confirm how evidence is stored, how long it is kept and who can access it, since it may contain sensitive data. Ask whether retest is included in the fixed scope or sold separately.

When to combine both and in what order

A risk assessment should decide which weaknesses a penetration test validates, and the test should then feed back into the assessment. NIST SP 800-115 does not treat the two as rivals. It suggests regularly scheduled network and vulnerability scanning interspersed with periodic penetration testing, and it notes that organizations often combine techniques to reach an in-depth assessment at an acceptable level of risk. In practice, the risk register or assessment comes first. It names the assets that hold sensitive data, the threats that matter to them and the controls that are supposed to stop them. The penetration test is then scoped against the highest-ranked items, such as a customer-facing API that handles ePHI or a segment that separates cardholder data from the rest of the estate. Ask the tester to state which risk-register entries each test objective addresses, so the report can be mapped back to the assessment.

Once testers return, the assessment has to be updated, not just filed. Each validated finding either confirms a likelihood or impact rating that was assumed, or shows that a control works as designed. Record the exploited path, the controls it defeated or failed to defeat, and the compensating measures that were in place. Then recalculate residual risk for the affected assets and decide what is accepted, mitigated or transferred. Findings the test did not reach, such as lower-ranked systems, stay in the assessment as unvalidated and should be revisited at the next scheduled scan. Some regimes also require a targeted risk analysis for lower-severity vulnerabilities, so confirm with your assessor which findings need that treatment and document the decision.

Finally, the test should check the monitoring that was supposed to see it. CIS Controls Safeguard 18.4 asks for security measures to be validated after each penetration test so that detections cover the techniques the testers used. Before the engagement, ask the provider to log the timestamps and techniques it runs, then compare them against alerts in your SIEM or detection pipeline. Any technique that went unseen becomes a residual risk entry in its own right, because a control that exists on paper but never fires does not reduce likelihood in the way the assessment assumed. Agree this review step in the statement of work so it is not an afterthought once the report arrives.

Questions buyers ask before hiring outside help

Do we need a risk assessment or a penetration test first?

For most organizations the risk assessment comes first, because it decides what is worth testing. NIST SP 800-30 Rev. 1 describes risk assessment as identifying, estimating and prioritizing information security risks across assets, threats and controls, and its four steps (prepare, conduct, communicate, maintain) produce the ranked list that a test should target. A penetration test then validates specific weaknesses on the systems that matter most. Some obligations force the order differently. Under the HIPAA Security Rule, risk analysis is a required implementation specification, while penetration testing is suggested as part of a periodic evaluation where reasonable and appropriate. Ask your compliance lead which artifact your regulator or auditor expects first.

Can a penetration test replace a risk assessment?

No. A penetration test shows that a specific weakness can be exploited on a specific target at a specific time. It does not estimate likelihood and impact across the whole environment, assign ownership, or record which controls were considered and accepted. NIST SP 800-115 treats penetration testing as one target vulnerability validation technique among several, and notes that organizations combine techniques to reach an acceptable level of risk. Under ISO/IEC 27001:2022, risk assessment sits in clause 6.1.2 and is performed in operation under clause 8.2, so a pen test result is an input to that process rather than its output. The same applies to PCI DSS requirement 11.3.1.1, which relies on a targeted risk analysis for lower-ranked vulnerabilities.

How much effort does a risk assessment need from our internal team?

The internal team carries most of the knowledge load in a risk assessment, because only it can name the assets, data flows, owners and existing controls. NIST SP 800-30 Rev. 1 expects the organization to prepare the assessment, conduct it and communicate results, so staff from business, IT and security must provide inputs and review the outcome. Effort rises with the number of systems in scope, the availability of current asset inventories and the number of stakeholders who must agree on likelihood and impact ratings. Ask a provider to show which workshops, interviews and document reviews it expects your team to attend, and who signs off on the risk register.

How much effort does a penetration test need from our team?

A penetration test usually needs less sustained effort from your team but more coordination at fixed points. NIST SP 800-115 describes penetration testing as using real exploits against production systems and data, so the rules of engagement, target lists, test accounts, contact persons and stop conditions must be agreed before work starts. During testing, someone must be available to answer questions and respond to any impact on live systems. After testing, your team retests fixes and validates detection where the test exercised it. The PCI SSC Penetration Testing Guidance also stresses that a test is essentially a manual process, so budget for tester time, not just tool runs.

Can we run a risk assessment or penetration test in-house?

Yes, in many cases, but the independence and skill requirements differ. A risk assessment can be led internally if the people involved have the authority to speak for the business and the method is documented, since NIST SP 800-30 Rev. 1 defines the process without requiring an outside firm. A penetration test is more demanding. Some frameworks expect independence from the team that runs the systems, and PCI DSS and NIST SP 800-53 control CA-8 both describe independent testers in certain contexts. The HIPAA guidance asks for evaluations that are accurate and thorough, not for a specific provider type. Confirm the independence rule in your framework, then decide whether internal staff, an outside firm or a mix meets it.

How long does each one take, and what changes the timeline?

No duration is supplied for this comparison, so ask each provider for a timeline tied to a written scope. For a risk assessment, the main drivers are the number of assets and business processes in scope, how mature your asset inventory is, the number of stakeholders who must review ratings, and how often the assessment is refreshed. For a penetration test, the drivers are the number of targets, whether testing is external, internal or authenticated, whether it covers web applications, APIs or network services, whether it runs in production or staging, and how many retest rounds are planned. Ask the provider to state which of these assumptions its estimate depends on.

What should we ask a provider for in a quote?

Ask for a written scope that names the systems, environments, access levels and exclusions, plus the deliverables and their format. For a risk assessment, request the method, the risk scale and criteria, the list of workshops and reviews, and the form of the risk register. For a penetration test, request the methodology used, such as NIST SP 800-115, PTES or the OWASP Web Security Testing Guide, the rules of engagement, the testers' qualifications, the retest terms and how findings are reported. Also ask who performs the work, how data from testing is handled, and what your team must provide. Fixed-scope engagements agree these items in writing before work starts, which lets you compare quotes on equal terms.

What does a quote cover, and who pays for what?

A quote covers the people, tools and reporting the provider needs to deliver the agreed scope, and the internal time you commit is a separate cost. For a risk assessment, the provider charges for facilitation, analysis and the risk report, while your staff bear the time for interviews and approvals. For a penetration test, the provider charges for tester time, tooling, reporting and retesting, while your team pays for environment preparation and the remediation work that follows. Both costs are mostly one-time per engagement, but the assessment needs refreshing and tests recur on a schedule your framework or risk appetite sets. Ask which retests and refreshes are included and which are priced separately.

What to confirm with your regulator, assessor and provider

Before you commit budget to either a risk assessment or a penetration test, confirm which regulation or certification actually applies to your organization and which evidence it expects. A HIPAA risk analysis is a required implementation specification under the Security Rule, while the penetration test that sits beside it is framed as part of a periodic evaluation. ISO/IEC 27001 places risk assessment in clause 6.1.2 and expects it to run in operation under clause 8.2. PCI DSS ties a targeted risk analysis to specific vulnerability handling in requirement 11.3.1.1. Ask your regulator or certification body which of these frames your obligation, whether a penetration test is named as a required activity, and whether an assessment written to a different framework will be accepted. Check the current status of any proposed rule before you plan around it, since HHS's January 2025 proposal had not become a final rule as of October 2026.

Next, confirm with your assessor whether the testers must be independent of the team that operates the systems. Some frameworks name independence explicitly, and others leave it to the assessor's judgment. Ask whether the assessor will accept an internal team, an outside firm or both, and whether they expect a particular accreditation or certification from the people doing the work. Where a regulator names a scheme, such as CBEST in the UK, confirm the accreditation body it recognizes before you shortlist providers. Also confirm who signs off the risk register and how penetration test findings will be mapped into it, because an assessor may reject a test report that is not linked to the assessed risks and controls.

Finally, put the written scope and rules of engagement in front of your provider and agree them before work starts. NIST SP 800-115 provides a rules of engagement template in Appendix B that you can use as a checklist. Confirm the in-scope assets and networks, the testing windows, the permitted techniques, the handling of sensitive data encountered during testing, the emergency stop contacts, and whether testing occurs in production or in a staging copy. Then ask the provider to state in writing whether the final report will include the methodology, the evidence, the retest results and the risk ratings used, and whether your assessor has already said that this format will be accepted as evidence. Any requirement you cannot find in the framework text should be confirmed in writing, not assumed.

How DeployOpen scopes, delivers and supports security testing

This sequence shows how a risk assessment and a penetration test move from a written agreement to evidence the client owns, with each stage ending in a defined output. It makes clear what DeployOpen prepares and what independent auditors or certification bodies decide.

  1. Agree the purpose and questions in writing

    Before any work starts, DeployOpen's team meets with the client's security, compliance and IT owners to state why the work is needed, such as a regulator's requirement, an audit cycle or a change to a system. The team records the business question, the systems in view and the decisions the output must support. The step closes when the client signs the written scope, which states what is in and out of bounds.

  2. Define the assessment or test boundaries

    The team separates the two kinds of work on paper. A risk assessment covers assets, threats, controls and likelihood across the environment, while a penetration test covers named targets, access levels and permitted techniques. For penetration testing, the scope also records rules of engagement, emergency contacts and whether testing runs in production or a non-production copy. The step closes with a scope document the client approves, which fixes deliverables and timelines before fieldwork begins.

  3. Set up the work inside your environment

    DeployOpen works inside the client's own cloud accounts, data centers or air-gapped networks, using access the client grants and logs. Test accounts, tooling and data handling follow the client's change and access processes. The client confirms the access model and the protection of any sensitive data before the first activity. The step closes when the client confirms the access is provisioned and the monitoring team knows the test window.

  4. Run the assessment and validate findings

    Risk analysis work, such as reviewing assets, identifying threats and rating likelihood and impact, is carried out alongside technical validation. Where a weakness is suspected, the penetration test team checks it with controlled exploitation within the agreed rules. Findings are recorded with evidence, affected assets and the conditions under which they were confirmed. The step closes when each finding is either validated, marked as unconfirmed or dropped with a reason.

  5. Prioritize risks and communicate results

    The team ranks risks using the client's own criteria and the method named in the scope, and separates validated technical weaknesses from broader control gaps. The report explains what was tested, what was not, and how each result links to the original questions. The client reviews a draft, corrects factual errors and agrees the final version. The step closes with a delivered report and a remediation list the client owns.

  6. Prepare evidence for assessments

    DeployOpen assembles the records an auditor or regulator will ask for, such as the scope document, risk register, test logs and remediation tracking, and maps them to the requirement the client names. DeployOpen does not issue audit reports, attestations or certifications, so the client confirms with its independent auditor or certification body which evidence that party accepts. The step closes when the evidence pack is handed over and the client confirms its completeness.

  7. Support remediation and retesting

    The client fixes findings, and DeployOpen can support the remediation plan, validate fixes and record the retest outcome. Where the client needs continuing work, ongoing support, upgrades and continuous testing are available as retainers agreed separately from the original scope. The step closes when the client has a retest record for each fixed finding and a documented decision for each accepted risk.

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.