OPC Unified Architecture - Part 2: Security Model

IEC/TR 62541-2:2010(E) describes the OPC Unified Architecture (OPC UA) security model. It describes the security threats of the physical, hardware and software environments in which OPC UA is expected to run. It describes how OPC UA relies upon other standards for security. It gives an overview of the security features that are specified in other parts of the OPC UA specification. It references services, mappings, and profiles that are specified normatively in other parts of this series of standards. It is directed to readers who will develop OPC UA client or server applications or implement the OPC UA services layer.

General Information

Status
Published
Publication Date
17-Feb-2010
Current Stage
DELPUB - Deleted Publication
Completion Date
05-Oct-2016
Ref Project

Relations

Buy Standard

Technical report
IEC TR 62541-2:2010 - OPC Unified Architecture - Part 2: Security Model Released:2/18/2010
English language
31 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC/TR 62541-2
®
Edition 1.0 2010-02
TECHNICAL
REPORT

OPC Unified Architecture –
Part 2: Security Model


IEC/TR 62541-2:2010(E)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2010 IEC, Geneva, Switzerland

All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by
any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either IEC or
IEC's member National Committee in the country of the requester.
If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication,
please contact the address below or your local IEC member National Committee for further information.

Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
et les microfilms, sans l'accord écrit de la CEI ou du Comité national de la CEI du pays du demandeur.
Si vous avez des questions sur le copyright de la CEI ou si vous désirez obtenir des droits supplémentaires sur cette
publication, utilisez les coordonnées ci-après ou contactez le Comité national de la CEI de votre pays de résidence.

IEC Central Office
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigenda or an amendment might have been published.
ƒ Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
ƒ IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
ƒ Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
ƒ Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00

---------------------- Page: 2 ----------------------
IEC/TR 62541-2
®
Edition 1.0 2010-02
TECHNICAL
REPORT

OPC Unified Architecture –
Part 2: Security Model


INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
V
ICS 25.040.40; 35.100.01 ISBN 978-2-88910-760-5
® Registered trademark of the International Electrotechnical Commission

---------------------- Page: 3 ----------------------
– 2 – TR 62541-2 © IEC:2010(E)
CONTENTS
FOREWORD.4
INTRODUCTION.6
1 Scope.7
2 Normative references .7
3 Terms, definitions, abbreviations and conventions.7
3.1 Terms and definitions .7
3.2 Abbreviations and symbols.11
3.3 Conventions concerning security model figures .11
4 OPC UA Security architecture .11
4.1 OPC UA security environment .11
4.2 Security objectives .12
4.2.1 General .12
4.2.2 Authentication .13
4.2.3 Authorization .13
4.2.4 Confidentiality .13
4.2.5 Integrity .13
4.2.6 Auditability .13
4.2.7 Availability.13
4.3 Security threats to OPC UA systems .13
4.3.1 General .13
4.3.2 Message flooding .13
4.3.3 Eavesdropping .14
4.3.4 Message spoofing .14
4.3.5 Message alteration .14
4.3.6 Message replay .14
4.3.7 Malformed messages.15
4.3.8 Server profiling .15
4.3.9 Session hijacking.15
4.3.10 Rogue server.15
4.3.11 Compromising user credentials.15
4.4 OPC UA relationship to site security.16
4.5 OPC UA security architecture.16
4.6 Security policies .18
4.7 Security profiles .18
4.8 User authorization .19
4.9 User authentication .19
4.10 Application authentication .19
4.11 OPC UA security related services.19
4.12 Auditing.20
4.12.1 General .20
4.12.2 Single client and server .21
4.12.3 Aggregating server .21
4.12.4 Aggregation through a non-auditing server .22
4.12.5 Aggregating server with service distribution.23
5 Security reconciliation .24
5.1 Reconciliation of threats with OPC UA security mechanisms .24

