Security protection methods and related equipment for industrial control systems
By using the secure transport layer protocol of the signature server and the control terminal in the industrial control system to encrypt and sign verification tasks, establish a task whitelist, solving the security risks of illegal task execution in the industrial control system and improving the security of the system.
Patent Information
- Application Number
- CN201911403707.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-30
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2039-12-30
AI Technical Summary
Due to the security risks of accessing the industrial control system, illegal servers may disguise themselves as task servers to send unsafe tasks to the control terminal, resulting in security accidents such as data leakage and equipment damage.
Through the secure transport layer protocol between the signature server and the control terminal, the task information is encrypted and decrypted using the preset communication key, and through signature verification, a task whitelist is established to verify the security of the task and ensure that the control terminal only Perform signature verification task information.
It effectively avoids the control terminal performing illegal tasks disguised as task servers, improves the security of industrial control systems, and ensures the security of data and equipment.
Smart Images

Figure CN111083164B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network security technology, and in particular to a security protection method and related equipment for an industrial control system. Background Art
[0002] An industrial control system is a system consisting of a control terminal and a task server. The control terminal is generally a programmable logic controller (PLC) with networking function. The PLC can receive tasks issued by the task server through the network and control the industrial equipment connected to the PLC (for example, automatic machining centers and other automated industrial equipment) to start working according to the instructions of the task, thereby achieving the effect of remote automation control.
[0003] However, this type of industrial control system connected to the network has certain security risks. Specifically, there may be illegal servers disguised as the IP of the task server to send unsafe tasks to the control terminal. After the control terminal executes the unsafe task, data leakage, equipment damage and other security accidents may occur.
[0004] In summary, there is an urgent need for an effective security protection method for industrial control systems to avoid the above-mentioned security accidents in control terminals. Summary of the invention
[0005] Based on the above-mentioned problems of the prior art, the present application provides a security protection method and related equipment for an industrial control system to avoid security accidents caused by the control terminal executing illegal tasks.
[0006] In a first aspect, the present application provides a security protection method for an industrial control system, which is applied to a control terminal. The security protection method includes:
[0007] Receiving first encrypted information sent by a signature server based on a secure transport layer protocol; wherein the first encrypted information is obtained by the signature server encrypting the trusted task information and the signature of the trusted task information using a preset first communication key; the trusted task information refers to the task information sent by the task server; the signature of the trusted task information is obtained by the signature server calculating the trusted task information using a preset signature algorithm;
[0008] Decrypting the first encrypted information using the first communication key to obtain the trusted task information and the signature of the trusted task information;
[0009] For each item of the trusted task information, using the signature of the trusted task information to perform signature verification on the trusted task information;
[0010] The trusted task information that has passed the signature verification is recorded in the task whitelist; wherein the task whitelist serves as the basis for the control terminal to perform security verification on the received tasks.
[0011] Optionally, after recording the trusted task information that has passed the signature verification in the task whitelist, the process further includes:
[0012] Searching the task whitelist for task information that matches the task received by the control terminal;
[0013] If task information matching the task received by the control terminal is found, determining that the task has passed the security check and executing the task;
[0014] If no task information matching the task received by the control terminal is found, it is determined that the task has not passed the security check and the task is refused to be executed.
[0015] A second aspect of the present application provides a security protection method for an industrial control system, which is applied to a signature server. The security protection method includes:
[0016] receiving second encrypted information;
[0017] decrypting the second encrypted information using a preset second communication key;
[0018] If the decryption is successful, the decrypted task information is determined as trusted task information; wherein the trusted task information refers to the task information sent by the task server;
[0019] Calculating the trusted task information using a preset signature algorithm to obtain a signature of the trusted task information;
[0020] Encrypting the trusted task information and the signature of the trusted task information using the first communication key to obtain first encrypted information;
[0021] The first encrypted information is sent to the control terminal; wherein the first encrypted information is decrypted by the control terminal using the first communication key, and after the trusted task information passes the signature verification, the trusted task information is recorded in the task whitelist by the control terminal, and the task whitelist serves as the basis for the control terminal to perform security verification on the received tasks.
[0022] Optionally, after calculating the trusted task information by using a preset signature algorithm to obtain a signature of the trusted task information, the method further includes:
[0023] The signature of the trusted task information is sent to the task server.
[0024] A third aspect of the present application provides a security protection method for an industrial control system, which is applied to a task server. The security protection method includes:
[0025] Generate task information;
[0026] Encrypting the task information using the second communication key to obtain second encrypted information;
[0027] The second encrypted information is sent to the signature server; wherein, after the second encrypted information is decrypted by the signature server, the task information is provided to the control terminal as trusted task information and is recorded in the task whitelist by the control terminal; the task whitelist serves as the basis for the control terminal to perform security verification on the received tasks.
[0028] Optionally, the security protection method further includes:
[0029] Sending tasks to be executed to the control terminal; wherein the tasks to be executed are executed by the control terminal after passing the security check of the control terminal based on the task whitelist.
[0030] A fourth aspect of the present application provides a control terminal, including:
[0031] A receiving unit is used to receive first encrypted information sent by a signature server based on a secure transport layer protocol; wherein the first encrypted information is obtained by the signature server encrypting the trusted task information and the signature of the trusted task information using a preset first communication key; the trusted task information refers to the task information sent by the task server; the signature of the trusted task information is obtained by the signature server calculating the trusted task information using a preset signature algorithm;
[0032] a decryption unit, configured to decrypt the first encrypted information using the first communication key to obtain the trusted task information and a signature of the trusted task information;
[0033] A verification unit, configured to perform signature verification on each item of the trusted task information using the signature of the trusted task information;
[0034] The recording unit is used to record the trusted task information that has passed the signature verification in a task whitelist; wherein the task whitelist serves as a basis for the control terminal to perform security verification on the received tasks.
[0035] Optionally, also include:
[0036] A matching unit, used for searching a task whitelist for task information matching the task received by the control terminal;
[0037] Execution unit for:
[0038] If task information matching the task received by the control terminal is found, determining that the task has passed the security check and executing the task;
[0039] If no task information matching the task received by the control terminal is found, it is determined that the task has not passed the security check and the task is refused to be executed.
[0040] A fifth aspect of the present application provides a signature server, including:
[0041] A receiving unit, configured to receive second encrypted information;
[0042] A decryption unit, configured to decrypt the second encrypted information using a preset second communication key;
[0043] A determination unit, configured to determine the decrypted task information as trusted task information if the decryption is successful; wherein the trusted task information refers to the task information sent by the task server;
[0044] A signature unit, used to calculate the trusted task information using a preset signature algorithm to obtain a signature of the trusted task information;
[0045] an encryption unit, configured to encrypt the trusted task information and the signature of the trusted task information using a first communication key to obtain first encrypted information;
[0046] A sending unit is used to send the first encrypted information to a control terminal; wherein the first encrypted information is decrypted by the control terminal using the first communication key, and after the trusted task information passes the signature verification, the trusted task information is recorded in a task whitelist by the control terminal, and the task whitelist serves as a basis for the control terminal to perform security verification on the received tasks.
[0047] A sixth aspect of the present application provides a task server, including:
[0048] A generating unit, used for generating task information;
[0049] An encryption unit, used for encrypting the task information using a second communication key to obtain second encrypted information;
[0050] A sending unit is used to send the second encrypted information to the signature server; wherein, after the second encrypted information is decrypted by the signature server, the task information is provided to the control terminal as trusted task information and is recorded in the task whitelist by the control terminal; the task whitelist serves as the basis for the control terminal to perform security verification on the received tasks.
[0051] The present application provides a security protection method and related equipment for an industrial control system, wherein a control terminal receives a first encrypted message sent by a signature server; the first encrypted message is obtained by the signature server using a preset first communication key to encrypt the trusted task information and the signature of the trusted task information; the trusted task information is the task information sent by the task server; the first encrypted message is decrypted using the first communication key to obtain the trusted task information and the signature of the trusted task information; the signature is used to verify the signature of each trusted task information; the trusted task information that has passed the signature verification is recorded in a task whitelist; the task whitelist serves as the basis for the control terminal to perform security verification on the received tasks. In this solution, the control terminal uses the trusted task information provided by the signature server to establish a task whitelist, and judges whether the task it receives is safe based on the task whitelist, thereby avoiding security accidents caused by the control terminal executing unsafe tasks. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0053] Figure 1 A schematic diagram of the architecture of an industrial control system provided in an embodiment of the present application;
[0054] Figure 2 A flowchart of a security protection method for an industrial control system provided in an embodiment of the present application;
[0055] Figure 3 A flowchart of a security protection method for an industrial control system provided by another embodiment of the present application;
[0056] Figure 4 A schematic diagram of the structure of a control terminal provided in an embodiment of the present application;
[0057] Figure 5 A schematic diagram of the structure of a signature server provided in an embodiment of the present application;
[0058] Figure 6 A schematic diagram of the structure of a task server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] The key to the security protection method for industrial control systems provided by the present application is that the control terminal uses the trusted task information that has been verified by the signature provided by the signature server to establish and maintain a task whitelist. Based on this task whitelist, each time the control terminal receives a task, it uses this task whitelist to perform a security check on the received task. If the received task passes the security check, it is determined that the task is a security task provided by the task server and the task is executed; if the received task fails the security check, it is determined that the task is not a security task provided by the task server and the task is refused to be executed.
[0061] Among them, performing a security check on a task specifically refers to determining whether there is task information matching the task in the task whitelist. If there is matching task information in the task whitelist, the task passes the security check; if there is no matching task information in the task whitelist, the task fails the security check.
[0062] Through the method provided in the present application, the control terminal can avoid executing unsafe tasks provided by a third-party illegal server disguised as a task server, thereby effectively improving the security of the control terminal in the industrial control system.
[0063] In order to better understand the solution provided by this application, first combine Figure 1 The architectural schematic diagram shown illustrates the architecture of an industrial control system to which the embodiments of the present application are applicable.
[0064] like Figure 1 As shown, the industrial control system provided in the embodiment of the present application includes a signature server 100, a task server 200 and a PLC system 300, wherein the PLC system is equivalent to a control terminal connected to the signature server and the task server through a network, and the signature server and the task server are also connected through a network.
[0065] It should be noted that Figure 1 The schematic diagram is only for illustrating the connection relationship between the three types of devices. In an actual industrial control system, there may be multiple signature servers, task servers and PLC systems.
[0066] Combine the following Figure 1 The architecture of the industrial control system shown illustrates the security protection method provided by the present application.
[0067] First of all, it should be noted that, as mentioned above, the method provided by this application includes two steps: establishing and maintaining a task whitelist, and performing security verification and execution of received tasks based on the whitelist. Among them, the step of establishing a whitelist only needs to be executed once when the system is initialized to generate an initial task whitelist on the control terminal. After initialization, the maintenance of the task whitelist (which can be understood as updating the task whitelist) and the two steps of performing security verification and execution of tasks can be selected and executed at any time as needed during the operation of the industrial control system.
[0068] The following first introduces the method for controlling the terminal to establish and maintain the task whitelist in the embodiment of the present application, please refer to Figure 2 , the method comprises the following steps:
[0069] First of all, it should be explained that the method introduced in this embodiment can be executed in the initialization phase of the industrial control system to establish an initial task whitelist in the control terminal, and can also be executed during the operation of the industrial control system after the initialization is completed, so as to add the newly added task information to the current task whitelist of the control terminal, thereby achieving the effect of updating the task whitelist.
[0070] S201. The task server generates task information.
[0071] The task server is a server used to forward tasks to be executed to the control terminal. The tasks to be executed are submitted to the task server by users through network devices such as personal computers and mobile phones. The task server authenticates the network device that submitted the task. After the authentication is passed, the task server determines the task submitted by the network device as a task to be executed and provides it to the control terminal.
[0072] On the one hand, if the method provided in this embodiment is executed in the initialization phase of the system, the above-mentioned task information is a plurality of task information included in the initial information list generated by the task server. The task information in the initial information list is the initial task information generated based on the estimated tasks after estimating the tasks that may need to be executed when the industrial control system is running.
[0073] On the other hand, if the method provided in this embodiment is executed after the system initialization is completed, and is used to add new task information to the task whitelist of the control terminal, the above task information is the task information generated by the task server according to the task to be executed after receiving the task to be executed submitted by the network device.
[0074] Specifically, when the industrial control system is running, when the task server sends a task to the control terminal, the task information of the task may not be recorded in the initial information list, which may cause the control terminal to fail the security check of the task. In this case, the control terminal will refuse to execute the task and inform the task server that the task is refused to execute. After receiving the message that a certain task is refused to execute, the task server can execute the method provided in this embodiment to update the task whitelist of the control terminal, and then send the task again so that the task is executed. In this case, the task information in step S201 is the task information of the task that is refused to execute.
[0075] Optionally, the tasks that the control terminal needs to perform are generally provided to the task server in the form of control scripts. Therefore, for any task, the task server can convert the control script of the task into a text format. The control script of the task recorded in text form is the task information of this task.
[0076] S202. The task server encrypts the task information using the second communication key to obtain second encrypted information.
[0077] The second communication key here is the communication key pre-negotiated between the task server and the signature server. In other words, both the task server and the signature server store the second communication key. Based on the pre-negotiated second communication key, after receiving a piece of encrypted information, either the task server or the signature server can use the second communication key to decrypt the information. If the decryption fails, it means that the information is not sent by the other party. In addition, before either party sends information to the other party, it is encrypted with the pre-agreed second communication key to ensure that the encrypted information sent can only be parsed and used by the other party, preventing the sent information from being stolen by a third party.
[0078] S203: The task server sends the second encrypted information to the signature server.
[0079] Optionally, in step S203, the task server may send the second encrypted information to the signature server based on the Transport Layer Security (TLS) protocol. The TLS protocol includes two layers, namely, the Transport Layer Security Record protocol and the Transport Layer Security Handshake protocol. The TLS protocol can provide a reliable encryption mechanism for both communicating parties and supports identity authentication of both communicating parties, thereby ensuring the integrity and accuracy of data transmission.
[0080] S204: The signature server decrypts the second encrypted information using the second communication key.
[0081] As mentioned above, the second communication key is a key pre-agreed upon by the signature server and the task server. If the signature server fails to decrypt when executing step S204, it means that the received encrypted information may not be the encrypted information sent by the task server, or may be the encrypted information tampered with after being sent by the task server. Therefore, if the signature server fails to decrypt, the received encrypted information will be deleted.
[0082] Optionally, the signature server may send decryption failure information to the signature server after each decryption failure.
[0083] S205: The signature server determines the decrypted task information as credible task information.
[0084] If the signature server successfully decrypts the second encrypted information to obtain the task information, it means that the second encrypted information is indeed the encrypted information sent by the task server, and correspondingly, the task information carried by the second encrypted information is the task information provided by the task server. After the decryption is successful, the decrypted task information can be directly determined as the trusted task information.
[0085] Optionally, when the task server generates the second encrypted information, it can use the information digest algorithm to generate the information digest of the task information to be sent, and then encrypt the task information to be sent and the information digest of the task information together and send them to the signature server. In this case, after encrypting the task information, the signature server can use the information digest to perform an information integrity check on the task information to determine whether the second encrypted information is damaged during transmission or stolen by a third party.
[0086] S206: The signature server calculates the trusted task information using a preset signature algorithm to obtain a signature of the trusted task information.
[0087] In the present invention, the SM2 algorithm of the national secret standard is used as the signature algorithm in step S206. The SM2 algorithm is an asymmetric encryption algorithm developed based on the elliptic curve cryptography theory (ECC), which has the characteristics of strong anti-attack, low CPU occupancy, low content usage, low network consumption, and fast encryption speed.
[0088] Optionally, after completing the signature of the task information, the signature server can feedback the signature result to the task server. Specifically, the task server can be informed of which specific task information has completed the signature process, and the signature of the successfully signed task information can also be fed back to the task server. The task server can record the successfully signed task information, and before subsequently sending the task to the control terminal, first check whether the task information matching the task has been signed successfully. If the signature is successful, the task is directly sent to the control terminal. If the signature is not successful, the method provided in this embodiment is first executed to update the task information to the task whitelist of the control terminal to avoid the sent task being rejected by the control terminal.
[0089] S207: The signature server encrypts the trusted task information and its signature using the first communication key to obtain first encrypted information.
[0090] The first communication key is a communication key pre-negotiated between the signature server and the control terminal. The first communication key is stored between the signature server and the control terminal. Before either party sends information to the other party, it uses its own first communication key to encrypt the information. After the other party receives the information, it can use the other party's first communication key to decrypt it to obtain the information to be transmitted. This transmission method can effectively prevent the information transmitted by both parties from being stolen by a third-party server.
[0091] The first communication key and the second communication key may be the same key or two different keys.
[0092] S208. The signature server sends first encrypted information to the control terminal.
[0093] The communication between the signature server and the control terminal can also be carried out based on the TLS protocol to achieve identity authentication and data verification during the communication process.
[0094] S209: The control terminal decrypts and obtains the trusted task information and the signature of the trusted task information.
[0095] Specifically, the control terminal may use the first communication key to decrypt the first encrypted information, thereby obtaining the trusted task information carried by the first encrypted information and the signature of the trusted task information.
[0096] S210. The control terminal performs signature verification on each piece of trusted task information.
[0097] As described above, when this embodiment is executed in the system initialization phase, the task server provides an initial information list consisting of multiple task information. Correspondingly, the signature server will also provide multiple trusted task information to the control terminal. Therefore, in the initialization phase, the control terminal needs to perform signature verification on each trusted task information received.
[0098] If the signature server uses the SM2 algorithm to generate the signature of the task information, the control terminal can use the SM2 signature verification algorithm to verify the signature of each task information it receives, so as to determine whether the task information it receives matches the signature of the task information. For any task information, if the task information and its signature do not match, it means that the task information has not passed the signature verification. If the task information and the signature of the task information match, it means that the task information has passed the signature verification.
[0099] Optionally, after the control terminal completes the signature verification, it can feedback the signature verification result to the signature server, that is, feedback which task information passed the signature verification and which task information failed the signature verification. The signature server then saves the signature verification result and further feeds back the signature verification result to the task server, so that the task server also records the signature verification result.
[0100] S211. The control terminal records the trusted task information that has passed the signature verification in the task whitelist.
[0101] Optionally, the control terminal may first encrypt the trusted task information that has passed the signature verification, and then record the encrypted trusted task information in the task whitelist. The key used to encrypt the task information may be updated irregularly.
[0102] Specifically, if this embodiment is executed during the system initialization phase, when the control terminal executes step S211, it first establishes a list for recording trusted task information, and then encrypts multiple trusted task information that have passed signature verification one by one and records them in this list. After the recording is completed, the above list is equivalent to a task whitelist.
[0103] If this embodiment is executed after the system is initialized, the control terminal only needs to encrypt the newly added trusted task information that has passed the signature verification and directly record it in the task whitelist that has been established in the initialization phase.
[0104] In this embodiment, the task server encrypts the task information of the tasks that may be executed when the industrial control system is running and provides it to the signature server. After the signature server signs the task information, it provides the task information with the signature to the control terminal, so that the control terminal performs signature verification on the task information, and records the task information that passes the signature verification in the task whitelist. When a task is received later, the task whitelist can be used to perform a security check on the received task, and then decide whether to execute the task based on the result of the security check. Through the method provided in this embodiment, the control terminal can use the task whitelist to perform a security check on the received task, and will not execute the tasks that have not passed the task whitelist check, thereby effectively preventing the control terminal from executing unsafe tasks.
[0105] Furthermore, the security protection method for an industrial control system provided in the embodiment of the present application also has the following advantages:
[0106] First, this embodiment can use the SM2 algorithm as the signature algorithm to sign the task information and the corresponding signature verification. The SM2 algorithm has stronger encryption strength than the traditional encryption algorithm and is more conducive to protecting data integrity and security. In addition, the communication process between the signature server, the control terminal and the task server uses identity authentication and data verification, realizing two-factor authentication of data and having better security.
[0107] Second, compared with the existing security protection method based on feature scanning, the security verification based on task whitelist can effectively make up for the defects of the common security protection method based on feature scanning and provide a better security protection solution for industrial control systems.
[0108] Third, the existing security protection methods based on feature scanning generally require a large amount of memory for their scanning software, and applying them to control terminals composed of PLC devices will increase the cost of the equipment. In addition, the security protection methods based on feature scanning also require regular updates to the virus feature database, which increases the cost of system maintenance and updates. However, the security verification function implemented by this solution based on the task whitelist requires less memory, and the method provided in this embodiment can be executed at any time during the operation phase of the industrial control system to update the task whitelist, so the cost of maintenance and updates is lower than the cost required by the feature scanning method.
[0109] Combine the following Figure 3 In the security protection method for an industrial control system provided in an embodiment of the present application, the control terminal performs security verification on the received task and executes it. The method includes the following steps:
[0110] S301. The task server sends a task to be executed to the control terminal.
[0111] The above-mentioned tasks to be executed can be provided by a network device connected to the task server through the network. After receiving the tasks to be executed provided by the network device, the task server can first perform platform identity authentication on the network device that provides the tasks to be executed. Only after the network device passes the platform identity authentication, the task server will provide the tasks provided by the network device as tasks to be executed to the control terminal. On the contrary, if the network device fails to pass the platform identity authentication, the task server will refuse to send the tasks to the control terminal.
[0112] Optionally, the task server may provide the control terminal with the task to be executed and the identity information of the network device providing the task to be executed.
[0113] Optionally, the task server can also use the third communication key to encrypt the task to be executed, and then send the encrypted task to be executed to the control terminal based on the TLS protocol. The third communication key is a communication key pre-negotiated by the task server and the control terminal, that is, the task server and the control terminal both store the third communication key, and both parties can encrypt and decrypt the information to be transmitted based on the third communication key.
[0114] The third communication key and the second communication key may be the same key or different keys.
[0115] S302: The control terminal uses the task whitelist to perform security verification on the received tasks to be executed.
[0116] If the task to be executed fails the security check, step S303 is executed.
[0117] If the task to be executed passes the security check, step S304 is executed.
[0118] As mentioned above, the task whitelist stores several credible task information, and the task information can be a text converted from the script of the corresponding task. Therefore, the specific execution process of step S302 can be:
[0119] Search the task information in the task whitelist to determine whether there is task information in the task whitelist that matches the task to be executed.
[0120] The task information that matches the task to be executed refers to the task information converted from the script of the task to be executed.
[0121] If there is task information matching the task to be executed in the task whitelist, the task to be executed passes the security check, indicating that the task to be executed is a safe task and can be executed.
[0122] If there is no task information matching the task to be executed in the task whitelist, the task to be executed fails the security check, indicating that the task to be executed is an unsafe task, and thus the task is refused to be executed.
[0123] Optionally, if the control terminal and the task server have predetermined a third communication key for communication, and the task server encrypts the tasks sent down, then the above-mentioned tasks to be executed can be obtained by the control terminal using the third communication key to decrypt the encrypted tasks sent down by the task server.
[0124] Optionally, when executing step S302, if the task server provides the identity information of the network device providing the task to be executed and the task to be executed to the control terminal, the control terminal can also use the identity information of the network device to perform platform identity authentication on the network device providing the task to be executed.
[0125] When platform identity authentication is performed, the task to be executed is allowed to be executed only if it passes the security check and the network device providing the task to be executed passes the platform identity authentication. If any of these items fails, the control terminal refuses to execute the task.
[0126] Optionally, the task server may also send the task to be executed and the task summary to the control terminal. The control terminal may use the task summary to verify the data integrity of the task to be executed. If the data of the task to be executed is incomplete, then the communication between the task server and the control terminal may be unreliable. Therefore, if the task to be executed fails to pass the data integrity verification, the control terminal may also refuse to execute the task and execute step S303.
[0127] S303: The control terminal refuses to execute the task and feeds back an alarm message to the task server.
[0128] The alarm information is used to prompt that the pending task sent by the task server has not passed the security check of the control terminal and is therefore rejected by the control terminal.
[0129] The task server can execute the task after receiving the alarm information and confirming that the task to be executed is a safe dynamic task. Figure 2 The method described in the corresponding embodiment updates the task information of the task to be executed to the task whitelist through the signature server, and then sends the task to be executed to the control terminal so that the task to be executed can pass the security check.
[0130] The dynamic task refers to a task whose corresponding task information is not provided to the signature server during the system initialization phase.
[0131] S304: Control the terminal to load and execute the task to be executed.
[0132] Optionally, after executing step S304 and the control terminal starts to execute the task to be executed, the control terminal may further execute step S305:
[0133] S305: The control terminal periodically detects the execution process of the task to be executed.
[0134] Specifically, step S305 may be executed by the whitelist management module of the control terminal. The specific execution process of step S305 is:
[0135] The whitelist management module can monitor the parameters of the tasks to be executed in real time, measure these parameters, and determine whether the currently executed task is in the task whitelist based on the measurement results (that is, determine whether there is task information in the task whitelist that matches the currently executed task). If it is found that the currently executed task is not in the task whitelist, the whitelist management module reports an alarm message to prompt the control terminal that the currently executed task is an illegal task, thereby terminating the currently executed task in time.
[0136] In the security protection method provided by this embodiment, each time the control terminal receives a task to be executed, it uses the pre-established task whitelist to perform a security check on the task. If it is found that there is no task information matching the task to be executed in the task whitelist, the task is refused to be executed. This solution can ensure that the control terminal only executes tasks corresponding to the task information stored in the task whitelist, which has been pre-signed by the signature server and passed the signature verification, and does not execute tasks that do not have corresponding task information in the task whitelist, thereby avoiding security accidents caused by the control terminal executing tasks provided by untrusted servers.
[0137] In combination with the security protection method for an industrial control system provided in an embodiment of the present application, an embodiment of the present application also provides associated equipment, specifically including a task server, a signature server and a control terminal.
[0138] Please refer to Figure 4 The control terminal provided in this application includes the following units:
[0139] The receiving unit 401 is used to receive first encrypted information sent by a signature server based on the secure transport layer protocol.
[0140] Among them, the first encrypted information is obtained by the signature server using a preset first communication key to encrypt the trusted task information and the signature of the trusted task information; the trusted task information refers to the task information issued by the task server; the signature of the trusted task information is obtained by the signature server calculating the trusted task information using a preset signature algorithm.
[0141] The decryption unit 402 is used to decrypt the first encrypted information using the first communication key to obtain the trusted task information and the signature of the trusted task information.
[0142] The verification unit 403 is used to perform signature verification on each item of trusted task information using the signature of the trusted task information.
[0143] The recording unit 404 is used to record the trusted task information that has passed the signature verification in the task whitelist.
[0144] Among them, the task whitelist serves as the basis for the control terminal to perform security verification on the received tasks.
[0145] The control terminal also includes:
[0146] The matching unit 405 is used to search the task whitelist for task information that matches the task received by the control terminal.
[0147] The execution unit 406 is used to:
[0148] If the matching unit 405 finds task information that matches the task received by the control terminal, it determines that the task passes the security check and executes the task;
[0149] If the matching unit 405 fails to find out the task information matching the task received by the control terminal, it determines that the task has not passed the security check and refuses to execute the task.
[0150] Please refer to Figure 5 The embodiment of the present application further provides a signature server, which includes the following units:
[0151] The receiving unit 501 is configured to receive second encrypted information.
[0152] The decryption unit 502 is used to decrypt the second encrypted information using a preset second communication key.
[0153] The determination unit 503 is used to determine the decrypted task information as credible task information if the decryption is successful.
[0154] The trusted task information refers to the task information sent by the task server.
[0155] The signature unit 504 is used to calculate the trusted task information using a preset signature algorithm to obtain a signature of the trusted task information.
[0156] The encryption unit 505 is used to encrypt the trusted task information and the signature of the trusted task information by using the first communication key to obtain first encrypted information.
[0157] The sending unit 506 is used to send the first encrypted information to the control terminal.
[0158] Among them, the first encrypted information is decrypted by the control terminal using the first communication key, and after the trusted task information passes the signature verification, the trusted task information is recorded in the task whitelist by the control terminal, and the task whitelist serves as the basis for the control terminal to perform security verification on the received tasks.
[0159] The sending unit 506 is further configured to:
[0160] Send the signature result of the trusted task information to the task server.
[0161] The signature result specifically includes whether each task information is signed successfully, and the signature of the successfully signed trusted task information.
[0162] Please refer to Figure 6 The task server provided in this application includes the following units:
[0163] The generating unit 601 is used to generate task information.
[0164] The encryption unit 602 is used to encrypt the task information using the second communication key to obtain second encrypted information.
[0165] The sending unit 603 is used to send the second encrypted information to the signature server.
[0166] Among them, after the second encrypted information is decrypted by the signature server, the task information is provided to the control terminal as trusted task information and recorded in the task whitelist by the control terminal; the task whitelist serves as the basis for the control terminal to perform security verification on the received tasks.
[0167] The sending unit 603 is used for:
[0168] Send tasks to be executed to the control terminal.
[0169] Among them, the task to be executed is executed by the control terminal after passing the security check of the control terminal based on the task whitelist.
[0170] The specific working principles of the task server, signature server and control terminal provided in any embodiment of the present application can refer to the corresponding steps in the security protection method of the industrial control system provided in the embodiment of the present application, and will not be repeated here.
[0171] In the device for realizing security protection of industrial control system provided by the present application, the control terminal receives the first encrypted information sent by the signature server with the receiving unit 401; the first encrypted information is obtained by the encryption unit 505 of the signature server using the preset first communication key to encrypt the trusted task information and the signature of the trusted task information; the trusted task information is generated by the task server with the generating unit 601, and provided to the signature server through the sending unit 603, and then the decryption unit 402 of the control terminal decrypts the first encrypted information with the first communication key to obtain the trusted task information and the signature of the trusted task information; the verification unit 403 uses the signature to verify the signature of each trusted task information; finally, the recording unit 404 records the trusted task information that has passed the signature verification in the task whitelist; the task whitelist serves as the basis for the matching unit 405 of the control terminal to perform security verification on the received tasks, and the tasks that pass the security verification are executed by the execution unit 406 of the control terminal. In this scheme, the control terminal uses the trusted task information provided by the signature server to establish a task whitelist, and judges whether the tasks it receives are safe based on the task whitelist, thereby avoiding security accidents caused by the control terminal executing unsafe tasks.
[0172] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0173] It should be noted that the concepts such as "first" and "second" mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0174] The present application can be implemented or used by professionals and technicians. Various modifications to these embodiments will be apparent to professionals and technicians in the field, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A security protection method for an industrial control system, characterized in that: Applied to the control terminal, the security protection method includes: Receiving first encrypted information sent by a signature server based on a secure transport layer protocol; wherein the first encrypted information is obtained by the signature server encrypting the trusted task information and the signature of the trusted task information using a preset first communication key; the trusted task information refers to the task information sent by the task server; the signature of the trusted task information is obtained by the signature server calculating the trusted task information using a preset signature algorithm; Decrypting the first encrypted information using the first communication key to obtain the trusted task information and the signature of the trusted task information; For each item of the trusted task information, the signature of the trusted task information is used to verify the signature of the trusted task information, wherein the process of verifying the signature of the trusted task information using the signature of the trusted task information includes: judging whether the signature of the trusted task information matches the signature of the trusted task information, if the signature of the trusted task information does not match the signature of the trusted task information, it indicates that the trusted task information has not passed the signature verification, if the signature of the trusted task information matches the signature of the trusted task information, it indicates that the trusted task information has passed the signature verification; The trusted task information that has passed the signature verification is encrypted, and the encrypted trusted task information is recorded in a task whitelist; wherein the task whitelist serves as a basis for the control terminal to perform security verification on the received tasks.
2. The safety protection method according to claim 1, characterized in that: After recording the encrypted trusted task information in the task whitelist, the method further includes: Searching the task whitelist for task information that matches the task received by the control terminal; If task information matching the task received by the control terminal is found, determining that the task has passed the security check and executing the task; If no task information matching the task received by the control terminal is found, it is determined that the task has not passed the security check and the task is refused to be executed.
3. A security protection method for an industrial control system, characterized in that: Applied to the signature server, the security protection method includes: receiving second encrypted information; decrypting the second encrypted information using a preset second communication key; If the decryption is successful, the decrypted task information is determined as trusted task information; wherein the trusted task information refers to the task information sent by the task server; Calculating the trusted task information using a preset signature algorithm to obtain a signature of the trusted task information; Encrypting the trusted task information and the signature of the trusted task information using the first communication key to obtain first encrypted information; The first encrypted information is sent to the control terminal; wherein the first encrypted information is decrypted by the control terminal using the first communication key, and after the trusted task information passes the signature verification, the trusted task information is encrypted and recorded in the task whitelist by the control terminal after encryption, and the task whitelist serves as the basis for the control terminal to perform security verification on the received tasks. The signature verification process is: determine whether the signatures of the trusted task information and the trusted task information match. If the signatures of the trusted task information and the trusted task information do not match, it indicates that the trusted task information has not passed the signature verification. If the signatures of the trusted task information and the trusted task information match, it indicates that the trusted task information has passed the signature verification.
4. The safety protection method according to claim 3, characterized in that: After calculating the trusted task information by using a preset signature algorithm to obtain the signature of the trusted task information, the method further includes: The signature of the trusted task information is sent to the task server.
5. A security protection method for an industrial control system, characterized in that: Applied to the task server, the security protection method includes: Generate task information; Encrypting the task information using the second communication key to obtain second encrypted information; The second encrypted information is sent to the signature server; wherein, after the second encrypted information is decrypted by the signature server, the task information is provided to the control terminal as trusted task information, and is encrypted by the control terminal and recorded in the task whitelist; the task whitelist serves as a basis for the control terminal to perform security verification on the received tasks, wherein the trusted task information recorded in the task whitelist after being encrypted by the control terminal has passed the signature verification, and the signature verification process is: judging whether the signatures of the trusted task information and the trusted task information match; if the signatures of the trusted task information and the trusted task information do not match, it indicates that the trusted task information has not passed the signature verification; if the signatures of the trusted task information and the trusted task information match, it indicates that the trusted task information has passed the signature verification.
6. The safety protection method according to claim 5, characterized in that: The safety protection method also includes: Sending tasks to be executed to the control terminal; wherein the tasks to be executed are executed by the control terminal after passing the security check of the control terminal based on the task whitelist.
7. A control terminal, characterized in that: include: A receiving unit is used to receive first encrypted information sent by a signature server based on a secure transport layer protocol; wherein the first encrypted information is obtained by the signature server encrypting the trusted task information and the signature of the trusted task information using a preset first communication key; the trusted task information refers to the task information sent by the task server; the signature of the trusted task information is obtained by the signature server calculating the trusted task information using a preset signature algorithm; a decryption unit, configured to decrypt the first encrypted information using the first communication key to obtain the trusted task information and a signature of the trusted task information; A verification unit, for performing signature verification on each item of the trusted task information using the signature of the trusted task information, wherein the process of performing signature verification on the trusted task information using the signature of the trusted task information comprises: determining whether the signature of the trusted task information matches the signature of the trusted task information, if the signature of the trusted task information does not match the signature of the trusted task information, it indicates that the trusted task information has not passed the signature verification, if the signature of the trusted task information matches the signature of the trusted task information, it indicates that the trusted task information has passed the signature verification; The recording unit is used to encrypt the trusted task information that has passed the signature verification, and record the encrypted trusted task information in a task whitelist; wherein the task whitelist serves as a basis for the control terminal to perform security verification on the received tasks.
8. The control terminal according to claim 7, characterized in that: Also includes: A matching unit, used for searching a task whitelist for task information matching the task received by the control terminal; Execution unit for: If task information matching the task received by the control terminal is found, determining that the task has passed the security check and executing the task; If no task information matching the task received by the control terminal is found, it is determined that the task has not passed the security check and the task is refused to be executed.
9. A signature server, characterized in that: include: A receiving unit, configured to receive second encrypted information; A decryption unit, configured to decrypt the second encrypted information using a preset second communication key; A determination unit, configured to determine the decrypted task information as trusted task information if the decryption is successful; wherein the trusted task information refers to the task information sent by the task server; A signature unit, used to calculate the trusted task information using a preset signature algorithm to obtain a signature of the trusted task information; an encryption unit, configured to encrypt the trusted task information and the signature of the trusted task information using a first communication key to obtain first encrypted information; A sending unit is used to send the first encrypted information to a control terminal; wherein the first encrypted information is decrypted by the control terminal using the first communication key, and after the trusted task information passes the signature verification, the trusted task information is encrypted and recorded in a task whitelist by the control terminal after encryption, and the task whitelist serves as a basis for the control terminal to perform security verification on the received tasks, and the signature verification process is: determining whether the signatures of the trusted task information and the trusted task information match, if the signatures of the trusted task information and the trusted task information do not match, it indicates that the trusted task information has not passed the signature verification, and if the signatures of the trusted task information and the trusted task information match, it indicates that the trusted task information has passed the signature verification.
10. A task server, characterized in that: include: A generating unit, used for generating task information; an encryption unit, configured to encrypt the task information using a second communication key to obtain second encrypted information; A sending unit is used to send the second encrypted information to the signature server; wherein, after the second encrypted information is decrypted by the signature server, the task information is provided to the control terminal as trusted task information, and is encrypted by the control terminal and recorded in the task whitelist; the task whitelist serves as a basis for the control terminal to perform security verification on the received tasks, wherein the trusted task information recorded in the task whitelist after being encrypted by the control terminal has passed the signature verification, and the signature verification process is: judging whether the signatures of the trusted task information and the trusted task information match, if the signatures of the trusted task information and the trusted task information do not match, it means that the trusted task information has not passed the signature verification, if the signatures of the trusted task information and the trusted task information match, it means that the trusted task information has passed the signature verification.
