← Back to blogHIPAA and Penetration Testing: What Covered Entities Need to Know
pentestcybersecurityHIPAAhealthcarecompliance

HIPAA and Penetration Testing: What Covered Entities Need to Know

June 15, 2026·Editorial Team·14 min read

HIPAA does not use the phrase "penetration test," but it effectively requires one. The Security Rule at 45 CFR 164.308(a)(8) mandates periodic technical evaluations of security controls, and both HHS OCR and the 405(d) HICP guidance explicitly identify penetration testing as an appropriate method. Covered entities and business associates relying solely on automated scans to fulfill 164.308(a)(8) carry a documented compliance gap.

What the HIPAA Security Rule Covers

The HIPAA Security Rule (45 CFR Part 164, Subpart C) establishes national standards for protecting electronic Protected Health Information (ePHI) — any individually identifiable health information that a covered entity creates, receives, maintains, or transmits in electronic form. The rule applies to:

  • Covered entities: health plans, healthcare clearinghouses, and healthcare providers that conduct standard electronic transactions (billing, eligibility, claims)
  • Business associates (BAs): vendors and subcontractors that create, receive, maintain, or transmit ePHI on behalf of a covered entity — including SaaS platforms, data analytics firms, MSPs, and cloud providers operating under a Business Associate Agreement (BAA)

The rule organizes its requirements into three safeguard categories:

  • Administrative safeguards (45 CFR 164.308): policies, training, risk analysis, contingency planning, and — critically — the evaluation standard
  • Physical safeguards (45 CFR 164.310): facility access controls, workstation security, and device/media controls
  • Technical safeguards (45 CFR 164.312): access controls, audit controls, integrity controls, and transmission security

All three categories are in scope for a HIPAA security evaluation. Penetration testing most directly addresses technical and administrative controls, but a comprehensive engagement also validates whether physical security assumptions hold.

45 CFR 164.308(a)(8): The Evaluation Standard

The provision that most directly mandates security testing reads as follows:

"Perform a periodic technical and nontechnical evaluation, based initially upon the standards implemented under this rule and subsequently, in response to environmental or operational changes affecting the security of electronic protected health information, that establishes the extent to which an entity's security policies and procedures meet the requirements of this subpart."

Three phrases in that text carry significant weight:

"Periodic" — the rule requires recurring evaluation, not a one-time exercise. OCR has cited the absence of regular evaluations in multiple settlement agreements and civil money penalty (CMP) cases.

"Technical and nontechnical" — a policy review alone is a nontechnical evaluation. The technical component requires active testing of systems and controls — precisely what a penetration test delivers.

"In response to environmental or operational changes" — major system migrations, new application deployments, cloud infrastructure changes, mergers and acquisitions, and security incidents all trigger the requirement for a fresh evaluation, independent of whatever annual cycle is already in place.

The HHS guidance document "Guidance on Risk Analysis" and the HICP practices (specifically Practice 10 for medium and large organizations) both treat penetration testing as a core fulfillment mechanism for this requirement, not an optional enhancement.

Risk Analysis vs. Penetration Testing: Both Are Required

These two activities are frequently confused, but they serve different functions and neither substitutes for the other.

Risk analysis (45 CFR 164.308(a)(1)) is a comprehensive threat and vulnerability assessment: it inventories ePHI assets, identifies threats and vulnerabilities, assesses likelihood and impact, and documents the resulting risk register. It is typically a management-level exercise combining interviews, document review, and configuration inspection. Healthcare organizations that also handle payment card data should review the PCI DSS penetration testing requirements, as both frameworks require independent evidence sets.

Penetration testing is empirical: a skilled attacker (operating under a signed rules of engagement) actively attempts to exploit vulnerabilities to determine whether they are genuinely exploitable and what the blast radius would be. A risk analysis might note "SQL injection is a potential vulnerability in the patient portal." A penetration test either confirms that the vulnerability is exploitable and demonstrates access to ePHI records, or confirms it is not — producing evidence rather than inference.

