Dr. Mike Rushanan
At Harbor Labs, one of our most common services is reviewing the cybersecurity content of the premarket submissions of Medical Device Manufacturers (MDMs). When we provide this service, my team is brought in to perform a third-party review of the client’s cybersecurity processes, procedures, and overall product cybersecurity posture. This review will result in the production of a Cybersecurity Threat Assessment (CTA) — our process for creating a threat model, performing a cybersecurity risk assessment, mapping cybersecurity requirements, mitigating and compensating controls, and performing pen testing/cybersecurity testing.
In our many engagements performing this type of analysis, we have had a unique opportunity to see a broad variety of MDM submissions and the resulting FDA feedback. And in the process, we have noted a pattern of common pitfalls that cause MDMs to be delayed or disqualified from receiving regulatory approvals. In this blog post, I have compiled an outlined list of must do’s to avoid the common cybersecurity obstacles that hinder regulatory approval.
- Threat Model
- You must have a threat model.
- The FDA outlines this requirement and advises how to perform it in the following resources:
- Content of Premarket Submission for Management of Cybersecurity in Medical Devices
- Playbook for Threat Modeling Medical Devices.
- Threat model methodologies include:
- STRIDE
- Attack Trees
- Kill Chain
- DREAD
- Your threat model must also include:
- Assets
- For example, assets include servers, end-user devices, smartphones, laptops, PCs,embedded systems, cloud services, virtual machines, etc.
- Communication or data flows
- For example, define the type of data, its sensitivity (e.g., PHI), and the assets that send and receive it.
- Risk actors
- For example, define insider threats such as rouge developers or cloud admins.
- Threats
- For example, an attacker with physical access to a medical device may connect to its JTAG interface.
- Trust boundaries
- For example, a medical device does not need to trust the network that it transmits data on.
- You must create a threat model diagram.
- Your threat model diagram must depict assets, communication flows, and trust boundaries.
- Cybersecurity Risk Assessment
- You must perform a risk assessment that considers cybersecurity vulnerabilities, defects, and exploits impacting patient safety.
- You must also risk assess general cybersecurity risks that do not impact patient safety.
- Confidentiality
- Integrity
- Availability
- Privacy
- You must create cybersecurity requirements, mitigation controls, and compensation controls.
- Cybersecurity requirements prescribe how a device is secured.
- For example, "All device network communication shall be secure."
- Mitigating and compensation controls implement the requirement to remove or reduce risk.
- For example, "HTTPS using TLS 1.3 shall be used to ensure data is encrypted in transit."
- The FDA outlines this requirement and advises how to perform it in the following resources:
- Content of Premarket Submission for Management of Cybersecurity in Medical Devices
- The FDA also describes how to perform threat modeling in the Playbook for Threat Modeling Medical Devices.
- The FDA recommends following and implementing risk assessment methodologies described in
- NIST SP 800-30
- IEC 62304
- ISO 14971
- Mitre's Medical CVSS Rubric
- You must include several types of cybersecurity risk assessment documentation, including, but not limited to:
- Security Requirements Traceability Matrix
- Device hazard analysis
- Penetration Testing (see Cybersecurity Testing below)
- Cybersecurity Testing
- You must perform cybersecurity testing against your device and related systems.
- Related systems refer to computers, servers, cloud platforms, and software services that communicate and, generally, integrate with your device. This concept is referred to as a system of systems.
- Types of testing include:
- Network enumeration
- For example, identify computing devices reachable from a network. Perform port scans and OS fingerprinting.
- Tools include:
- Nmap
- Testssl
- Penetration Testing
- For example, passively eavesdrop on network communication and actively insert, modify, drop, or jam network communication.
- Tools include:
- Nmap
- Nessus
- Metasploit
- Burp Suite
- Charles Proxy
- Wireshark
- Scapy
- Static analysis
- Software Component Analysis (SCA)
- Tools include:
- npm-audit
- bundler
- OWASP dependency-check
- Static Application Security Testing (SAST) or Source Code Analysis Tools
- Tools include:
- SonarQube
- Bandit
- Brakeman
- Dynamic Analysis
- For example, perform input injection on running software.
- Tools include:
- Charles Proxy
- MITM proxy
- Burp Suite
- ZAP
- Scapy
- DDoS and performance testing
- Empirical analysis of network performance under artificial or malicious load
- Throughput
- Latency
- Packet loss
- Jitter
- Hping
Tools include:
- Dynamic analysis technique to provide random, invalid, and unexpected inputs to a running software program or service
- Example tools:
- BooFuzz
- AFL
- Scapy
- You should determine software vulnerabilities using the NIST National Vulnerability Database.
- You must implement audit and logging capabilities in your devices and related systems.
- Auditing and logging functionality include detecting, monitoring, logging, and alerting.
- Depending on your architecture, for example, a cloud-based backend, you may use standard IDS, IPS, and SEIM solutions to meet the requirement.
- You must create a plan that describes your overall cybersecurity approach.
- This approach must incorporate the threat model, cybersecurity risk assessment, and testing procedures above.
- This approach must also include a process and procedures for:
- Continuous software vulnerability analysis
- Incident response to a vulnerability or compromise
- Software patching and updating
- You must set your device's default configuration to the most robust security setting.
- For example, a firewall may be enabled that blocks all ports except for those running services. Only TLS 1.3 is enabled. MFA is required to authenticate users accessing services external but integrated with the device, etc.
- You must also clearly label and inform your device's users on operating and configuring their device based on cybersecurity best practices.
- For example, make it clear that disabling the firewall creates severe risks for your device. Allowing TLS 1.0 compromises the integrity and confidentiality of your network-based communication. Password-only authentication is susceptible to phishing and brute-force attacks, etc.
In many cases, you may forgo allowing your end-user to reduce security. In our experience, there is a lot of concern around this approach from MDMs.
- Content of Premarket Submission for Management of Cybersecurity in Medical Devices
- Risk assess known vulnerabilities for OTS software and SOUPs and provide a rationale if you decide not to update immediately.
- Use TLS 1.3 or TLS 1.2 with cipher suites that use authenticated encryption with associated data (AEAD) for bulk encryption.
- See RFC 8446.
- Digitally sign and verify software updates using FIPS 140-3 approved algorithms such as ECDSA.
- See FIPS 140-3
- See NIST SP 800-140C
- Enforce access controls (authentication and authorization) server-side.
- Risk assess cloud services regarding access control, security configuration (e.g., encryption at rest and transit), etc. Don't assume that using a third-party cloud provider is good enough.
- Enable encryption at rest wherever possible.
- Apply and enforce the principle of least privilege.
- Use hardware security modules and critical management services on the backend where
possible. - Do not hardcode any password, credential, secret, API key, etc.
To summarize, the MDM must create processes and procedures memorialized in the cybersecurity plan. As a part of that plan, you must describe your threat modeling, cybersecurity risk assessment, and cybersecurity testing process. Then, you must execute these processes when developing and assessing your device. Lastly, you must provide this information and the testing results in your formal submissions to the FDA, regardless of whether it’s a Pre-Sub, 510(k), or PMA.
Our advice–be clear, consistent, and concise when describing your cybersecurity. Perform testing and provide the results as evidence that support your position that your device and its related systems are secure.
Related Insights
Why FDA Rejects the Cybersecurity Content of Regulatory Submissions
Harbor Labs Chief Scientist Dr. Avi Rubin identifies some of the most common reasons why the FDA rejects the cybersecurity content of regulatory submissions.
Regulatory Science Meets Cyber Science; Why It’s So Much More than a Pen Test
HarborLabs CEO Nick Yuran distinguishes cybersecurity from cyberscience, and explains why understanding the shared scientific disciplines of regulators and security professionals are important in achieving positive regulatory outcomes.
Medical Systems and Third-Party Smart Devices
As more medical devices leverage phones and other consumer devices, are they introducing more risk to patients? We’ll go inside a conceptual hack and explore the impact of the crossover between unregulated third-party devices and smart medical devices.