HIPAA penetration testing: evidencing the Security Rule's risk-analysis and evaluation requirements

HIPAA's Security Rule does not list penetration testing by name — but its risk-analysis (§164.308(a)(1)(ii)(A)) and evaluation (§164.308(a)(8)) requirements make it the practical standard for any organization handling electronic protected health information (ePHI). With OCR enforcement and proposed Security Rule updates pushing toward explicit testing, a documented penetration test is how covered entities and business associates show they actively find and fix the weaknesses that expose ePHI. Matproof Sentinel delivers HIPAA-aligned testing and audit-ready reports, from €149, with a free scan to start.

Run a free pentest scan
MW
Written by Malte Wagenbach
Founder of Matproof Security. Specialized in AI-driven penetration testing and EU compliance (DORA, NIS2, ISO 27001, SOC 2).
Last reviewed: May 17, 2026

How the HIPAA Security Rule drives penetration testing

The HIPAA Security Rule is risk-based rather than prescriptive, but two requirements make penetration testing effectively expected. First, the risk analysis requirement (§164.308(a)(1)(ii)(A)) obliges covered entities and business associates to conduct an accurate and thorough assessment of the potential risks and vulnerabilities to the confidentiality, integrity, and availability of ePHI — and you cannot credibly assess technical vulnerabilities without testing for them. Second, the evaluation requirement (§164.308(a)(8)) mandates periodic technical and non-technical evaluation of how well your safeguards meet the Security Rule — a penetration test is the most direct technical evaluation available. OCR guidance and proposed updates to the Security Rule increasingly point toward explicit vulnerability scanning and penetration testing, and OCR investigations after a breach routinely ask whether the organization tested its systems. For a business associate selling into hospitals and health systems, a current HIPAA penetration test is also a procurement requirement: your covered-entity customers will demand it before signing a Business Associate Agreement.

  • Risk analysis (§164.308(a)(1)(ii)(A)): you cannot accurately assess technical risks to ePHI without testing for them — a pentest is the direct evidence.
  • Evaluation (§164.308(a)(8)): periodic technical evaluation of safeguards is required, and penetration testing is the clearest technical evaluation.
  • OCR enforcement: after a breach, OCR commonly asks whether systems were tested — an undocumented program is a liability multiplier.
  • BAA procurement gate: covered entities require business associates to evidence security testing before signing a Business Associate Agreement.

What a HIPAA penetration test should cover

  • ePHI access controls (§164.312(a)): authenticated testing to confirm that only authorized users can reach patient data — no broken access control, IDOR, or cross-patient/cross-tenant exposure.
  • Web application & API security: OWASP Top 10 and OWASP API Security Top 10 across patient portals, EHR integrations, and health-data APIs (FHIR endpoints included).
  • Transmission security (§164.312(e)): TLS configuration and cipher strength protecting ePHI in transit — weak ciphers and certificate issues are common findings.
  • Authentication & audit controls (§164.312(b),(d)): MFA enforcement, session management, and verification that access to ePHI is logged and monitored.
  • Encryption & data exposure (§164.312(a)(2)(iv)): checking that ePHI is not exposed through verbose errors, unprotected endpoints, or misconfigured storage.
  • Audit-ready report mapped to the Security Rule safeguards, with CVSS ratings, proof-of-exploit, and remediation tracking for your risk-analysis documentation.

Sample finding

Critical

Patient records accessible across accounts via insecure direct object reference (ePHI exposure)

Authenticated testing found that a patient-portal endpoint, /api/patients/{patientId}/records, returned records based solely on the supplied patient ID without verifying that the authenticated user was that patient (or an authorized provider). By incrementing the ID, a test account retrieved other patients' clinical records — a direct exposure of ePHI and a failure of the access-control safeguard (§164.312(a)(1)). Under HIPAA this is the class of issue that produces both a reportable breach and an OCR finding that the required risk analysis was inadequate.

Fix: Enforce per-record authorization: verify that the authenticated principal is the patient or an authorized care-team member for the specific record requested, via a centralized authorization layer. Add automated tests asserting cross-patient access is denied, log all ePHI access for the audit-control requirement, and re-test to confirm the fix. Document the finding and remediation in your HIPAA risk-analysis record.