The two feed each other. Penetration test findings update the risk register; the risk analysis defines which systems and threat scenarios deserve the most attention in the next test. Running one without the other leaves either the analysis unvalidated or the test poorly scoped.

What ePHI Systems Should Be in Scope

The scope of a HIPAA penetration test should follow the data. Any system that stores, processes, or transmits ePHI is in scope. Common targets include:

  • EHR/EMR systems: the core clinical record system and its underlying database infrastructure
  • Patient portals: web and mobile interfaces, authentication mechanisms, session management, and API endpoints
  • Health information exchanges (HIEs): inter-organizational ePHI transfer mechanisms, often with complex trust relationships
  • Medical device networks: networked devices (infusion pumps, imaging systems, monitoring equipment) on clinical VLANs that feed data into EHR systems
  • Cloud storage and SaaS platforms with PHI: a BAA with AWS or Azure does not transfer security responsibility — the covered entity or BA is still responsible for the configuration and controls on top of the shared-responsibility model
  • Telehealth application APIs: video consultation platforms, scheduling integrations, and prescription transmission endpoints have expanded dramatically and represent a high-value attack surface

A penetration test that only covers the EHR while ignoring the patient portal API or the medical device VLAN is providing incomplete assurance.

Frequency: What the Guidance Says

OCR does not specify a testing interval in the regulation itself. In practice, healthcare security programs and applicable guidance converge on:

  • At minimum, annual penetration testing of critical ePHI systems — this is the floor recommended by the NIST Cybersecurity Framework (CSF), the HHS 405(d) HICP practices, and most cyber insurance underwriters in the healthcare vertical
  • After significant system changes: new EHR implementations, cloud migrations, major application releases, network segmentation changes
  • After a breach or security incident: OCR frequently requires demonstration of post-incident remediation and retesting as part of corrective action plans
  • After a significant organizational change: mergers, acquisitions, or the onboarding of a new business associate with system access

Annual testing is a minimum, not a target. Healthcare organizations processing large volumes of ePHI or operating in high-risk environments (connected medical devices, research data, behavioral health records) should consider more frequent testing of their highest-risk attack surfaces.

What Auditors and OCR Investigators Need to See

When OCR investigates a breach or conducts a compliance review, documentation of your penetration testing program is among the first things requested. Preserve the following:

  • Signed scope document and rules of engagement: confirms what was tested, under what constraints, and by whom — establishing that testing was authorized and controlled
  • Full technical report: includes methodology, tools used, vulnerabilities discovered (with CVSS scores or equivalent severity ratings), and evidence (screenshots, proof-of-concept output) demonstrating exploitability
  • Remediation evidence for critical and high findings: ticketing records, change management documentation, or configuration screenshots showing that identified vulnerabilities were addressed
  • Retest confirmation: a follow-up test or targeted recheck confirming that remediations were effective — not just that a patch was applied
  • Engagement date and tester identity: to establish a timeline and confirm the evaluator had appropriate qualifications

OCR investigators have subpoenaed penetration test reports and remediation records during breach investigations. Organizations that cannot produce this documentation — or that produce reports showing critical findings were never remediated — face significantly worse outcomes in enforcement proceedings.

Automated Scanning Is Not a Penetration Test

This distinction matters enough to state explicitly. Automated vulnerability scanners (Nessus, Qualys, Rapid7, and similar tools) enumerate known CVEs against software versions and configurations. They are valuable and should be part of any security program. They do not satisfy the evaluation standard on their own because:

  • They cannot chain vulnerabilities: a scanner that finds an SSRF vulnerability and a misconfigured metadata endpoint will report them as two separate findings; a penetration tester will chain them to extract cloud credentials and pivot to ePHI storage
  • They cannot test authentication logic: session fixation, privilege escalation through broken object-level authorization, and MFA bypass are logic flaws that scanners do not detect
  • They cannot simulate real attacker behavior: social engineering vectors, physical access testing, and post-exploitation techniques are outside the scope of any automated tool
  • They produce false assurance: a "clean" scanner report on a system with a critical logic vulnerability leads organizations to conclude they are more secure than they are

