Preventing digitally sourced patient harm: managing cyber risk throughout digitally-enabled medical devices' life cycle
Nick Baty (Security Consultant · Bastion Security Group)
BSides Canberra VII (2024) · Day 2 · Bradman Theatrette
Overview
In an era where technology increasingly underpins every aspect of healthcare, the security of digitally-enabled medical devices has become a paramount concern. Nick Baty, a Principal Security Consultant at Bastion Security Group and former Chief Cyber Security Adviser at the New Zealand Ministry of Health, delivered a compelling talk at BSides Canberra, shedding light on the critical, yet often overlooked, risks associated with these devices. Titled "Preventing digitally sourced patient harm: managing cyber risk throughout digitally-enabled medical devices' life cycle," Baty's presentation underscored the profound potential for patient harm when cyber risks in medical technology are not adequately addressed. His candid perspective, drawn from years of firsthand experience navigating the complexities of healthcare cybersecurity, served as a stark call to action for the industry.

Key moments
- 0:00 Introduction: Preventing digitally sourced patient harm
- 4:10 Wearables and software as medical devices definition
- 7:30 Common threats and motivations for cyber attacks
- 12:00 Direct patient harm: compromised drug dispensing
- 14:45 Alarming statistics on medical device vulnerabilities
- 19:00 Maliciously altered clinical images: DICOM vulnerability
- 22:00 Collaborative solutions and a call to action
Preventing digitally sourced patient harm: managing cyber risk throughout digitally-enabled medical devices' life cycle
Speakers: Nick Baty, Security Consultant, Bastion Security Group
Conference: BSides Canberra
YouTube: https://www.youtube.com/watch?v=nkjp5QuRTRk
Overview
In an era where technology increasingly underpins every aspect of healthcare, the security of digitally-enabled medical devices has become a paramount concern. Nick Baty, a Principal Security Consultant at Bastion Security Group and former Chief Cyber Security Adviser at the New Zealand Ministry of Health, delivered a compelling talk at BSides Canberra, shedding light on the critical, yet often overlooked, risks associated with these devices. Titled "Preventing digitally sourced patient harm: managing cyber risk throughout digitally-enabled medical devices' life cycle," Baty's presentation underscored the profound potential for patient harm when cyber risks in medical technology are not adequately addressed. His candid perspective, drawn from years of firsthand experience navigating the complexities of healthcare cybersecurity, served as a stark call to action for the industry.
The core of Baty's argument centers on the idea that medical devices, ranging from consumer wearables to life-sustaining implantables, are inherently vulnerable to cyber threats. These vulnerabilities are not merely theoretical; they possess the very real potential to compromise patient data, disrupt critical care, and, in extreme cases, directly lead to physical harm or death. Baty highlighted a significant gap in understanding and management of these risks across the healthcare ecosystem, from manufacturers and procurement agencies to IT professionals and clinicians. He emphasized that the evolving landscape of digital health, with the rapid adoption of cloud services, AI in diagnostics, and the Internet of Medical Things (IoMT), exacerbates these challenges, making a comprehensive, lifecycle-based approach to security an urgent necessity.
This talk is crucial for anyone involved in healthcare, cybersecurity, or public policy. It dissects the multifaceted nature of medical device security, exploring outdated regulatory frameworks, the unique technical challenges posed by specialized hardware and software, and the human and organizational factors contributing to the problem. Baty's insights provide a roadmap for understanding why these issues persist and, more importantly, what collaborative steps must be taken to mitigate the risks, ultimately safeguarding patient well-being in an increasingly digitized medical world.
Background
▶ Watch: Introduction: Preventing digitally sourced patient harm (0:00)
The problem of cybersecurity in medical devices is deeply rooted in historical oversight, rapidly evolving technology, and a fragmented regulatory landscape. Traditionally, medical device design prioritized functionality, reliability, and user experience over robust cybersecurity. This historical context means that many devices currently in use, or even newly deployed, were not conceived with modern cyber threats in mind. Nick Baty vividly illustrated this by citing New Zealand's medical device definition, which is based on legislation dated 1981 – a time when digital connectivity in healthcare was virtually non-existent. This outdated legal framework struggles to encompass the complexities of contemporary digitally-enabled devices.
The definition of a "medical device" itself has expanded dramatically. Beyond traditional instruments like infusion pumps and MRI machines, modern medical devices now include wearables (like smartwatches with health monitoring capabilities), Software as a Medical Device (SaMD), which refers to algorithms and applications used for clinical diagnosis (e.g., Apple Health, Google Health), and various implantable technologies. Clinicians increasingly rely on data from these sources for diagnostic decisions, meaning the integrity of this data is paramount. Any compromise, such as a user fudging their running scores, could lead to incorrect medical advice or treatment.
Baty drew a sharp contrast between New Zealand's and Australia's regulatory approaches. In New Zealand, the agency responsible for procuring medicines and medical devices, Pharmac, historically viewed its role purely as procurement, resisting the inclusion of cybersecurity assurance standards in vendor contracts. This left a significant gap in enforcing security-by-design from the outset. Conversely, Australia's Therapeutic Goods Administration (TGA) was lauded for its proactive and clear guidelines. The TGA's framework includes 15 essential principles, with at least half dedicated to Quality and Assurance, providing clear legislative guidance for manufacturers and operators on managing and governing this technology. This robust regulatory environment in Australia offers a blueprint for how other nations could enhance their oversight.
The threat actors and their motivations targeting medical devices are diverse, mirroring those seen in broader cybersecurity domains, but with potentially catastrophic consequences. Baty identified common attack vectors such as remote access exploitation, wireless access compromise, and the exploitation of outdated software and firmware. A particularly alarming example he shared was visiting a hospital with a "brand new MRI machine" still running on Windows XP and configured with hardcoded credentials like "admin" and "password" (spelled "pa55w0rd"). This highlights not only the legacy software problem but also the significant supply chain risks where vendors control the entire update ecosystem, often requiring physical media and on-site technicians for patches, making regular security maintenance impractical or impossible for overwhelmed healthcare IT teams.
Motivations for these attacks include:
- Financial and Political Gain: As seen in the SingHealth breach (Singapore, 2018), where the personal health details of the Prime Minister were specifically targeted.
- General Disruption: Healthcare environments are highly sensitive to downtime, making them prime targets for ransomware or denial-of-service attacks that can halt critical operations.
- Intellectual Property Theft: Medical device designs, research data, and proprietary algorithms are valuable assets.
- Reputational Damage: High-profile breaches erode public trust in healthcare providers and device manufacturers.
- Harm Individuals: The direct manipulation of device functionality or patient data can lead to physical harm.
- Increase Personal Credibility: Attackers may seek notoriety within hacker communities.
These factors collectively create an environment where medical devices present major security challenges, often operating with insufficient protections in systems where integrity and availability are as critical as confidentiality for patient safety.
Key Findings
▶ Watch: Common threats and motivations for cyber attacks (7:30)
Nick Baty's presentation meticulously detailed the alarming state of cybersecurity within digitally-enabled medical devices, drawing on critical research and real-world incidents. A central finding is the pervasive presence of legacy operating systems and software incompatibility, which create abundant vulnerabilities. Many devices, despite being new, run on outdated platforms like Windows XP, making them susceptible to known exploits and difficult to integrate securely into modern networks. The speaker noted that "most of the patent and software libraries are open source," implying a potential for widespread vulnerabilities if not properly managed.
A key statistical finding, cited from a 2023 study on the state of cybersecurity for medical devices and healthcare systems, revealed that "up to 82% of devices carry outdated operating systems." This figure is staggering, indicating a systemic problem rather than isolated incidents. The difficulty in updating these systems was emphasized, often requiring manual updates via physical media by specialized vendor technicians, severely hindering timely patching. Furthermore, many devices lack basic security controls, such as configurable credentials, with some still using "hardcoded creds" or "no authentication" at all, primarily due to cost, complexity, and a historical lack of security-first design.
Baty categorized medical devices by their risk profiles, highlighting the severe implications for Class III devices like pacemakers, heart valves, and anesthesia machines. For these devices, a security compromise can directly lead to life-threatening outcomes. The study also provided concrete vulnerability statistics:
- Medical monitoring telemetry (e.g., blood pressure, glucose monitors, K machines): 129 vulnerabilities across 89 products, with some CVE scores as high as 7.8.
- Common vulnerability types identified included improper input validation, improper authentication, and uncontrolled resource consumption.
The presentation also identified the types of devices most frequently found with vulnerabilities: infusion pumps, ultrasound machines, patient monitors, medical dispensers (like PX machines), internet gateways, IP cameras, PACS machines, and DICOM workstations. Baty singled out PACS machines (Picture Archiving and Communication Systems) and DICOM workstations as particularly critical. He recounted an incident where a vulnerability (CVE score 7.8-8.0) was found in the base codebase for rendering DICOM images, leading to instances where "attackers had exploited that vulnerability and had gone and maliciously altered some of the clinical images." This meant clinicians could potentially make "clown sound clinical decisions" based on falsified data, with dire consequences like "inaccurate cancer diagnosis."
The scale of the threat is escalating rapidly:
- There has been an "almost 700 to 800% increase in cyber attacks on the health sector globally since 2021."
- In 2022, the healthcare sector experienced "the highest average percentage of attempted intrusion."
- Internet of Medical Things (IoMT) devices have seen a "123% increase in vulnerabilities and potential exploitations in the last two or three years."
- Specific vulnerabilities like those in Bluetooth Low Energy (BLE) protocols, where devices cannot accommodate modern, more secure versions, allow for potential "recompile the code setting inside these devices," posing risks to insulin pumps and pacemakers. The historical concern around Dick Cheney's pacemaker was referenced, highlighting the long-standing awareness of these risks.
These findings collectively paint a grim picture of a critical infrastructure segment grappling with systemic security deficits, where the consequences of cyber exploitation directly translate into risks to human life and well-being.
Technical Deep Dive
▶ Watch: Direct patient harm: compromised drug dispensing (12:00)
The technical challenges inherent in securing digitally-enabled medical devices are multifaceted, stemming from their design philosophy, operational constraints, and the unique environment in which they function. Nick Baty's talk illuminated several key areas of concern.
A fundamental issue is the prevalence of legacy operating systems (OS) and firmware. As Baty noted, it's not uncommon to find a "brand new MRI machine" running on Windows XP. This is problematic for several reasons: XP is well past its end-of-life, meaning it receives no security updates, making it vulnerable to a vast array of known exploits. Furthermore, these systems often come with hardcoded credentials, such as "admin" and "pa55w0rd," or simply lack any robust authentication mechanisms. This is often a design choice to simplify operation or reduce development costs, but it creates glaring security holes that are trivial for attackers to exploit.
The Software as a Medical Device (SaMD) category introduces another layer of complexity. Wearables and mobile applications that utilize algorithms for clinical diagnosis (e.g., Apple Health, Google Health) are effectively medical devices. The integrity of the data processed by these algorithms is paramount. If a user can manipulate input data (e.g., "fudging your running scores"), it could lead to misdiagnosis or inappropriate treatment plans, illustrating a critical data integrity risk.
Network architecture within healthcare environments often exacerbates these vulnerabilities. Many hospital networks are not adequately segregated, meaning that a compromised medical device, which may be running an outdated OS or have weak authentication, can serve as a pivot point for attackers to move laterally into other parts of the "flat" network. This turns a device intended to save lives into an entry point for broader system compromise. Baty highlighted the supply chain risk inherent in this model, where vendors often maintain tight control over the device's ecosystem. Updates frequently require specialized technicians, sometimes flying in with "removal media" (physical USB drives or CDs), making timely patching a logistical nightmare and creating opportunities for tampering.
One of the most chilling technical examples provided was the DICOM vulnerability. DICOM (Digital Imaging and Communications in Medicine) is the standard for handling, storing, printing, and transmitting information in medical imaging. Baty described a global vulnerability (with a CVE score of 7.8, almost up to 8) found in the base code line standard for rendering DICOM images. This vulnerability was actively exploited, allowing attackers to "maliciously altered some of the clinical images." The implication is profound: radiologists and oncologists making critical diagnostic decisions (e.g., diagnosing cancer) could be viewing doctored images, leading to fatal misdiagnoses. This attack specifically targets the integrity of critical medical data, undermining the trust placed in technology by clinicians.
Another significant technical vulnerability mentioned was related to Bluetooth Low Energy (BLE). Many medical devices, such as insulin pumps and pacemakers, rely on BLE for connectivity. However, due to design constraints or legacy hardware, these devices often cannot accommodate more modern, secure versions of Bluetooth. This leaves them vulnerable to attacks where malicious actors can potentially "recompile the code setting inside these devices," gaining unauthorized control or altering their functionality. Baty referenced Barnaby Jack's pioneering work, which famously demonstrated how pacemakers and insulin pumps could be wirelessly hacked, underscoring the real-world feasibility of these threats.
Finally, the compromise of PX machines (medication dispensing systems) illustrates a direct threat to patient safety. These machines, used by nurses to dispense medication, rely on patient barcodes to ensure correct drug administration. If a PX machine is compromised, an attacker could alter patient information, leading to the dispensing of incorrect drugs. Nurses, trusting the system, would unknowingly administer the wrong medication, resulting in potentially "life-threatening, life-ending consequences." This scenario highlights how cyberattacks can bypass human checks and balances, directly impacting patient well-being through compromised integrity and availability of critical medical services.
Demo / Proof of Concept
▶ Watch: Maliciously altered clinical images: DICOM vulnerability (19:00)
While Nick Baty's presentation did not include a live demonstration or proof of concept, he referenced notable historical examples that powerfully illustrate the severity of medical device vulnerabilities and the potential for digitally-sourced patient harm. These references served to underline that the risks discussed are not theoretical but have been demonstrated and, in some cases, exploited in real-world scenarios.
One prominent reference was to the work of the late security researcher Barnaby Jack. Jack was renowned for his groundbreaking demonstrations of hacking medical devices, including insulin pumps and pacemakers. His work, which Baty alluded to, showed how it was possible to wirelessly access and manipulate these devices, potentially delivering lethal doses of medication or disrupting critical cardiac functions. These demonstrations, though ethical, served as stark proofs of concept, revealing the tangible dangers posed by insecure Bluetooth Low Energy (BLE) protocols and other wireless vulnerabilities in implantable and wearable medical technologies.
Furthermore, Baty detailed a real-world "proof of concept" of data integrity compromise through the DICOM vulnerability. He described instances where attackers had "maliciously altered some of the clinical images" stored on PACS servers and viewed on DICOM workstations. While not a live demo, this account of actual exploitation demonstrates that the theoretical risk of manipulating medical imaging data for malicious purposes has been realized. The potential for clinicians to make incorrect diagnoses, such as for cancer, based on falsified images, underscores the catastrophic impact of such attacks on patient care and trust in medical technology. These examples collectively emphasize the urgent need for robust security measures across the entire medical device lifecycle.
Defensive Implications
▶ Watch: Collaborative solutions and a call to action (22:00)
Addressing the pervasive cybersecurity challenges in medical devices requires a paradigm shift from a reactive, IT-centric approach to a proactive, collaborative, and lifecycle-based strategy. Nick Baty stressed that cybersecurity in healthcare is a "team sport," where "no one sits on the bench," emphasizing the need for broad engagement across the entire ecosystem.
1. Foster a Collaborative and Partnership-Based Approach:
The responsibility for medical device security cannot rest solely with healthcare providers. It demands active collaboration among:
- Device Manufacturers: Must embed security by design, not as an afterthought.
- Regulatory Bodies: Agencies like Australia's TGA (Therapeutic Goods Administration) and New Zealand's Medsafe and Pharmac, along with digital health industry associations in New Zealand and Australia, must establish and enforce robust security standards throughout the entire product lifecycle, from design and procurement to deployment and end-of-life.
- Government Agencies: Central, state, and territory governments, including cybersecurity agencies (ACSC in Australia), need to provide knowledge, leadership, and stewardship, offering guidance and frameworks.
- Healthcare Providers: Hospitals, clinics, and individual practitioners must integrate security into their operational workflows.
2. Address Cultural and Awareness Gaps:
A significant hurdle is the lack of understanding about cyber risks among various stakeholders. Baty noted that the challenges are "not well understood" by health system administrators, procurement teams, and even some clinicians. Defensive strategies must include:
- Raising Awareness: Educating all levels of healthcare staff, from IT teams to medical professionals, about the specific risks posed by digitally-enabled devices.
- Demystifying Cybersecurity: Presenting complex security concepts in an accessible manner, focusing on practical implications for patient safety.
3. Build Cybersecurity Capability:
There is a "serious lack of cyber security professional capability," particularly in New Zealand, within health sector procurement and oversight. Defenders need to:
- Invest in Training and Recruitment: Develop specialized cybersecurity expertise within healthcare organizations and regulatory bodies.
- Share Expertise: Encourage secondments or consulting engagements between government security agencies and health organizations.
4. Navigate Commercial Pressures:
Cybersecurity is "expensive and difficult," and can slow down product delivery to market. Given the relatively "really, really small" digital health markets in Australia and New Zealand compared to Asia, the US, or Europe, overly stringent regulations could deter manufacturers from bringing life-saving technology to these markets. Defensive strategies must balance security requirements with commercial realities:
- Risk-Based Approach: Implement security requirements that are proportionate to the risk, focusing on critical vulnerabilities and impact.
- Incentivize Security: Explore mechanisms to incentivize manufacturers to prioritize security, perhaps through certification programs or preferred vendor status.
5. Implement Practical and Collaborative Support:
Baty offered concrete steps for defenders:
- Support Health Sector Agencies: Work directly with procurement teams and other agencies. Help them "ask the right questions" during vendor selection and contract negotiation, devising effective risk discovery questions.
- Encourage Responsible Behavior: Promote the adoption of existing, high-quality guidelines, such as those from the Department of Home Affairs in Australia and the TGA, for managing IoMT complexities securely. These resources are often "free and easily available."
- Engage Healthcare Providers: Provide ongoing support, encourage them to embark on a cybersecurity journey, and make them aware of the dynamic threat landscape.
- Lifecycle Management: Emphasize a holistic approach to managing cyber risk throughout the entire lifecycle of medical devices, from acquisition to secure decommissioning. This includes regular security assessments, vulnerability management, and incident response planning tailored to medical devices.
Ultimately, effective defense against digitally-sourced patient harm requires a cultural shift towards recognizing cybersecurity as an integral component of patient safety, underpinned by sustained collaboration and a commitment to continuous improvement across the entire healthcare ecosystem.
Key Takeaways
- Direct Patient Harm is a Real Threat: Cyber vulnerabilities in digitally-enabled medical devices, from wearables to implantables, pose a direct and escalating risk of patient harm, including misdiagnosis, incorrect medication, or life-threatening device malfunction.
- Outdated Approaches Persist: Regulatory frameworks (e.g., NZ's 1981 legislation) and historical device design practices often fail to account for modern cyber threats, leading to devices with legacy operating systems (like Windows XP), hardcoded credentials, and inadequate security controls.
- Integrity and Availability are Paramount: Beyond data confidentiality, the integrity of medical data (e.g., DICOM images) and the availability of critical devices (e.g., infusion pumps, PX machines) are crucial for patient safety, and their compromise can have catastrophic consequences.
- Collaboration is Non-Negotiable: Effective defense requires a "team sport" approach, involving device manufacturers, regulatory bodies (like Australia's TGA), government agencies, IT professionals, and clinical staff working collaboratively across the entire medical device lifecycle.
- Proactive Engagement and Education are Key: Defenders must actively support healthcare procurement teams in asking effective risk discovery questions, promote awareness among healthcare providers, and leverage existing security guidelines (e.g., from Department of Home Affairs and TGA) to foster responsible behavior and improve overall cybersecurity maturity.
- IoMT and SaMD are Expanding the Attack Surface: The rapid growth of the Internet of Medical Things (IoMT) and Software as a Medical Device (SaMD) introduces new complexities and vulnerabilities, requiring continuous vigilance, specialized expertise, and tailored security strategies to manage these evolving risks.
About the Speaker(s)
Nick Baty is a Principal Security Consultant at Bastion Security Group, based out of Dunedin, New Zealand. Prior to his current role, Baty served as the Chief Cyber Security Adviser at the Ministry of Health in New Zealand for two years, where his official responsibility was to raise New Zealand's cyber security maturity in both the public and private health sectors. His experience in this demanding role provided him with firsthand insights into the significant challenges and "hair pulling cringey moments" associated with securing medical devices and healthcare systems. Before his tenure at the Ministry of Health, Nick Baty also worked for the New Zealand equivalent of Australia's ASD (Australian Signals Directorate), indicating a strong background in national security and intelligence. He holds a Master's degree from the Australian National University (ANU), showcasing his academic foundation in the field. Baty is a passionate advocate for improving cybersecurity in healthcare, driven by the profound implications for patient safety.