Two-factor Internet of Things authentication method

By combining the two-factor authentication method of cryptography and PUF on IoT devices and nodes, and using PUF circuits to generate encrypted responses for identity verification, the problem of IoT devices and nodes being easily cloned is solved, and the security of the IoT system is significantly enhanced. sex.

CN118646539APending Publication Date: 2024-09-13BEIJING INST OF COMP TECH & APPL +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410849228.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

IoT devices and nodes are easily cloned, leading to security risks. Pure physical unclonable function (PUF) single-factor authentication is inconvenient in practical applications and cannot guarantee security.

Method used

Adopt a two-factor authentication method that combines cryptography and PUF by creating file systems on IoT devices and nodes, storing and retrieving challenge-response pairs of PUF, and utilizing PUF circuits to generate encrypted responses during two-factor internal and external authentication processes , perform authentication.

Benefits of technology

It effectively prevents counterfeiting of IoT devices and nodes, enhances the security of IoT systems, and promotes the widespread use of IoT applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646539A
    Figure CN118646539A
Patent Text Reader

Abstract

The invention relates to a two-factor Internet of Things authentication method, and belongs to the field of Internet of Things. The method provided by the invention comprises the following steps: creating a file system, a storage key, data and a PUF challenge-response pair on an Internet of Things device and an Internet of Things node; the Internet of Things device and the Internet of Things node mutually store the PUF challenge-response pair of the opposite side; the Internet of Things equipment authenticates the authenticity of the Internet of Things nodes by using cryptography and PUF; and the Internet of Things node authenticates the authenticity of the Internet of Things device by using cryptography and PUF. According to the two-factor Internet of Things authentication method using the cryptography and the physical unclonable function (PUF), counterfeit of Internet of Things equipment and Internet of Things nodes can be effectively prevented, the security of an Internet of Things system is enhanced, and wide application of the Internet of Things can be promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of Internet of Things, and in particular relates to a two-factor Internet of Things authentication method. Background Art

[0002] In IoT applications, IoT devices (readers / gateways, etc.) are usually used to obtain identity or perception data stored in IoT nodes (smart cards / tags / sensors). Most IoT devices and the vast majority of IoT nodes are installed in unattended scenarios, or carried by users, far away from the control range of the system. These IoT devices and IoT nodes are easily intercepted and analyzed by attackers, who can impersonate IoT devices to illegally obtain information about IoT nodes, or impersonate IoT nodes to send false data to IoT devices, which poses a huge security risk to IoT applications.

[0003] In order to realize the safe application of IoT, people usually use cryptography to realize two-way identity authentication between IoT devices and IoT nodes, as well as encryption and integrity protection of transmitted data. However, cryptography is easy to be cracked, IoT devices and IoT nodes are easy to be cloned, and the security of IoT applications cannot be guaranteed.

[0004] Recently, people have proposed the concept of physically unclonable function (PUF). By taking advantage of the non-uniformity of chip materials and the process deviation during chip processing, PUF circuits are designed and implemented. When a challenge or stimulus is given to the circuit, the circuit will generate a corresponding response. For the same challenge, different chips generate different responses, making the chip physically unclonable. Physically unclonable functions have been used for product anti-counterfeiting and are beginning to be applied in the field of the Internet of Things.

[0005] The use of PUF alone requires the storage of a large number of challenge-response pairs for a chip or PUF circuit, which is very inconvenient for practical applications. In addition, the simple application of PUF is still a single-factor authentication. Therefore, there is an urgent need for a two-factor authentication method that combines cryptography and PUF to improve the security of IoT applications and update the challenge-response pairs at any time. The present invention is created to meet this practical demand. Summary of the invention

[0006] 1. Technical issues to be resolved

[0007] The technical problem to be solved by the present invention is how to provide a two-factor Internet of Things authentication method to solve the problem that Internet of Things devices and Internet of Things nodes are easily cloned.

[0008] (II) Technical solution

[0009] In order to solve the above technical problems, the present invention proposes a two-factor Internet of Things authentication method, which comprises the following steps:

