ICS data trusted circulation system and method based on double-layer block chain assistance
Through the dual-layer blockchain architecture and RBAC zero-trust access control, combined with Bloom filter and heartbeat mechanism, it solves the centralized control and passive defense problems of ICS data flow protection, achieving high security and fine-grained data flow protection. Effectively respond to cyber attack threats.
Patent Information
- Application Number
- CN202410774176.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-06-17
AI Technical Summary
Industrial control systems (ICS) are facing increasing threats of cyber attacks. Traditional defense methods cannot effectively deal with new viruses, vulnerabilities and attacks. Data flow protection is centralized and passive defense, which can easily lead to data tampering, loss and leakage. It lacks active defense and zero protection. Trust access control.
Adopting a two-layer blockchain architecture, OT blockchain and IT blockchain are used for ICS internal data flow and external information interaction data flow respectively. It combines Bloom filter and trusted database for identity verification and designs zero trust based on RBAC. Access control mechanism and active defense through heartbeat mechanism.
It redefines the ICS network boundary, improves the fine-grained protection of data flow, effectively resists security threats, realizes high security and controllable flow of industrial control data, and provides trusted support for remote engineer operations and workshop data interaction.
Smart Images

Figure CN118748583A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the fields of new generation information technologies such as blockchain, zero-trust access control, and industrial control system data network attack defense, and specifically relates to a double-layer blockchain-assisted industrial control system (ICS) data trusted flow system and method. Background Art
[0002] Industrial Control Systems (ICS), as the core component of critical infrastructure, can be described as an integrated system that uses automated control components, computers, and underlying sensing devices for real-time data collection, detection, and process control. With the development of information technology, the world is accelerating into a new era of interconnection and interoperability. In the main areas of ICS, traditional electromechanical systems have gradually shifted to network-based digital systems. While breaking the status quo of traditional ICS information islands, this also brings higher risks of cyberattacks to ICS. According to the 2022 Industrial Control Security Report by Dragos and Honeywell, in the current global industrial infrastructure, 80% of industrial control systems have limited visibility of Operational Technology (OT, industrial control) networks, 53% of industrial control systems have established undisclosed or uncontrolled connections in their OT networks, and 54% of industrial control systems lack user management separation between Information Technology (IT, information interaction) networks and OT networks. The threat of cyberattacks faced by industrial control systems has increased dramatically.
[0003] Since the initial design of industrial control systems focused on industrial production and processing, only efficiency and real-time performance were considered, and there was a lack of defense against network attacks. Considering that the attacks suffered by industrial control systems can not only damage the network environment, but also directly attack the basic physical devices, affecting production activities and having a bad impact. The protection of traditional industrial control systems mainly relies on firewalls, anti-virus software, physical / network isolation, and improving the level of attack detection for security protection. Traditional ICS network protection methods protect the data flow of industrial control systems to a certain extent. However, the traditional ICS data flow protection presents the characteristics of centralized control, centralized storage, and passive defense, which is extremely easy to cause data tampering, loss, leakage, etc., and the research on traditional defense methods can only make the virus library and vulnerability scanning library continue to increase, making the industrial control network intrusion detection system more complicated, unable to effectively deal with new viruses, vulnerabilities and attacks, and difficult to achieve the real data flow of industrial control systems. Trustworthy.
[0004] Blockchain technology is a decentralized shared ledger that combines data blocks into a specific data structure in a chain in chronological order, and cryptographically guarantees that it cannot be tampered with or forged. Applying blockchain technology to industrial control systems can change the pain points of centralization, passive defense, and complex defense of current industrial control systems. Researchers have preliminarily explored the role of blockchain in network defense in industrial control systems, including the decentralization, identity authentication, distribution and control of permissions of industrial control systems based on blockchain technology; using the high fault tolerance of blockchain to improve the robustness of industrial control systems; and providing a trusted execution environment for attack detection and data sharing of industrial control systems through block technology. The above research has preliminarily solved the network defense problem of traditional industrial control systems, but there are still certain challenges in the research:
[0005] (1) The boundary between the OT network and IT network of the industrial control system ICS is still blurred. Although researchers use blockchain to decentralize the defense of ICS, the industrial control network and the information interaction network are deeply integrated, and the internal operation data flow of ICS and the external shared data flow are not isolated, which poses a certain threat to the private data security of the industrial control system and increases the risk of being attacked.
[0006] (2) Data access control for industrial control systems (ICS) is still relatively coarse-grained. Although researchers have explored blockchain-based ICS identity authentication and dynamic authorization, the threats faced by industrial control systems (ICS) are not only at the digital network level, but also at the physical device level. There is a lack of sustainable, dynamic zero-trust access control strategies for physical and data resources.
[0007] (3) The proactive defense of industrial control systems (ICS) is still insufficient. Scholars have explored the use of blockchain’s high fault tolerance and high-trust environment to provide basic conditions for ICS network attack detection and data sharing, but it presents passive detection defense characteristics and is insufficient for proactive defense of the entire life cycle of ICS. Summary of the invention
[0008] In order to solve the three major technical problems of blurred OT and IT network boundaries, coarse-grained data access control, and lack of proactive defense measures, the present invention provides an ICS data trusted flow system and method based on a double-layer blockchain.
[0009] The technical solution adopted by the system of the present invention is: an ICS data trusted circulation system based on double-layer blockchain assistance, including a manufacturing execution layer, a process monitoring layer, a control network layer and a field control layer; the system performs data trusted circulation through two layers of blockchain, the OT blockchain and the IT blockchain; wherein the OT blockchain account book is the ICS internal data flow, and the IT blockchain account book is the ICS and external information interaction data flow;
[0010] The ICS node includes device nodes s i , workstation node g i and interaction node j i ; Device nodes i For the chain mapping of field control devices, workstation node g i Including engineer workstation, operation station and operation and maintenance station, interactive node i is an external workshop node; the equipment node s i , register on the OT blockchain, return the corresponding certificate and unique hash H(p), and back up the certificate information in the IT blockchain consensus; the interaction node j i , register on the IT blockchain, return the corresponding certificate and unique hash H(p), and back up the certificate information in the OT blockchain consensus; the workstation node g i , which belongs to the relay node of OT blockchain and IT blockchain. After being uploaded to OT blockchain, it is registered and uploaded to IT blockchain, and the corresponding certificate and unique hash H(p) are returned.
[0011] Preferably, the device node s i When registering on the chain, the user Client first sends a registration request to the OT blockchain and sends relevant registration information M i s OT blockchain nodes verify and vote through Raft consensus, and send the consensus results to physical devices for verification and matching; the physical devices return the verification result information to the OT blockchain and communicate with M i s Match and send the final consensus result to the authentication center CA; the authentication center CA will check the device node s i Generate a unique certificate, sign it, broadcast it, issue it to the physical device node and OT blockchain, and return the result to the user Client; finally, broadcast the result of this registration request to the IT blockchain, and the IT blockchain will perform a distributed backup of the information through a round of broadcasting. The device node s i Register on the chain.
[0012] As a preference, the interaction node j iWhen registering on the blockchain, the user Client first sends a registration request to the IT blockchain and sends relevant registration information M i j , the nodes in the IT blockchain use Raft consensus to send the consensus results to the certification center CA; the certification center CA signs and generates a unique certificate, issues the certificate, and broadcasts the consensus results to the OT blockchain nodes; the OT blockchain is backed up after a round of broadcasting to all nodes, and the results are returned to the user Client, the interaction node j i Register on the chain.
[0013] As a preference, the workstation node g i When registering on the chain, the user Client first sends a registration request to the OT blockchain and sends relevant registration information M i g ; OT blockchain nodes use Raft to vote and consensus, and the OT blockchain consensus result R OT And registration information M i g Send it to the IT blockchain, and the IT blockchain nodes will vote and reach consensus through Raft, and the OT blockchain consensus result R OT And the IT blockchain consensus result R IT Sent to the certification authority CA; the certification authority CA signs and generates a unique certificate, which is issued to the user Client, OT blockchain, and IT blockchain, and the workstation node g i Register on the chain.
[0014] The technical solution adopted by the method of the present invention is: a trusted circulation method of ICS data based on double-layer blockchain assistance, which quickly checks dishonest nodes through the identity auxiliary authentication mechanism of Bloom filter and trusted database;
[0015] Through the credit points incentive mechanism, every behavior of the node is recorded, and real-time judgment and update settlement are carried out. The OT blockchain ledger and IT blockchain ledger are divided into three trusted databases according to the three types of nodes, and a corresponding Bloom filter is designed for each trusted database. In the subsequent verification process, it is only necessary to verify whether the node is in the corresponding trusted database to determine whether the real-time identity of the node is credible.
[0016] The Bloom filter has a bit array of m bits, containing n elements x i A set T of k Bloom filter re-hash functions h k ; First, initialize and set the m bits of the Bloom filter to 0; then add elements and set the n elements to be added x in the set T 1,,,n Re-hash the function h using k Bloom filters 1,,,kHash, each element gets k bits in the Bloom filter and sets them to 1; when performing node authentication, the element to be queried x i Hash, that is, {h1(x i ),h2(x i ),,,h k-1 (x i ),h k (x i )}, get k bits, if these k bits are all 1, then the element is in the set T, otherwise it is not; after the node is first screened out, the node data is traversed and verified, and the node is specifically based on the path, information is extracted from the IT blockchain ledger and the OT blockchain ledger, and the node registration information is verified.
[0017] The present invention also provides an ICS data trusted flow method assisted by a double-layer blockchain, an ICS-RBAC zero-trust access control mechanism based on RBAC, creates a policy library ST, device nodes can only access OT blockchain ledgers, interactive nodes can only access IT blockchain ledgers, and workstation nodes can access OT blockchain ledgers and IT blockchain ledgers; ensuring zero-trust data interaction between OT blockchain, IT blockchain and ICS physical devices.
[0018] Preferably, the specific implementation of OT blockchain access control includes the following sub-steps:
[0019] (1) The subject sends a transaction Tx i To the OT access control contract OT-ACSC, the transaction contains the certificate CA i , Object ID i , operation content OP, real-time environmental factors EV i And real-time credit score Tr i , the message Tx i Hash it with SHA256 and use its own private key sk p Tx i Encrypt and generate a digital signature Sig;
[0020] (2) OT-ACSC uses a dynamic identity authentication mechanism to verify the subject, including verifying the subject's certificate and determining whether it is in the trusted database;
[0021] (3) If the verification is successful, the dynamic identity authentication mechanism is called to verify the identity of the object, including verifying the object's certificate and determining whether it is in the trusted database;
[0022] (4) If the verification is successful, the OT access control decision contract OT-ADSC is called to match the policy library ST;
[0023] (5) If the permissions are met, authorization is performed and the matching result is returned to OT-ACSC;
[0024] (6) OT-ACSC will Tx i Use the object public key pk p RSA encryption and Sig are sent to the object. The device node sends it to the mapping node on the OT blockchain. The object receives Tx i After Sig, use the object public key pk p Decrypt Sig to obtain Tx i The object then hashes the original message using the same hash function SHA256 and compares the generated hash value with the decrypted hash value; if the two hash values match, the digital signature Sig is valid, and Tx i Complete and from the sender; then use the object private key to decrypt and obtain And call the Oracle-Modbus TCP contract to issue data instructions to the on-site equipment;
[0025] (7) Object to Data Generate a digital signature Sig, and the OT risk prevention and control contract OT-RPSC performs secondary verification on the object; in order to ensure the validity of the subject and object credit points, a time threshold Time is designed, and a threshold judgment is made on the time interval. Use RSA encryption and return it to the subject together with Sig and the result. The subject verifies and decrypts it, and then records it on the blockchain and updates the credit score.
[0026] As a preferred embodiment, the specific implementation of IT blockchain access control includes the following sub-steps:
[0027] (1) User Send a transaction Tx i To IT access control contract IT-ACSC, the transaction includes certificate CA i , Object ID i , query content RP and real-time credit score Tr i , Tx i Hash it using SHA256 and use Public key sk p Tx i Encrypt and generate a digital signature Sig;
[0028] (2) IT-ACSC Use dynamic identity authentication mechanism for verification, including verification and determine whether the certificate is in the trusted database;
[0029] (3) If the verification is successful, the dynamic identity authentication mechanism is called to verify the object Identity, including verification and determine whether the certificate is in the trusted database;
[0030] (4) If the verification is successful, the IT access control decision contract IT-ADSC is called to match the policy library ST;
[0031] (5) If the permissions are met, authorization is performed and the matching result Match is returned to IT-ACSC;
[0032] (6) IT-ACSC will Tx i use Public key pk p Perform RSA encryption and send it to Sig Receive Tx i And after Sig, use The public key pk p Decrypt Sig to obtain Tx i The hash value of ; then, Hash the original message using the same hash function SHA256 and compare the generated hash value with the decrypted hash value; if the two hash values match, the digital signature Sig is valid and Tx i Complete and from the sender; and then use The private key is used to decrypt and obtain the data
[0033] (7) Data Generate digital signature Sig, IT risk prevention and control contract IT-RPSC Perform secondary verification to ensure as well as The validity of credit points, design the time threshold Time, and make a threshold judgment on the time interval. i return Use RSA to encrypt and return the result with Sig Verify and decrypt, and update blockchain records and credit points.
[0034] As a preferred implementation, the specific implementation of OT&IT cross-chain access control includes the following sub-steps:
[0035] (1) Request verification: The requester sends a transaction Tx i To the IT access control contract IT-ACSC or the OT access control contract OT-ACSC; i Hash it using the SHA256 hash function and use the public key skp Tx i Encrypt and generate a digital signature Sig;
[0036] (2) IT-ACSC or OT-ACSC authenticates the requester using a dynamic identity authentication mechanism;
[0037] (3) If the verification is successful, the Raft consensus is used to select g i Node, and use the dynamic identity authentication mechanism to verify the node, and use the credit points to verify the g i Nodes are incentivized;
[0038] (4) If the verification is successful, the OT access control decision contract OT-ADSC or the IT access control decision contract IT-ADSC is called to match the policy library ST;
[0039] (5) If the permissions are met, authorization is performed and the matching result Match is returned to OT-ADSC or IT-ACSC;
[0040] (6) IT-ACSC or OT-ACSC sends Tx i Using g i Node public key pk p Perform RSA encryption and send it to the requester with Sig, g i Node receives Tx i After Sig, the requester's public key pk p Decrypt Sig to obtain Tx i The hash value of g i The node hashes the original message using the same hash function SHA256 and compares the generated hash value with the decrypted hash value; if the two hash values match, the digital signature Sig is valid and Tx i Complete and from the sender; then use this g i The node private key is used for decryption;
[0041] (7) Data extraction: g i The node transfers the OT blockchain or IT blockchain request across chains and sends the Tx i The nodes on the chain where the requested node is located use the Raft consensus mechanism to reach a consensus. After the consensus is reached, the data Data is encrypted using the RSA encryption algorithm and sent to the interactive node g. i ;
[0042] (8) Data verification: g i The data is verified using a dynamic identity authentication mechanism, including verifying the authenticity of the data and whether it has been tampered with;
[0043] (9) Data upload: g i Pack the data Data and the data providing node into a transaction Tx i return , and upload data across chains;
[0044] (10) OT risk prevention and control contract OT-RPSC or IT risk prevention and control contract IT-RPSC i To ensure the validity of the credit points of participating nodes, a time threshold Time is designed, and a threshold is determined for the time interval. i return Use RSA to encrypt and return the result to the requester together with Sig. The requester verifies and decrypts the data and updates the blockchain record and credit score.
[0045] The present invention also provides a trusted ICS data transfer method based on a double-layer blockchain, an active defense mechanism based on the combination of a heartbeat mechanism and blockchain intelligence, and real-time detection of dishonest nodes;
[0046] The specific implementation includes the following sub-steps:
[0047] (1) Set the heartbeat test cycle time T h , and not greater than the T h In the process, a random challenge is sent to the node. The challenge is designed as follows: randomly select the historical test timestamp and set the challenge feedback time threshold T t ;
[0048] (2) According to the historical timestamp, query the corresponding blockchain ledger and randomly obtain data interaction request records;
[0049] (3) Call the data interaction records of both parties and compare them with the blockchain ledger data. If the specified T t If there is no reply within the specified T, the node is judged as a problem node and a manual test is performed to distinguish between downtime, failure, and forgery. t If the node responds and compares the results within 1 second, the node is a safe node;
[0050] (4) Update the credit values of different types of nodes and mark them.
[0051] Equivalent to the prior art, the advantages of the present invention are:
[0052] (1) The double-layer blockchain-assisted industrial control system data trusted flow model and method established by the present invention is an attempt to combine multi-layer blockchain technology, zero-trust access control technology, artificial intelligence technology and industrial control systems. It is innovative and has certain guiding value for the subsequent expansion of the method to other Internet of Things systems and even other industries.
[0053] (2) The present invention can embed the blockchain system in the industrial control system through the customized design of the oracle, and use a two-layer blockchain network to redefine the network boundary between the industrial control network OT and IT.
[0054] (3) The present invention customizes the design of ICS-RBAC zero-trust access control policies for physical devices and network node data, increases the granularity of network protection for data flow in industrial control systems, effectively protects industrial control data flows in ICS, and can effectively resist various security threats and attacks.
[0055] (4) The present invention uses Bloom filters and a trusted database to assist the industrial control system in identity authentication, thereby reducing the rapid exclusion of dishonest nodes and unauthorized nodes.
[0056] (5) The present invention uses smart contract technology to design active defense measures for the entire access cycle of ICS. Through the hidden credibility verification of the "OT blockchain organization-IT blockchain organization" and "blockchain node-oracle-field equipment" designed by "blockchain-heartbeat mechanism-smart contract", the highly secure and highly controllable flow of industrial control system data is achieved, providing effective support for remote engineer operations and workshop data interaction.
[0057] (6) The present invention has strong applicability and can realize trusted data flow protection for industrial control systems in different scenarios, and has universal applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The technical solution of the present invention is further described below using embodiments and specific implementation methods. In addition, in the process of describing the technical solution, some drawings are also used. For those skilled in the art, other drawings and the intention of the present invention can also be obtained based on these drawings without paying creative work.
[0059] Figure 1 is a system architecture diagram of an embodiment of the present invention;
[0060] Figure 2 A schematic diagram of a method according to an embodiment of the present invention;
[0061] Figure 3 It is a schematic diagram of a dynamic identity authentication mechanism (registration) according to an embodiment of the present invention;
[0062] Figure 4 It is a principle diagram of a dynamic identity authentication mechanism (authentication) according to an embodiment of the present invention;
[0063] Figure 5 This is a schematic diagram of the ICS-RBAC access control mechanism according to an embodiment of the present invention;
[0064] Figure 6 This is a schematic diagram of the OT&IT cross-chain access control principle of an embodiment of the present invention;
[0065] Figure 7 This is a schematic diagram of the active defense mechanism of an embodiment of the present invention;
[0066] Figure 8 This is a comparison diagram of the time consumption for troubleshooting dishonest nodes in identity authentication according to an embodiment of the present invention;
[0067] Fig. 9 This is a time consumption diagram of the identity authentication honest node auxiliary verification in an embodiment of the present invention;
[0068] Fig.10 This is a schematic diagram of chain code simulation and certificate simulation according to an embodiment of the present invention;
[0069] Fig.11 This is a schematic diagram of simulating an RSA private key and certificate (public key) according to an embodiment of the present invention;
[0070] Fig.12 A schematic diagram of a physical device node certificate verification and public key extraction of an industrial control system according to an embodiment of the present invention;
[0071] Fig.13 A schematic diagram of data decryption of a physical device node of an industrial control system according to an embodiment of the present invention;
[0072] Fig.14 Schematic diagram of test results of an embodiment of the present invention. DETAILED DESCRIPTION
[0073] In order to facilitate ordinary technicians in the field to understand and implement the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the implementation examples described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0074] Since the field control layer and the field equipment layer are mainly connected through I / O serial ports and wiring, the data flow environment is relatively closed and safe, so the framework designed in this embodiment mainly covers the manufacturing execution layer, process monitoring layer, control network layer, and field control layer in the traditional industrial control system. Specifically, this embodiment customizes the design of the blockchain oracle, and through the contractualization of the Modbus protocol, the real-time data collection and chaining of the field physical equipment and the sending of control instructions are carried out, and the blockchain network is used to realize the security protection of the flow data. Each module will be introduced in detail below.
[0075] Industrial control system physical equipment module: The industrial control system physical equipment module is mainly divided into two parts: the interconnection between field control devices (PLC, RTU, PAC, etc.) and field equipment devices (actuators, sensors, field instruments, etc.), and the data interaction between field control devices and blockchain network modules. Through the connection of I / O serial ports, etc., the communication between field control devices and field equipment devices is realized. Through the integration of oracle and industrial communication protocols such as Modbus, the information exchange between the physical equipment module of the industrial control system and the blockchain network module is realized.
[0076] Blockchain network module: The blockchain network module mainly includes 6 parts, including model architecture, encrypted transmission, consensus mechanism, access control strategy, and defense means. In terms of model architecture, this embodiment designs OT and IT dual channels, that is, a two-layer blockchain architecture. OT ledger / contract and IT ledger / contract are configured. The device node, workstation node, and interactive node are divided into three organizations. The device node is the on-chain mapping of the field control device, the workstation node is the engineer workstation, operation station, operation and maintenance station, etc., the interactive node is the external workshop node, and an initialization-sorting node is also included for the generation of the genesis block and the order of transaction processing. In terms of encrypted transmission and consensus mechanism, the data transmission on the blockchain is encrypted using the SHA256 encryption algorithm, and the raft algorithm is used for node consensus. In terms of access control strategy, based on the RBAC zero-trust access control strategy, the ICS-RBAC access control model is designed for identity authentication, dynamic authorization, and dynamic access. In terms of defense means, based on real-time data records (real-time behavior, credit points, instruction specifications, environmental factors, etc.), customized smart contracts are designed and combined with the heartbeat mechanism for adaptive active network attack defense.
[0077] In the industrial control system scenario, in order to spy on industrial production, processing, and manufacturing data, there may be eavesdroppers who can eavesdrop on the communication links between field equipment and PLC, PLC and engineer nodes, and workshop interaction nodes. At the same time, attackers may destroy the functions of physical devices, maliciously encrypt industrial data, maliciously consume ICS resources, and tamper with transmission information (eg operating instructions, collected data), such as worm viruses, ransomware attacks, DoS attacks, and replay attacks, threatening the security of industrial control systems. In the adversary model of this embodiment, this embodiment divides the threats that may occur in the network into physical device layer attacks and communication network layer attacks.
[0078] Physical device layer attacks: Attackers can exploit vulnerabilities and weaknesses in industrial control systems to embed industrial worms and other viruses in PLCs and other control devices, gain partial or full control of the ICS system, and replicate and spread through the network to destroy the functions of physical devices and maliciously consume ICS resources. Therefore, the model must have refined permission management down to the physical device level, and be able to actively prevent attackers from spreading malicious programs from ICS physical devices (USB ports, printers, etc.) to industrial control devices.
[0079] Communication network layer attacks: The first type of attack is an attack by malicious nodes in the OT blockchain. For example, malicious nodes (such as engineer workstations and operator stations) may be affected by undetected malware (such as ransomware), and eavesdrop on data by sending malicious instructions, causing the loss of industrial data and the destruction of industrial control systems. Therefore, the model must fully arbitrate the flow of industrial data. The second type of attack is an attack by malicious nodes in the IT blockchain (such as workshop interaction nodes), which initiates some active attacks during the workshop data interaction process. For example, during the data interaction process, malicious nodes impersonate legitimate nodes in the network and initiate some active attacks (such as DoS attacks and replay attacks), which damage the authenticity and integrity of industrial data.
[0080] Please see Figure 1 and Figure 2 This embodiment provides an ICS data trusted flow system based on a double-layer blockchain, including a manufacturing execution layer, a process monitoring layer, a control network layer and a field control layer; the system performs data trusted flow through two layers of blockchain, the OT blockchain and the IT blockchain; wherein the OT blockchain ledger is the ICS internal data flow, and the IT blockchain ledger is the ICS and external information interaction data flow.
[0081] The ICS node includes device nodes i , workstation node g i and interaction node j i ; Device nodes i For the chain mapping of field control devices, workstation node g i Including engineer workstations, operation stations and maintenance stations, etc., interactive nodes i is an external workshop node; the equipment node s i , register on the OT blockchain, return the corresponding certificate and unique hash H(p), and back up the certificate information in the IT blockchain consensus; the interaction node j i , register on the IT blockchain, return the corresponding certificate and unique hash H(p), and back up the certificate information in the OT blockchain consensus; the workstation node g i, which belongs to the relay node of OT blockchain and IT blockchain. After being uploaded to OT blockchain, it is registered and uploaded to IT blockchain, and the corresponding certificate and unique hash H(p) are returned.
[0082] s i The node can only access the OT chain ledger. During the registration process, i The node is uploaded to the OT chain and the certificate information is backed up in the IT chain consensus. i The node can only access the IT chain account book. During the registration process, j i The node is uploaded to the IT chain and the certificate information is backed up in the OT chain consensus. i The node is an intermediate connection node that can access OT and IT ledgers. It needs to be uploaded to the IT chain after the OT chain is uploaded. The registration process is as follows: Figure 3 shown.
[0083] s i Node registration: Client first sends a registration request to the OT chain and sends relevant registration information M i s ={id i ,name i ,site i ,time i ,.....},OT chain nodes verify and vote through Raft consensus, and send the consensus results to physical devices such as PLC for verification and matching. PLC and other physical devices return the result information to the OT chain and communicate with M i s Matching is performed and the final consensus result is sent to CA. CA generates a unique certificate for the node, signs it, broadcasts and issues the certificate to the physical device node and OT chain, and returns the result to the Client. Finally, the result of this registration request is broadcast to the IT chain. After a round of broadcasting, the information is backed up in a distributed manner within the IT chain, and the node is registered on the chain.
[0084] j i Node registration: Client first sends a registration request to IT Chain and sends relevant registration information The nodes in the IT chain use Raft consensus to send the consensus results to the CA. The CA signs and generates a unique certificate, issues the certificate, and broadcasts the consensus results to the OT chain nodes. After a round of broadcasting to all nodes for backup, the OT chain returns the results to the Client, and the node is registered on the chain.
[0085] g i Node registration: g i The node is essentially a relay node for the OT chain and IT chain. The identity registration process is to send a registration request to the OT chain and send relevant registration information. OT chain nodes use Raft to vote for consensus and send the OT chain consensus result R OT And registration information Sent to the IT chain, the IT chain nodes conduct voting consensus through Raft and send the consensus result R OT And the consensus result R IT It is sent to CA, which signs it and generates a unique certificate, which is then issued to the Client, OT chain, and IT chain. The node is then registered on the chain.
[0086] It contains multiple data factors such as the current status of the device, device IP, location information, and running time. With multiple data factors such as operator name, unique hash, location information, etc., M i j It has various data factors such as workshop location, position information, name, etc.
[0087] This embodiment first designs the OT blockchain and IT blockchain to reconstruct the network boundary of ICS. Secondly, it designs an identity-assisted authentication mechanism based on Bloom filter and trusted database to quickly check dishonest nodes. Then, it designs an ICS-RBAC zero-trust access control mechanism based on RBAC to ensure zero-trust data interaction between OT blockchain, IT blockchain and ICS physical devices. Finally, based on the principle of heartbeat mechanism, it designs an active defense mechanism for the entire access cycle of ICS.
[0088] Please see Figure 4 This embodiment provides a trusted ICS data transfer method based on a double-layer blockchain. Through the identity-assisted authentication mechanism of the Bloom filter and the trusted database, dishonest nodes are quickly checked; through the credit point incentive mechanism, each behavior of the node is recorded, and real-time judgment and update settlement are performed. The OT blockchain ledger and the IT blockchain ledger are divided into three trusted databases according to three types of nodes, and a corresponding Bloom filter is designed for each trusted database; in the subsequent verification process, it is only necessary to verify whether the node is in the corresponding trusted database to determine whether the real-time identity of the node is credible;
[0089] The initial authentication process is the registration of the node, which is authenticated through Raft consensus and the corresponding The information is uploaded to the chain, and the corresponding certificate and unique hash H(p) are returned. In order to facilitate the efficiency of subsequent authentication, Timely updates are required. The data is added through Raft consensus, and the latest data information is determined based on the timestamp.
[0090] Subsequent authentication: First, the node's certificate is verified, mainly the CA's digital signature is verified to ensure the authenticity and integrity of the certificate, and then ensure the credibility of the node's public key and identity information. If the private key of the certificate is leaked, the certificate information is changed, or the certificate owner is no longer trusted, the CA can revoke the digital certificate. The revoked certificate will be included in the certificate revocation list (CRL) or the online certificate status protocol (OCSP) response so that the receiver can verify the status of the certificate during the communication process. Secondly, the real-time behavior of the node is continuously verified to ensure that the node has not "rebelled". Therefore, the present invention designs a credit point incentive mechanism to record each behavior of the node, and make real-time judgments and update settlements. The OT ledger and IT ledger are divided into three trusted databases according to three types of nodes. In order to reduce the number of consensuses for each verification, the present invention designs a corresponding Bloom filter for each trusted database. In the subsequent verification process, it is only necessary to verify whether the node is in the database to determine whether the real-time identity of the node is credible. The process is divided into three steps. The first step is request. The client sends a request to the model. The second step is to pre-judge and map the unique hash value H(p) of each node on the Bloom filter in advance. The present invention assumes that a Bloom filter has an m-bit bit array, containing n elements x i ={x1,x2,x3....x n-1 ,x n}, k Bloom filter heavy hash function h i ={h1,h2,h3....h n-1 ,h n}.
[0091] First, initialize the Bloom filter and set the m bits to 0. 1,2,3,,,m =Bit 1,2,3,,,m →0. Secondly, add elements and put n elements x to be added in the set T in advance. 1,,,n Re-hash the function h using k Bloom filters 1,,,k Hash, h k (x i )={h1(x 1,,,n ),h2(x 1,,,n )....h k-1 (x 1,,,n ),h k (x 1,,,n )}. Each element gets k bits in the Bloom filter and sets them to 1. 1,2,3,,,k =Bit 1,2,3,,,k →1.
[0092] Bloom filter supports element operations such as "query, add", but does not support "modify, delete". Therefore, the more n, the greater the false positive rate, but it can guarantee 0 false negative rate. When n / m is too large, it will lead to too high false positive, and the filter needs to be rebuilt. This invention assumes that the element x i can be mapped to m bits with equal probability. i In an element x i By h i The probability that it is not set to 1 when inserted is ε, Then k h 1,,,k The probability that none of them sets it is β, If n elements are inserted but none of them are set, the probability is α. Then the probability of this bit being set is σ, In the query phase, if the corresponding element x to be queried i If all k bits of are set to 1, it can be judged to be in the set. Therefore, the probability of misjudging an element is ρ = (1-σ) k .Depend on When m increases or n decreases, the misjudgment rate will decrease. After taking the logarithm, taking the derivative, and finding the maximum value of ρ, we can get When the error rate is the lowest, P(error),
[0093] Finally, perform ICS node authentication and set the element x to be queried i Hash, that is, {h1(x i ),h2(x i ),,,h k-1 (x i ),h k (x i )}, get k bits, if these k bits are all 1, then the element is in the set T, otherwise not. The design of the Bloom filter only pre-queries the ICS nodes in the model to quickly exclude non-existent nodes and perform fast verification. The third step is matching. When the node is queried, since the Bloom filter has a false alarm rate, it is necessary to traverse and verify the node data after the node is first screened out. The node is specifically based on the path, extracting information from the IT ledger and the OT ledger, and matching the node. To verify, the formula is:
[0094]
[0095] This embodiment also provides an ICS data trusted flow method assisted by a two-layer blockchain, an ICS-RBAC zero-trust access control mechanism based on RBAC, creates a policy library ST, device nodes can only access OT blockchain ledgers, interactive nodes can only access IT blockchain ledgers, and workstation nodes can access OT blockchain ledgers and IT blockchain ledgers; ensuring zero-trust data interaction between OT blockchain, IT blockchain and ICS physical devices.
[0096] ICS-RBAC access control mechanism such as Figure 5 shown.
[0097] First, a dynamic identity authentication mechanism is used to quickly register nodes, and they are divided into corresponding organizations and channels according to the registration attributes. Secondly, the strategy library ST is designed. The OT blockchain contains device nodes and workstation nodes. The workstation nodes operate data in the OT channel, that is, device nodes can only access the OT ledger, interactive nodes can only access the IT ledger, and workstation nodes can access both OT and IT ledgers. The ICS-RBAC mechanism adopts a dynamic authorization method, using credit points to evaluate the credit of nodes, and real-time credit values are also used as one of the bases for authorization. Then, the client sends a request, and the OT / IT access control contract verifies the client and the corresponding object through the dynamic identity authentication mechanism, calls the access control decision contract, and matches the strategy library. Finally, the subject authorization is performed, and the ICS strategy library is updated. There are three types of nodes in the model, among which the physical device nodes rely on oracles for communication. The following takes the Modbus TCP protocol as an example to design the oracles, as shown in Algorithm 1.
[0098]
[0099]
[0100] In one implementation, the OT blockchain access control process is divided into seven steps:
[0101] (1) User Send a transaction Tx i For OT access control contract (OT-ACSC), the transaction contains the certificate CA i , Object ID i , operation content OP, real-time environmental factors EV i (IP, real-time time, etc.) and real-time credit score Tr i , hash the message using SHA256 and use sk p Tx i Encrypt and generate digital signature Sig,
[0102] (2) OT-ACSC Use dynamic identity authentication mechanism for verification, including verification and determine whether it is in the trusted database.
[0103] (3) If passed, the dynamic identity authentication mechanism verifies the object Identity, including verification and determine whether it is in the trusted database.
[0104] (4) Verification is performed by calling the OT access control decision contract (OT-ADSC) and matching the policy library ST.
[0105] (5) If the permissions are met, authorization is performed and the matching result Match is returned to OT-ACSC.
[0106] (6) OT-ACSC will Tx i use Public key pk p Perform RSA encryption and send Sig to s i The node is sent to s i On-chain mapping nodes, Receive Tx i And after Sig, it will be used The public key pk p Decrypt Sig to obtain Tx i Then, Hash the original message using the same hash function SHA256 and compare the resulting hash value with the decrypted hash value. If the two hash values match, the digital signature Sig is valid and Tx i Complete and from the sender. Then use The private key is decrypted and the Oracle-ModbusTCP contract is called to issue data instructions to the on-site equipment.
[0107] (7) Data Generate digital signature Sig (physical device node, first return to the mapping node on the chain, then generate Sig), OT risk prevention and control contract (OT-RPSC) To ensure as well as The validity of credit points, the time threshold Time is designed, and the time interval is determined by the threshold. The determination process is as follows: Will Use RSA to encrypt and return the result with Sig Verify and decrypt, record on blockchain and update credit points.
[0108] The pseudo code design of OT-ACSC is shown in Algorithm 2, the pseudo code of OT-ADSC is shown in Algorithm 3, and the pseudo code of OT-RPSC is shown in Algorithm 4.
[0109]
[0110]
[0111]
[0112]
[0113]
[0114]
[0115] In one implementation, the IT chain access control process is divided into seven steps:
[0116] (1) User Send a transaction Tx i For IT Access Control Contract (IT-ACSC), the transaction includes the certificate CA i , Object ID i , query content RP and real-time credit score Tr i , hash the message using SHA256 and use sk p Tx i Encrypt and generate a digital signature Sig.
[0117] (2) IT-ACSC Use dynamic identity authentication mechanism for verification, including verification and determine whether it is in the trusted database.
[0118] (3) If passed, the dynamic identity authentication mechanism verifies the object Identity, including verification and determine whether it is in the trusted database.
[0119] (4) Verification is performed by calling the OT access control decision contract (IT-ADSC) and matching the policy library ST.
[0120] (5) If the permissions are met, authorization is performed and the matching result Match is returned to IT-ACSC.
[0121] (6) IT-ACSC will Txi use Public key pk p Perform RSA encryption and send it to Sig Receive Tx i And after Sig, it will be used The public key pk p Decrypt Sig to obtain Tx i Then, Hash the original message using the same hash function SHA256 and compare the resulting hash value with the decrypted hash value. If the two hash values match, the digital signature Sig is valid and Tx i Complete and from the sender. Then use Private key for decryption.
[0122] (7) Data Generate digital signature Sig, IT risk prevention and control contract (IT-RPSC) To ensure as well as To determine the validity of credit points, we design a time threshold Time and make a threshold determination on the time interval. Use RSA to encrypt and return the result with Sig Verify and decrypt, and update blockchain records and credit points.
[0123] Since IT-ACSC and OT-ACSC, as well as IT-RPSC and OT-RPSC, only differ in node properties, no pseudo code is provided. IT-ADSC is shown in Algorithm 5.
[0124]
[0125]
[0126] In one implementation, OT&IT cross-chain access control, the workstation node can access the OT chain and IT chain ledgers. Therefore, the node is a model relay node, and as an audit node for cross-chain data, the data cross-chain method is as follows: Figure 6 As shown, the specific process is divided into ten steps:
[0127] (1) Request verification: Requester Send a transaction Tx i To IT-ACSC or OT-ACSC. i Hash it using the SHA256 hash function and use sk p Tx iEncrypt and generate a digital signature Sig.
[0128] (2) IT-ACSC or OT-ACSC Use dynamic authentication mechanism for verification.
[0129] (3) If passed, use Raft consensus to select g i Node (leader), and use dynamic identity authentication mechanism to verify the node, and use credit points to verify g i Nodes are motivated.
[0130] (4) Verify that the strategy library ST is matched by calling OT-ADSC or IT-ADSC.
[0131] (5) If the permissions are met, authorization is performed and the matching result Match is returned to OT-ADSC or IT-ACSC.
[0132] (6) IT-ACSC or OT-ACSC sends Tx i use Public key pk p Perform RSA encryption and send it to Sig Receive Tx i And after Sig, it will be used The public key pk p Decrypt Sig to obtain Tx i Then, Hash the original message using the same hash function SHA256 and compare the resulting hash value with the decrypted hash value. If the two hash values match, the digital signature Sig is valid and Tx i Complete and from the sender. Then use Private key for decryption.
[0133] (7) Data extraction: Transfer OT or IT chain requests across chains and i Broadcast, the requested node The nodes on the chain use the Raft consensus mechanism to reach consensus. After the consensus is reached, Encrypt the data using the RSA encryption algorithm and send it to the interactive node g i .
[0134] (8) Data verification: g i The data is verified using a dynamic identity authentication mechanism, including verifying the authenticity of the data (path, identity verification) and whether it has been tampered with (signature verification).
[0135] (9) Data upload: gi Package the data, data provider nodes, etc. into a transaction And upload data across chains.
[0136] (10) OT-RPSC or IT-RPSC pair i To ensure the validity of the credit points of participating nodes, a time threshold Time is designed and a threshold is determined for the time interval. Encrypt using RSA and return the result to Sig Verify and decrypt, and update blockchain records and credit points.
[0137] This embodiment also provides a trusted ICS data transfer method based on a double-layer blockchain, an active defense mechanism based on the combination of a heartbeat mechanism and blockchain intelligence, and real-time detection of dishonest nodes;
[0138] This embodiment combines blockchain ledger data with the heartbeat mechanism to verify ICS system downtime, failures, and forged nodes and devices for active defense. Figure 7 As shown. Combining the heartbeat test with normal operation, if the heartbeat test is correct, it can ensure that the node does not perform malicious operations (forged instruction requests, forged return data) during normal data access and sharing. The specific process of the active defense mechanism based on the heartbeat test principle is divided into four steps:
[0139] (1) Set the heartbeat test cycle time T h , and not greater than the T h In the process, a random challenge is sent to the node. The challenge is designed as follows: randomly select the historical test timestamp and set the challenge feedback time threshold T t .
[0140] (2) According to the historical timestamp, query the corresponding blockchain ledger and randomly obtain data interaction request records.
[0141] (3) Call the data interaction records of both parties and compare them with the blockchain ledger data. If the specified T t If there is no reply within the specified T, the node is judged as a problem node and a manual test is performed to distinguish between downtime, failure, and forgery. t If the node responds and compares the results within 10 seconds, the node is considered a safe node. Finally, the credit values of different types of nodes are updated and marked.
[0142] The present invention is further described below through specific experiments.
[0143] First, the roles of industrial control systems were extracted, and the device nodes, workstation nodes, and interaction nodes were determined, covering the participants of the industrial control system, and a two-layer blockchain architecture of OT chain and IT chain was designed (see Figure 2 ), deploy nodes of different roles on different blockchains.
[0144] The certificate information of device nodes, workstation nodes, and interactive nodes is broadcasted throughout the chain, and operation, log and other data are stored in separate chains, which meets the high privacy requirements of the industrial control system OT data flow process and reduces the attacks on the industrial control system from the external network environment. The dynamic authentication process provides support for the sustainability of verification in the ICS-RBAC zero-trust access control strategy. The design of Bloom filters and trusted databases reduces the number of consensuses in each authentication phase, thereby reducing the time consumption of user identity traversal. The ICS-RBAC zero-trust access control mechanism is divided into OT, IT, and OT / IT access control. Through the RSA encryption algorithm, digital signatures, smart contracts, and "one-step-one-verification" design, it ensures zero-trust data access of "never trust, continuous verification, centralized policy management, dynamic and minimized authorization" in the data sharing and access process of different roles in the industrial control system. This solution is correct and feasible.
[0145] By combining blockchain ledger data with the heartbeat mechanism, the ICS system's downtime, failures, and forged nodes and devices can be verified, enabling active defense of the physical equipment of the industrial control system and nodes on the chain.
[0146] The authentication efficiency of the dynamic identity authentication mechanism is verified and compared with the data query without the Bloom filter. Since the Bloom filter is used for pre-screening, the false positive rate is set to 0.01 in this experiment. A total of 100,000 sets of data are simulated in this experiment. The number of binary bits and memory required for different data volumes are shown in Table 1.
[0147] Table 1 Parameter settings
[0148]
[0149]
[0150] Figure 8 The comparison of the time consumption of using Bloom filter to check a node that is not in the trusted database and the time consumption of not using Bloom filter under different data volumes is shown. It can be seen that the design of the present invention can quickly check dishonest nodes (nodes that are not in the trusted database). This is because the query operation only requires simple bit operations in the bit array, and the query time complexity is O(1) regardless of the amount of data.
[0151] Fig. 9 The box plot of time consumption when the present invention uses Bloom filter to randomly query data 100 times under different data amounts is shown. It can be seen that with the increase of data amount, the time consumption of the identity authentication mechanism designed in this article does not increase significantly, and the average query time consumption is 1 microsecond, which is an acceptable value compared to the efficiency improvement brought about by the investigation of dishonest nodes, and can meet the frequent data interactions of industrial control systems and the frequent role verification requests required by the designed "one transmission and one verification" mechanism.
[0152] ICS-RBAC access control mechanism verification,The simulation environment configuration is shown in Table 2.
[0153] Table 2 Simulation environment configuration
[0154]
[0155]
[0156] This experiment demonstrates the data distribution process of simulated workstation nodes to device nodes. First, Fig.10 (a) is the chain code call function, which is used to call the OT-ACSC contract. Secondly, this experiment generates three ECDSA certificates for the device node, workstation node and interactive node, and uses the x509.CreateCertificate method to generate the corresponding self-signed certificates, and uses the ecdsa.GenerateKey method to generate the elliptic curve (P-384) private key of the relevant node. Then, this experiment simulates RSA encryption and generates an RSA certificate. The certificate template is as follows: Fig.10 (b) The certificates (public keys) and private keys of the device nodes, workstation nodes, and interactive nodes are as follows: Fig.11 As shown in (a), the RSA private key is Fig.11 As shown in (b), the certificate (public key) is Fig.11 (c) as shown.
[0157] This experiment uses the access to device nodes as an example to demonstrate the chain code. First, the workstation node C accesses the device node s. i After signing, the contract verifies the identity of C and the device node. After verification, it matches the corresponding access control policy and C obtains the corresponding permissions. Then the contract parses and verifies the s node certificate and extracts the s node public key. C uses the device node public key for RSA encryption and sends the data request. The device node s uses its own private key to decrypt the data and verify the correctness of the message. After it is correct, it will call Oracle-Modbus TCP to issue the instruction. Fig.12It shows the process of the contract parsing and verifying the certificate of device node s and extracting the public key. Fig.13 The process of using the private key to decrypt data by the device node s is shown. The device node s uses the same method to encrypt the request data and returns it to the workstation node. The present invention has tested it, and the test results are as follows: Fig.14 shown.
[0158] This experiment conducted use case tests on the designed model functions, including node registration function, authentication function, permission matching function and active defense function. After testing, the model can provide reliable protection for the flow of data in industrial control systems, and can achieve deep isolation between OT and IT, as well as zero-trust access control. The test table is shown in Figure 3.
[0159] Table 3: Partial function test table
[0160]
[0161] It should be understood that the embodiments described above are part of the embodiments of the present invention, rather than all of the embodiments. In addition, the technical features in the various embodiments or single embodiments provided by the present invention can be combined with each other arbitrarily to form a feasible technical solution. Such combination is not restricted by the sequence of steps and / or the structural composition mode, but must be based on the ability of ordinary technicians in the field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the protection scope required by the present invention.
[0162] It should be understood that the above description of the preferred embodiment is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.
Claims
1. A trusted ICS data transfer system based on a double-layer blockchain, characterized by: It includes manufacturing execution layer, process monitoring layer, control network layer and field control layer. The system uses two layers of blockchain, OT blockchain and IT blockchain, to transfer data in a trusted manner. The OT blockchain ledger is the internal data flow of ICS, and the IT blockchain ledger is the data flow of information exchange between ICS and the outside world. The ICS node includes device nodes s i , workstation node g i and interaction node j i ; Device nodes i For the chain mapping of field control devices, workstation node g i Including engineer workstation, operation station and operation and maintenance station, interactive node i is an external workshop node; the equipment node s i , register on the OT blockchain, return the corresponding certificate and unique hash H(p), and back up the certificate information in the IT blockchain consensus; the interaction node j i , register on the IT blockchain, return the corresponding certificate and unique hash H(p), and back up the certificate information in the OT blockchain consensus; the workstation node g i , which belongs to the relay node of OT blockchain and IT blockchain. After being uploaded to OT blockchain, it is registered and uploaded to IT blockchain, and the corresponding certificate and unique hash H(p) are returned.
2. The ICS data trusted circulation system based on double-layer blockchain assistance according to claim 1 is characterized by: Device nodes i When registering on the chain, the user Client first sends a registration request to the OT blockchain and sends relevant registration information OT blockchain nodes verify and vote through Raft consensus, and send the consensus results to physical devices for verification and matching; the physical devices return the verification result information to the OT blockchain. Match and send the final consensus result to the authentication center CA; the authentication center CA will check the device node s i Generate a unique certificate, sign it, broadcast and issue it to the physical device node and OT blockchain, and return the result to the user Client; finally, broadcast the result of this registration request to the IT blockchain, and the IT blockchain will perform a distributed backup of the information through a round of broadcasting. The device node s i Register on the chain.
3. The ICS data trusted circulation system based on double-layer blockchain assistance according to claim 1 is characterized by: Interaction Node i When registering on the blockchain, the user Client first sends a registration request to the IT blockchain and sends relevant registration information The nodes in the IT blockchain use Raft consensus to send the consensus results to the certification center CA; the certification center CA signs and generates a unique certificate, issues the certificate, and broadcasts the consensus results to the OT blockchain nodes; the OT blockchain is backed up after a round of broadcasting to all nodes, and the results are returned to the user Client, and the interaction node j i Register on the chain.
4. The ICS data trusted circulation system based on double-layer blockchain assistance according to claim 1 is characterized by: Workstation Node g i When registering on the chain, the user Client first sends a registration request to the OT blockchain and sends relevant registration information OT blockchain nodes use Raft to vote and send the OT blockchain consensus results to R OT And registration information Send it to the IT blockchain, and the IT blockchain nodes will vote and reach consensus through Raft, and the OT blockchain consensus result R OT And the IT blockchain consensus result R IT Sent to the certification authority CA; the certification authority CA signs and generates a unique certificate, which is issued to the user Client, OT blockchain, and IT blockchain, and the workstation node g i Register on the chain.
5. A method for trusted transfer of ICS data based on a double-layer blockchain, applied to the system according to any one of claims 1 to 4; characterized in that: Through the identity-assisted authentication mechanism of Bloom filter and trusted database, dishonest nodes can be quickly checked; Through the credit points incentive mechanism, every behavior of the node is recorded, and real-time judgment and update settlement are carried out. The OT blockchain ledger and IT blockchain ledger are divided into three trusted databases according to the three types of nodes, and a corresponding Bloom filter is designed for each trusted database. In the subsequent verification process, it is only necessary to verify whether the node is in the corresponding trusted database to determine whether the real-time identity of the node is credible. The Bloom filter has a bit array of m bits, containing n elements x i The set T of k Bloom filter heavy hash functions h k ; First, initialize and set the m bits of the Bloom filter to 0; then add elements and set the n elements to be added x in the set T 1,,,n Re-hash the function h using k Bloom filters 1,,,k Hash, each element gets k bits in the Bloom filter and sets them to 1; when performing node authentication, the element to be queried x i Hash, that is, {h1(x i ),h2(x i ),,,h k-1 (x i ),h k (x i )}, get k bits, if these k bits are all 1, then the element is in the set T, otherwise it is not; after the node is first screened out, the node data is traversed and verified, and the node is specifically based on the path, information is extracted from the IT blockchain ledger and the OT blockchain ledger, and the node registration information is verified.
6. A method for trusted transfer of ICS data based on a double-layer blockchain, applied to the system according to any one of claims 1 to 4; characterized in that: Based on the ICS-RBAC zero-trust access control mechanism of RBAC, a policy library ST is created. Device nodes can only access OT blockchain ledgers, interaction nodes can only access IT blockchain ledgers, and workstation nodes can access OT blockchain ledgers and IT blockchain ledgers; ensuring zero-trust data interaction between OT blockchain, IT blockchain and ICS physical devices.
7. The method for trusted transfer of ICS data based on double-layer blockchain assistance according to claim 6 is characterized in that: The specific implementation of OT blockchain access control includes the following sub-steps: (1) The subject sends a transaction Tx i To the OT access control contract OT-ACSC, the transaction contains the certificate CA i , Object ID i , operation content OP, real-time environmental factors EV i And real-time credit score Tr i , Tx i Hash it with SHA256 and use its own private key sk p Tx i Encrypt and generate a digital signature Sig; (2) OT-ACSC uses a dynamic identity authentication mechanism to verify the subject, including verifying the subject's certificate and determining whether it is in the trusted database; (3) If the verification is successful, the dynamic identity authentication mechanism is called to verify the identity of the object, including verifying the object's certificate and determining whether it is in the trusted database; (4) If the verification is successful, the OT access control decision contract OT-ADSC is called to match the policy library ST; (5) If the permissions are met, authorization is performed and the matching result is returned to OT-ACSC; (6) OT-ACSC will Tx i Use the object public key pk p RSA encryption and Sig are sent to the object. The device node sends it to the mapping node on the OT blockchain. The object receives Tx i After Sig, use the object public key pk p Decrypt Sig to obtain Tx i The hash value of The object then hashes the original message using the same hash function SHA256 and compares the resulting hash value with the decrypted hash value; if the two hash values match, the digital signature Sig is valid and Tx i Complete and from the sender; then use the object private key to decrypt and obtain And call the Oracle-Modbus TCP contract to issue data instructions to the on-site equipment; (7) Object to Data Generate a digital signature Sig, and the OT risk prevention and control contract OT-RPSC performs secondary verification on the object; in order to ensure the validity of the subject and object credit points, a time threshold Time is designed, and a threshold judgment is made on the time interval. Use RSA encryption and return it to the subject together with Sig and the result. The subject verifies and decrypts it, and then records it on the blockchain and updates the credit score.
8. The method for trusted transfer of ICS data based on double-layer blockchain assistance according to claim 6 is characterized in that: The specific implementation of IT blockchain access control includes the following sub-steps: (1) User Send a transaction Tx i To IT access control contract IT-ACSC, the transaction includes certificate CA i , Object ID i , query content RP and real-time credit score Tr i , Tx i Hash it using SHA256 and use Your own private key sk p Tx i Encrypt and generate a digital signature Sig; (2) IT-ACSC Use dynamic identity authentication mechanism for verification, including verification and determine whether the certificate is in the trusted database; (3) If the verification is successful, the dynamic identity authentication mechanism is called to verify the object Identity, including verification and determine whether the certificate is in the trusted database; (4) If the verification is successful, the IT access control decision contract IT-ADSC is called to match the policy library ST; (5) If the permissions are met, authorization is performed and the matching result Match is returned to IT-ACSC; (6) IT-ACSC will Tx i use Public key pk p Perform RSA encryption and send it to Sig Receive Tx i And after Sig, use The public key pk p Decrypt Sig to obtain Tx i The hash value of ; then, Hash the original message using the same hash function SHA256 and compare the generated hash value with the decrypted hash value; if the two hash values match, the digital signature Sig is valid and Tx i Complete and from the sender; and then use The private key is used to decrypt and obtain the data (7) Data Generate digital signature Sig, IT risk prevention and control contract IT-RPSC Perform secondary verification to ensure as well as To determine the validity of credit points, we design a time threshold Time and make a threshold determination on the time interval. Use RSA to encrypt and return the result with Sig Verify and decrypt, and update blockchain records and credit points.
9. The method for trusted transfer of ICS data based on double-layer blockchain assistance according to claim 6 is characterized in that: The specific implementation of OT&IT cross-chain access control includes the following sub-steps: (1) Request verification: The requester sends a transaction Tx i To the IT access control contract IT-ACSC or the OT access control contract OT-ACSC; i Hash it using the SHA256 hash function and use the public key sk p Tx i Encrypt and generate a digital signature Sig; (2) IT-ACSC or OT-ACSC authenticates the requester using a dynamic identity authentication mechanism; (3) If the verification is successful, the Raft consensus is used to select g i Node, and use the dynamic identity authentication mechanism to verify the node, and use the credit points to verify the g i Nodes are incentivized; (4) If the verification is successful, the OT access control decision contract OT-ADSC or the IT access control decision contract IT-ADSC is called to match the policy library ST; (5) If the permissions are met, authorization is performed and the matching result Match is returned to OT-ADSC or IT-ACSC; (6) IT-ACSC or OT-ACSC sends Tx i Using g i Node public key pk p Perform RSA encryption and send it to the requester with Sig, g i Node receives Tx i After Sig, the requester's public key pk p Decrypt Sig to obtain Tx i The hash value of g i The node hashes the original message using the same hash function SHA256 and compares the generated hash value with the decrypted hash value; if the two hash values match, the digital signature Sig is valid and Tx i Complete and from the sender; then use this g i The node private key is used for decryption; (7) Data extraction: g i The node transfers the OT blockchain or IT blockchain request across chains and sends the Tx i The nodes on the chain where the requested node is located use the Raft consensus mechanism to reach a consensus. After the consensus is reached, the data Data is encrypted using the RSA encryption algorithm and sent to the interactive node g. i ; (8) Data verification: g i The data is verified using a dynamic identity authentication mechanism, including verifying the authenticity of the data and whether it has been tampered with; (9) Data upload: g i Pack the data and the data provider node into a transaction And upload data across chains; (10) OT risk prevention and control contract OT-RPSC or IT risk prevention and control contract IT-RPSC i To ensure the validity of the credit points of participating nodes, a time threshold Time is designed and a threshold is determined for the time interval. Use RSA to encrypt and return the result to the requester together with Sig. The requester verifies and decrypts the data and updates the blockchain record and credit score.
10. A method for trusted transfer of ICS data based on a double-layer blockchain, applied to the system according to any one of claims 1 to 4; characterized in that: An active defense mechanism based on the combination of heartbeat mechanism and blockchain intelligence to detect dishonest nodes in real time; The specific implementation includes the following sub-steps: (1) Set the heartbeat test cycle time T h , and not greater than the T h In the process, a random challenge is sent to the node. The challenge is designed as follows: randomly select the historical test timestamp and set the challenge feedback time threshold T t ; (2) According to the historical timestamp, query the corresponding blockchain ledger and randomly obtain data interaction request records; (3) Call the data interaction records of both parties and compare them with the blockchain ledger data. If the specified T t If there is no reply within the specified T, the node is judged as a problem node and a manual test is performed to distinguish between downtime, failure, and forgery. t If the node responds and compares the results within 1 second, the node is a safe node; (4) Update the credit values of different types of nodes and mark them.
Citation Information
Patent Citations
Distributed trusted audit security evidence storage method based on block chain
CN114448654A
Blockchain based device authentication
US20190141026A1
System and method for building a trusted network of devices
US20230091179A1
Cited By
Block chain assisted zero dynamic attack defense method and device for industrial control system
CN119652646A
Blockchain-assisted industrial control system zero-dynamic attack defense method and device
CN119652646B