A penetration test by a qualified team does what a scanner cannot: it simulates the behavior of a motivated, skilled adversary against your specific ePHI environment.

The HITECH Act: Enforcement Context

The Health Information Technology for Economic and Clinical Health (HITECH) Act of 2009 substantially strengthened HIPAA enforcement. The tiered penalty structure now reaches up to approximately $2.1 million per violation category per calendar year for Tier 4 violations — willful neglect that is not corrected within 30 days — based on HHS inflation-adjusted figures effective August 2024 (HHS Civil Monetary Penalties for HIPAA Violations). Tier 3 (willful neglect, corrected) carries penalties up to $250,000 per category per year under current OCR enforcement practice.

The practical significance for penetration testing: failing to conduct required evaluations, or conducting evaluations and ignoring the findings, can place an organization in the willful neglect tier. OCR has assessed seven- and eight-figure penalties against covered entities with documented histories of ignoring identified vulnerabilities.

Business Associates Bear Direct Liability

Under HITECH, business associates are directly liable for HIPAA Security Rule compliance — not just contractually liable to their covered entity customers. A SaaS vendor handling PHI under a BAA cannot rely on their customer's penetration testing program to cover their own systems. If you operate software that processes, stores, or transmits ePHI on behalf of covered entities:

  • You need your own penetration testing program, scoped to your platform and infrastructure
  • Your BAAs should clearly delineate security responsibilities
  • Your covered entity customers may contractually require evidence of testing — and OCR may require it during a breach investigation involving your systems

This is an area where many software vendors in the healthcare space remain exposed.

Summary

HIPAA does not use the phrase "penetration test," but the evaluation standard at 45 CFR 164.308(a)(8) — combined with OCR guidance, HICP practices, and the enforcement record — makes periodic, expert-led penetration testing of ePHI systems a practical requirement for any covered entity or business associate that takes compliance seriously. The documentation you produce from that testing is not just a compliance artifact; it is your evidence of due care if a breach occurs.

Not every penetration testing firm has experience with the healthcare environment. Testing against clinical systems requires understanding of operational constraints — availability requirements for life-critical systems, sensitivity of ePHI data that may be accessed during testing, and the regulatory context that shapes the documentation needed afterward. SaaS vendors operating under a BAA should also understand how SOC 2 penetration testing requirements interact with HIPAA obligations, since enterprise healthcare customers frequently require evidence for both frameworks. Look for a provider with documented experience in healthcare scoped engagements and testers who understand the difference between an EHR and a patient portal API.

Providers such as WhiteJaguars, for instance, run a SaaS platform (Zirkul) that generates the timestamped, tester-attributed audit trail OCR investigators expect during a breach review.

Real-World Use Case: HIPAA Pentest Finding

A regional telehealth provider commissions their first HIPAA-aligned penetration test. The testing scope covers their patient portal (web application), EHR integration API, and cloud infrastructure. During the engagement, the tester discovers an internal API endpoint — /api/internal/patients/export — accessible from the patient portal's front-end JavaScript without any authentication. The endpoint returns a CSV export of all patient records created in the preceding 90 days.

The development team had assumed the endpoint was "internal only" based on its /internal/ path prefix. No authentication was enforced at the API layer, and no network-level access control (firewall rule, VPC boundary, or API gateway policy) blocked the request from the public-facing application. The result: 47,000 patient records were accessible to any unauthenticated user who sent the correct GET request.

The finding was classified as a HIPAA §164.312(a)(1) Access Control failure — the technical safeguard requiring that ePHI access be granted only to authorized persons or programs. Had this vulnerability been discovered and exploited by a malicious actor before the penetration test, the covered entity would have faced mandatory breach notification obligations under §164.400–414, a required report to HHS OCR, and potential notification to affected patients and the media (for breaches affecting more than 500 individuals in a state). An OCR investigation would have examined whether the organization could demonstrate adequate security evaluation under §164.308(a)(8) — and without a prior penetration test, that demonstration would have been impossible.

