Application of alteration sets with improved network security
By using digital signature verification and approval mechanisms in industrial automation equipment, security issues caused by incorrect configuration are solved, security applications of change sets are achieved, and network security and compliance are improved.
Patent Information
- Application Number
- CN202410306290.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-30
- Filing Date
- 2024-03-18
- Publication Date
- 2024-12-03
AI Technical Summary
In industrial automation equipment, incorrect configuration can lead to safety issues and equipment damage, and it is difficult for the prior art to safely apply configuration changes.
By receiving a change set of digital signatures generated using the private key in an industrial automation device, verifying based on the corresponding pre-stored public key, and applying the change set after approval, ensuring the security and effectiveness of configuration modifications.
Improves network security of industrial automation equipment, realizes secure application for configuration changes, meets the remote access compliance of IEC 62443-4-2SL4 standard, prevents untrusted change set applications, and protects device security.
Smart Images

Figure CN119070993A_ABST
Abstract
Description
Technical Field
[0001] The following example embodiments relate to industrial automation and cybersecurity. Background Art
[0002] In industrial automation equipment, incorrect configuration may lead to security issues and / or damage to the industrial automation equipment. Therefore, it is desirable to apply changes to the configuration in a secure manner. Summary of the invention
[0003] The scope of protection sought by various example embodiments is set out by the independent claims. Example embodiments and features described in this specification that do not fall within the scope of the independent claims, if any, are to be construed as useful examples for understanding the various embodiments.
[0004] According to one aspect, an industrial automation device is provided, which includes at least one processor and at least one memory storing instructions, which, when executed by the at least one processor, causes the industrial automation device to at least: receive a first change set having a first digital signature generated using a private key, wherein the first change set includes a data packet for modifying a configuration or state of the industrial automation device; verify the first digital signature of the first change set based on a pre-stored public key corresponding to the private key; obtain approval for applying the first change set in response to verifying the first digital signature of the first change set, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first change set or by receiving user input indicating approval; and apply the first change set in response to obtaining the approval.
[0005] According to another aspect, an industrial automation device is provided, comprising a component for receiving a first change set having a first digital signature generated using a private key, wherein the first change set includes a data packet for modifying a configuration or state of the industrial automation device; a component for verifying the first digital signature of the first change set based on a pre-stored public key corresponding to the private key; a component for obtaining approval for applying the first change set in response to verifying the first digital signature of the first change set, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first change set or by receiving user input indicating approval; and a component for applying the first change set in response to obtaining the approval.
[0006] According to another aspect, a method is provided, comprising: receiving, by an industrial automation device, a first change set having a first digital signature generated using a private key, wherein the first change set includes a data packet for modifying a configuration or state of the industrial automation device; verifying, by the industrial automation device, the first digital signature of the first change set based on a pre-stored public key corresponding to the private key; obtaining, by the industrial automation device, approval to apply the first change set in response to verifying the first digital signature of the first change set, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first change set or by receiving user input indicating approval; and applying, by the industrial automation device in response to obtaining the approval.
[0007] According to another aspect, a computer program comprising instructions is provided, which, when executed by an industrial automation device, causes the industrial automation device to perform at least the following operations: receiving a first change set having a first digital signature generated using a private key, wherein the first change set includes a data packet for modifying a configuration or state of the industrial automation device; verifying the first digital signature of the first change set based on a pre-stored public key corresponding to the private key; obtaining approval for applying the first change set in response to verifying the first digital signature of the first change set, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first change set or by receiving user input indicating approval; and applying the first change set in response to obtaining the approval.
[0008] According to another aspect, a computer-readable medium including program instructions is provided, the program instructions being used to cause an industrial automation device to perform at least the following operations: receiving a first change set having a first digital signature generated using a private key, wherein the first change set includes a data packet for modifying a configuration or state of the industrial automation device; verifying the first digital signature of the first change set based on a pre-stored public key corresponding to the private key; obtaining approval for applying the first change set in response to verifying the first digital signature of the first change set, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first change set or by receiving user input indicating approval; and applying the first change set in response to obtaining the approval.
[0009] According to another aspect, a non-transitory computer-readable medium is provided, which includes program instructions for causing an industrial automation device to perform at least the following operations: receiving a first change set having a first digital signature generated using a private key, wherein the first change set includes a data packet for modifying a configuration or state of the industrial automation device; verifying the first digital signature of the first change set based on a pre-stored public key corresponding to the private key; obtaining approval for applying the first change set in response to verifying the first digital signature of the first change set, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first change set or by receiving user input indicating approval; and applying the first change set in response to obtaining the approval.
[0010] According to another aspect, a system is provided, comprising at least a cloud service, an edge gateway, and an industrial automation device. The cloud service includes: a component for generating a first change set for the industrial automation device, wherein the first change set includes a data packet for modifying the configuration or state of the industrial automation device; a component for generating a first digital signature for the first change set using a private key; and a component for transmitting the first change set with the first digital signature to the edge gateway. The edge gateway includes: a component for receiving the first change set with the first digital signature from the cloud service; and a component for transmitting the first change set with the first digital signature to the industrial automation device. The industrial automation device includes: a component for receiving the first change set with the first digital signature from the edge gateway; a component for verifying the first digital signature of the first change set based on a pre-stored public key corresponding to the private key; a component for obtaining approval for applying the first change set in response to verifying the first digital signature of the first change set, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first change set or by receiving user input indicating the first change set; and a component for applying the first change set in response to obtaining approval.
[0011] According to another aspect, a system including at least a cloud service, an edge gateway, and an industrial automation device is provided. The cloud service is configured to: generate a first change set for the industrial automation device, wherein the first change set includes a data packet for modifying the configuration or state of the industrial automation device; use a private key to generate a first digital signature for the first change set; and transmit the first change set with the first digital signature to the edge gateway. The edge gateway is configured to: receive the first change set with the first digital signature from the cloud service; and transmit the first change set with the first digital signature to the industrial automation device. The industrial automation device is configured to: receive the first change set with the first digital signature from the edge gateway; verify the first digital signature of the first change set based on a pre-stored public key corresponding to the private key; obtain approval for applying the first change set in response to verifying the first digital signature of the first change set, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first change set or by receiving user input indicating approval; and apply the first change set in response to obtaining approval. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In the following, various example embodiments will be described in more detail with reference to the accompanying drawings, in which
[0013] Figure 1 An example of a system is illustrated;
[0014] Figure 2 A signal flow graph is illustrated;
[0015] Figure 3 A signal flow graph is illustrated;
[0016] Figure 4 A signal flow graph is illustrated;
[0017] Figure 5 A flow chart is illustrated;
[0018] Figure 6 illustrates a flow chart; and
[0019] Figure 7 An example of an apparatus is illustrated. DETAILED DESCRIPTION
[0020] The following embodiments are exemplary. Although this specification may refer to "one", "an" or "some" embodiments at several locations in the text, this does not necessarily mean that each reference is to the same (multiple) embodiments, nor does it necessarily mean that a particular feature applies only to a single embodiment. Individual features of different embodiments may also be combined to provide other embodiments.
[0021] Different embodiments and examples are described below using a single unit, model, device and memory, without limiting the embodiments / examples to such solutions. Concepts known as cloud computing and / or virtualization can be used. Virtualization can allow a single physical computing device to host one or more instances of a virtual machine that appears and operates as an independent computing device, so that a single physical computing device can dynamically create, maintain, delete or otherwise manage the virtual machine. Device operations are also likely to be distributed between multiple servers, nodes, devices or hosts. In cloud computing network devices, computing devices and / or storage devices provide shared resources. Some other technological advances such as software defined networking (SDN) may cause one or more of the functionality described below to be migrated to any corresponding abstraction or device or device. Therefore, all words and expressions should be interpreted broadly, and they are intended to illustrate rather than limit the example embodiments.
[0022] Figure 1 An example of a communication system to which some example embodiments may be applied is illustrated. Figure 1 , some example embodiments may be based on wired or wireless communications. Some examples of wireless communication technologies include, but are not limited to: 3G (third generation), 4G (fourth generation), LTE (long term evolution), LTE-A (advanced long term evolution), 5G (fifth generation), 5G NR (new radio), 6G (sixth generation), UMTS (universal mobile telecommunications system), EDGE (enhanced data rates for GSM evolution), WCDMA (wideband code division multiple access), Bluetooth, WLAN (wireless local area network), Wi-Fi, Li-Fi (light fidelity), or any other mobile or wireless network. Communication may also occur between nodes belonging to different but compatible systems (such as LTE and 5G). Alternatively or additionally, some example embodiments may be based on wired communication protocols, such as Ethernet.
[0023] It should be noted that Figure 1 The diagram illustrates a simplified system architecture, which shows only some elements and functional entities, all of which are logical units, the implementation of which may differ from what is shown. Figure 1 The connections shown in are logical connections; the actual physical connections may be different. It will be apparent to those skilled in the art that the system may also include other functions and structures. It should be understood that the functions, structures, elements, and protocols used in or for communication are not relevant to the example embodiments. Therefore, they do not need to be discussed in more detail here.
[0024] See also Figure 1 The system includes at least industrial automation equipment 101, edge gateway 102 and cloud service 103.
[0025] Some example embodiments provide a method for securely uploading and applying a changeset to an industrial automation device 101. A changeset may be defined as any data package used to modify the current configuration or state of an industrial automation device 101. In other words, some example embodiments may enable secure configuration modifications to an industrial automation device 101.
[0026] For example, the changeset may include at least one of the following: a category of the changeset, one or more commands, and / or metadata. The metadata may include, for example, text for a user interface and / or one or more logs.
[0027] Non-limiting examples of metadata are provided below:
[0028] Category: parameterization;
[0029] Metadata: {description: "Changing these parameters: xy to 123and z.wto321 will reduce unwanted warning at process stop", timestamp: "2021-23-02 16:08", info_url: https: / / ...}
[0030] For example, the industrial automation device 101 may need to comply with IEC 62443-4-2SL4. IEC 62443-4-2SL4 is a security standard for industrial automation and control systems (IACS) published by the International Electrotechnical Commission (IEC). It specifies requirements for implementing and maintaining IACS security at security level 4 (SL4) in the IEC 62443 security framework. Security level 4 is the highest security level in the IEC 62443 framework and is applicable to systems that are considered critical to national security, public safety, or the environment. These systems may be high-value targets for attackers, and the consequences of a successful attack may be severe. The IEC 62443-4-2SL4 standard provides guidance for implementing security controls and practices to protect IACS at this high security level. It covers topics such as risk assessment, security policies and procedures, access control, network security, system hardening, and incident response. Compliance with the IEC 62443-4-2SL4 standard can help organizations ensure the security of their critical IACS systems, reduce the risk of cyber attacks, and meet regulatory requirements. For example, regarding CR 2.1 Authorization Enforcement, when an action may have a serious impact on an industrial process, requirement enhancement RE4 may specify a “dual approval” requirement.
[0031] The change set can be deployed to the industrial automation device 101 through a remote connection initiated from the cloud service 103 and terminated at the industrial automation device 101. The cloud service 103 can communicate with the industrial automation device 101 via the edge gateway 102. Alternatively, the cloud service 103 can communicate directly with the industrial automation device 101. The high-level service can provide a mechanism to propose and apply the change set through a remote connection from the cloud service 103.
[0032] The authenticity of the changeset can be verified by verifying the digital signature of the changeset against a pre-stored public key at the last possible stage, for example at the control unit of the industrial automation device 101. In addition, the actual application of the changeset can be approved by user interaction or a pre-stored approval token.
[0033] A digital signature is a cryptographic technique used to verify the authenticity and integrity of digital data, such as a changeset. A digital signature provides a way to ensure that data has not been tampered with or altered during transmission. A digital signature can be created using a combination of hashing and asymmetric encryption. A digital signature can be generated using a hash function to generate a unique value representing the data being signed. A hash function is a mathematical algorithm that takes input data and produces a fixed-length output value that is unique to that data. The hash value can then be encrypted using a private key to generate a digital signature. The private key is only known to the signer (e.g., cloud service 103) and is kept secret. The resulting digital signature can be attached to the signed changeset and transmitted to the industrial automation device 101.
[0034] To verify the digital signature, the industrial automation device 101 uses the sender's public key to decrypt the digital signature and obtain a hash value. The industrial automation device 101 then applies the same hash function to the original data to generate a new hash value. If the two hash values match, it means that the data has not been tampered with and the digital signature is authentic (i.e., the digital signature is verified). In public key cryptography, the private key is kept secret by the owner (e.g., cloud service 103), and the public key is freely available to anyone who wants to send or receive encrypted messages to or from the owner.
[0035] Industrial automation equipment 101 may include, for example, at least one of the following: a frequency converter, a variable frequency drive, a variable speed drive, a motion drive, a motion controller, a motor, a servo motor, an AC / DC module, a DC / AC module, a DC / DC module, a programmable logic controller (PLC), a switch, a soft starter, a robot, or any other device used for industrial automation. For example, a variable frequency drive or a variable speed drive can be used to run machinery, such as a motor or a pump, at different speeds. Industrial automation equipment 101 may include a controller or be connected to a controller, such as a proportional-integral-differential (PID) controller. The controller may be configured to send a control signal to industrial automation equipment 101. Industrial automation equipment 101 can control highly dynamic industrial processes, where, for example, the speed or torque applied to the motor must be changed according to the needs of the industrial process.
[0036] The industrial automation device 101 may store information about control parameter settings, such as current values of control parameters, such as controller gains, ramp times, motor data, limits, magnetization settings, signal filter settings, and / or motor control settings, for example, in an internal memory or an external memory of the industrial automation device. The industrial automation device 101 may also store operational information recorded during operation of the industrial automation device, such as information about key performance indicators, such as load current histograms, torque ripple, torque and speed curves and / or power and speed curves, temperatures, voltages, currents, and / or other information, such as resonant frequencies and / or load inertia.
[0037] The industrial automation device 101 may include a communication interface that provides a connection to the edge gateway 102. The connection between the industrial automation device 101 and the edge gateway 102 may be provided, for example, via Bluetooth, Bluetooth Low Energy, ZigBee, Wireless Local Area Network (WLAN or WiFi), Wireless Mesh Network, Near Field Communication (NFC), Li-Fi, Ethernet, or any other wireless or wired connection. The industrial automation device 101 may be configured to exchange information with the edge gateway 102 via the connection, i.e., transmit and / or receive data. For example, the industrial automation device 101 may be configured to apply a configuration change that is received via the edge gateway 102.
[0038] The edge gateway 102 (also known as the Internet of Things (IoT) gateway) is a device that acts as a bridge between a device (e.g., an industrial automation device 101) or a sensor at the edge of the network and the cloud service 103. The edge gateway 102 acts as a point for aggregation, control, and analysis of data generated by the industrial automation device 101. The main function of the edge gateway 102 is to collect and process data from devices (such as industrial automation devices 101) and transmit the data to the cloud service 103 for further analysis and storage. This can help reduce the amount of data that needs to be transmitted over the network because the edge gateway 102 can perform filtering and processing on the data locally before transmitting the data to the cloud service 103. The edge gateway 102 can also provide additional functionality and services, such as security, device management, and analysis. These can include features such as local storage, protocol conversion, and data transformation, and can support various communication protocols and standards, such as Message Queuing Telemetry Transport (MQTT), Hypertext Transfer Protocol (HTTP), and Constrained Application Protocol (CoAP).
[0039] The edge gateway 102 may be a local device located on-site in close proximity to the industrial automation device 101. The edge gateway 102 is equipped with a communication interface to provide connectivity to the industrial automation device 101, such as via Bluetooth, Bluetooth Low Energy, ZigBee, wireless local area network (WLAN or WiFi), wireless mesh network, near field communication (NFC), Light Fiber (Li-Fi), Ethernet, or any other wireless or wired connection.
[0040] In addition, the edge gateway 102 can be connected to the Internet via a network interface, such as 3G, 4G, LTE, LTE-A, 5G, 5G NR, 6G, UMTS, EDGE, WCDMA, WLAN, Wi-Fi, Li-Fi, Ethernet, or any other mobile, wireless or wired network.
[0041] Alternatively, the industrial automation device 101 can be directly connected to the cloud service 103 via a network interface, such as 3G, 4G, LTE, LTE-A, 5G, 5G NR, 6G, UMTS, EDGE, WCDMA, WLAN, Wi-Fi, Li-Fi, or any other mobile, wireless, or wired network.
[0042] Cloud services 103 are a type of service that provides computing resources and functionality over the Internet or a private network. Cloud services allow users to access computing resources and services without having to build or maintain infrastructure themselves. Cloud services are hosted and maintained by cloud providers, who are responsible for managing the underlying infrastructure and ensuring the availability and reliability of the services. Cloud services 103 can be configured to exchange information with industrial automation devices 101, i.e., transmit and / or receive data, directly or via edge gateways 102.
[0043] In an example embodiment, the cloud service 103 can be configured to perform at least the following operations or include components for performing at least the following operations: generating a first change set for the industrial automation device 101, wherein the first change set includes a data packet for modifying a configuration or state of the industrial automation device 101; using a private key to generate a first digital signature for the first change set; and transmitting the first change set with the first digital signature to the edge gateway 102.
[0044] The edge gateway 102 may be configured to perform at least the following operations or include components for performing at least the following operations: receiving a first change set with a first digital signature from the cloud service 103 ; and transmitting the first change set with the first digital signature to the industrial automation device 101 .
[0045] The industrial automation device 101 can be configured to perform at least the following operations or include components for performing at least the following operations: receiving a first change set with a first digital signature from the edge gateway 102; verifying the first digital signature of the first change set based on a pre-stored public key corresponding to a private key; obtaining approval to apply the first change set in response to verifying the digital signature of the first change set; and applying the first change set in response to obtaining approval.
[0046] Figure 2 A signal flow diagram according to an example embodiment is illustrated.
[0047] See also Figure 2 At 201 , the cloud service 103 generates an authentication key pair including a private key and a public key. The private key may be securely stored at the cloud service 103 .
[0048] At 202 , the cloud service 103 transmits a public key to the industrial automation (IA) device 101 via the edge gateway (GW) 102 . For example, the public key may be delivered to the industrial automation device 101 as plain text and stored at the industrial automation device 101 .
[0049] At 203 , the cloud service 103 generates a first changeset for the industrial automation device 101 , wherein the first changeset includes a data package for modifying a configuration or a state of the industrial automation device 101 .
[0050] At 204 , the cloud service 103 generates a first digital signature for the first changeset using the private key. In other words, the first changeset is signed using the private key. As mentioned above, the public key corresponding to the private key is stored in the industrial automation device 101 .
[0051] At 205, the cloud service 103 transmits the first change set with the first digital signature to the industrial automation device 101 via the edge gateway 102. In other words, the cloud service 103 transmits the first change set with the first digital signature to the edge gateway 102 connected to the cloud service 103, and the edge gateway 102 transmits the first change set with the first digital signature to the industrial automation device 101. Therefore, the industrial automation device 101 receives the first change set with the first digital signature from the cloud service 103 through the remote connection. For example, the first change set with the first digital signature can be transmitted to the industrial automation device 101 through an Ethernet connection.
[0052] At 206 , the industrial automation device 101 verifies the first digital signature of the first changeset based on a pre-stored public key corresponding to the private key used to generate the first digital signature at the cloud service 103 . In this case, the verification is successful.
[0053] At 207 , the industrial automation device 101 obtains approval to apply the first changeset in response to verifying the first digital signature of the first changeset.
[0054] For example, approval may be obtained by looking up a pre-stored approval token corresponding to the first changeset. An approval token is a unique token or code that is used to authorize a specific action, such as applying the first changeset. For example, an approval token may be used in a situation where an individual or organization needs to grant pre-approval to apply a changeset (e.g., without a user being present to manually provide approval).
[0055] As another example, approval can be obtained by receiving user input indicating approval. For example, before receiving the user input indicating approval, the industrial automation device 101 can store the first changeset in a list that can be monitored by the user interface, and the user can then evaluate the first changeset via the user interface and provide user input indicating approval. In response to not finding a pre-stored approval token, the first changeset can be stored in the list.
[0056] For example, a user interface may refer to a human-machine interface (HMI). Some examples of user interfaces include, but are not limited to, a control panel, a mobile application, a personal computer (PC) tool, a control system, or a data model that provides a browsable collection or array or list of changeset objects with metadata, each of which has a method to be executed.
[0057] At 208, the industrial automation device 101 may store information indicating at least approval to apply the first changeset in an event log. An event log is a record of events that have occurred within the industrial automation device 101. For example, an event log may include a chronological record of events that captures information such as the time the event occurred, the source of the event, and details of the event itself. Approval is an example of an event. The event log may store information about changesets, such as approvals, deletions, approval token list operations, and direct local HMI control event logs.
[0058] At 209, the industrial automation device 101 applies the first changeset at the industrial automation device 101 in response to obtaining the approval. Applying the first changeset means that the industrial automation device 101 modifies the configuration or state of the industrial automation device 101 as indicated in the first changeset.
[0059] Figure 3 A signal flow diagram according to an example embodiment is illustrated. Figure 2 In addition to the functions shown in the figure or as Figure 2 Instead of the functions shown in the figure, you can perform Figure 3 The functions shown in the figure.
[0060] See also Figure 3 At 301 , the attacker transmits a second change set having a second digital signature to the industrial automation device 101 , wherein the second change set includes a data packet for modifying a configuration or a state of the industrial automation device 101 .
[0061] The second changeset may be different from the first changeset transmitted from the cloud service 103, and the second digital signature may be different from the first digital signature of the first changeset. For example, the second changeset may include a harmful configuration that, if applied, will damage the industrial automation device 101. The attacker may transmit the second changeset to the industrial automation device 101 directly or via the edge gateway 102.
[0062] An attacker is a person or entity that attempts to compromise the security of a cryptographic system. This may include attempts to intercept or modify encrypted messages, or attempts to access private keys or other sensitive information. In other words, an attacker is an entity distinct from cloud service 103.
[0063] For example, an attacker may attempt to perform a man-in-the-middle attack that involves intercepting messages (e.g., the first changeset) between the cloud service 103 and the industrial automation device 101 and changing them in transit, which would allow the attacker to read or modify the contents of the messages. However, because the attacker does not have access to the private key of the cloud service 103, the attacker cannot decrypt the message and read its contents. This effectively prevents the attacker from being able to view or modify the message (e.g., the first changeset).
[0064] At 302, the industrial automation device 101 attempts to verify the second digital signature of the second changeset based on a pre-stored public key corresponding to a private key stored at the cloud service 103. However, in this case, the verification fails because the attacker cannot generate the second digital signature using the private key of the cloud service 103. In other words, the second digital signature is invalid.
[0065] At 303 , the industrial automation device 101 discards the second changeset in response to failing to verify the second digital signature of the second changeset. In other words, in this case, the industrial automation device 101 does not apply the second changeset at the industrial automation device 101 .
[0066] At 304 , the industrial automation device 101 can indicate a warning in response to failing to verify the second digital signature of the second changeset.
[0067] For example, the industrial automation device 101 may indicate the warning to the user as a warning message on a display of the user interface.
[0068] As another example, the industrial automation device 101 may indicate a warning by generating an audible or visual alarm, such as a beep or a flashing light, to gain the user's attention.
[0069] As another example, the industrial automation device 101 may indicate a warning by disabling itself or preventing it from performing further actions until the verification failure is resolved. This will help ensure that the industrial automation device 101 does not continue to operate with potentially compromised configuration data.
[0070] Figure 4 A signal flow diagram according to an example embodiment is illustrated. Figure 2 and / or Figure 3 In addition to the functions shown in the figure or as Figure 2 and / or Figure 3 Instead of the functions shown in the figure, you can perform Figure 4 The functions shown in the figure.
[0071] See also Figure 4 At 401 , the cloud service 103 generates a third change set for the industrial automation device 101 , wherein the third change set includes a data packet for modifying a configuration or a state of the industrial automation device 101 .
[0072] At 402 , the cloud service 103 generates a third digital signature for the third changeset using the private key stored at the cloud service 103 . In other words, the third changeset is signed using the private key. As mentioned above, the public key corresponding to the private key is stored at the industrial automation device 101 .
[0073] The third changeset can be different from Figure 2 The third digital signature may be different from the first digital signature of the first changeset.
[0074] At 403, the cloud service 103 transmits the third changeset with the third digital signature to the industrial automation device 101 via the edge gateway 102. In other words, the cloud service 103 transmits the third changeset with the third digital signature to the edge gateway 102 connected to the cloud service 103, and the edge gateway 102 transmits the third changeset with the third digital signature to the industrial automation device 101. Therefore, the industrial automation device 101 receives the third changeset with the third digital signature from the cloud service 103 through the remote connection. For example, the third changeset with the third digital signature can be transmitted to the industrial automation device 101 through an Ethernet connection.
[0075] At 404 , the industrial automation device 101 verifies the third digital signature of the third changeset using a pre-stored public key corresponding to the private key used to generate the third digital signature at the cloud service 103 . In this case, the verification is successful.
[0076] At 405, the industrial automation device 101 attempts to obtain approval to apply the third changeset in response to verifying the third digital signature of the third changeset. For example, the industrial automation device 101 can store the third changeset to a list that can be monitored by the user interface. However, in this case, the industrial automation device 101 receives user input via the user interface indicating rejection of the third changeset. In other words, the industrial automation device 101 fails to obtain approval.
[0077] At 406 , the industrial automation device 101 deletes the third changeset in response to receiving the user input indicating rejection of the third changeset. In other words, the industrial automation device 101 does not apply the third changeset in this case.
[0078] The terms "first changeset", "second changeset", and "third changeset" are used herein to distinguish between changesets, and they do not necessarily imply a particular order of the changesets. Similarly, the terms "first digital signature", "second digital signature", and "third digital signature" are used to distinguish between digital signatures, and they do not necessarily imply a particular order of the digital signatures.
[0079] Figure 5 A flow chart according to an example embodiment of a method performed by an apparatus such as, including, or comprised in an industrial automation device 101 is illustrated. The industrial automation device 101 may be, for example, a variable speed drive or any other industrial automation device.
[0080] See also Figure 5 In block 501 , an industrial automation device receives a first change set having a first digital signature generated using a private key, wherein the first change set includes a data packet for modifying a configuration or a state of the industrial automation device.
[0081] For example, a first changeset having a first digital signature can be received from cloud service 103 through a remote connection. The first changeset having a first digital signature can be received via edge gateway 102 connected to cloud service 103.
[0082] In block 502 , an industrial automation device verifies a first digital signature of a first changeset based on a pre-stored public key corresponding to a private key.
[0083] In block 503 , the industrial automation device obtains approval to apply the first changeset in response to verifying the first digital signature of the first changeset, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first changeset or by receiving user input indicating approval.
[0084] Prior to receiving the user input indicating approval, the industrial automation device can store the first changeset to a list that can be monitored by a user interface, and the user can then evaluate the first changeset via the user interface and provide the user input indicating approval. For example, the user interface can refer to a human-machine interface (HMI). In response to not finding a pre-stored approval token, the first changeset can be stored in the list.
[0085] The industrial automation device may store information in an event log indicating at least approval to apply the first changeset.
[0086] In block 504 , the industrial automation device applies a first changeset in response to obtaining the approval.
[0087] The industrial automation device may receive the second changeset having the second digital signature and discard the second changeset in response to failing to verify the second digital signature of the second changeset. The industrial automation device may indicate a warning in response to failing to verify the second digital signature of the second changeset.
[0088] The industrial automation device may receive a third changeset having a third digital signature generated using the private key. The industrial automation device may verify the third digital signature of the third changeset using a pre-stored public key corresponding to the private key. The industrial automation device may receive user input indicating a rejection of the third changeset. The industrial automation device may delete the third changeset in response to receiving the user input indicating a rejection.
[0089] Figure 6A flow chart according to an example embodiment of a method performed by an apparatus such as, including, or comprised in an industrial automation device 101 is illustrated. The industrial automation device may be, for example, a variable speed drive or any other industrial automation device.
[0090] Figure 6 An example of an approval process for approving a change set is illustrated. The actual command approval process can occur inside the firmware of the industrial automation device 101. A digital signature can be used to verify the source of the proposed change set. For example, a pre-approved token can be set up for a remote site with no users. In this way, configuration suggestions can be made through the cloud service even when there are no users on site where the industrial automation device is located. Alternatively, approval can be performed by a local user of the industrial automation device from a control room, such as by using a PC tool, a mobile application, or an external supervisory control and data acquisition (SCADA) system, or during a physical visit by a service engineer on site.
[0091] See also Figure 6 In block 601, an industrial automation device receives a change set having a digital signature generated using a private key, wherein the change set includes a data packet for modifying a configuration or state of the industrial automation device. The change set may refer to, for example, the first change set, the second change set, or the third change set mentioned above.
[0092] For example, a changeset with a digital signature may be received from cloud service 103 through a remote connection. A changeset with a digital signature may be received via edge gateway 102 connected to cloud service 103. An industrial automation device may receive a changeset from a cloud service through a cloud-specific application programming interface (API).
[0093] In block 602 , the industrial automation device attempts to verify a digital signature of a changeset based on a pre-stored public key corresponding to a private key.
[0094] In block 603 , if the industrial automation device fails to verify the digital signature (block 602 : NO), the industrial automation device discards the changeset without applying it.
[0095] Alternatively, in block 604, if the industrial automation device successfully verifies the digital signature (block 602: yes), the industrial automation device attempts to find a pre-stored approval token corresponding to the changeset from a list of pre-approved tokens. The approval token indicates pre-approval of the application changeset.
[0096] An approval token can be generated using a service that creates a signed approval token that can be stored in a specific industrial automation device. The generated approval token is stored in a pre-approved token list. A user can manage (e.g., view, add, delete, or disable) approval tokens using a local user interface.
[0097] In block 605, if a pre-stored approval token is found (block 604: yes), the industrial automation device applies the change set because the change set is pre-approved. For example, the change set can indicate a category of the change set (e.g., A, B, C, or D), and if the category of the change set matches a pre-approved category in the pre-approved token list, then the approval token can be considered to be found. For example, if the change set is associated with category A, and the pre-approved token list includes a pre-stored approval token for category A, then the change set is applied based on the pre-stored approval token approval associated with category A.
[0098] Alternatively, in block 606, if no pre-stored approval token is found (block 604: No), the industrial automation device stores the changeset to a list of changesets that can be monitored by a user interface. For example, if the changeset is associated with category C, and the list of pre-approved tokens includes pre-stored approval tokens for categories A, B, and D (but not C), no pre-stored approval token is found. In this case, approval must be given through a user interface (e.g., HMI) through a local tool API before the changeset is applied. If the changeset is not approved, it will stay in the list until it is cleared or rejected. Rejecting a changeset will effectively delete the changeset.
[0099] In block 607 , in response to storing the changeset in the list, the industrial automation device receives user input indicating approval or denial of application of the changeset.
[0100] In block 608, if the industrial automation device has received user input indicating approval (block 607: yes), the industrial automation device applies the changeset. In this case, the industrial automation device may store information indicating at least approval to apply the changeset in an event log.
[0101] Alternatively, in block 609, if the industrial automation device has received user input indicating a rejection of the changeset (block 607: No), the industrial automation device deletes the changeset without applying it. In this case, the industrial automation device can store information indicating at least the rejection of the changeset and / or the deletion of the changeset in an event log. The event log can store information about changesets, such as approval, deletion, operations (e.g., viewing, adding, deleting, disabling) of a pre-approved token list, and direct local HMI control event logs.
[0102] The technical advantages provided by the above-described example embodiments are that they can improve the network security of applying change sets to industrial automation devices. For example, they can enable secure remote debugging of industrial automation devices through zero-touch debugging. In addition, they can also provide IEC 62443-4-2SL4 compliance for remote access.
[0103] Above through Figure 2-Figure 6 The boxes, related functions and information exchanges (messages) described herein are not absolutely arranged in chronological order, and some of them can be performed simultaneously or in an order different from the described order. Other functions can also be performed between them or inside them, and other information can be sent and / or other rules can be applied. Some boxes or parts of boxes or one or more information can also be omitted or replaced by corresponding boxes or parts of boxes or one or more information.
[0104] Figure 7 An example embodiment of an apparatus 700 including components for performing one or more of the above-described example embodiments is illustrated. The apparatus 700 may be, include, or be included in an industrial automation device 101. The industrial automation device may be, for example, a variable speed drive or any other industrial automation device.
[0105] The device 700 may include a circuit system or a chipset suitable for implementing one or more of the above-described example embodiments. For example, the device 700 may include at least one processor 710. The at least one processor 710 interprets instructions (e.g., computer program instructions) and processes data. The at least one processor 710 may include one or more programmable processors. The at least one processor 710 may include programmable hardware with embedded firmware, and may alternatively or additionally include one or more application specific integrated circuits (ASICs).
[0106] At least one processor 710 is coupled to at least one memory 720. At least one processor is configured to read data from at least one memory 720 and write data to at least one memory 720. At least one memory 720 may include one or more memory cells. The memory cell may be volatile or non-volatile. It is worth noting that there may be one or more non-volatile memory cells and one or more volatile memory cells, or alternatively, one or more non-volatile memory cells, or alternatively, one or more volatile memory cells. Volatile memory may be, for example, a random access memory (RAM), a dynamic random access memory (DRAM), or a synchronous dynamic random access memory (SDRAM). Non-volatile memory may be, for example, a read-only memory (ROM), a programmable read-only memory (PROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, an optical storage device, or a magnetic storage device. In general, a memory may be referred to as a non-transitory computer-readable medium. As used herein, the term "non-transitory" is a restriction on the medium itself (i.e., tangible, not a signal), rather than a restriction on data storage persistence (e.g., RAM and ROM). At least one memory 720 stores computer readable instructions that are executed by at least one processor 710 to perform one or more of the above-described example embodiments. For example, non-volatile memory stores computer readable instructions, and at least one processor 710 uses volatile memory for temporary storage of data and / or instructions to execute instructions. Computer readable instructions may refer to computer program code.
[0107] The computer readable instructions may have been pre-stored to at least one memory 720, or alternatively or additionally, they may be received by the device via an electromagnetic carrier signal and / or may be copied from a physical entity such as a computer program product. The execution of the computer readable instructions by at least one processor 710 causes the device 700 to perform one or more of the above-described example embodiments. That is, at least one processor and at least one memory storing instructions may provide means for providing or causing the execution of any of the above-described methods and / or blocks.
[0108] In the context of this document, "memory" or "computer-readable medium" or "computer-readable medium" can be any one or more non-transitory media or components that can contain, store, communicate, propagate or transport instructions for use by or in connection with an instruction execution system, apparatus or device (such as a computer). As used herein, the term "non-transitory" is a limitation on the medium itself (i.e., tangible, not a signal), not on data storage persistence (e.g., RAM vs. ROM).
[0109] The device 700 may also include or be connected to an input unit 730. The input unit 730 may include one or more interfaces for receiving input. The one or more interfaces may include, for example, one or more temperature, motion and / or orientation sensors, one or more cameras, one or more accelerometers, one or more microphones, one or more buttons and / or one or more touch detection units. In addition, the input unit 730 may include an interface to which an external device may be connected.
[0110] The apparatus 700 may also include an output unit 740. The output unit may include or be connected to one or more displays capable of rendering visual content, such as a light emitting diode (LED) display, a liquid crystal display (LCD) and / or a liquid crystal on silicon (LCoS) display. The output unit 440 may also include one or more audio outputs. The one or more audio outputs may be, for example, a speaker.
[0111] The device 700 also includes a connectivity unit 750. The connectivity unit 750 implements wired and / or wireless connections with one or more external devices. The connectivity unit 750 may include at least one transmitter and at least one receiver, which may be integrated into the device 700 or the device 700 may be connected thereto. At least one transmitter includes at least one transmitting antenna, and at least one receiver includes at least one receiving antenna. The connectivity unit 750 may include an integrated circuit or a group of integrated circuits that provide communication capabilities for the device 700. Alternatively, the connectivity may be a hardwired application-specific integrated circuit (ASIC). The connectivity unit 750 may also provide a component for performing at least some of the blocks or functions of one or more of the example embodiments described above. The connectivity unit 750 may include one or more components, such as a power amplifier, a digital front end (DFE), an analog-to-digital converter (ADC), a digital-to-analog converter (DAC), a frequency converter, a (de)modulator, and / or an encoder / decoder circuit system, which is controlled by a corresponding control unit.
[0112] It should be noted that the device 700 may also include Figure 7 Various components not shown in the figure. The various components can be hardware components and / or software components.
[0113] As used in this application, the term "circuitry" may refer to one or more or all of the following: a) a pure hardware circuit implementation (such as an implementation solely in analog and / or digital circuitry); b) a combination of hardware circuitry and software, such as (if applicable): i) a combination of (multiple) analog and / or digital hardware circuits with software / firmware, and ii) any portion of a (multiple) hardware processor with software (including (multiple) digital signal processors, software and (multiple) memories that work together to enable a device such as a mobile phone to perform various functions; c) hardware circuitry and / or processor(s) that require software (e.g. firmware) to operate, such as (multiple) microprocessors or portions of (multiple) microprocessors, but the software may be present when it is not required for operation.
[0114] This definition of circuitry applies to all uses of the term in this application, including in any claims. As a further example, as used in this application, the term "circuitry" also covers an implementation of only a hardware circuit or processor (or multiple processors) or a portion of a hardware circuit or processor and its (or their) accompanying software and / or firmware. By way of example and where applicable to a particular claim element, the term "circuitry" also covers a baseband integrated circuit or processor integrated circuit for a mobile device, or a similar integrated circuit in a server, cellular network device, or other computing or network device.
[0115] The techniques and methods described herein can be implemented by various means. For example, these techniques can be implemented in hardware (one or more devices), firmware (one or more devices), software (one or more modules), or a combination thereof. For hardware implementation, the (multiple) devices of the example embodiments can be implemented in the following devices: one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), graphics processing units (GPUs), processors, controllers, microcontrollers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof. For firmware or software, the implementation can be performed by a module (e.g., a program, a function, etc.) of at least one chipset that performs the functions described herein. The software code can be stored in a memory unit and executed by a processor. The memory unit can be implemented within a processor or outside a processor. In the latter case, as is known in the art, it can be communicatively coupled to the processor via various means. In addition, the components of the system described herein can be rearranged and / or supplemented by additional components to facilitate implementation of various aspects of its description, etc., and they are not limited to the precise configurations set forth in a given figure, as will be understood by those skilled in the art.
[0116] It is obvious to those skilled in the art that, as technology advances, the inventive concept can be implemented in various ways. The embodiments are not limited to the above-described example embodiments, but may vary within the scope of the claims. Therefore, all words and expressions should be interpreted broadly, and they are intended to illustrate rather than limit the example embodiments.
Claims
1. An industrial automation device, comprising at least one processor and at least one memory storing instructions, wherein when the at least one processor executes the instructions, the industrial automation device at least: receiving a first changeset having a first digital signature generated using a private key, wherein the first changeset includes a data packet for modifying a configuration or state of the industrial automation device; verifying the first digital signature of the first changeset based on a pre-stored public key corresponding to the private key; obtaining approval to apply the first changeset in response to verifying the first digital signature of the first changeset, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first changeset or by receiving user input indicating the approval; as well as The first changeset is applied in response to obtaining the approval.
2. The industrial automation equipment according to claim 1, further comprising: Prior to receiving the user input indicative of the approval, the first changeset is stored in a list monitorable by a user interface. 3 . The industrial automation device of claim 2 , wherein: in response to not finding the pre-stored approval token corresponding to the first changeset, storing the first changeset to the list.
4. The industrial automation equipment according to claim 1 or 2, further comprising: Information indicating at least the approval to apply the first changeset is stored in an event log. 5 . The industrial automation device of claim 1 , wherein the first changeset having the first digital signature is received from a cloud service via a remote connection. 6 . The industrial automation device of claim 5 , wherein the first changeset having the first digital signature is received via an edge gateway connected to the cloud service.
7. The industrial automation device according to claim 1, further comprising: receiving a second changeset having a second digital signature; and The second changeset is discarded in response to a failure to verify the second digital signature of the second changeset.
8. The industrial automation device according to claim 7, further comprising: A warning is indicated in response to a failure to verify the second digital signature of the second changeset.
9. The industrial automation equipment according to claim 1 or 2, further comprising: receiving a third changeset having a third digital signature generated using the private key; verifying the third digital signature of the third changeset using the pre-stored public key corresponding to the private key; receiving user input indicating rejection of the third changeset; as well as The third changeset is deleted in response to receiving the user input indicating the rejection.
10. The industrial automation device according to claim 1 or 2, wherein the industrial automation device is a variable speed drive.
11. A method for improving network security, the method comprising: receiving, by an industrial automation device, a first changeset having a first digital signature generated using a private key, wherein the first changeset includes a data packet for modifying a configuration or state of the industrial automation device; verifying, by the industrial automation device, the first digital signature of the first changeset based on a pre-stored public key corresponding to the private key; obtaining, by the industrial automation device in response to verifying the first digital signature of the first changeset, approval to apply the first changeset, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first changeset or by receiving user input indicating the approval; as well as The first changeset is applied by the industrial automation device in response to obtaining the approval.
12. A computer-readable medium comprising program instructions, the program instructions being used to cause an industrial automation device to perform at least the following operations: receiving a first changeset having a first digital signature generated using a private key, wherein the first changeset includes a data packet for modifying a configuration or state of the industrial automation device; verifying the first digital signature of the first changeset based on a pre-stored public key corresponding to the private key; obtaining approval to apply the first changeset in response to verifying the first digital signature of the first changeset, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first changeset or by receiving user input indicating the approval; as well as The first changeset is applied in response to obtaining the approval.
13. A system for improving network security, the system comprising at least a cloud service, an edge gateway and an industrial automation device; The cloud service is configured as follows: generating a first change set for the industrial automation device, wherein the first change set includes a data packet for modifying a configuration or a state of the industrial automation device; generating, using a private key, a first digital signature for the first changeset; as well as transmitting the first changeset having the first digital signature to the edge gateway; The edge gateway is configured as follows: receiving, from the cloud service, the first changeset having the first digital signature; and transmitting the first changeset having the first digital signature to the industrial automation device; The industrial automation equipment is configured as: receiving the first changeset having the first digital signature from the edge gateway; verifying the first digital signature of the first changeset based on a pre-stored public key corresponding to the private key; obtaining approval to apply the first changeset in response to verifying the first digital signature of the first changeset, wherein the approval is obtained by looking up a pre-stored approval token corresponding to the first changeset or by receiving user input indicating the approval; as well as The first changeset is applied in response to obtaining the approval.