[0010] S1. Initialization: Create a file system on the IoT device, including regular files for storing keys and data, an external PUF file for storing the IoT node’s PUF challenge-response pairs, and an internal PUF file for obtaining its own PUF challenge-response pairs;

[0011] Create a file system on the IoT node, including regular files to store keys and data, as well as an external PUF file to store the IoT device's PUF challenge-response pairs, and an internal PUF file to obtain its own PUF challenge-response pairs;

[0012] S2. Obtain the challenge-response pair of PUF. This process includes:

[0013] S21. The IoT device obtains the PUF challenge-response pair of the IoT node by reading the internal PUF file of the IoT node, and stores the pair in the external PUF file of the IoT device.

[0014] S22. The IoT device stores the PUF challenge-response pair of the IoT device in the external PUF file of the IoT node by writing the PUF file of the IoT node;

[0015] S3, two-factor internal authentication: The IoT device sends a PUF challenge to the IoT node in the internal authentication command based on the external PUF file; the IoT node generates a response based on the challenge using the PUF circuit, and then encrypts the response using the internal authentication key shared by the IoT device and the IoT node, and returns it to the IoT device, which then determines the authenticity of the IoT node;

[0016] S4, two-factor external authentication: The IoT device obtains a PUF challenge from the external PUF file of the IoT node; the IoT device generates a response based on the challenge using the PUF circuit, and then encrypts the response using the external authentication key shared by the IoT device and the IoT node, and returns it to the IoT node, which determines the authenticity of the IoT device.

[0017] (III) Beneficial effects

[0018] The present invention proposes a two-factor Internet of Things authentication method. The two-factor Internet of Things authentication method using cryptography and a physically unclonable function (PUF) proposed in the present invention can effectively prevent counterfeiting of Internet of Things devices and Internet of Things nodes, enhance the security of the Internet of Things system, and promote the widespread application of the Internet of Things. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a system composition diagram corresponding to the dual-factor Internet of Things authentication method of the present invention.

[0020] Figure 2 Obtaining node challenge-response pairs and internal authentication flow chart for two-factor IoT authentication method;

[0021] Figure 3 Capturing device challenge-response pairs and external authentication flow diagram for two-factor IoT authentication method. DETAILED DESCRIPTION

[0022] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.

[0023] The present invention relates to a two-factor Internet of Things authentication method, and more specifically, to a two-way identity authentication method between an Internet of Things device and an Internet of Things node by utilizing cryptography and a physically unclonable function (PUF).

[0024] The purpose of the present invention is to provide a two-factor Internet of Things authentication method using cryptography and Physical Unclonable Function (PUF) to meet the needs of identity authentication and updating PUF challenge-response pairs in the Internet of Things.

[0025] To achieve the above object, the present invention proposes a two-factor Internet of Things authentication method, which includes:

[0026] S1. Initialization: Create a file system on the IoT device, including regular files for storing keys and data, as well as an external PUF file for storing the IoT node's PUF challenge-response pairs, and an internal PUF file for obtaining its own PUF challenge-response pairs.

[0027] Create a file system on the IoT node, including regular files to store keys and data, as well as an external PUF file to store the IoT device's PUF challenge-response pairs, and an internal PUF file to obtain its own PUF challenge-response pairs.

[0028] S2. Obtain the challenge-response pair of PUF. This process includes:

[0029] S21. The IoT device obtains the PUF challenge-response pair of the IoT node by reading the internal PUF file of the IoT node, and stores the pair in the external PUF file of the IoT device.

[0030] S22. The IoT device stores the PUF challenge-response pair of the IoT device in the external PUF file of the IoT node by writing the PUF file of the IoT node.

[0031] S3, two-factor internal authentication: The IoT device sends a PUF challenge to the IoT node in the internal authentication command based on the external PUF file; the IoT node generates a response based on the challenge using the PUF circuit, and then encrypts the response using the internal authentication key shared by the IoT device and the IoT node, and returns it to the IoT device, which then determines the authenticity of the IoT node.