---------------------- Page: 4 ----------------------
TR 62541-2 © IEC:2010(E) – 3 –
5.1.1 General .24
5.1.2 Message flooding .24
5.1.3 Eavesdropping .25
5.1.4 Message spoofing .25
5.1.5 Message alteration .25
5.1.6 Message replay .25
5.1.7 Malformed messages.26
5.1.8 Server profiling .26
5.1.9 Session hijacking.26
5.1.10 Rogue server.26
5.1.11 Compromising user credentials.26
5.2 Reconciliation of objectives with OPC UA security mechanisms .26
5.2.1 General .26
5.2.2 Authentication .27
5.2.3 Authorization .27
5.2.4 Confidentiality .27
5.2.5 Integrity .27
5.2.6 Auditability .28
5.2.7 Availability.28
6 Implementation considerations .28
6.1 General .28
6.2 Appropriate timeouts .28
6.3 Strict message processing.28
6.4 Random number generation .29
6.5 Special and reserved packets.29
6.6 Rate limiting and flow control .29
Bibliography.30

Figure 1 – OPC UA network model .12
Figure 2 – OPC UA security architecture.17
Figure 3 – Simple servers .21
Figure 4 – Aggregating servers .22
Figure 5 – Aggregation with a non-auditing server .23
Figure 6 – Aggregate server with service distribution .24

---------------------- Page: 5 ----------------------
– 4 – TR 62541-2 © IEC:2010(E)
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________

OPC UNIFIED ARCHITECTURE –

Part 2: Security Model


FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
The main task of IEC technical committees is to prepare International Standards. However, a
technical committee may propose the publication of a technical report when it has collected
data of a different kind from that which is normally published as an International Standard, for
example "state of the art".
IEC 62541-2, which is a technical report, has been prepared by subcommittee 65E: Devices
and integration in enterprise systems, of IEC technical committee 65: Industrial-process
measurement, control and automation.
The text of this technical report is based on the following documents:
Enquiry draft Report on voting
65E/93/DTR 65E/155/RVC

Full information on the voting for the approval of this standard can be found in the report on
voting indicated in the above table.

---------------------- Page: 6 ----------------------
TR 62541-2 © IEC:2010(E) – 5 –
This publication has been drafted in accordance with the ISO/IEC Directives, Part 2.
A list of all parts of the IEC 62541 series, under the general title OPC Unified Architecture,
can be found on the IEC website.
The committee has decided that the contents of this publication will remain unchanged until
the stability date indicated on the IEC web site under "http://webstore.iec.ch" in the data
related to the specific publication. At this date, the publication will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
A bilingual version of this publication may be issued at a later date.

---------------------- Page: 7 ----------------------
– 6 – TR 62541-2 © IEC:2010(E)
INTRODUCTION
This technical report introduces security concepts for OPC Unified Architecture as specified
by IEC 62541. This technical report and specification are a result of an analysis and design
process to develop a standard interface to facilitate the development of applications by
multiple vendors that inter-operate seamlessly together.

---------------------- Page: 8 ----------------------
TR 62541-2 © IEC:2010(E) – 7 –
OPC UNIFIED ARCHITECTURE –

Part 2: Security Model



1 Scope
This part of IEC 62541 describes the OPC Unified Architecture (OPC UA) security model. It
describes the security threats of the physical, hardware and software environments in which
OPC UA is expected to run. It describes how OPC UA relies upon other standards for
security. It gives an overview of the security features that are specified in other parts of the
OPC UA specification. It references services, mappings, and profiles that are specified
normatively in other parts of this series of standards.
Note that there are many different aspects of security that have to be addressed when
developing applications. However since OPC UA specifies a communication protocol, the
focus is on securing the data exchanged between applications.
This does not mean that an application developer can ignore the other aspects of security like
protecting persistent data against tampering. It is important that the developer look into all
aspects of security and decide how they can be addressed in the application.
This part of IEC 62541 is directed to readers who will develop OPC UA client or server
applications or implement the OPC UA services layer.
It is assumed that the reader is familiar with Web Services and XML/SOAP. Information on
these technologies can be found in SOAP Part 1 and SOAP Part 2.
2 Normative references
The following referenced documents are indispensable for the application of this document.
For dated references, only the edition cited applies. For undated references, the latest edition
of the referenced document (including any amendments) applies.
IEC 62541 (all parts), OPC Unified Architecture
IEC 62541-1, OPC Unified Architecture – Part 1: Overview and concepts
3 Terms, definitions, abbreviations and conventions
3.1 Terms and definitions
For the purposes of this document the following terms and definitions as well as the terms and
definitions given in IEC 62541-1 apply.
3.1.1
Application Instance
individual installation of a program running on one computer
NOTE There can be several Application Instances of the same application running at the same time on several
computers or possibly the same computer.

