View Issue Details

IDProjectCategoryView StatusLast Update
000693910000-002: SecuritySpecpublic2024-06-12 18:06
Reportermuetzeclaudia Assigned ToPaul Hunkar  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Fixed in Version1.05.04 RC1 
Summary0006939: Algorithm for KeyLifetime limits (min and max) for OPC UA PubSub /Part 14/ with AES-CTR
Description

It is required that the OPC Foundation specifies rules, an algorithm and some concrete sample values for the KeyLifetime limits (min and max) for its communication type OPC UA PubSub /Part 14/ with AES-CTR.
E.g.:
Rule 1.) a key MUST be updated latest before the SequenceNumber of the MessageNonce reaches the 4 Byte SequenceNumber value limit of 2^32.
and Rule 2.) a key SHOULD be changed the earlier the better. This additional 'SHOULD' rule depends on a risk management i.e. the acceptable attack success probability. For an attack success probability of e.g. 2^60 maximum 0,3887 TB encrypted payload are allowed for one key (from https://www.isg.rhul.ac.uk/~kp/TLS-AEbounds.pdf, chapter 1.2). Before this data limit exceeds the key should be updated.
-> An algorithm from rules 1.) and 2.) should result depending on SequenceNumber limit, PublishingInterval and encrypted payload with concrete sample KeyLifetime limit values to be specified in the OPC Foundation for PubSub /Part 14/.

But consider: it is not assumed that the referenced recommendation for TLSv1.3 with AES-GCM can be used for OPC UA PubSub /Part 14/ because PubSub uses AES-CTR and is also a different communication type than TLS: PubSub with fast multiple network messages in a worst case with several messages with the same key and the same process data values which increases key attack success probability.
In consequence the OPC Foundation should specify an own recommendation and algorithm for KeyLifetime boundaries for its communication type PubSub.

See also Meeting Minutes from Foundation Subgroup PubSub Prototyping, TOP 1: https://opcfoundation.sharepoint.com/:w:/r/UA/work/@Sub-Groups/PubSub%20Prototyping/Meetings/2021/2021-05-10/UA%20PubSub%20Telecon%20minutes%202021-05-10.docx?d=wcdf47da1ea0e4c3fa4e783355742a3ec&csf=1&web=1&e=AbPw1S

TagsNo tags attached.
Commit Version1.05.04 RC
Fix Due Date

Activities

Matthias Damm

2021-05-11 16:15

developer   ~0014355

We should have a similar discussion about the keys in client/server secure channel

Paul Hunkar

2024-06-12 18:06

developer   ~0021335

Added text explaining limits and offering recommendations

Jim Luth

2024-06-12 18:06

administrator   ~0021336

Agreed to changes edited in virtual F2F.

Issue History

Date Modified Username Field Change
2021-05-11 15:10 muetzeclaudia New Issue
2021-05-11 16:15 Matthias Damm Note Added: 0014355
2021-11-30 17:29 Jim Luth Assigned To => Paul Hunkar
2021-11-30 17:29 Jim Luth Status new => assigned
2024-06-12 18:06 Paul Hunkar Status assigned => resolved
2024-06-12 18:06 Paul Hunkar Resolution open => fixed
2024-06-12 18:06 Paul Hunkar Fixed in Version => 1.05.04 RC1
2024-06-12 18:06 Paul Hunkar Note Added: 0021335
2024-06-12 18:06 Jim Luth Status resolved => closed
2024-06-12 18:06 Jim Luth Commit Version => 1.05.04 RC
2024-06-12 18:06 Jim Luth Note Added: 0021336