[0032] S4, two-factor external authentication: The IoT device obtains a PUF challenge from the external PUF file of the IoT node; the IoT device generates a response based on the challenge using the PUF circuit, and then encrypts the response using the external authentication key shared by the IoT device and the IoT node, and returns it to the IoT node, which determines the authenticity of the IoT device.

[0033] The dual-factor IoT authentication method using cryptography and physically unclonable function (PUF) proposed in the present invention can effectively prevent the counterfeiting of IoT devices and IoT nodes, enhance the security of IoT systems, and promote the widespread application of IoT.

[0034] Embodiment 1:

[0035] Figure 1 This is a system composition diagram of a two-factor Internet of Things authentication method of the present invention. Figure 1 , illustrating an embodiment of the present invention. The method comprises:

[0036] S1. Initialization. Create a file system on the IoT device, including regular files for storing keys and data, external PUF files for storing PUF challenge-response pairs of IoT nodes, and internal PUF files for obtaining their own PUF challenge-response pairs. Create a file system on the IoT node, including regular files for storing keys and data, external PUF files for storing PUF challenge-response pairs of IoT devices, and internal PUF files for obtaining their own PUF challenge-response pairs.

[0037] During specific implementation, a file system is created on the IoT device node, including regular files for storing keys and data. The key type and quantity can be based on the key type and quantity of the smart card, including master key, internal authentication key, external authentication key, data encryption key, root key of message authentication code key, etc. Based on the root key of a message authentication code key and the identifier of the IoT node, the corresponding message authentication code key of the IoT node can be derived.

[0038] A file system is created on the IoT node, including regular files for storing keys and data. The key type and quantity can be based on the key type and quantity of the smart card, including master key, internal authentication key, external authentication key, data encryption key, message authentication code key, etc.

[0039] The external PUF file on the IoT node stores the PUF challenge-response pairs of the IoT device. The written data needs to be encrypted and integrity protected. The integrity protection can be carried out using the message authentication code method of the smart card. The internal PUF file on the IoT node stores the PUF challenge-response pairs of the IoT node itself. Since the IoT node has a PUF circuit, this file does not actually store any data. The read data needs to be encrypted and integrity protected when it is sent to the IoT device.

[0040] The external PUF file on the IoT device stores the PUF challenge-response pairs of the IoT node. The properties of the file are set as follows: the written data needs to be encrypted and integrity protected. The integrity protection can be carried out using the message authentication code method of the smart card. The internal PUF file on the IoT device stores the PUF challenge-response pairs of the IoT device itself. Since the IoT device has a PUF circuit, this file does not actually store any data. The read data needs to be encrypted and integrity protected when it is sent to the IoT node.

[0041] S2. Obtain a challenge-response pair of PUF.

[0042] S21. The IoT device obtains the PUF challenge-response pair of the IoT node by reading the internal PUF file of the IoT node, and stores the pair in the external PUF file of the IoT device.

[0043] In specific implementation, the IoT device generates a random number as a challenge and reads the internal PUF file of the IoT node; after receiving the command to read the internal PUF file, the IoT node uses the PUF circuit to generate a response based on the challenge, and then uses the IoT node's data encryption key to encrypt the challenge-response pair, and uses the message authentication code key to calculate the message authentication code of the encrypted data and return it to the IoT device. The IoT device verifies the data returned by the IoT node, and after decryption, stores the IoT node's challenge-response pair in the external PUF file. Figure 2 Shown in the upper part.

[0044] S22. The IoT device stores the PUF challenge-response pair of the IoT device in the external PUF file of the IoT node by writing the PUF file of the IoT node.

[0045] In specific implementation, the IoT device obtains a random number from the IoT node as a challenge, uses the PUF circuit to generate a response based on the challenge, and then uses the IoT node's data encryption key to encrypt the challenge-response pair, and uses the IoT node's message authentication code key to calculate the message authentication code of the encrypted data and send it to the IoT node. The IoT node verifies the data sent by the IoT device, and after decryption, stores the IoT device's challenge-response pair in an external PUF file. Figure 3 Shown in the upper part.