---------------------- Page: 9 ----------------------
– 8 – TR 62541-2 © IEC:2010(E)
3.1.2
Application Instance Certificate
Digital Certificate of an individual instance of an application that has been installed in an
individual host
NOTE Different installations of one software product would have different Application Instance Certificates.
3.1.3
Asymmetric Cryptography
Cryptography method that uses a pair of keys, one that is designated the Private Key and
kept secret, the other is called the Public Key that is generally made available
NOTE Asymmetric Cryptography, also known as "public-key cryptography". In an asymmetric encryption algorithm
when an entity A wants to ensure Confidentiality for data it sends to another entity B, entity A encrypts the data
with a Public Key provided by entity B. Only entity B has the matching Private Key that is needed to decrypt the
data. In an asymmetric digital signature algorithm when an entity A wants to ensure Integrity or provide
Authentication for data it sends to an entity B, entity A uses its Private Key to sign the data. To verify the signature,
entity B uses the matching Public Key that entity A has provided. In an asymmetric key agreement algorithm, entity
A and entity B each send their own Public Key to the other entity. Then each uses their own Private Key and the
other's Public Key to compute the new key value. See IS Glossary.
3.1.4
Asymmetric Encryption
mechanism used by Asymmetric Cryptography for encrypting data with the Public Key of an
entity and for decrypting data with the associated Private Key
NOTE See 3.1.3 for details.
3.1.5
Asymmetric Signature
mechanism used by Asymmetric Cryptography for signing data with the Private Key of an
entity and for verifying the data’s signature with the associated Public Key
NOTE See 3.1.3 for details.
3.1.6
Auditability
security objective that assures that any actions or activities in a system can be recorded
3.1.7
Auditing
tracking of actions and activities in the system, including security related activities where the
Audit records can be used to verify the operation of system security
3.1.8
Authentication
process of verifying the identity of an entity such as a client, server, or user
3.1.9
Authorization
process of granting the right or the permission to a system entity to access a system resource
3.1.10
Availability
running of the system with unimpeded capacity
3.1.11
Confidentiality
protection of data from being read by unintended parties

---------------------- Page: 10 ----------------------
TR 62541-2 © IEC:2010(E) – 9 –
3.1.12
Cryptogrophy
transforming clear, meaningful information into an enciphered, unintelligible form using an
algorithm and a key
3.1.13
Cyber Security Management System
CSMS
program designed by an organization to maintain the security of the entire organization’s
assets to an established level of Confidentiality, Integrity, and Availability, whether they are
on the business side or the industrial automation and control systems side of the organization
3.1.14
Digital Certificate
structure that associates an identity with an entity such as a user, a product or an Application
Instance where the certificate has an associated asymmetric key pair which can be used to
authenticate that the entity does, indeed, possess the Private Key
3.1.15
Digital Signature
value computed with a cryptographic algorithm and appended to data in such a way that any
recipient of the data can use the signature to verify the data's origin and integrity
3.1.16
Hash Function
algorithm such as SHA-1 for which it is computationally infeasible to find either a data object
that maps to a given hash result (the "one-way" property) or two data objects that map to the
IS Glossary
same hash result (the "collision-free" property), see
3.1.17
Hashed Message Authentication Code
HMAC
MAC that has been generated using an iterative Hash Function
3.1.18
Integrity
security goal that assures that information has not been modified or destroyed in a
unauthorized manner
NOTE definition from IS Glossary.
3.1.19
Key Exchange Algorithm
protocol used for establishing a secure communication path between two entities in an
unsecured environment whereby both entities apply a specific algorithm to securely exchange
secret keys that are used for securing the communication between them
NOTE A typical example of a Key Exchange Algorithm is the SSL Handshake Protocol specified in SSL/TLS.
3.1.20
Message Authentication Code
MAC
short piece of data that results from an algorithm that uses a secret key (see Symmetric
Cryptography) to hash a message whereby the receiver of the message can check against
alteration of the message by computing a MAC that should be identical using the same
message and secret key
3.1.21
Message Signature
Digital Signature used to ensure the Integrity of messages sent between two entities

