Paper 2025/148

A Comprehensive Formal Security Analysis of OPC UA

Vincent Diemunsch
Lucca Hirschi
Steve Kremer
Abstract

OPC UA is a standardized Industrial Control System (ICS) protocol, deployed in critical infrastructures, that aims to ensure security. The forthcoming version 1.05 includes major changes in the underlying cryptographic design, including a Diffie-Hellmann based key exchange, as opposed to the previous RSA based version. Version 1.05 is supposed to offer stronger security, including Perfect Forward Secrecy (PFS). We perform a formal security analysis of the security protocols specified in OPC UA v1.05 and v1.04, for the RSA-based and the new DH-based mode, using the state-of-the-art symbolic protocol verifier ProVerif. Compared to previous studies, our model is much more comprehensive, including the new protocol version, combination of the different sub-protocols for establishing secure channels, sessions and their management, covering a large range of possible configurations. This results in one of the largest models ever studied in ProVerif raising many challenges related to its verification mainly due to the complexity of the state machine. We discuss how we mitigated this complexity to obtain meaningful analysis results. Our analysis uncovered several new vulnerabilities, that have been reported to and acknowledged by the OPC Foundation. We designed and proposed provably secure fixes, most of which are included in the upcoming version of the standard.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2025/148,
      author = {Vincent Diemunsch and Lucca Hirschi and Steve Kremer},
      title = {A Comprehensive Formal Security Analysis of OPC UA},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/148},
      year = {2025},
      url = {https://eprint.iacr.org/2025/148}
}
Category
Cryptographic protocols
License
CC BY-SA
Submitted
Updated
Versions
2 earlier

Report a problem

Comments

Log in or create an account

Privacy