0:00
–:––
React at 0:00
Black Hat USA 2025

No VPN Needed? Cryptographic Attacks Against the OPC UA Protocol

Tom Tervoort, Bureau Veritas CybersecurityCryptography

When and where

Day
Thu 7 Aug 2025
Time
10:20 to 11:00 PDT
Room
Oceanside C, Level 2

Speaker

  • Tom TervoortBureau Veritas Cybersecurity

    Tom Tervoort is a Principal Security Specialist for Bureau Veritas Cybersecurity, a security company based in the Netherlands. Tom regularly performs network pentests, web/mobile application assessments, as well as code, configuration and design reviews for large Dutch companies and institutions. Tom's primary areas of interest include cryptographic protocols and cryptography engineering, advanced web attacks and Windows AD pentesting. Besides doing security assessments, Tom also develops and gives cryptography and secure programming courses to software developers. In December 2020, Tom won a Pwnie award for Best Cryptographic Attack, due to his discovery of the Zerologon vulnerability. Tom has spoken at various conferences, including Black Hat USA 2021 and 2023, Black Hat Europe 2022 and ONE Conference 2021.

Abstract

OPC UA is a standardized communication protocol that is widely used in the areas of industrial automation and IoT. It is used within and between OT networks, but also as a bridge between IT and OT environments or to connect field systems with the cloud. Traditionally, VPN tunnels are used to secure connections between OT trust zones (especially when they cross the internet), but this is often considered not to be necessary when using OPC UA because the protocol offers its own cryptographic authentication and transport security layer. This makes OPC UA a valuable target for attackers, because if they could hijack a (potentially internet-exposed) OPC UA server they might be able to wreak havoc on whatever industrial systems are controlled by it. Therefore, I decided to take a look at the cryptography used by the protocol, and whether any protocol-level flaws could be used to compromise implementations. As a result, I managed to identify two protocol flaws that I could turn into practical authentication bypass attacks that worked against various implementations and configurations. These attacks involve signing oracles, signature spoofing padding oracles and turning "RSA-ECB" into a "timing side channel amplifier". In this talk, I will explore the protocols and the issues I identified, as well as the process of turning two theoretical crypto flaws into highly practical exploits.

What you'll get from it

OPC UA has its own authentication and transport security, so many sites use it to link OT networks, or IT and OT, without a VPN. Tom Tervoort looked at the protocol's cryptography and found two protocol-level flaws, then turned them into practical authentication bypasses that worked against several implementations and configurations. The attacks use signing oracles, padding oracles for signature spoofing, and RSA-ECB used as a timing side channel amplifier. Watch it if you secure industrial networks, or if you enjoy seeing theoretical crypto flaws become working exploits.

Did you find what you came for?