Lightweight continuous message authentication system suitable for CPS equipment
The non-interactive message authentication scheme through hash operation and Bloom filter solves the problem of low efficiency of message integrity verification on CPS devices, realizes lightweight continuous message authentication, and is suitable for devices with limited resources.
Patent Information
- Application Number
- CN202410295169.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-15
- Publication Date
- 2024-08-30
AI Technical Summary
Existing technology is difficult to implement efficient message integrity verification and source verification on CPS devices with limited computing resources, especially without relying on third-party trusted servers and reducing computing overhead.
A non-interactive message authentication scheme using hash operations and Bloom filters, pre-calculates parameters through offline/online signature methods, uses only hash functions for signature and verification, removes multiple power operations, and improves calculation efficiency.
It implements lightweight continuous message authentication on CPS devices, reduces computing overhead and storage overhead, improves signature verification time, and is suitable for devices with limited resources.
Smart Images

Figure CN118573389A
Abstract
Description
Technical Field
[0001] The present invention relates to secure transmission of messages in a physical information system, and is suitable for data integrity protection and data source verification between resource-constrained devices. Background Art
[0002] A cyber-physical system (CPS) is an integrated control system that combines computers, sensors, and actuators, emphasizing the connection between physical devices and computer networks. CPS has been applied to various fields such as smart grids, autonomous driving systems, medical monitoring, and industrial control systems. When CPS is applied to industrial production and process control operations, it is a subset of CPS called an industrial control system (ICS). ICS uses sensors, actuators, and controllers to form a network, allowing administrators to monitor and adjust remote sites that may be located in the same facility or miles away. These technologies have brought great convenience to production and life, but they also face numerous challenges related to cyber attacks.
[0003] Since CPS often involves interaction with real-world physical systems, security issues may lead to serious consequences, such as personal injury, equipment damage, or environmental disasters. Many studies and cases have demonstrated that it is crucial to ensure that instructions received by CPS devices are not tampered with by attackers. However, CPS devices are often limited by computing and storage resources, including memory, computing, and power. This makes them unable to handle computationally intensive tasks, and many modern cryptographic schemes cannot run on CPS devices. Many engineering systems achieve secure data reception by hardware separation of the control module and the security module. When data comes in, it is verified by the security module before entering the control module. It is time-consuming and expensive to integrate various sub-modules while maintaining system functionality and operability. For example, by developing message authentication functions and integrating them into the control module itself (such as PLC), the cost can be greatly reduced.
[0004] Lightweight message authentication codes (MACs) are the preferred solution to such problems. They allow the sender and receiver of a message to share a key to check the integrity of the message and authenticate it. This method is widely used in Internet of Things (IoT) systems. For example, message authentication schemes designed in many systems are based on lightweight key negotiation to establish a secure session. However, such schemes have some limitations for CPS devices with wide geographical distribution. For example, CPS devices far away from the server may incur a lot of communication costs during key exchange. Moreover, many industrial CPS devices need to receive control information continuously. If the shared key is not changed regularly, the leakage of the signing end key will lead to a series of message authentication failures. In addition, storing a large number of symmetric keys across multiple devices will burden key management. Therefore, using more efficient asymmetric message authentication schemes becomes another option. Such schemes are based on digital signatures, such as the ElGamal signature scheme and the Schnorr signature scheme, which require multiple exponentiation and hash operations when signing and verifying control information, which is not very efficient for CPS devices.
[0005] Most of the current lightweight message authentication schemes are based on key negotiation or multiple interactions to achieve message integrity verification. Another type of lightweight message authentication scheme needs to rely on a trusted server during the authentication process, resulting in additional communication overhead. This type of interactive message authentication method is not suitable for continuous message authentication scenarios in CPS devices. Message authentication schemes based on lightweight digital signatures can usually be lightweight on the signature side, but the message verification side still requires multiple exponentiation operations, which is not lightweight for CPS devices with limited computing resources. Summary of the invention
[0006] In view of the above problems, the present invention proposes a lightweight continuous message authentication system suitable for CPS devices. This system uses non-interactive message authentication in the authentication process without relying on a third-party trusted server. The system does not use any exponentiation operation, so that the controller and actuator in the CPS device can continuously run message signing and message authentication to achieve the purpose of lightweight, protect the integrity of the message and ensure that the source of the message is credible.
[0007] The technical solution adopted by the present invention to solve the technical problem is:
[0008] A lightweight continuous message signing and authentication scheme suitable for CPS devices is provided, and its optimization features are as follows:
[0009] S1: It eliminates the traditional interactive authentication method and does not rely on a trusted third-party server, making the authentication process of the signing and verification ends efficient and lightweight.
[0010] S2: The entire authentication process only uses hash operations and Bloom filters to complete signature and verification, eliminating the power operations with low computational efficiency, making the solution more lightweight.
[0011] S3: The scheme adopts an offline / online signing method. The pre-calculated parameters can be calculated offline, and the online signing time is further reduced, thereby reducing the computing overhead.
[0012] Furthermore, in step S1, the SHA256 hash function is used to complete most of the hashing process, and the key generation center needs to pre-calculate all verification points, and add these verification points to the Bloom filter through the insertion function of the Bloom filter.
[0013] Furthermore, after all verification points are inserted into the Bloom filter, the Bloom filter will assume the function of part of the public key as the trustworthy verification set of the signer. The signer will obtain an incrementable private key, which will be used to complete the signing process. The verifier will obtain the Bloom filter set corresponding to the signer. When facing the message signature, the verifier can query the Bloom filter through the function process to complete the verification.
[0014] Furthermore, in step S2, in order to complete the signature using only the hash function, a long signature needs to be dispersed into multiple short signature hashes. The system does not hash all private keys, but selects the private key value for hashing based on the message and random number characteristics. The final signature value will be composed of part of the private key and the hash value of part of the private key, and the value that can be successfully verified is the result of hashing the remaining short signatures based on the message characteristics.
[0015] Furthermore, in step S3, since most parameters of this system need to be executed incrementally, such as private key increment and random number increment, etc. can be calculated in advance on the offline side. When signing online, only the hash operation of the signed message is required, and other parameters have been completed offline, which will greatly improve the signing speed and efficiency.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] 1. The lightweight continuous message authentication system applicable to CPS devices exemplified in the present invention aims to optimize the authentication efficiency of both the signing end and the verification end, without interactive authentication or reliance on a third-party trusted server. It ensures the data integrity from a single signing node to a verification node and confirms the source of the message.
[0018] 2. Use online / offline signature schemes, only use hash functions and Bloom filters to reduce computational costs, remove the power operations usually required by the verification end, and greatly improve verification efficiency. The system is simulated in the ESP32 IoT environment and compared with other non-interactive message authentication schemes. Performance analysis shows that this algorithm is superior to other schemes in signature verification time and storage overhead, and is more suitable for continuous message authentication of CPS devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] By reading the CPS system flowchart and lightweight signature algorithm flowchart, you can further understand the system usage environment and system operation process:
[0020] Figure 1 This is the CPS system flow chart. Figure 2 This is the flowchart of the lightweight signature algorithm. DETAILED DESCRIPTION
[0021] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It will be understood that the specific embodiments described herein are only used to explain the relevant inventions, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the invention are shown in the accompanying drawings. It should be noted that, in the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
[0022] In the actual CPS industrial environment, we need to protect the integrity of the instructions sent by the control center to the actuator and the data returned by the sensor to the control center. Therefore, the signature end device and the verification end device will change according to the scenario. The current lightweight signature algorithm is mostly suitable for sensors to return data to the control center. Because the verification end needs to perform power operations, they assume that the control center is a device with strong computing power. However, it is impossible to execute the verification algorithm on the actuator to verify the instructions from the control center, which may lead to false instruction injection attacks.
[0023] Therefore, we propose a lightweight message authentication system suitable for CPS. The system uses the idea of digital signature to sign the message by the signing end, and then the verification end verifies the signature. Unlike traditional lightweight signatures, we remove the multiple exponentiation operations on the verification end without significantly reducing the signing efficiency of the signing end, which greatly improves the verification efficiency. This will make the solution suitable for CPS devices to verify data. The overview of the system is shown in the figure below. Figure 2 As shown, the lightweight continuous message authentication system suitable for CPS devices can be divided into key generation, signing and verification processes.
[0024] Specifically, the specific steps for key generation are:
[0025] S1: Initialize system security parameters and Bloom filter.
[0026] S2: KGC uses the encrypted hash function to calculate the long hash function generated by each private key and inserts the current verification into the Bloom filter, and securely transmits the private key and shared key to the signer and sends the BF to the verifier.
[0027] S3: The signer uses a private cryptographic hash function to calculate the signature and sends the signature, message, timestamp and random number to the verifier.
[0028] S4: The verifier calculates the verification point and uses the Bloom filter to check whether the signature is true.
[0029] The specific process of step S1 is as follows: let k be the security parameter of the system, the key generation center randomly selects n q-bit private keys from the private key space to form an initial private key set. A private key s is randomly selected from the shared key space as the shared private key of the KGC and the signer. Then the false positive probability parameter ∈ and the maximum number of verification points L are used to initialize the Bloom filter.
[0030] The specific process of step S2 is: KGC uses the encrypted hash function CHF() to increment each private key, calculates the long hash function composed of the private key, and finally inserts the current verification into the Bloom filter. This process is repeated, and a total of L verification points are inserted into BF. Finally, the initial private key and shared key are securely transmitted to the signer, and BF is sent to the verifier.
[0031] The specific process of step S3 is as follows: before signing, the signer first randomly selects an initial random number from the random number space. When the signer needs to send verification information, it is first divided into multiple parts according to the information characteristics of the message, and then the random number is incremented using the encrypted hash function CHF() in a single signature.
[0032] Since the CPS sending frequency is usually less than the single signature speed, the self-increment process can be calculated offline before signing. Since the self-increment parameter is not bound to the signature information, it is also possible to pre-calculate part of the cache for subsequent signatures, which will not affect the speed of online signing. Subsequently, the hash operation is performed based on the characteristics of the consumption combined with the timestamp and randomness. The private key set is partially hashed according to the value of each bit of the hash value. Finally, it is combined into a signature set, and the signature, message, timestamp and random number are sent to the verifier.
[0033] The specific process of step S4 is as follows: When the verifier receives the information sent by the signer, it will first verify whether the message is in a legal time interval. For legal messages, the hash value will be calculated, and some offline calculations can be performed. Then, the hash operation is performed according to the hash bits, and the hashed set is used to calculate the verification point. Finally, the Bloom filter is used to check whether the signature is true. If it does not exist in the BF, the signature is false.
[0034] The above system is simulated and tested on physical network devices, and the signature verification time can be used on resource-constrained devices, realizing secure message transmission of CPS devices.
[0035] Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in this application.
Claims
1. A lightweight continuous message authentication system applicable to CPS devices shall include the following claims: S1: To ensure efficient signature verification, the message transmission process will only involve the interaction between the signer and the verifier, without a trusted third party. At the same time, the signer and the verifier only perform one-way single message signature verification, without involving multiple interactions; S2: The entire verification scheme does not use large number exponentiation, but only uses hash functions and Bloom filter functions. Its security should be the same as the standard signature scheme; S3: Offline signing should be completed earlier than online signing, and the signature verification simulation time of the entire scheme should be consistent with the operation of CPS resource-constrained devices.
2. The lightweight continuous message authentication system suitable for CPS equipment according to claim 1, characterized in that: One-way, one-time message transmission can significantly reduce computing and transmission overhead, but this requires the use of some special pre-computation schemes, such as pre-computing possible verification points in the key generation center. Message transmission without a trusted third party as an intermediary requires a trusted public verification set used by the verifier. We use Bloom filters as the public verification set.
3. The lightweight continuous message authentication system suitable for CPS equipment according to claim 2, characterized in that: Traditional RSA signature or elliptic curve signature schemes are not used. Because RSA signatures necessarily involve exponentiation, and although elliptic curve calculations are slightly lighter than exponentiation, they still cannot be run on resource-constrained devices. Therefore, this system uses a combination of random hash points to complete the entire signing process, and the computational overhead is only hash operations and Bloom query operations. Security analysis can show that its security level is comparable to that of standard security signature algorithms.
4. The lightweight continuous message authentication system suitable for CPS equipment according to claim 3, characterized in that: Offline signature can calculate the parameters required for signature in advance to ensure the efficient completion of online signature. Usually CPS devices need to send message requests or verifications continuously. According to research, the time for continuous message requests is usually more than 1 second. This will give most devices enough idle pre-calculation time. Using idle time to pre-calculate signature parameters can greatly improve CPS execution efficiency and save a lot of online signature time.
