arXiv:2609.03133cs.CRSep 2026

Manuscript Offprint

arXiv:2609.03133

SecDT: A Profile-Based Security Layer for TRDP Communications

Erlantz Alonso, Igor Lopez, Jasone Astorga

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Erlantz Alonso

Dept. of Communications Engineering

University of the Basque Country (EHU)

Bilbao, Spain

ealonso074@ikasle.ehu.eus

Igor Lopez

Technology Division

CAF S.A.

Beasain, Spain

igor.lopez@caf.net

Jasone Astorga

Dept. of Communications Engineering

University of the Basque Country (EHU)

Bilbao, Spain

jasone.astorga@ehu.eus

Abstract—The Train Real-time Data Protocol (TRDP) is widely used on rolling stock but it provides limited native support for cryptographic protection. Furthermore, the multicast traffic profile used in TRDP Process Data to exchange critical information between onboard subsystems makes the introduction of cryptographic protection a challenge. This paper presents a lightweight security layer for secure TRDP communication that implements a number of security profiles built around modern cryptographic algorithms. This additional layer relies on an On-board Key Management System (OKMS) for both security profile negotiation, dynamic key distribution and key lifecycle management. The security profiles allow for cryptographic agility and flexibility, ranging from simple authentication to Authenticated Encryption with Associated Data (AEAD) algorithms. The security profile negotiation procedure guarantees all TRDP End Devices (ED) on a common Communication ID (ComID) share the same security profile and can therefore process each other's messages. A prototype implementation based on mbedTLS and Arm Platform Security Architecture (PSA) was developed and evaluated. Experimental results demonstrate manageable overhead, suitable for the real-time and time-sensitive communication found on rolling stock.

Index Terms—TRDP, railway communications, train communication networks, cybersecurity, multicast communication, cryptographic agility, authentication, message integrity, key management

I. INTRODUCTION

Increasingly connected and automated mobility (CAM) systems heavily depend on communication networks to support operational, safety-critical and maintenance functions. Within the railway domain, these requirements are addressed by the Train Communication Network (TCN), standardized in IEC 61375. The Train Real-time Data Protocol (TRDP) is a key component of this architecture, enabling deterministic data exchange between on-board devices and systems and supporting the evolution towards more connected and automated railway environments.

Traditional rolling stock communications relied heavily on physical isolation and secure physical environments to remain secure themselves. However, modern deployments which interact with external systems and remote digital infrastructure introduce new attack vectors that cannot be addressed by legacy security measures. Moreover, the railway sector is facing a demand for increased target security levels, following standards such as IEC 62443, TS50701 and IEC 63452, underlining the necessity for secure and scalable communication mechanisms.

Existing security mechanisms, such as Transport Layer Security (TLS) and network-level protection methods, can provide communication security. These, however, are not always well suited to real-time multicast communication as different applications may require different security guarantees or have different performance capabilities. Some communications may only require message authentication and integrity protection, whereas other communications require confidentiality as well, or some embedded devices may only be capable of providing authentication and integrity without a significant penalty in data-delivery latency that may affect time-critical systems.

Therefore, applying a single cryptographic mechanism to all traffic may either expose communications to unnecessary security risks when performance is prioritized network-wide, or introduce excessive computational overhead when maximum protection is enforced for all communications. A flexible approach capable of adapting security guarantees to the requirements of individual communication flows is therefore desirable.

Figure

Fig. 1. TCN with SecDT protected TRDP protocol stack.

To tackle these challenges, this paper presents Secure Data Transmission (SecDT) for TRDP, a security profile-based security layer for TRDP communications, which rests above TRDP as indicated in Figure 1. By allowing the security mechanisms to be defined per-communication, SecDT maintains the balance between security requirements and computational overhead. Due to the nature of TRDP and its extensive use of multicast communication, in order to secure the negotiation of the security profiles and the cryptographic keys, SecDT integrates with a centralized On-board Key Management System (OKMS) responsible for distributing security information to participating devices.

The SecDT security layer does not modify regular TRDP communication, meaning a SecDT capable device is backward-compatible with communications that do not make use of SecDT. TRDP End Devices (ED) not capable of performing the proposed security functions can still send and receive application data in insecure ways on Communication IDs (ComID) otherwise populated by SecDT capable devices which are communicating using the SecDT layer.

In order to remain future-proof, communication with the OKMS is achieved through an HTTP/2 REST API protected by mutual TLS (mTLS). As Train Control Networks (TCN) become the targets of more advanced threats, future TLS developments to face said threats can quickly be implemented, with no further modification to SecDT core functions.

The main contributions of this work are the design of a profile-based security layer for TRDP, centralized security profile and key management, and a performance evaluation on embedded hardware.