---------------------- Page: 11 ----------------------
– 10 – TR 62541-2 © IEC:2010(E)
NOTE There are several ways to generate and verify Message Signatures, however, they can be categorized as
symmetric (see 3.1.32) and asymmetric (see 3. 1. 5 ) ap pr oac h es .
3.1.22
Non-Repudiation
strong and substantial evidence of the identity of the signer of a message and of message
integrity, sufficient to prevent a party from successfully denying the original submission or
delivery of the message and the integrity of its contents
3.1.23
Nonce
random number that is used once, typically by algorithms that generate security keys
3.1.24
OPC UA Application
OPC UA Client, which calls OPC UA services, or an OPC UA Server, which performs those
services
3.1.25
Private Key
secret component of a pair of cryptographic keys used for Asymmetric Cryptography
3.1.26
Public Key
publicly-disclosed component of a pair of cryptographic keys used for Asymmetric
Cryptography, see IS Glossary
3.1.27
Public Key Infrastructure
PKI
set of hardware, software, people, policies and procedures needed to create, manage, store,
distribute and revoke Digital Certificates based on Asymmetric Cryptography
NOTE The core PKI functions are to register users and issue their public-key certificates, to revoke certificates
when required, and to archive data needed to validate certificates at a much later time. Key pairs for data
Confidentiality may be generated by a certificate authority (CA), but requiring a Private Key owner to generate its
own key pair improves security because the Private Key would never be transmitted, see IS Glossary. See PKI and
X509 PKI for more details on Public Key Infrastructures.
3.1.28
Rivest-Shamir-Adleman
RSA
algorithm for Asymmetric Cryptography, invented in 1977 by Ron Rivest, Adi Shamir, and
Leonard Adleman, see IS Glossary
3.1.29
Secure Channel
in OPC UA, a communication path established between an OPC UA client and server that
have authenticated each other using certain OPC UA services and for which security
parameters have been negotiated and applied
3.1.30
Symmetric Cryptography
branch of cryptography involving algorithms that use the same key for two different steps of
the algorithm (such as encryption and decryption, or signature creation and signature
verification), see IS Glossary

---------------------- Page: 12 ----------------------
TR 62541-2 © IEC:2010(E) – 11 –
3.1.31
Symmetric Encryption
mechanism used by Symmetric Cryptography for encrypting and decrypting data with a
cryptographic key shared by two entities
3.1.32
Symmetric Signature
mechanism used by Symmetric Cryptography for signing data with a cryptographic key shared
by two entities
NOTE The signature is then validated by generating the signature for the data again and comparing these two
signatures. If they are the same then the signature is valid, otherwise either the key or the data is different from the
two entities. Subclause 3.1.17 defines a typical example for an algorithm that generates Symmetric Signatures.
3.1.33
X.509 Certificate
Digital Certificate in one of the formats defined by X.509 v1, 2, or 3
NOTE An X.509 Certificate contains a sequence of data items and has a digital signature computed on that
sequence.
3.2 Abbreviations and symbols
CSMS Cyber Security Management System
DSA Digital Signature Algorithm
PKI Public Key Infrastructure
RSA public key algorithm for signing or encryption, Rivest, Shamir, Adleman
SHA1 Secure Hash Algorithm 1
SOAP Simple Object Access Protocol
SSL Secure Sockets Layer
TLS Transport Layer Security
UA Unified Architecture
URI Uniform Resource Identifier
XML Extensible Mark-up Language
3.3 Conventions concerning security model figures
The figures in this document do not use any special common conventions. Any conventions
used in a particular figure are explained for that figure.
4 OPC UA Security architecture
4.1 OPC UA security environment
OPC UA is a protocol used between components in the operation of an industrial facility at
multiple levels: from high-level enterprise management to low-level direct process control of a
device. The use of OPC UA for enterprise management involves dealings with customers and
suppliers. It may be an attractive target for industrial espionage or sabotage and may also be
exposed to threats through untargeted malware, such as worms, circulating on public
networks. Disruption of communications at the process control end causes at least an
economic cost to the enterprise and can have employee and public safety consequences or
cause environmental damage. This
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.