Remediation required two steps: enforcing session-based authentication on the endpoint, and removing the endpoint's URL from the front-end JavaScript bundle so it is no longer discoverable via browser developer tools. A targeted retest confirmed closure within two weeks of the finding publication.


Frequently Asked Questions

Does HIPAA require an annual penetration test?

The HIPAA Security Rule does not prescribe a specific testing frequency. 45 CFR 164.308(a)(8) requires "periodic" technical and nontechnical evaluations — a deliberately flexible standard. In practice, OCR enforcement actions, HICP guidance (Practice 10 for medium and large organizations), and cyber insurance underwriting requirements in the healthcare vertical have established annual penetration testing as the de facto minimum for covered entities and business associates handling ePHI at meaningful scale. Annual is a floor, not a ceiling: significant system changes, breach incidents, and major organizational events (mergers, new BA relationships) each trigger an independent evaluation requirement regardless of the annual cycle.

Who can perform a HIPAA-aligned penetration test?

HIPAA does not certify penetration testers or establish a required credential. However, the evaluation must be competent and the documentation must withstand scrutiny in an OCR investigation or audit. In practice, organizations look for: testers with recognized industry credentials (OSCP, GPEN, CEH), demonstrated experience with healthcare-specific environments (EHR systems, HL7/FHIR APIs, medical device networks), familiarity with the HIPAA regulatory framework so findings are documented in compliance-relevant terms, and the ability to produce a report that maps findings to specific HIPAA provisions. A generic web application scan produced by an IT generalist does not meet the standard that a qualified evaluator would apply under §164.308(a)(8).

What is the HIPAA Security Rule's requirement for security testing?

The governing provision is 45 CFR 164.308(a)(8), the Evaluation Standard: covered entities and business associates must perform periodic technical and nontechnical evaluations of the extent to which their security policies and procedures meet the requirements of the Security Rule. The evaluation must be repeated in response to environmental or operational changes that affect ePHI security. HHS OCR guidance and the 405(d) HICP framework both identify penetration testing as an appropriate method for satisfying the technical evaluation component. Nontechnical evaluations — policy reviews, workforce interviews, documentation audits — are required in addition to technical testing, not as a substitute for it.

How does a HIPAA pentest differ from a standard web application pentest?

The technical methodology (OWASP WSTG, manual exploitation, traffic interception) is substantially the same. The differences are in scope, documentation, and operational constraints. Scope: a HIPAA pentest must follow the ePHI data flow — patient portals, EHR APIs, cloud storage, medical device networks, and telehealth infrastructure all qualify as in-scope if they handle ePHI. Standard web pentests are often scoped to a single application. Documentation: a HIPAA pentest produces findings mapped to specific HIPAA provisions (§164.312 Access Controls, §164.312(e) Transmission Security, etc.) and generates the audit trail OCR investigators expect. Operational constraints: testing against clinical systems requires care around availability — life-critical systems cannot be taken offline, and ePHI encountered during testing must be handled under confidentiality controls. Testers without healthcare experience often underestimate these constraints.

What documentation from a pentest satisfies OCR audit requirements?

OCR investigators and auditors typically request: the signed scope document and rules of engagement (establishing that testing was authorized and controlled); the full technical report with methodology, tools used, findings with severity ratings, and exploitation evidence; remediation documentation showing that critical and high findings were addressed (ticketing records, change management logs, or configuration evidence); retest confirmation demonstrating that remediations were independently verified as effective; and the engagement date and tester identity to establish timeline and competence. Organizations that cannot produce this documentation — or that produce reports showing high-severity findings with no documented remediation — face significantly worse outcomes in OCR enforcement proceedings. The documentation package should be retained for the life of the organization's HIPAA compliance program, not discarded after a fixed retention period.


Advertise here?

Looking for a reliable pentesting provider?

Check our comparison guide with the key criteria for evaluating providers: verifiable certifications, methodology, SLAs, reporting and support. Make an informed decision.

Independent analysis · No commercial sponsorship · Based on verifiable criteria