Reference: OWASP API1:2023 Broken Object Level Authorization · CWE-639 · HIPAA Security Rule §164.312(a)(1) Access Control · §164.308(a)(1)(ii)(A) Risk Analysis

HIPAA penetration testing options

Free scanMatproof SentinelTraditional consultancy
Automated scan engine✓ (3-min preview)✓ Full scan✗ Manual only
OWASP Top 10 coveragePartial✓ Complete✓ Complete
Proof-of-exploit evidence✓ Per finding✓ Per finding
Regulatory mapping (DORA/NIS2/ISO 27001)✓ Automated✓ Manual
Audit-ready PDF report✓ Instant✓ 2–4 weeks delivery
Continuous / recurring scans✓ Per deploy✗ Annual engagement
Time to first result~3 min~30 min full scan2–4 weeks
Price€0From €149€8,000–€25,000
Source code review (SAST)✓ On Growth plan✓ Scoped engagement
API testing (REST/GraphQL)✓ Automated✓ Manual

Matproof Sentinel for HIPAA

Single Run
€149 one-time
  • 1 full pentest scan
  • AI-prioritized findings with CVSS 3.1
  • Proof-of-exploit per finding
  • Audit-ready PDF report
  • Regulatory mapping (DORA, NIS2, ISO 27001)
Buy single run
Recommended
Starter
€299 / month
  • Unlimited scans (up to 3 domains)
  • Continuous monitoring
  • CI/CD integration (GitHub, GitLab)
  • All regulatory mappings
  • Priority support
Start Starter
Growth
€799 / month
  • Unlimited scans + domains
  • Authenticated / White-Box testing
  • API & cloud infrastructure tests
  • Dedicated security account manager
  • 24h SLA response time
Contact for Growth

Frequently asked questions about HIPAA penetration testing

Does HIPAA require penetration testing?

Not as a named, explicit requirement — the Security Rule is risk-based. But the risk-analysis requirement (§164.308(a)(1)(ii)(A)) and the evaluation requirement (§164.308(a)(8)) make penetration testing the practical standard: you cannot accurately assess or evaluate your technical safeguards for ePHI without testing them. OCR guidance and proposed Security Rule updates increasingly point toward explicit vulnerability scanning and penetration testing, and after a breach OCR commonly asks whether systems were tested.

Who needs a HIPAA penetration test — covered entities or business associates?

Both. Covered entities (providers, health plans, clearinghouses) and business associates (any vendor handling ePHI on their behalf — SaaS platforms, billing services, analytics providers) are each subject to the Security Rule. Business associates additionally face it as a procurement requirement: covered entities increasingly require evidence of penetration testing before signing a Business Associate Agreement.

How often should we run a HIPAA penetration test?

Annually at minimum, and after significant changes to systems that store, process, or transmit ePHI. Because the evaluation requirement is about ongoing assurance, organizations that deploy frequently benefit from continuous (PTaaS) testing, which keeps the risk-analysis documentation current and catches regressions between annual tests.

What's the difference between a HIPAA risk assessment and a penetration test?

A HIPAA risk assessment is the broad, required process of identifying risks to ePHI across administrative, physical, and technical safeguards. A penetration test is a technical activity that feeds the risk assessment — it provides the accurate, evidence-based view of technical vulnerabilities the risk analysis must include. You need the risk assessment as the governing process; penetration testing is how you make its technical findings real rather than theoretical.

Does Matproof Sentinel produce HIPAA-aligned documentation?

Yes. Sentinel maps findings to the relevant Security Rule safeguards (access control, transmission security, audit controls) and produces the methodology, CVSS ratings, proof-of-exploit, and remediation tracking you need for the risk-analysis and evaluation records. Run a free scan to evaluate it and obtain a full audit-ready report from €149.

Related

Go deeper — related blog articles

Evidence your HIPAA Security Rule safeguards

Show OCR — and your covered-entity customers — that you actively test the systems holding ePHI. Matproof Sentinel delivers HIPAA-aligned penetration testing with audit-ready documentation, from €149, with a free scan to start.

Run a free pentest scan