[0046] S3, two-factor internal authentication. The IoT device sends a PUF challenge to the IoT node in the internal authentication command based on the external PUF file. The IoT node generates a response based on the challenge using the PUF circuit, and then encrypts the response using the internal authentication key and returns it to the IoT device, which then determines the authenticity of the IoT node.

[0047] In specific implementation, the IoT device searches for an unused challenge-response pair for a specified IoT node from an external PUF file, sends the challenge data to the IoT node, and the IoT node generates a response based on the challenge using the PUF circuit. The challenge-response pair is then encrypted using the IoT node's internal authentication key and returned to the IoT device. After decryption, the IoT device compares the pair with the challenge-response pair in the external PUF file to determine the authenticity of the IoT node and marks the challenge-response pair as used. Figure 2 Shown in the lower part.

[0048] If the IoT device finds that the challenge-response pair of the specified IoT node has been used up, it needs to re-read the internal PUF file of the IoT according to the method in S21 and save it to the external PUF file of the IoT device.

[0049] S4, two-factor external authentication. The IoT device obtains a PUF challenge from the external PUF file of the IoT node. The IoT device generates a response based on the challenge using the PUF circuit, and then encrypts the response using the external authentication key of the IoT node and returns it to the IoT node, which determines the authenticity of the IoT device.

[0050] In specific implementation, the IoT device reads a challenge in an unused challenge-response pair in the external PUF file from the designated IoT node. The IoT device generates a response based on the challenge using the PUF circuit, and then encrypts the challenge-response pair using the external authentication key of the IoT node and sends it to the IoT node. After decryption by the IoT node, it is compared with the challenge-response pair in the external PUF file to determine the authenticity of the IoT device and mark the challenge-response pair as used. Figure 3 Shown in the lower part.

[0051] If the IoT node finds that the challenge-response pair of the IoT device has been used up, the IoT device needs to rewrite its own challenge-response pair into the external PUF file of the IoT node according to the method in S22.

[0052] Embodiment 2:

[0053] A two-factor IoT authentication method, comprising:

[0054] (1) Initialization. Create a file system on the IoT device and IoT node to store keys, data, and PUF challenge-response pairs.

[0055] (2) Obtain the PUF challenge-response pair. The IoT device and IoT node store each other’s PUF challenge-response pair.

[0056] (3) Two-factor internal authentication: IoT devices use cryptography and PUF to authenticate the authenticity of IoT nodes.

[0057] (4) Two-factor external authentication: IoT nodes use cryptography and PUF to authenticate the authenticity of IoT devices.

[0058] Furthermore, in the step (1), the external PUF file on the IoT node stores the PUF challenge-response pair of the IoT device, and the written data needs to be encrypted and integrity protected; the internal PUF file on the IoT node does not actually store any data, and the read data needs to be encrypted and integrity protected when it is sent to the IoT device. The external PUF file on the IoT device stores the PUF challenge-response pair of the IoT node, and the internal PUF file on the IoT device does not actually store any data, and the read data needs to be encrypted and integrity protected when it is sent to the IoT node.

[0059] Furthermore, in step (2), the IoT device writes its own PUF challenge-response pair into the external PUF file of the IoT node. The IoT device generates a random challenge, and the IoT device node generates a challenge-response pair of the IoT device node based on the challenge and sends it back to the IoT device; the IoT device stores the challenge-response pair of the IoT device node in its own external PUF file.

[0060] Furthermore, in step (3), when the IoT device authenticates the IoT node, the IoT node generates a response based on the challenge sent by the IoT, encrypts the challenge-response pair, and returns it to the IoT device; the method of encrypting the random number sent by the IoT device is not adopted.

[0061] Furthermore, in step (4), when the IoT node authenticates the IoT device, the IoT device generates a response based on the challenge generated by the IoT node, encrypts the challenge-response pair, and sends it to the IoT node; the method of encrypting the random number generated by the IoT node is not adopted.

