Skip to main content
Fleuret raises €3.5M pre-seed

NIS2 pentest for healthcare: scoping resilience testing where IT meets patient safety

Fleuret7 min read

Healthcare is sector 5 of the NIS2 Annex I list of essential entities. Healthcare providers, EU reference laboratories, R&D facilities for medicinal products, and manufacturers of basic pharmaceutical products are all named explicitly. Most hospitals above the medium-enterprise size threshold fall into the essential-entity tier, which carries the strictest supervisory regime under the directive. Enforcement is not theoretical: ENISA threat landscape reports document dozens of significant ransomware events against EU hospitals in recent years, several of which forced ambulance diversion, cancelled surgeries, and delayed cancer treatment.

This page lays out how to scope a NIS2 pentest programme for a hospital, a hospital network, an EHR vendor, or a medical-device operator: which surfaces matter, where IT testing stops and MDR/IVDR jurisdiction begins, and what the procurement conversation needs to cover.

What NIS2 expects from a healthcare operator

NIS2 transposes into national law across EU Member States. The directive sets minimum security measures (Article 21) and incident reporting timelines (Article 23). The national competent authority then layers sector-specific expectations on top. In France, ANSSI plus the regional Agences Régionales de Santé (ARS) for patient-safety overlap. In Germany, BSI plus the Bundesinstitut für Arzneimittel und Medizinprodukte (BfArM) for medical-device incident parallels. National CSIRTs operate the incident-notification channel in every Member State.

Concretely, every NIS2-essential healthcare operator must:

  • Maintain a risk-management framework covering the hospital IT estate, the clinical IT estate (EHR, HIS, PACS, LIS), and the device-management infrastructure that connects medical devices to the network
  • Test the effectiveness of security measures (Article 21(2)) on a periodic risk-based cadence
  • Manage supply-chain risk explicitly under Article 21(2)(d), which is the dominant pattern in healthcare given dependencies on EHR vendors, cloud-imaging vendors, lab-information vendors, and connected-device vendors
  • Report significant incidents within 24 hours (early warning), 72 hours (incident notification), one month (final report) to the national CSIRT
  • Train the management body on cybersecurity risks, with personal liability for governance failures at the board level

Penetration testing fits inside the testing-effectiveness requirement. Auditors expect a documented cadence, scope that covers the hospital's critical functions, and remediation evidence tied to risk register entries.

What the pentest scope looks like specifically

The defining engineering problem in a hospital is that the IT estate, the clinical IT estate, and the medical-device estate all share infrastructure, and the surfaces that NIS2 considers "essential service" are the ones where IT failure becomes patient-safety failure. A workable scope splits into four surfaces:

  1. EHR, HIS, patient portal, mobile app. This is the IT layer the hospital operates directly or jointly with the EHR vendor. Maincare, Dedalus, Cerner, Epic, Softway Medical. Admission and billing systems. The patient portal that exposes appointment booking, prescription refills, lab results. The mobile app. Continuous pentest is appropriate here and this is where the bulk of the hospital's testing programme should sit.
  2. Lab-results integration, pharmacy IT, billing. The integration layer between the hospital and external labs (Cerba, Synlab, Eurofins in France; Synlab, Labor Berlin in Germany), the pharmacy IT used for dispensing, and the billing systems that interact with public payers (Assurance Maladie, gesetzliche Krankenkassen). HL7 and FHIR endpoints are particularly worth testing because they sit between trusted and less-trusted zones.
  3. Medical-device management server and network exposure of connected devices. The hospital is responsible for the network the device sits on, the management server that pushes configuration or firmware, and the segmentation that isolates the device subnet from corporate IT. The device itself is the manufacturer's responsibility (see next section). Testing the management server, the segmentation, and the network exposure is allowed, expected, and frequently the source of the largest finding categories.
  4. Supply-chain attestation. Hospitals depend on a small number of vendors for an enormous share of clinical functionality. Article 21(2)(d) requires the operator to manage supplier risk. In practice, this means the hospital should have contractual rights to test the EHR vendor's hospital-facing surface, request pentest evidence from the cloud-imaging vendor, and audit the medical-device-management vendor's remote-access tooling.

A French regional hospital group running three hospitals and roughly eighty thousand inpatient stays per year provides a concrete picture. Their NIS2 pentest scope: Dedalus or Maincare EHR (hospital-facing web and integration surface), admission and billing, the patient portal, the lab-result integration with Cerba, the pharmacy IT, and the network exposure of the connected-device estate. Incident reporting goes to ANSSI via the national CSIRT, with parallel notification to ARS Île-de-France when patient safety is affected.

