Skip to the main content.

Did you know?

 

RTI is the world’s largest DDS supplier and Connext is the most trusted real-time data streaming platform for intelligent physical systems.

Success-Plan-Services-DSSuccess-Plan Services

Our Professional Services and Customer Success teams bring extensive experience to train, problem-solve, mentor, and accelerate customer success.

Learn more

Developers

From downloads to Hello World, we've got you covered. Find all of the tutorials, documentation, peer conversations and inspiration you need to get started using Connext today.

Resources

RTI provides a broad range of technical and high-level resources designed to assist in understanding industry applications, the RTI Connext product line and its underlying data-centric technology.

The monthly RTI Newsletter lets you in on what’s happening across all the industries that matter to RTI customers.

Subscribe

Company

RTI is the real-time data streaming company for autonomy. RTI Connext supplies the reliability, security and performance essential for intelligent physical systems.

Contact Us

News & Events
Cooperation

5 min read

Designing MedTech Systems for Security from the Ground Up

Designing MedTech Systems for Security from the Ground Up

MedTech Demands Built-In Cybersecurity

Connected medical devices, from robotic-assisted surgery systems to remote teleoperation setups, rely on continuous, real-time data streaming. As medical architectures expand across operating rooms, hospital networks, and cloud environments, protecting patient data and device availability is vital.

In modern connected healthcare, cybersecurity is no longer an isolated IT consideration. Designing security directly into distributed medical systems can help manufacturers:

  • Safeguard patient safety by preventing unauthorized command injection or disruption of system state, processing, and controls.
  • Protect sensitive health data (PHI) against eavesdropping and data exfiltration.
  • Streamline regulatory compliance with FDA cybersecurity mandates (such as Section 524B of the FD&C Act) and international standards including IEC 81001-5-1.

However, medical device manufacturers often struggle to balance security with the need for connectivity, device integration, and real-time performance. Traditional perimeter defenses like firewalls fail when an untrusted device connects inside the hospital network. However, bolting custom cryptographic wrappers onto applications as an afterthought often has the unwanted side-effect of adding latency and increasing engineering overhead.

To help development teams solve these challenges, we have added a new module to the RTI MedTech Reference Architecture: Module 4: Mitigating Security Threats with RTI Security Extensions.

This new module provides a practical reference architecture demonstrating how to apply the security capabilities of production-proven RTI Connext to protect real-time medical systems against cyber threats.

The MedTech Reference Architecture

The RTI MedTech Reference Architecture serves as a buildable reference framework that demonstrates best practices for connected medical systems using RTI Connext.

The architecture is organized into modular building blocks:

RTI Medtech Reference Architecture

Module 1: Surgical Robotics (Digital Operating Room)

Distributed robotic arm, arm controller, orchestrator, and patient sensor

Module 2: Recording / Replay Service

Data recording, deterministic replay, clinical forensics, and AI training

Module 3: Remote Teleoperation with RTI Real-Time WAN Transport

Low-latency telesurgery over WAN connections

Module 4: Mitigating Security Threats with RTI Security Extensions (NEW)

Active threat simulation demonstrating zero-trust authentication and access control


Using
Module 1 - Surgical Robotics as its foundation, Module 4 illustrates how RTI Security Extensions protect data in motion. Rather than discussing security in the abstract, this module introduces active cyber threats directly into the simulated surgical environment to show how attacks succeed when unsecured, and how Connext stops them cold when security is enabled.

Inside the Threat Vectors: Exfiltration and Injection

Module 4 models two practical threat scenarios facing connected medical devices:

1. Data Exfiltration (ThreatExfiltrator)

  • The Attack: A rogue, unauthenticated node connects to the network and attempts to passively discover and subscribe to sensitive data streams (t/PatientVitals and t/ArmTelemetry).
  • The Impact: Patient health information (PHI) is stolen, violating HIPAA and patient confidentiality, while proprietary robotic telemetry and kinematic parameters are compromised.
  • The Implementation: A Python application (ThreatExfiltrator.py) boots up an unauthorized participant in the operational domain and attempts to capture live topic streams.

2. Command Injection (ThreatInjector)

  • The Attack: An unauthorized participant impersonates a legitimate surgical controller by publishing rogue trajectory targets and control overrides to t/MotorControl.
  • The Impact: This represents the highest-severity medical device hazard: unintended robotic motion during a procedure, suppression of safety cutoffs, or disruption of clinical workflows.
  • The Implementation: A Python application (ThreatInjector.py) publishes high-frequency spoofed position commands to knock the robotic arm off its trajectory.

How RTI Security Extensions Neutralize Threats

When Module 4 runs in an unsecured state, both attacks succeed: the Exfiltrator eavesdrops on telemetry, and the Injector forces the robotic arm into erratic movements.