[0062] The present invention discloses a two-factor Internet of Things authentication method using cryptography and a physically unclonable function (PUF), the method comprising: (1) initialization. According to conventional methods, a file system is created on an Internet of Things device and an Internet of Things node, including conventional files for storing keys and data, an external PUF file for storing PUF challenge-response pairs of an Internet of Things node or an Internet of Things device, and an internal PUF file for obtaining its own PUF challenge-response pair. (2) Obtaining a PUF challenge-response pair. The Internet of Things device obtains the PUF challenge-response pair of the Internet of Things node by reading the internal PUF file of the Internet of Things node and stores it in the external PUF file of the device; the Internet of Things device stores the PUF challenge-response pair of the Internet of Things device in the node of the Internet of Things device by writing the external PUF file of the Internet of Things node. (3) Two-factor internal authentication. Based on the external PUF file, the IoT device sends a PUF challenge to the IoT node in the internal authentication command. Based on the challenge, the IoT node generates a response using the PUF circuit, encrypts the response using the internal authentication key, and returns it to the IoT device. The IoT device then determines the authenticity of the IoT node. (4) Two-factor external authentication. The IoT device obtains a PUF challenge from the external PUF file of the IoT node. Based on the challenge, the IoT device generates a response using the PUF circuit, encrypts the response using the external authentication key of the IoT node, and returns it to the IoT node. The IoT node determines the authenticity of the IoT device.

[0063] The dual-factor IoT authentication method using cryptography and physically unclonable function (PUF) proposed in the present invention can effectively prevent the counterfeiting of IoT devices and IoT nodes, enhance the security of IoT systems, and promote the widespread application of IoT.

[0064] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A two-factor Internet of Things authentication method, characterized in that: The method comprises the following steps: S1. Initialization: Create a file system on the IoT device, including regular files for storing keys and data, an external PUF file for storing the IoT node’s PUF challenge-response pairs, and an internal PUF file for obtaining its own PUF challenge-response pairs; Create a file system on the IoT node, including regular files to store keys and data, as well as an external PUF file to store the IoT device's PUF challenge-response pairs, and an internal PUF file to obtain its own PUF challenge-response pairs; S2. Obtain the challenge-response pair of PUF. This process includes: S21. The IoT device obtains the PUF challenge-response pair of the IoT node by reading the internal PUF file of the IoT node, and stores the pair in the external PUF file of the IoT device. S22. The IoT device stores the PUF challenge-response pair of the IoT device in the external PUF file of the IoT node by writing the PUF file of the IoT node; S3, two-factor internal authentication: The IoT device sends a PUF challenge to the IoT node in the internal authentication command based on the external PUF file; the IoT node generates a response based on the challenge using the PUF circuit, and then encrypts the response using the internal authentication key shared by the IoT device and the IoT node, and returns it to the IoT device, which then determines the authenticity of the IoT node; S4, two-factor external authentication: The IoT device obtains a PUF challenge from the external PUF file of the IoT node; the IoT device generates a response based on the challenge using the PUF circuit, and then encrypts the response using the external authentication key shared by the IoT device and the IoT node, and returns it to the IoT node, which determines the authenticity of the IoT device.

2. The two-factor Internet of Things authentication method according to claim 1, characterized in that: In S1, a file system is created on the IoT device node, including regular files for storing keys and data. The key type and quantity are in accordance with the key type and quantity of the smart card, including a master key, an internal authentication key, an external authentication key, a data encryption key, and a root key of a message authentication code key. According to the root key of a message authentication code key and the identifier of the IoT node, the corresponding message authentication code key of the IoT node can be derived.

3. The two-factor Internet of Things authentication method according to claim 1, characterized in that: In S1, a file system is created on the IoT node, including regular files for storing keys and data. The key type and quantity are based on the key type and quantity of the smart card, including a master key, an internal authentication key, an external authentication key, a data encryption key, and a message authentication code key.