A German university hospital running Epic EHR with a connected MRI fleet gives a different shape. Pentest scope: the Epic IT layer (web, integration, mobile), the patient portal, the device-management server that handles the MRI fleet, and the segmentation between the device subnet and corporate IT. The firmware of the MRI itself remains under the manufacturer's MDR Article 17 cybersecurity duty and is not in the hospital's pentest scope. Patient data residency for any pentest evidence containing PHI must stay inside the EU.

Where MDR/IVDR boundaries kick in

The Medical Device Regulation (EU) 2017/745, specifically Article 17, places cybersecurity duties on the manufacturer of a medical device. The manufacturer assesses the device, including firmware and embedded software, and produces the conformity evidence that the notified body reviews. The In Vitro Diagnostic Regulation (EU) 2017/746 applies the same logic to IVDs.

The practical boundary for a hospital pentest programme: the hospital tests the network around the device, the management server, the integration with EHR, and the segmentation. The hospital does not test the device firmware. Firmware testing is the manufacturer's job, audited through the MDR conformity process, and a hospital-commissioned pentest team poking at firmware risks both regulatory and patient-safety failure modes. When firmware-level concerns surface, route them to the manufacturer through the MDR vigilance channel.

Where continuous AI pentest fits

Continuous AI pentest is appropriate for the IT estate, the EHR, the patient portal and mobile app, the integration layer, and the device-management server's hospital-facing surface. These surfaces change weekly, expose modern web and API attack surfaces, and benefit from continuous validation between annual deep tests.

Continuous AI pentest is not appropriate for medical-device firmware. Firmware testing belongs to the manufacturer and to specialist firms with embedded-systems and MDR-aware expertise. A hospital scoping a continuous-pentest contract should set this boundary explicitly in the rules of engagement.

Procurement checklist for healthcare CISOs

If you are scoping NIS2 pentest for an essential-entity healthcare operator:

  • Does the vendor have a written exclusion list covering live patient-care surfaces (clinical pathways, surgery scheduling, real-time bedside monitoring, drug dispensing in flight) and an emergency kill switch coordinated with the operations bridge?
  • Does the vendor understand the MDR/IVDR boundary and contractually commit to not testing device firmware?
  • Will the vendor accept and test EHR vendor surfaces (Maincare, Dedalus, Cerner, Epic, Softway Medical) under your supply-chain contractual rights, and coordinate with the EHR vendor's security team?
  • Where is pentest evidence stored? For an essential-entity healthcare operator, EU-only data residency for any artefact that might contain or reference patient PHI is a procurement requirement, not a preference.
  • What are the rules of engagement for ransomware-style payload simulation? Tabletop is acceptable; live payload deployment on hospital infrastructure is not.
  • Can the vendor produce evidence packages mapped to ANSSI, BSI, and ARS/BfArM audit formats and align with the Article 23 reporting cascade if findings escalate to incident territory?

Where Fleuret fits

Fleuret runs continuous AI pentest on the IT, EHR, patient portal, mobile app, integration layer, and device-management server surfaces of healthcare operators. We do not test medical-device firmware. We coordinate with device-cybersecurity specialists (MedSec, Cynerio, Sentinel) when firmware-level concerns surface and route them to the manufacturer's MDR vigilance channel.

Fleuret data residency is EU only. No CLOUD Act exposure on pentest evidence from an essential-entity hospital, even when findings reference patient-data flows.

If you are scoping NIS2 pentest for a hospital, a hospital network, an EHR vendor, or a healthcare-adjacent operator, book a demo.

  • NIS2 pentest for energy: the parallel essential-entity sector, including the OT/IT boundary problem that mirrors the IT/medical-device boundary in healthcare.
  • NIS2 pentest for telecom: the third major essential-entity scope, useful when a hospital network operator also owns inter-site connectivity.
  • ISO 27001 pentest for SaaS: Annex A controls most often evidenced when an EHR vendor or healthtech SaaS sells into NIS2-essential hospital customers.

Ready to scope your NIS2 pentest programme?Book a demo

Privacy Settings

This site uses third-party website tracking technologies to provide and continually improve our services, and to display information according to users' interests. I agree and may revoke or change my consent at any time with effect for the future.