When you enable security (using the -s launch option), the system activates the security features of RTI Connext and demonstrates how these same threats are blocked and reported.

Module 4 demonstrates four core security concepts:

Security Capability

Reference Architecture Implementation

Certificate-Based Authentication

Mutual verification via X.509 digital certificates

Access Control Enforcement

Cryptographically signed XML Governance and Permissions documents

Discovery Encryption (PSK)

Pre-Shared Keys (PSK) protect discovery metadata and network topology

Data Encryption (PKI)

AES-GCM encryption for application data payloads


1. Certificate-Based Authentication

Legitimate endpoints (Robotic Arm, Arm Controller, Patient Monitor) carry X.509 identity certificates signed by a recognized Identity Certificate Authority (CA). When the rogue ThreatExfiltrator or ThreatInjector attempts to join the domain using unauthorized credentials (RogueCa), Connext rejects the mutual handshake immediately. Discovery is aborted before any topic or data type information is shared.

2. Access Control Enforcement

Authentication confirms identity, while Access Control enforces least-privilege permissions. Centralized, signed XML governance and permissions files specify exactly what each device can publish or subscribe to. For example, the PatientSensor is permitted only to publish vitals - it is blocked from publishing motor control commands, preventing compromised endpoints from pivoting across the system.

3. Discovery Encryption Using Pre-Shared Keys (PSK)

Without discovery encryption, unauthorized observers on the network could map out device names, topic names, and communications topology using network sniffers. Connext secures discovery traffic using rotatable PSKs, ensuring network observers see only encrypted traffic.

4. Data Encryption Using Public-Key Infrastructure (PKI)

Application topic payloads (t/PatientVitals, t/MotorControl) are encrypted end-to-end using AES-GCM (128-bit or 256-bit). Even if network traffic is mirrored on a compromised switch, the data remains unreadable without valid session keys.

Seeing the Defense in Action

Module 4 is integrated into the MedTech Reference Architecture’s automated launch harness (launch.py), allowing developers to run both scenarios and inspect the console logs.

Scenario A: Rogue Exfiltrator Blocked

When running ThreatExfiltrator against the secure operational domain, Connext immediately rejects the unauthorized participant during discovery:

[ThreatExfiltrator] [INFO] Participant created — ROGUE CA
[dp/PatientMonitor] [SECURITY THREAT] X509_verify_cert returned 0 with error 18: self-signed certificate
subject name: /C=US/ST=CA/O=Company
Name/CN=RogueCa/emailAddress=rogueca@company_name.com issuer name: /C=US/ST=CA/O=Company Name/CN=RogueCa/emailAddress=rogueca@company_name.com
[dp/PatientMonitor] [SECURITY THREAT] Failed to verify identity. Used authority: /C=US/ST=CA/O=Company
Name/emailAddress=trustedidentityca@company_name.com/CN=TrustedIdentityCa
[dp/PatientMonitor] [SECURITY THREAT] failed to verify certificate
[dp/PatientMonitor] [SECURITY THREAT] failed to get certificate
[dp/PatientMonitor] [SECURITY THREAT] failed to process remote handshake request
[ThreatExfiltrator] [BLOCKED] No subscription match — access denied by security

Scenario B: Forged Permissions Injector Denied

When executing ThreatInjector, the rogue node cannot establish a secure endpoint match with the robotic arm:

[ThreatInjector] [INFO] Participant created — FORGED PERMS 
[dp/Arm] [SECURITY THREAT] failed to verify permissions document signature
[dp/Arm] [SECURITY THREAT] failed to validate remote permissions
[dp/Arm] [SECURITY THREAT] unauthorized remote participant [...] denied by local participant [...][ThreatInjector] [BLOCKED] No publication match — access denied by security

Who Should Explore This Module?

  • Software Engineers and System Architects: This module provides ready-to-run code, launch scripts, and XML configuration files demonstrating how to secure a distributed medical system using Connext DDS without writing custom cryptographic code. Security policies are decoupled from application logic in signed XML files, making updates and compliance maintenance straightforward.
  • Product Managers and Engineering Leaders: The reference architecture provides a concrete blueprint showing how Connext helps medical device manufacturers meet strict regulatory expectations upfront, which helps reduce both development risk and audit findings, while speeding up time-to-market.

Ready to Explore the Module?

Module 4: Mitigating Security Threats is now available in the RTI MedTech Reference Architecture portfolio on GitHub.

You can clone the repository, run the threat simulations locally, and inspect how RTI Security Extensions protect safety-critical data in motion:

For More Information

To learn more about the use of RTI Connext in healthcare applications, we suggest the following:

 

 

About the author:

Will Coleman is a Senior Application Engineer on the Professional Services team at RTI. Will collaborates with and guides RTI’s customers on using Connext in ways that best satisfy their unique requirements. He primarily works with teams in the medical and automotive spaces.