4. The two-factor Internet of Things authentication method according to claim 1, characterized in that: In S1, the external PUF file on the IoT node stores the PUF challenge-response pair of the IoT device, and the written data needs to be encrypted and integrity protected, and the integrity protection adopts the message verification code method of the smart card; the internal PUF file on the IoT node stores the PUF challenge-response pair of the IoT node itself. Since the IoT node has a PUF circuit, this file does not actually store any data, and the read data needs to be encrypted and integrity protected when it is sent to the IoT device.

5. The two-factor Internet of Things authentication method as claimed in claim 1, characterized in that: In S1, the external PUF file on the IoT device stores the PUF challenge-response pair of the IoT node, and the attributes of the file are set as follows: the written data needs to be encrypted and integrity protected, and the integrity protection adopts the message verification code method of the smart card; the internal PUF file on the IoT device stores the PUF challenge-response pair of the IoT device itself. Since the IoT device has a PUF circuit, this file does not actually store any data, and the read data needs to be encrypted and integrity protected when it is sent to the IoT node.

6. The two-factor Internet of Things authentication method according to any one of claims 1 to 5, characterized in that: The S21 specifically includes: the IoT device generates a random number as a challenge and reads the internal PUF file of the IoT node; after the IoT node receives the command to read the internal PUF file, it uses the PUF circuit to generate a response according to the challenge, and then uses the data encryption key of the IoT node to encrypt the challenge-response pair, and uses the message authentication code key to calculate the message authentication code of the encrypted data, and returns it to the IoT device. The IoT device verifies the data returned by the IoT node, and after decryption, stores the challenge-response pair of the IoT node in the external PUF file.

7. The two-factor Internet of Things authentication method as claimed in claim 6, characterized in that: The S22 specifically includes: the IoT device obtains a random number as a challenge from the IoT node, generates a response based on the challenge using the PUF circuit, then encrypts the challenge-response pair using the data encryption key of the IoT node, and calculates the message verification code of the encrypted data using the message verification code key of the IoT node, and sends it to the IoT node. The IoT node verifies the data sent by the IoT device, and after decryption, stores the challenge-response pair of the IoT device in an external PUF file.

8. The two-factor Internet of Things authentication method as claimed in claim 7, characterized in that: The S3 specifically includes: the IoT device searches for an unused challenge-response pair of a specified IoT node from an external PUF file, sends the challenge data therein to the IoT node, the IoT node generates a response based on the challenge using the PUF circuit, and then encrypts the challenge-response pair using the internal authentication key of the IoT node and returns it to the IoT device; after decryption, the IoT device compares the pair with the challenge-response in the external PUF file to determine the authenticity of the IoT node, and marks that the challenge-response pair has been used.

9. The two-factor Internet of Things authentication method as claimed in claim 8, characterized in that: The S4 specifically includes: the IoT device reads a challenge in an unused challenge-response pair in the external PUF file from the designated IoT node, the IoT device generates a response based on the challenge using the PUF circuit, and then encrypts the challenge-response pair using the external authentication key of the IoT node and sends it to the IoT node; after decryption by the IoT node, the challenge-response pair is compared with the challenge-response pair in the external PUF file to determine the authenticity of the IoT device, and mark the challenge-response pair as used.

10. The two-factor Internet of Things authentication method according to claim 9, characterized in that: In S3, if the IoT device finds that the challenge-response pair of the specified IoT node has been used up, it is necessary to re-read the internal PUF file of the IoT according to the method in S21 and save it to the external PUF file of the IoT device; in S4, if the IoT node finds that the challenge-response pair of the IoT device has been used up, it is necessary to re-write its own challenge-response pair into the external PUF file of the IoT node according to the method in S22.

Citation Information

Cited By

  • Protocol adaptive two-factor authentication method based on Linux system

    CN119743305A

  • A Protocol Adaptive Two-Factor Authentication Method Based on Linux System

    CN119743305B

  • Security detection method, system and device of Internet of Things equipment and medium

    CN121173495A