{
  "id": "2025/148",
  "url": "https://opencryptology.org/2025/148",
  "original_url": "https://eprint.iacr.org/2025/148",
  "title": "A Comprehensive Formal Security Analysis of OPC UA",
  "authors": [
    "Vincent Diemunsch",
    "Lucca Hirschi",
    "Steve Kremer"
  ],
  "affiliations": null,
  "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). \n\nWe 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.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY-SA",
    "url": "https://creativecommons.org/licenses/by-sa/4.0/",
    "label": "CC BY-SA 4.0",
    "attribution": "“A Comprehensive Formal Security Analysis of OPC UA” by Vincent Diemunsch, Lucca Hirschi, Steve Kremer, Cryptology ePrint Archive, Paper 2025/148, https://eprint.iacr.org/2025/148. Licensed under CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-01-30T18:21:39Z",
    "updated": "2025-09-23T11:35:47Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/148.pdf",
    "sha256": "29e69b30340af2a8342aef2d15b0f2813b6f709b68bcfd3a1d3c5e3e4c1a2210",
    "size": 580309,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/148/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/148.pdf",
      "size": 580309,
      "sha256": "29e69b30340af2a8342aef2d15b0f2813b6f709b68bcfd3a1d3c5e3e4c1a2210",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/148/versions/20250423T141313Z.pdf",
      "captured_at": "2025-04-23T14:13:13Z",
      "label": "copy captured 2025-04-23",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250423141313id_/https://eprint.iacr.org/2025/148.pdf",
      "size": 528375,
      "sha256": "5d8bb4ac58d26dc9a822e76b1f0a82d6f854e859421c2f1e9b152261d2d07f47",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2025/148/versions/20250131T102419Z.pdf",
      "captured_at": "2025-01-31T10:24:19Z",
      "label": "copy captured 2025-01-31",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250131102419id_/https://eprint.iacr.org/2025/148.pdf",
      "size": 527612,
      "sha256": "4d77619403aadaf0c0444b702c2a853afb6a2e8fc09c39e871794ea2c6269a23",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/148.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 580309
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260306071334id_/https://eprint.iacr.org/2025/148.pdf",
      "captured_at": "2026-03-06T07:13:34Z",
      "size": 581621
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/148,\n      author = {Vincent Diemunsch and Lucca Hirschi and Steve Kremer},\n      title = {A Comprehensive Formal Security Analysis of OPC UA},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/148},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/148}\n}"
}
