pentest · compliance

HIPAA penetration testing for ePHI environments.

Technical security evaluation of your ePHI systems under §164.308(a)(8) of the HIPAA Security Rule. BAA executed before kickoff. Findings mapped to Security Rule citations. Deliverables your privacy officer and external auditor both accept.

Where does HIPAA require technical testing?

In three Security Rule provisions. HIPAA does not use the phrase "penetration test," but HHS enforcement and OCR guidance have made the expectation clear.

§164.308(a)(8): Evaluation

Requires periodic technical and nontechnical evaluation of security safeguards whenever environmental or operational changes occur. OCR interprets this to include technical testing. Organizations that experienced breaches without conducting regular technical evaluations face the highest penalties.

§164.308(a)(1)(ii)(A): Risk analysis

An accurate and thorough assessment of potential risks to ePHI confidentiality, integrity, and availability. Technical vulnerabilities in ePHI systems must be identified. Penetration testing is the standard method for finding vulnerabilities that risk assessments miss.

§164.312(a)(1): Access controls

Technical policies and procedures that allow only authorized users to access ePHI. Testing that access controls work, not just that policies exist, satisfies this provision and provides documentary evidence of technical review.

OCR breach investigation pattern

HHS resolution agreements after a breach repeatedly cite a failure to conduct an accurate and thorough risk analysis. That usually points to the absence of regular technical testing. Post-breach remediation costs are orders of magnitude higher than prevention.

Source: 45 CFR §164.308, HIPAA Security Rule administrative safeguards (eCFR).

How we handle ePHI during testing.

We are a business associate when we touch systems that process ePHI. Here is how we manage that legally and operationally.

  1. BAA executed before engagement start We sign a Business Associate Agreement before any access to ePHI systems. We have a standard BAA template, or we sign yours. The BAA covers our obligations, data handling, breach notification timelines, and destruction of any PHI at engagement close.
  2. Minimum necessary access We request only the credentials and access required for the agreed scope. Test accounts with realistic privilege levels, not production admin accounts unless specifically needed and documented in the rules of engagement.
  3. No PHI capture unless documented We do not retain patient data encountered during testing. If PHI is incidentally accessed to demonstrate a finding, we document the access, notify you immediately, and delete the data from testing infrastructure. This is in the BAA and the engagement SOW.
  4. Findings without PHI in the report The final report demonstrates vulnerabilities using synthetic or redacted data. No patient records in the deliverable. Auditors, legal teams, and privacy officers can review the report without handling regulated data.

Typical ePHI system scope.

Scope follows your ePHI data flow. Any system that creates, receives, maintains, or transmits ePHI is in scope. Connected systems are typically in scope too.

Patient portal and EHR access layer

Authentication, session management, authorization between patient roles and clinician roles, data export controls. Usually the highest-risk surface from an external attacker's perspective.

API integrations: EHR, billing, lab

HL7 FHIR endpoints, billing system integrations, lab result pipelines. Third-party integrations frequently have weaker access controls than first-party surfaces. Often missed in vendor-led assessments.

Internal data access paths

Who can reach ePHI from inside the network? Database access controls, admin tooling, data warehouse permissions, logging coverage. Internal lateral movement to ePHI is the most common breach path.

Cloud storage and data pipelines

S3 / Blob / GCS buckets containing health records. ETL pipelines that touch PHI. Data lake permissions. IAM roles that can enumerate or export ePHI. In SaaS health companies, cloud misconfiguration is one of the most common ways ePHI ends up exposed.

Audit logging validation

§164.312(b) requires audit controls that record and examine ePHI access activity. We verify that logging is present, covers the right events, and cannot be circumvented by an attacker who gains access.

Encryption in transit and at rest

§164.312(e)(2)(ii) encryption of ePHI in transit. TLS configuration, certificate validity, downgrade attack paths. At-rest encryption coverage and key management access controls.

HIPAA pentest questions.

What comes up on every healthcare scoping call. See compliance gap analysis if you need a full HIPAA Security Rule review alongside the technical test.

Does HIPAA require a penetration test?

Not by name. But §164.308(a)(8) requires periodic technical evaluation of security safeguards. A penetration test is the most direct evidence that the technical safeguards were evaluated. OCR resolution agreements repeatedly cite an inadequate risk analysis under §164.308(a)(1)(ii)(A), and a pentest feeds that analysis with real findings.

Do you sign a BAA before the engagement?

Yes. We execute a BAA before any engagement that involves access to systems that create, receive, maintain, or transmit ePHI. We have a standard BAA template, or we sign yours. The BAA is non-negotiable for HIPAA engagements.

We're a business associate, not a covered entity. Does this apply to us?

Yes. Business associates have the same Security Rule obligations as covered entities under the HITECH Act. If you process ePHI on behalf of a covered entity, the §164.308(a)(8) evaluation requirement applies to you directly.

How often should we run a HIPAA pentest?

"Periodic" under §164.308(a)(8) is not defined as a specific interval. Most healthcare security programs run annually. OCR expects more frequent testing when material changes occur: new product features, new integrations, acquired systems, or after a near-miss security incident.

What do the findings look like for a HIPAA audience?

We map each finding to the relevant Security Rule provision (§164.308, §164.310, §164.312) alongside the standard CVSS severity rating. This gives your privacy officer, legal team, and external auditor a single document that answers both the technical question and the compliance question.

Last reviewed .

HIPAA pentest for your ePHI systems?

Scoping call covers your ePHI data flow, system boundary, BAA requirements, and audit timeline. 30 minutes. Free.