GM/T 0119-2022Cryptography applications technical specificationfor PLC system and PLC controller (English PDF)
PLC控制系统及PLC控制器密码应用技术规范
This is a limited preview
Buy now to download the full PDF (118 pages)
Need quotation for your management?
Get a formal quotation for GM/T 0119-2022 in 30 minutes.
Issued by
State Administration of Cryptography
Level / Type
National · Recommended
Issue date
November 20, 2022
Implementation date
June 1, 2023
Scope
GM/T 0119-2022 is the English-translated version of PLC控制系统及PLC控制器密码应用技术规范.
GM/T 0119-2022 — Cryptography applications technical specificationfor PLC system and PLC controller
Found what you need?
Document preview — GM/T 0119-2022
National Standard of the People's Republic of China
- ICS
- 35.030
- Classification
- L 80
Contents
- Requirements for the Cryptography Application of Security Management Server 361
11 Requirements for the Cryptography Application of Security Management Server 36
12 Cryptography Application Interface of the PLC System... 36 Appendix A (Informative) Components of PLC System... 38 Appendix B (Informative) Cryptography Security Management Interface Reference 41 Appendix C (Informative) Reference of Cryptography Security Service Interface.. 118 Cryptography Applications Technical Specification for PLC System and PLC Controller
1 Scope
This Document describes the basic components of PLC systems and PLC controllers; defines the cryptography application function of PLC systems, the overall requirements for cryptography application of PLC systems, and the basic process of cryptography application;
defines the cryptography application function and cryptography application requirements of each component device in the PLC system; and provides a reference for the cryptography application interface of the PLC system.
This Document is applicable to the design and development of PLC systems and PLC controllers with integrated cryptography functions; and can also be used to guide the cryptography application detection of related products.
2 Normative References the provisions in following documents become the essential provisions of this Document through reference in this Document. For the dated documents, only the versions with the dates indicated are applicable to this Document; for the undated documents, only the latest version (including all the amendments) is applicable to this Document.
GB/T 32905 Information security techniques - SM3 cryptographic hash algorithm GB/T 32907 Information security techno1ogy - SM4 block cipher algorithm GB/T 32918 (all parts) Information security technology - Public key cryptographic algorithm SM2 based on elliptic curves GB/T 37092-2018 Information security technology - Security requirements for cryptographic modules GB/T 38635 (all parts) Information security technology - Identity-based cryptographic algorithms SM9 GM/Z 4001 Cryptographic terminology IETF RFC4627 The application/json Media Type for JavaScript Object Notation (JSON)
3 Terms and Definitions for the purposes of this Document, the terms and definitions given in GM/Z 4001 and the following apply.
3.1 SM2 cryptographic algorithm an elliptic curve public key cryptographic algorithm defined by GB/T 32918 (all parts).
3.2 SM3 cryptographic algorithm A cryptographic hash algorithm defined by GB/T 32905.
3.3 SM4 cryptographic algorithm A block cipher algorithm defined by GB/T 32907.
3.4 SM9 cryptographic algorithm an identity-based asymmetric cryptographic algorithm defined by GB/T 38635 (all parts).
3.5 Industrial control system A collection of personnel, hardware and software that have an impact on the safety of industrial production processes, information security and reliable operation.
3.6 Industrial local area network the local area network that realizes the interconnection of industrial equipment has higher stability and certainty.
3.7 Programmable logic controller A digitally operated electronic system that is used in industrial environments. This system uses programmable memory as an internal register for user instructions to complete specified functions such as logic, sequence, timing, counting, calculation, etc.; and controls various types of machinery or processes through digital or analog input/output.
3.8 Programmable logic controller system A system that consists of a programmable logic controller and its related peripheral devices established by the user according to the requirements of the automation system to be completed.
3.9 Fieldbus
The digital communication technology that is applied to production sites, between field equipment and between field equipment and control devices for bidirectional, serial, multi-node.
3.10 User logic configuration Users use the tools and methods provided in the application software that supports the PLC controller to complete a collection of scripts for specific logical control tasks in the system.
3.11 User monitor configuration Users use the tools and methods provided in the application software that supports the PLC controller to complete a set of scripts for specific monitoring tasks in the system.
4 Abbreviated Terms
For the purposes of this Document, the following abbreviated terms apply.
APDU. Application Protocol Data Unit;
PLC. Program Logic Controller
5 Overview of PLC System
5.1 Basic components the basic components of the PLC system are shown in Figure 1.See Appendix A for a detailed description of the components of the PLC control system.
e) Industrial LAN bus. Realizes LAN communication between various devices in the PLC system;
f) Fieldbus. Realizes communication between PLC controller and various field devices.
Among them, the engineer station, operator station, data service station and PLC controller are interconnected through the industrial LAN bus; the PLC controller and field devices are interconnected through the field bus.
5.2 Basic functions
The basic functions of the PLC system include.
a) Editing and developing user logic configuration;
b) Downloading user logic configuration;
c) Running user logic configuration;
d) Editing and developing user monitoring configuration;
e) Running user monitoring configuration;
f) Uploading system operation status data and events;
g) Archiving system operation status data and events;
h) Industrial LAN bus control;
i) Fieldbus control.
6 Overview of Cryptography Application in PLC System
6.1 Security lifecycle the security lifecycle of PLC system includes initialization state, programming configuration state, operation state and logout state. In different security lifecycle states, PLC system needs to use different cryptography security functions.
a) Initialization state. When the PLC system is first connected to the system network, the cryptography security initialization state is completed.
b) Programming configuration state. The PLC system is in the development state of user logic configuration and user monitoring configuration. In this state, the user can edit and test the user logic configuration and user monitoring configuration; and replace and enable the user logic configuration.
Figure 4 – Components of cryptography application system
In the PLC system, the cryptography application system mainly includes the cryptography modules and their cryptography application functions in the PLC controller, engineer station, operator station, and data service station, operator identity credentials, and security management server.
The cryptography module is embedded in each component device of the PLC system, mainly realizing the cryptographic algorithm, cryptography security function and security management function, and providing cryptography calculation service interface and security management interface to the outside world. The cryptography module can be a physical module, a software module or a hybrid module; and shall meet the security requirements specified in GB/T 37092.
The operator identity credentials are used for user login authentication on the PLC controller, engineer station, operator station and data service station.
The security management server is a background server that cooperates with the cryptography module to realize the cryptography security configuration and management of the PLC system.
In the PLC system, the cryptography module embedded in the device provides two interfaces, "cryptography security management interface" and "cryptography security service interface".
Thereof, "cryptography security management interface" exists between the device and the security management server and is used to implement cryptography security management; the "cryptography security service interface" exists inside the device and is used for business applications in the device to call cryptography security functions.
6.4 General requirements for cryptography application
6.4.1 Functional requirements the cryptography application function requirements for the PLC system are as follows.
a) The PLC system shall use the cryptographic algorithms given in Appendix C of GB/T 37092-2018, such as SM2, SM3, SM4 and SM9, etc.
b) The PLC system shall adopt a security management mechanism based on domain and state. Different application domains are isolated through cryptographic technology and configured with different keys and sensitive data. In the same application domain, different cryptography security functions are used for different security life cycle states.
c) The PLC system shall have a security management service interface to realize the registration, identity management, key configuration and cryptography security function configuration of the main equipment, applications and personnel in the system; realize the security lifecycle management of equipment and applications.
d) The key equipment such as PLC controller, operator station, engineer station in the PLC system shall use cryptographic technology for registration and access authentication.
e) The update of the device system and configuration of the PLC controller shall use cryptographic technology for integrity verification and operation authorization control.
f) The key control commands transmitted between the engineer station, operator station and PLC controller equipment of the PLC system shall use cryptographic technology for authenticity, integrity and non-repudiation protection.
g) The interconnection access between the engineer station, operator station and PLC controller equipment of the PLC system shall use cryptographic technology for access authentication and communication protection.
h) The operators of key equipment in the PLC system shall issue identity credentials and use cryptographic technology for login authentication and permission control.
6.4.2 Performance requirements the performance requirements for cryptography application in PLC system are as follows.
a) After adding cryptography function, the operating reliability of PLC system will not be significantly reduced;
b) In PLC controller, the cryptography module shall support at least 4 independent security channels; and the symmetric algorithm encryption and decryption rate of each security channel is recommended to be no less than 0.5Mb/s;
c) In engineer station, operator station and data service station, the cryptography module shall support at least 4 independent security channels, and the symmetric algorithm encryption and decryption rate of each security channel is recommended to be no less than 0.5Mb/s.
6.5 Basic process of cryptography application in the basic process of cryptography application in PLC system, the enhanced requirements are optional processes, which can be selected when users need to increase system security.
a) System is in initialization state. device registration.
When PLC controller, engineer station, operator station, data service station and other devices are connected to PLC system for the first time, the initialization of device cryptography security function is completed.
b) System is in programming configuration state.
1) Device safe startup PLC controllers shall use cryptographic technology to perform integrity check on application codes to achieve safe startup.
2) Device sign-in and synchronization this step is an enhanced requirement.
After the device of the PLC system is started, it uses cryptographic technology to access the security management server and synchronize the status and messages.
3) Device system update this step is an enhanced requirement.
After the device of the PLC system signs in, if the device system environment is updated, the device shall initiate the system environment update process and use cryptographic technology to perform authenticity, integrity check and operation authorization for the device system update.
4) User application configuration development User application configuration includes user logic configuration and user monitoring configuration.
Programmers log in to the logic configuration software, complete the user logic configuration development and release it. Use cryptographic technology to achieve personnel security login and user logic configuration file operation authority control to ensure the integrity and authenticity of the user logic configuration file.
Programmers log in to the monitoring configuration software, complete the application monitoring configuration development and release it. Use cryptographic technology to implement personnel login and monitoring configuration file operation authority control to ensure the integrity and authenticity of user monitoring configuration files.
5) User logic configuration download During the operation of the PLC system, the user logic configuration can be downloaded and installed to the PLC controller. Use cryptographic technology to protect the authenticity, integrity, non-repudiation and operation authorization of the user logic configuration download process.
6) User logic configuration personalization this step is an enhanced requirement.
After the user logic configuration of the PLC controller is installed, personalization settings are required for the first operation. Use cryptographic technology to establish an independent security zone for the user logic configuration, and configure keys and sensitive data, security policies, etc.
c) The system is in operation state.
1) PLC controller operation cycle management this step is an enhanced requirement.
The PLC controller operation cycle includes startup, suspension/unsuspension, lock/unlock, and shutdown. Use cryptographic technology to protect the switching of the above operation cycle management to ensure the integrity of the operation cycle state.
2) User logic configuration operation cycle management this step is an enhanced requirement.
The user logic configuration operation cycle on the PLC controller includes startup, suspension/unsuspension, locking/unlocking, and shutdown. Cryptographic technology is used to protect the switching of the above operation cycle management to ensure the integrity of the operation cycle status.
3) Inter-device access and visit the access and visit between PLC controllers, engineer stations, operator stations and other devices in the PLC system uses cryptographic technology to achieve access authentication and visit control, complete the establishment of a secure channel and data transmission confidentiality.
d) The system is in the logout state. None.
7 Requirements for Cryptography Application of PLC Controller
7.1 Cryptography application function composition PLC controller includes chip, operating system and operating environment, PLC control function module and cryptography module. PLC control function module is used to run user logic configuration and realize business control process; cryptography module is used to store sensitive data such as keys, provide cryptography security services and interact with background security management server. The cryptography application function composition of PLC controller is shown in Figure 5.
4) After the registration is completed, the PLC controller shall change its security state to the programming configuration state.
7.2.2 Programming configuration state
7.2.2.1 Device system update this article is an enhanced requirement.
Device system update is the process of updating the underlying operating environment (such as driver, runtime library, configuration operating environment) in the PLC controller. Device system update can be done online or offline.
a) The following preset information shall be available before the PLC controller device system is updated.
1) The PLC controller shall configure a device system domain, which stores and uses keys and sensitive data related to device system update;
2) The PLC controller has completed device registration.
b) The cryptography application in the PLC controller device system update is as follows.
1) The PLC controller initiates the device system update; after receiving the application, the security management server generates a download authorization code; prepares the download package and signs the download package;
2) If the online method is used, the PLC controller and the security management server shall complete the two-way authentication based on certificates or other identity credentials, establish a secure channel, and then transmit the download authorization code and download package to the PLC controller. If the offline method is used, the security management server encrypts the download authorization code and download package, stores them in the carrier, and transmits them to the PLC controller offline;
3) The PLC controller verifies the download authorization code and receives the download package after passing. During the receiving process, the integrity of the download package is measured and the signature of the download package is verified;
after the verification is passed, the device system is updated.
7.2.2.2 User logic configuration download User logic configuration download is the process of the PLC controller obtaining and installing the user logic configuration. User logic configuration download can be online or offline.
a) The following preset information shall be available before downloading the user logic configuration of the PLC controller.
1) The PLC controller shall configure a user application domain, which stores and uses the keys and sensitive data related to the user logic configuration download;
2) The PLC controller has completed device registration.
b) The cryptography application in the PLC controller user logic configuration download is as follows.
1) The security management server generates a download authorization code, prepares the user logic configuration download package and signs it;
2) If the online method is used, the PLC controller and the security management server shall complete a two-way authentication based on a certificate or other identity credentials, establish a secure channel, and then transmit the download authorization code and download package to the PLC controller. If the offline method is used, the security management server encrypts the download authorization code and download package, stores them in the carrier, and transmits them to the PLC controller offline;
3) The PLC controller verifies the download authorization code and starts receiving the download package after passing it. During the receiving process, the integrity of the download package is measured and the signature of the download package is verified;
after the verification is passed, the user logic configuration is installed.
7.2.2.3 User logic configuration personalization this article is an enhanced requirement.
User logic configuration personalization is the process of initializing the basic data and basic configuration of the user logic configuration. User logic configuration personalization can be online or offline.
a) Before the user logic configuration of the PLC controller is personalized, the following preset information shall be available.
1) The PLC controller shall configure a user application domain, which stores and uses keys and sensitive data related to the user logic configuration personalization;
2) The user logic configuration has a unique identifier.
b) The cryptography application in the user logic configuration personalization of the PLC controller is as follows.
1) The security management server generates the download authorization code, prepares the user logic configuration personalized data package and signs it;
2) If the online method is used, the PLC controller and the security management server shall complete the two-way authentication based on the certificate or other identity ......
......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 118 pages — is available in the English PDF.
How to Download GM/T 0119-2022
- 1
Add to cart
Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.
- 2
Checkout
Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).
- 3
Fast delivery
After payment you'll receive an email confirmation. The English PDF is sent to the same address, usually within minutes and at the latest within 1 business day.
- 4
Invoice included
A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.
Related Standards
GM/T 0001.4-2024 — Zu Chongzhi's Sequence Cipher Algorithm Part 4: Authentication Encryption Mechanism
GM/T 0028-2024 — Security requirements for cryptographic modules
GM/T 0039-2024 — Security Test Requirements for Cryptographic Modules
Secure payment via Stripe
Payments accepted
GM/T 0119-2022
$1,250.00