Paper 2025/2224

Beyond Ethernet: Reusing MACsec for CANsec

Friedrich Wiemer, Robert Bosch (Germany)
Arthur Mutter, Robert Bosch (Germany)
Jonathan Ndop, Robert Bosch (Germany), Offenburg University of Applied Sciences
Julian Göppert, Offenburg University of Applied Sciences
Axel Sikora, Offenburg University of Applied Sciences
Thierry Walrant, NXP (Belgium)
Abstract

In the past, Secure Onboard Communication (SecOC) has been defined to serve as the foundational mechanism for securing in-vehicle networks. For over a decade, it has been used in hundreds of millions of automotive systems. Its application-layer design and AUTOSAR-based specification have enabled broad adoption across diverse platforms. However, this design also introduces challenges: software-centric dependencies complicate full hardware integration and can limit scalability in resource-constrained electronic control units, particularly as bandwidth demands continue to grow. To address these constraints, CANsec has been proposed to address the security objectives of CAN XL. As a Layer 2 security protocol, CANsec aims to overcome SecOC’s shortcomings and offer modern guarantees comparable to MACsec. However, the CANsec specification remains under active development even after several years of work, leaving a gap between conceptual goals and practical deployment. This paper proposes a pragmatic and standards-aligned solution: it re-uses existing MACsec specifications and implementations as the security engine for CAN XL. MACsec, standardized for over two decades and widely scrutinized in both academic and industrial contexts, offers robust and well-understood security functions. Our approach introduces a lightweight wrapper that maps CAN XL frames to virtual Ethernet frames, enabling MACsec to provide confidentiality, integrity, authenticity, and freshness. We formally define the wrapping process, frame formats, and protocol data units, while preserving MACsec’s security properties, adapting them to the constraints and requirements of automotive networks. This enables a practical and secure path forward for CAN XL deployment, leveraging mature cryptographic algorithms and protocols without compromising performance or assurance. To support standardization and practical adoption, we have submitted this approach to the CAN in Automation (CiA) CANsec specification task force, CiA's IG 04 SIG 01 TF 03 CAN XL security, contributing to the ongoing effort to define an efficient, standardized and interoperable security solution for CAN XL.

Metadata
Available format(s)
PDF
Category
Applications
Publication info
Preprint.
Keywords
automotivecan xlmacseccansec
Contact author(s)
friedrich wiemer @ de bosch com
arthur mutter @ de bosch com
History
2025-12-12: approved
2025-12-10: received
See all versions
Short URL
https://ia.cr/2025/2224
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/2224,
      author = {Friedrich Wiemer and Arthur Mutter and Jonathan Ndop and Julian Göppert and Axel Sikora and Thierry Walrant},
      title = {Beyond Ethernet: Reusing {MACsec} for {CANsec}},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/2224},
      year = {2025},
      url = {https://eprint.iacr.org/2025/2224}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.