RTPS Cybersecurity Risks: Security Vulnerabilities in DDS Communication and Protection Methods
What are the cybersecurity risks of the RTPS protocol? A comprehensive technical guide to unauthorized data access, spoofed participants, data manipulation, DoS attacks, DDS Security, encryption, authentication, and secure network configuration in DDS-RTPS systems.

RTPS (Real-Time Publish-Subscribe) is a communication protocol that enables real-time data exchange between DDS-based distributed systems. It can be used in industrial automation, robotics, autonomous vehicles, smart cities, electronic security systems, and critical infrastructure applications.
RTPS offers significant advantages through its communication architecture, which requires no central message broker, automatic participant discovery, multicast support, and potential for low-latency data transmission. However, these features also bring various cybersecurity risks when appropriate security mechanisms are not used.
Key risks include unauthorized participants joining the network, sensitive data being compromised, fake sensor data being generated, data manipulation, denial-of-service attacks, and incorrectly configured security policies.
The core RTPS protocol alone does not guarantee secure, encrypted communication. DDS Security, network segmentation, access control, and regular security updates should be considered together.
Is the RTPS Protocol Secure?
RTPS is a network communication protocol defined by the Object Management Group (OMG) under the DDSI-RTPS standard.
It includes protocol mechanisms that enable DDS applications to discover one another, publish data, and receive the data to which they subscribe.
Security features such as data confidentiality, cryptographic authentication, and access control may need to be implemented separately for basic RTPS communication.
Security feature | Core RTPS | With DDS Security |
|---|---|---|
Participant authentication | No built-in cryptographic protection | Supported |
Data encryption | Not enabled by default | Configurable |
Data integrity protection | No cryptographic guarantee | Supported |
Topic access control | Requires a security policy | Supported |
Discovery security | Limited | Configurable |
Protection against spoofed participants | Limited | Can be strengthened with authentication |
Security logs | Application-dependent | Logging mechanisms |
Protection against DoS attacks | Limited | Additional measures required |
The availability of DDS Security support does not mean that security features are enabled automatically.
What Are the Cybersecurity Risks of RTPS?
Risks in RTPS-based communication systems can arise in various areas, including protocol architecture, software vulnerabilities, network configuration, identity management, and application security.
Cybersecurity risk | Potential impact | Example risk level |
|---|---|---|
Unauthorized data access | Compromise of sensitive information | High |
Participant identity spoofing | Untrusted devices joining the system | Critical |
Data manipulation | Incorrect sensor and analysis results | Critical |
Generation of fake data | Faulty operational decisions | Critical |
Replay attack | Previously recorded events being replayed | High |
Discovery information leakage | Exposure of system architecture | High |
DoS and DDoS | Communication outages | Critical |
Multicast traffic congestion | Degraded network performance | High |
Software vulnerabilities | Degradation of system stability or security | High |
Certificate and key leakage | Misuse of trusted identities | Critical |
Resource consumption | Insufficient processing and memory capacity | High |
Incorrect QoS configuration | Data loss and system latency | High |
Inadequate network segmentation | Threats spreading to other systems | Critical |
The risk levels are examples only. A real risk assessment should be based on the system’s level of exposure, data sensitivity, existing security controls, and operational consequences.
Unauthorized RTPS Data Access
In RTPS networks without encryption and appropriate access controls, unauthorized users with access to the relevant network traffic may observe application data or communication metadata.
This can pose significant security risks, particularly in projects that process sensitive sensor information and critical infrastructure data.
Data that may be at risk
System | Examples of sensitive data |
|---|---|
Electronic security | Alarms and security events |
Access control | Access events and door status |
Video analytics | Person and vehicle detection results |
People counting | Visitor and real-time occupancy information |
Robotics | Location and movement information |
Industrial automation | Production and machine status |
Energy systems | Consumption and operational information |
Smart cities | Traffic and sensor measurements |
Critical infrastructure | System health and operational information |
To protect data confidentiality, appropriate cryptographic protection policies should be applied under DDS Security, and network access should be restricted to authorized devices.
RTPS Participant Identity Spoofing
In DDS-RTPS systems, different applications communicate data through components such as DomainParticipant, DataWriter, and DataReader.
When cryptographic authentication is not used, knowing participant identifiers does not prove that the participant in question is trustworthy.
An unauthorized or unauthenticated participant joining the system can lead to the following consequences:
Unauthorized data subscription
Spoofing trusted sensors
Generation of incorrect device health information
Fake measurement results entering the system
Operational software processing faulty data
Reduced reliability of real-time decision mechanisms
Protection methods
Each DDS participant should be assigned a unique trusted identity, certificate-based authentication should be implemented, and unauthenticated participants should not be permitted to communicate data.
In addition, verifying a participant’s identity and determining whether it is authorized to publish or read data on a particular Topic should be assessed independently.
RTPS Data Manipulation and Data Integrity Risks
Data manipulation is one of the most significant cybersecurity risks in real-time communication systems.
If a system cannot verify the source of received data or preserve its integrity, faulty data may be treated as genuine measurement results.
Examples of data manipulation in electronic security systems
Data type | Possible operational consequence |
|---|---|
Camera health information | Incorrect assessment of fault conditions |
Alarm events | False notifications at the operations center |
Area occupancy information | Faulty capacity management |
Access control events | Reduced reliability of security records |
Thermal sensor data | Incorrect temperature assessments |
Robotic location data | Faulty movement or task decisions |
People-counting data | Incorrect visitor reports |
Cryptographic data-integrity checks, message validation mechanisms, and application-level data validation should be used together.
If an authorized sensor malfunctions or produces an incorrect measurement, encrypted communication may still fail to prevent faulty data from reaching the system.
Cybersecurity and measurement accuracy are complementary, but distinct, control processes.
What Is a Replay Attack? How Does It Affect RTPS Systems?
A replay attack is a type of attack in which previously transmitted valid data is reused, potentially causing a system to treat old information as new data.
Reprocessing old data can cause significant operational problems, particularly in event-based security applications and time-sensitive sensor systems.
RTPS sequence numbers help manage data samples and communication state. However, using sequence numbers alone does not provide a cryptographic security guarantee.
To address replay risks, systems should consider secure session management, appropriate DDS Security mechanisms, event identifiers, timestamps, and data validity checks.
RTPS Discovery Security Risks
Discovery is one of the core features of DDS-RTPS systems. It enables participants and communication endpoints within the network to be discovered.
Discovery mechanism | Function |
|---|---|
SPDP | Discovery of DDS participants |
SEDP | Discovery of Writer and Reader endpoints |
Participant Discovery | Identification of communication participants |
Endpoint Discovery | Identification of data producers and consumers |
QoS Matching | Matching compatible communication endpoints |
In systems where Discovery information is not adequately protected, information such as device identities, Topic names, network addresses, and application relationships may be exposed.
Even if this data does not directly contain application content, it can reveal sensitive information about the system architecture.
How can Discovery be secured?
To secure Discovery traffic, the protection policies supported by the DDS Security version in use should be enabled, unauthorized participants should be restricted, and Discovery traffic should be kept within trusted network segments.
In large-scale systems, controlled Discovery architectures or vendor-specific Discovery Server solutions may also be considered.
Using a Discovery Server does not, by itself, provide security or authentication.
RTPS DoS and DDoS Attack Risks
DoS (Denial of Service) and DDoS (Distributed Denial of Service) are types of attacks that prevent a system or network infrastructure from providing its normal services.
Excessive traffic, intensive Discovery operations, and uncontrolled resource use can adversely affect system performance in DDS-RTPS networks.
Effects of denial-of-service risks
Affected resource | Possible consequence |
|---|---|
Network bandwidth | Slower data transmission |
Processing capacity | Message processing delays |
Memory | Data buffers filling up |
Discovery infrastructure | Slower participant discovery |
DataReader and DataWriter | Disruptions in data communication |
Security mechanisms | Delays in authentication operations |
Real-time applications | Failure to meet timing requirements |
Denial-of-service risks related to peer-to-peer discovery architecture have also been assessed in the OMG’s DDS Security development efforts.
Protection against RTPS denial-of-service risks
Network segmentation and access control
Setting resource and message queue limits
Monitoring discovery traffic
Using secure, supported software versions
Detecting abnormal traffic volumes
Network capacity and redundancy planning
Traffic-limiting policies suited to the application
Connection continuity and maximum-load testing
Using DDS Security does not eliminate all denial-of-service risks. Network- and application-level protection mechanisms must also be designed separately.
RTPS Multicast Security Risks
RTPS can use unicast and multicast communication methods on supported network architectures.
Multicast can provide bandwidth advantages when distributing the same data to multiple recipients. However, incorrectly configured multicast infrastructures can cause traffic to reach unnecessary network segments or exceed the capacity of network devices.
Multicast risk | Recommended security approach |
|---|---|
Unnecessary traffic distribution | IGMP Snooping |
Access to unauthorized network segments | VLAN and ACL |
Uncontrolled multicast routing | Multicast routing policies |
Excessive traffic volume | Traffic monitoring and capacity management |
Reading sensitive data | DDS Security encryption |
Unauthorized data subscription | Participant and Topic authorization |
IGMP Snooping can optimize the distribution of multicast traffic within a network, but it does not replace cryptographic access control.
RTPS Ports and Firewall Security
DDSI-RTPS systems commonly use UDP-based communication. Default port values can be calculated based on the Domain ID and Participant ID.
The example ports for Domain ID 0 and Participant ID 0 are as follows.
Port | Protocol | Purpose |
|---|---|---|
7400 | UDP | Multicast Discovery |
7401 | UDP | Multicast User Data |
7410 | UDP | Unicast Discovery |
7411 | UDP | Unicast User Data |
Calculating RTPS ports
Port type | Default calculation formula |
|---|---|
Multicast Discovery | 7400 + 250 × Domain ID |
Multicast User Data | 7401 + 250 × Domain ID |
Unicast Discovery | 7410 + 250 × Domain ID + 2 × Participant ID |
Unicast User Data | 7411 + 250 × Domain ID + 2 × Participant ID |
These values are based on default port-mapping parameters. Vendor-specific transport options and network configurations may result in different ports being used.
Considerations for RTPS firewall configuration
Opening all default RTPS ports to the internet without restrictions is not recommended.
Firewall policies should be determined based on the actual number of participants, Domain configuration, network segments, and the communication directions required by applications.
Firewall control | Recommended approach |
|---|---|
RTPS traffic from the internet | Block by default |
Authorized local communication | Allow according to requirements |
DDS access across networks | Controlled security policies |
Communication with remote sites | VPN or secure routing infrastructure |
Multicast routing | Restrict to the required segments |
Unused services | Disable |
Firewall logs | Monitor centrally |
Is DDS Domain ID a Security Mechanism?
No. Domain ID is used to separate the logical communication spaces of DDS applications.
Different Domain ID values can help reduce unnecessary communication between applications. However, they do not cryptographically prevent an unauthorized participant from accessing the system.
Technology | Primary function | Standalone access security |
|---|---|---|
Domain ID | DDS logical separation | No |
Participant ID | Participant and port management | No |
Topic | Defining data topics | No |
VLAN | Network segmentation | Limited |
Firewall | Network access control | At the network level |
DDS Authentication | Authentication | Yes, within the relevant scope |
DDS Access Control | Data access authorization | Yes, within the relevant scope |
DDS Cryptographic Plugin | Cryptographic data protection | Yes, depending on configuration |
A professional DDS security architecture should apply logical separation, network security, and cryptographic access control together.
What Is DDS Security?
DDS Security is a standardized security architecture developed by the Object Management Group to enable DDS applications to communicate securely.
DDS Security defines mechanisms for protecting data carried over RTPS, authenticating participants, and managing data-access permissions.
Core DDS Security components
Security component | Function |
|---|---|
Authentication | Authenticating participant identities |
Access Control | Managing data-access permissions |
Cryptographic | Encryption and message integrity protection |
Logging | Recording security events |
Data Tagging | Data-tagging approach |
Support for these components may vary depending on the DDS Security version and middleware product in use.
Authentication Plugin
The Authentication Plugin helps verify whether DDS participants have trusted identities.
Certificate-based authentication infrastructures may use trusted certificate authorities, participant certificates, and private keys.
Access Control Plugin
The Access Control Plugin enforces security policies that determine which Domain an authenticated participant may operate in and which Topics it may publish or read data on.
Authenticating a participant’s identity does not mean that it gains access rights to all system data.
Cryptographic Plugin
The Cryptographic Plugin performs cryptographic operations to protect data confidentiality and integrity in RTPS communications.
The scope of encryption can be determined by the system’s security policies. Protecting only application data differs from also protecting Discovery and protocol metadata, and can result in different security levels.
DDS Security Governance and Permissions Files
In DDS Security implementations, the Governance and Permissions documents are important components of security policies.
Document | Purpose |
|---|---|
Governance | Defining Domain and Topic security policies |
Permissions | Defining participants’ access permissions |
Identity Certificate | Verifying participant identity |
Identity CA | Trusted identity certificate authority |
Permissions CA | Trust authority for authorization documents |
Private Key | Cryptographic private key belonging to the participant |
Why are Governance policies important?
Governance policies help determine the Domains and Topics to which security requirements apply, which information is to be protected, and how cryptographic protection is to be used.
Why are Permissions policies important?
Permissions policies restrict which data a particular participant can publish and read.
For example, a people-counting sensor being authorized to publish visitor counts does not mean it should be able to publish alarm or access-control commands.
Example of Topic-based authorization
Participant | Topic | Write permission | Read permission |
|---|---|---|---|
People-counting sensor | PeopleCount | Yes | No |
People-counting sensor | AccessControlCommand | No | No |
Analytics server | PeopleCount | No | Yes |
Analytics server | Occupancy | Yes | Yes |
Reporting platform | Occupancy | No | Yes |
Authorized alarm system | AlarmEvent | Yes | As required |
Monitoring software | SensorHealth | No | Yes |
The table illustrates an example minimum-privilege architecture. Actual access policies should be created according to the application’s data flow.
RTPS Encryption Technologies
DDS Security can use AES-based cryptographic mechanisms in supported security profiles.
Cryptographic technology | Primary function |
|---|---|
AES-GCM | Authenticated encryption |
AES-GMAC | Message authentication and integrity protection without encryption |
X.509 | Digital certificate infrastructure |
PKI | Public key infrastructure |
Digital signature | Identity and document integrity verification |
Secure key exchange | Establishing communication keys |
Available algorithms and security profiles vary according to the DDS Security version, vendor support, and configuration.
Does RTPS data encryption affect performance?
Yes. Cryptographic operations can add overhead in CPU usage, message size, connection establishment time, and data-processing latency.
For this reason, the security configuration must be tested not only for functionality but also for real-time system performance.
Performance criterion | Value to measure |
|---|---|
Average data latency | Before and after encryption |
P95 and P99 latency | High-latency data samples |
CPU usage | Cryptographic processing load |
Memory usage | Secure sessions and data buffers |
Network traffic | Security headers and additional data overhead |
Discovery duration | Authentication and matching time |
Reconnection Time | Secure reconnection time |
Throughput | Maximum data transfer capacity |
Hardware capacity and system architecture should be planned appropriately, rather than disabling security features without control for performance reasons.
Comparison of RTPS, TLS, DTLS and VPN Security
Security technology | Scope of protection | DDS Topic authorization |
|---|---|---|
DDS Security | DDS participants and data communication | Yes |
TLS | Suitable connection-oriented transport communication | No direct support |
DTLS | Suitable datagram-based communication | No direct support |
IPsec | IP-layer communication | No |
VPN | Network or connection tunnel | No |
VLAN | Network segmentation | No |
Firewall | Network access policies | No |
Using a VPN or IPsec can help protect data transmitted over a network. However, this does not mean that every device on the VPN should be authorized to access the same DDS data.
DDS Security can complement network-layer security mechanisms with application-level data access control.
Support for TLS and DTLS depends on the DDS transport infrastructure in use. Standard RTPS communication should not be assumed to take place automatically over TLS or DTLS.
RTPS Software Vulnerabilities
Like other network software, middleware products that implement the RTPS protocol may contain security vulnerabilities.
These vulnerabilities may stem directly from the design of the standard protocol or from vendor-specific software implementations.
Vulnerability category | Potential impact |
|---|---|
Buffer Overflow | Memory safety violations |
Out-of-Bounds Read | Unauthorized memory access |
Out-of-Bounds Write | Memory corruption |
Integer Overflow | Incorrect resource and data-size calculations |
Improper Input Validation | Processing invalid data |
Resource Exhaustion | Exhaustion of processor or memory resources |
Authentication Bypass | Bypassing the authentication process |
Improper Access Control | Unauthorized data access |
Use-After-Free | Memory-management security issues |
The presence of these categories does not mean that the corresponding vulnerabilities exist in all DDS products.
How should RTPS vulnerabilities be tracked?
The exact version of the DDS product in use, its dependencies and operating-system components should be documented.
CVE (Common Vulnerabilities and Exposures) records, the NIST National Vulnerability Database, CISA security advisories and vendor security bulletins should be monitored regularly.
Before security updates are applied to production systems, they should be assessed in a test environment for interoperability, data integrity and real-time performance.
CVSS Assessment for RTPS and DDS Security
CVSS (Common Vulnerability Scoring System) is a standard scoring system used to assess the technical severity of software vulnerabilities.
The following general severity categories are used in CVSS assessments.
CVSS score | Severity level |
|---|---|
0 | None |
0.1–3.9 | Low |
4–6.9 | Medium |
7–8.9 | High |
9–10 | Critical |
The CVSS base score alone does not indicate the actual operational risk that a vulnerability poses to a particular organization.
The same software vulnerability can have different consequences when it affects a test system that is not internet-facing and is protected by segmentation versus a critical industrial facility.
CVSS scores should therefore be assessed alongside asset criticality, existing protection mechanisms, exploitability and business continuity requirements.
RTPS Cybersecurity in ROS 2 Systems
Robot Operating System 2 (ROS 2) can use DDS and DDS-RTPS technologies in supported middleware configurations.
Reliable data communication between actuators, sensors, navigation software and control applications is important in robotic systems.
The main risks related to security configuration in ROS 2-based systems are as follows.
Risk | Recommended approach |
|---|---|
Security mechanisms disabled | Enable DDS Security |
Unauthorized application participation | Trusted identity management |
Excessively broad Topic access | Least-privilege policy |
Sensitive robotic telemetry | Cryptographic data protection |
Insecure network connections | Network segmentation |
Outdated middleware | Version and vulnerability management |
Incorrect certificate management | Secure PKI infrastructure |
ROS 2 security tools and the SROS 2 approach can make it easier to manage security policies in supported DDS-based middleware implementations.
It should not be assumed that all systems using ROS 2 are automatically configured securely.
RTPS Cybersecurity Risks in Electronic Security Systems
Modern electronic security systems consist of more than just camera footage. Video analytics events, radar measurements, alarm notifications, device health information, access-control data and results from different sensors can be shared through centralized or distributed platforms.
Protecting this data is critical in custom integrations based on DDS-RTPS.
Security system | Data to protect | Recommended control |
|---|---|---|
CCTV video analytics | Detection and event results | Data integrity |
Access control | Access events | Identity and authorization control |
Alarm systems | Alarm and status notifications | Trusted data source |
Radar systems | Location and movement data | Authentication |
Thermal monitoring | Temperature measurements | Data validation |
Perimeter security | Detection results | Secure event communication |
People counting | Entry and exit information | Data integrity |
Smart building | Sensor and automation data | Network segmentation |
Central monitoring | Device health information | Access control |
The use of RTPS in these systems depends on whether the relevant devices or integration software support DDS.
It should not be assumed that all standard IP cameras support RTPS. RTSP and RTP are more commonly used for live camera video.
RTPS Data Integrity and Cybersecurity in People-Counting Systems
Data gathered by people-counting and retail visitor analytics systems can directly affect businesses’ sales, staffing plans, store performance and operational decisions.
It is therefore important not only for data transferred from sensors to central analytics platforms to arrive, but also for it to come from the correct source and be processed without alteration.
Example data manipulation scenario
Suppose a retail store records 2,000 visitors per day and 400 sales transactions.
Performance indicator | Actual data | Incorrect visitor data |
|---|---|---|
Daily visitor count | 2000 | 2500 |
Number of sales transactions | 400 | 400 |
Sales conversion rate | %20 | %16 |
Visitor data deviation | %0 | +%25 |
Conversion rate difference | — | -4 percentage points |
Reporting visitor data as 25% higher than it actually is causes the store’s true sales conversion rate to be assessed as 16% instead of 20%.
This can adversely affect the following business decisions:
Store performance evaluation
Sales consultant performance measurement
Staff planning
Marketing campaign analysis
Performance comparisons between stores
Commission and incentive calculations
Investment and operational decisions
This theoretical example illustrates the importance of data integrity in retail analytics.
Security controls for people-counting data
Data field | Security and validation purpose |
|---|---|
SensorID | Identifying the data source |
EventID | Identifying a unique data event |
SequenceNumber | Checking for missing or duplicate data |
Timestamp | Validating the measurement time |
StoreID | Matching the store |
BootID | Distinguishing device restarts |
IntervalStart | Measurement period start |
IntervalEnd | Measurement period end |
DataValid | Data validity status |
SchemaVersion | Data format compatibility |
Alongside cryptographic security mechanisms, sensor calibration, field validation, missing-data checks and central database integrity checks should be implemented.
How to Build a Secure Network Architecture for RTPS
A layered security approach should be applied in a professional DDS-RTPS system.
Security layer | Technology that can be used | Primary function |
|---|---|---|
Physical security | Controlled equipment rooms | Preventing unauthorized physical access |
Device security | Secure boot and updates | Protecting endpoint devices |
Network security | VLAN, ACL, firewall | Restricting unauthorized network access |
Remote access | VPN and strong authentication | Secure connection |
Participant security | DDS Authentication | Authentication |
Data authorization | DDS Access Control | Topic access management |
Data protection | DDS Cryptographic | Confidentiality and integrity |
Data validation | Application controls | Measurement and data accuracy |
Security monitoring | IDS, IPS, SIEM | Detecting anomalous behavior |
Business continuity | Redundancy and data retention | System availability |
A layered security approach helps other controls provide protection when a single security mechanism is insufficient.
VLAN Segmentation in RTPS Networks
In industrial and electronic security projects using RTPS, placing different device groups in separate network segments may be considered.
Example VLAN | System group | Security purpose |
|---|---|---|
VLAN 10 | IP cameras | Segmentation of the video network |
VLAN 20 | People-counting sensors | Isolation of analytics sensors |
VLAN 30 | Industrial sensors | Segmentation of OT devices |
VLAN 40 | DDS applications | Real-time data communication |
VLAN 50 | Analytics servers | Data-processing infrastructure |
VLAN 60 | Management systems | Authorized administrative access |
VLAN 70 | Security monitoring | Log and traffic analysis |
VLAN 80 | Cloud data gateways | Control of external connections |
VLAN numbers are provided as examples.
Inter-network communication should be governed by security policies that permit only the services and trusted applications required.
RTPS Certificate and Key Management
The reliability of DDS Security-based systems depends on the proper management of the identity certificates and cryptographic keys in use.
Control area | Recommended practice |
|---|---|
Certificate authority | Trusted PKI infrastructure |
Participant certificates | Unique certificate |
Private keys | Restricted, secure storage |
Certificate validity period | Centralized tracking |
Key renewal | Planned lifecycle management |
Device decommissioning | Revocation of identities and access privileges |
Changes to privileges | Updating security policies |
Certificate revocation | Supported revocation mechanisms |
Time synchronization | Trusted time source |
Key backup | Secure, controlled storage |
TPM, HSM, or secure key-storage technologies may also be considered on systems that support them.
If private keys are exposed, changing only the device password may not be sufficient. The relevant credentials and access permissions may also need to be securely renewed.
How Is RTPS Traffic Monitored for Security?
Security monitoring in RTPS systems should be based on a combined assessment of network traffic, middleware logs, and application behavior.
Monitoring criterion | Condition that can be detected |
|---|---|
Participant count | Unexpected new participants |
Discovery traffic volume | Abnormally high discovery activity |
Message production frequency | Unusual increase in data |
Authentication failures | Failed participation attempts |
Authorization failures | Unauthorized Topic access |
Memory usage | Resource-consumption problems |
CPU usage | Abnormal processing load |
Data latency | Performance degradation |
Packet loss | Network communication problems |
Duplicate-record rate | Data integrity problems |
Certificate status | Expired or untrusted identities |
Firewall logs | Unauthorized network communication |
These metrics should be assessed against the normal operating profile. Not every increase in traffic or connection failure indicates a cyberattack.
RTPS Security Analysis with Wireshark
Wireshark can be used in authorized network environments to examine the structure and performance of RTPS communications.
When DDS Security is enabled, it may not be possible to read the contents of protected messages directly. However, metrics such as packet size, communication frequency, connection addresses, and traffic volume can be analyzed.
Wireshark analyses should be assessed alongside middleware security logs, firewall records, and centralized security monitoring systems.
How Is RTPS Cybersecurity Performance Measured?
Verifying the effectiveness of security mechanisms is as important as implementing them.
Security KPI | Example target |
|---|---|
Share of authenticated participants | %100 |
Coverage of authorized Topic policies | %100 |
Coverage of data requiring encryption | %100 |
RTPS services with uncontrolled internet access | 0 |
Number of active expired certificates | 0 |
Critical DDS components monitored | %100 |
Unauthorized data-access tests | Must be blocked |
Duplicate data-processing rate | According to the application target |
Time to remediate critical vulnerabilities | According to risk policy |
Security incident detection time | Within the SLA |
Recovery time after failure | According to the RTO target |
Acceptable data loss | According to the RPO target |
These values are recommended design targets. They are not universal thresholds or thresholds mandated by a standard.
How Is an RTPS Security Risk Analysis Conducted?
A risk matrix based on likelihood and operational impact can be developed to assess risk in RTPS systems.
Risk score = Likelihood × Impact
An example assessment in which both criteria are scored from 1–5 is shown below.
Risk | Likelihood | Impact | Risk score |
|---|---|---|---|
Unencrypted sensitive data | 4 | 5 | 20 |
Unauthorized participant | 4 | 5 | 20 |
Data manipulation | 3 | 5 | 15 |
Outdated DDS software | 4 | 5 | 20 |
Discovery traffic intensity | 3 | 4 | 12 |
Incorrect Topic access policy | 3 | 5 | 15 |
Certificate expiration | 3 | 4 | 12 |
Lack of network segmentation | 4 | 5 | 20 |
Incorrect QoS configuration | 3 | 4 | 12 |
Insufficient security monitoring | 4 | 4 | 16 |
Example risk classification:
Risk score | Priority |
|---|---|
1–4 | Low |
5–9 | Medium |
10–14 | High |
15–19 | Very high |
20–25 | Critical |
The risk scores represent a theoretical assessment of an example system. Actual projects should include an on-site review and an asset-based risk analysis.
RTPS Security Standards and Cybersecurity Frameworks
Standard or framework | Area of application |
|---|---|
OMG DDSI-RTPS | DDS network communication protocol |
OMG DDS Security | DDS security architecture |
IEC 62443 | Industrial automation and control system security |
ISO/IEC 27001 | Information security management system |
ISO/IEC 27002 | Information security controls |
ISO/IEC 27005 | Information security risk management |
NIST SP 800-82 | Operational technology security |
NIST Cybersecurity Framework | Enterprise cybersecurity management |
FIRST CVSS | Vulnerability severity rating |
Zero Trust Architecture | Identity- and access-centric security approach |
Using DDS Security alone does not ensure IEC 62443 or ISO/IEC 27001 compliance or certification.
All requirements of the relevant standards concerning system design, organizational processes, and technical controls should be assessed separately.
Security Comparison of RTPS, MQTT, RTSP, and RTSPS
Security feature | RTPS / DDS | MQTT | RTSP | RTSPS |
|---|---|---|---|---|
Primary use | Distributed data communication | IoT messaging | Media control | Secure media control |
Default encryption | None | None | None | TLS |
Recommended security technology | DDS Security | TLS/mTLS | Secure network, RTSPS | TLS |
Data-topic access control | DDS Access Control | Broker Topic ACL | Not applicable | Not applicable |
Participant authentication | DDS Security | Broker and certificate | RTSP Authentication | TLS and RTSP Authentication |
Data confidentiality | Configuration-dependent | On the TLS connection | Not in the base protocol | On the control connection |
Central broker | Not required | Required | No | No |
Multicast | May be supported | Not in standard communication | In the media session | Depends on the media session |
RTSPS is not an encrypted version of RTPS.
RTSPS refers to RTSP control communication over TLS, whereas RTPS is a different data communication protocol based on DDS.
Furthermore, using RTSPS does not mean that RTP media data carried over separate connections is automatically encrypted.
Security Management in Software Supporting RTPS
DDS software | Developer | Technical resource |
|---|---|---|
Fast DDS | eProsima | |
Connext DDS | RTI | |
Cyclone DDS | Eclipse Foundation | |
OpenDDS | OpenDDS community | |
CoreDX DDS | Twin Oaks Computing |
DDS Security support, security algorithms, licensing terms, and interoperability features of products should be evaluated for each version.
When selecting middleware, consider not only communication performance but also the vendor’s security-update policies and capacity for long-term technical support.
What Should You Do if an RTPS Cybersecurity Incident Occurs?
If a security breach is suspected in a DDS-RTPS system, incident response should be planned with the operational continuity of critical systems in mind.
Incident response stages
Stage | Action required |
|---|---|
Detection | Reviewing abnormal behavior and security alerts |
Verification | Assess whether the incident is cyber-security-related |
Define the scope | Identify the affected devices, participants, and data |
Containment | Controlled prevention of unauthorized access |
Evidence preservation | Securely store logs and incident records |
Remediation | Fix the security vulnerability or misconfiguration |
Credential renewal | Replace certificates and keys if necessary |
Recovery | Bring systems back online in a controlled manner |
Validation | Verify data integrity and functional performance |
Improvement | Update security policies and the incident response plan |
In industrial control systems, life-safety applications, and critical facilities, unplanned disconnection of devices or network links can create additional operational risks.
The response process should be coordinated with the relevant OT, IT, electronic security, and operations teams.
RTPS Cybersecurity Checklist
No. | Technical control criterion |
|---|---|
1 | Prepare an inventory of DDS and RTPS assets |
2 | Record middleware versions |
3 | Verify DDS Security support |
4 | Enable authentication |
5 | Restrict unauthenticated participants |
6 | Use a unique identity for each participant |
7 | Establish a trusted certificate authority |
8 | Protect private keys |
9 | Monitor certificate validity periods |
10 | Prepare Governance policies |
11 | Prepare Permissions policies |
12 | Apply least privilege on a per-Topic basis |
13 | Define data encryption policies |
14 | Implement data integrity protection |
15 | Assess Discovery security |
16 | Plan Domain IDs |
17 | Network segmentation |
18 | Configure UDP ports in a controlled manner |
19 | Prevent uncontrolled internet access |
20 | Firewall and ACL policies |
21 | Multicast traffic management |
22 | Configure IGMP Snooping |
23 | Remote access security |
24 | Set source and data buffer limits |
25 | Validate DDS QoS policies |
26 | Secure time synchronization |
27 | Duplicate data checks |
28 | Application data validation |
29 | Missing data management |
30 | Monitor CVEs and vendor security advisories |
31 | Regular software updates |
32 | Centralized collection of security logs |
33 | Abnormal traffic monitoring |
34 | Unauthorized access testing |
35 | Encryption performance testing |
36 | Maximum system load testing |
37 | Connection interruption testing |
38 | Business continuity and redundancy planning |
39 | Cybersecurity incident response plan |
40 | Site commissioning and security validation |
Frequently Asked Questions About RTPS Cybersecurity
Is RTPS a secure protocol?
The basic RTPS protocol alone does not meet all cybersecurity requirements. It should be protected with DDS Security and appropriate network security policies.
Is RTPS encrypted by default?
No. Encryption depends on the security support and configuration of the DDS product in use.
What are the most significant security risks of the RTPS protocol?
Unauthorized data access, spoofed participants, data manipulation, denial of service, software vulnerabilities, and incorrect network configurations are the main risks.
What is DDS Security?
It is a standardized security architecture that provides authentication, access control, and cryptographic data protection in DDS applications.
Does DDS Security prevent all attacks?
No. It helps reduce security risks. Network security, software updates, resource management, and application validation are also necessary.
Should RTPS ports be exposed to the internet?
They should not be exposed in an uncontrolled manner. Where remote communication is required, secure connectivity infrastructure and restricted access policies should be used.
Is RTPS port 7400 a security vulnerability?
No. The use of a port number is not, by itself, a security vulnerability. The risk depends on the security configuration of the relevant services, their exposure level, and software vulnerabilities.
Does changing the Domain ID make an RTPS system secure?
No. A Domain ID separates logical communication spaces, but does not provide cryptographic authentication.
Can RTPS multicast communication be encrypted?
Yes. Appropriate DDS Security configurations can provide cryptographic protection for multicast data communication.
What is the security difference between RTPS and RTSPS?
RTPS is the DDS data communication protocol. RTSPS refers to secure RTSP control communication over TLS. The two technologies serve different purposes.
Is using a VPN sufficient for RTPS?
A VPN helps protect network communications. DDS participant authentication and Topic authorization must also be implemented.
Does RTPS encryption increase latency?
Cryptographic operations can add processing and communication overhead. The actual performance impact should be measured on the hardware and software being used.
Does RTPS guarantee the accuracy of people-counting data?
No. The protocol can manage communication and data security. Sensor calibration and site validation are required to ensure measurement accuracy.
How is RTPS communication monitored?
It can be monitored using network analysis software, DDS middleware logs, firewall logs, IDS, and SIEM systems.
Can DDS software contain security vulnerabilities?
Yes. As with other network communication software, vulnerabilities can also emerge in DDS applications. Vendor updates and official security advisories should be monitored.
Can RTPS be used securely in critical infrastructure?
It can be used when appropriate systems engineering, DDS Security, network segmentation, risk analysis, performance testing, and the relevant sector security requirements are in place.
Conclusion
RTPS is a communication protocol that offers significant advantages for real-time, distributed data communication. However, features such as automatic discovery, communication without a centralized broker, multicast data distribution, and high-performance communication must be evaluated alongside security requirements.
The following core principles are important for securing DDS-RTPS systems.
Trusted participant authentication
Topic-based least-privilege access
Cryptographic data protection
Secure Discovery configuration
Controlled network ports
VLAN and firewall policies
Certificate and key management
Regular security updates
Centralized security monitoring
Data integrity and site validation
Secure RTPS communication is not simply a matter of enabling an encryption feature. Protocol security requires a comprehensive engineering approach that addresses network infrastructure, software security, identity management, data accuracy, and operational security processes together.