Authentication system, generation device, generation method, and generation program

By writing random numbers and index information in the firmware of IoT devices, a universal firmware is generated for each model, which solves the problem of complexity and high cost of integrity confirmation of IoT devices in the existing technology, and achieves effective integrity confirmation and verification of IoT devices. Data management simplified.

CN118742897APending Publication Date: 2024-10-01NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280092248.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-02-22
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing technology cannot effectively confirm the integrity of IoT devices, especially in the absence of a physically reliable base point. Different firmware needs to be generated for each device, resulting in complex and high-cost management.

Method used

By writing the specified random number and index information in the free area of ​​the firmware, a universal firmware for the model is generated for challenge and response authentication, which reduces the need for firmware management of each device, and excludes variables in the memory through hash value calculation. Part, realize the integrity confirmation of IoT devices.

Benefits of technology

It achieves effective integrity confirmation of IoT devices, reduces the cost and complexity of firmware management in the same model, reduces the amount of data managed by the IoT gateway, and is suitable for devices with variable memory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118742897A_ABST
    Figure CN118742897A_ABST
Patent Text Reader

Abstract

A firmware generation device (10) is provided with a firmware generation unit (15b) that generates device-common firmware for challenge response authentication by writing a prescribed random number and index information, which indicates a region to which a hash value is to be calculated, into a free region of firmware.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an authentication system, a generation device, a generation method, and a generation program. Background Art

[0002] Malware (such as Mirai) not only invades ICT (Information and Communication Technology) devices such as PCs (Personal Computers), but also invades IoT (Internet of Things) devices that do not have hardware such as security elements. When these devices are added to a botnet, such damage expands.

[0003] Prior Art Documents

[0004] Non-Patent Documents

[0005] [Non-Patent Document 1] Sarita Agrawal, Manik Lal Das, Javier Lopez, "Detection of Node Capture Attack in Wireless Sensor Networks", IEEE SYSTEMS JOURNAL, VOL.13, MARCH 2019 <https: / / ieeexplore.ieee.org / document / <8444374> Summary of the Invention

[0006] Problems to be Solved by the Invention ​​​​​​​The present invention was made in view of the above circumstances, and its object is to provide an authentication system, generation apparatus, generation method and generation program capable of effectively verifying the integrity of IoT devices.

[0010] Methods for solving problems

[0011] To address the aforementioned issues and achieve the objectives, the authentication system of the present invention comprises: a firmware generation device; a verification device for performing integrity verification; and a verification device for performing integrity proof. The generation device includes a firmware generation unit that generates device-wide firmware for challenge-response authentication by writing a predetermined random number and index information into a free area of ​​the firmware, wherein the index information represents an area that is the object of hash value calculation. The verification device includes a challenge generation unit that generates a challenge against the verification device based on the device-wide firmware held by the verification device. The verification device includes a response generation unit that generates a response against the verification device based on the device-wide firmware held by the verification device.

[0012] To solve the aforementioned problems and achieve the objective, the generation apparatus of the present invention is characterized in that the generation apparatus has a firmware generation unit, which generates a model-wide firmware for challenge response authentication by writing a specified random number and index information into a free area of ​​the firmware, wherein the index information represents the area that becomes the object of hash value calculation.

[0013] Furthermore, the generation method of the present invention is a generation method executed by a generation device, characterized in that the generation method includes a firmware generation step, in which a model-wide firmware for challenge response authentication is generated by writing a specified random number and index information into a free area of ​​the firmware, wherein the index information represents the area that becomes the object of hash value calculation.

[0014] Furthermore, the generation program of the present invention is characterized in that a computer performs a firmware generation step, in which a model-wide firmware for challenge response authentication is generated by writing a specified random number and index information into a free area of ​​the firmware, wherein the index information represents the area that becomes the object of hash value calculation.

[0015] Invention Effects

[0016] In this invention, using firmware that is universally compatible with various device models, it is possible to perform effective integrity verification of IoT devices. Attached Figure Description

[0017] Figure 1 This is a diagram illustrating a structural example of the authentication system according to the first embodiment.

[0018] Figure 2 This is a block diagram illustrating a structural example of the firmware generation apparatus according to the first embodiment.

[0019] Figure 3 This is a block diagram illustrating a structural example of the verification device according to the first embodiment.

[0020] Figure 4 This is a block diagram illustrating a structural example of the proof device according to the first embodiment.

[0021] Figure 5 This is a diagram illustrating an example of confirming the integrity of the first embodiment.

[0022] Figure 6 This is a diagram illustrating an example of hash value calculation in the first embodiment.

[0023] Figure 7 This is a diagram illustrating an example of the outline of the communication network according to the first embodiment.

[0024] Figure 8 This is a diagram illustrating a specific example of a communication network according to the first embodiment.

[0025] Figure 9 This is a diagram illustrating an example of the authentication process in the first embodiment.

[0026] Figure 10 This diagram illustrates a specific example of device registration during the authentication process of the first embodiment.

[0027] Figure 11 This is a diagram illustrating a specific example of integrity verification in the authentication process of the first embodiment.

[0028] Figure 12 This is a flowchart illustrating an example of the authentication process in the first embodiment.

[0029] Figure 13 It is a diagram representing the computer that executes the program. Detailed Implementation

[0030] Hereinafter, embodiments of the firmware generation apparatus (generation apparatus), firmware generation method (generation method), and firmware generation program (generation program) of the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to the embodiments described below.

[0031] [First Implementation]

[0032] The following will describe in sequence the structure of the authentication system 100 of the first embodiment, the structure of each device of the authentication system 100, specific examples of each process, the authentication process flow, and finally the effects of the first embodiment.

[0033] (1. Structure of Authentication System 100)

[0034] use Figure 1 The structure of the authentication system 100 according to the first embodiment will be described in detail. Figure 1 This is a diagram illustrating a structural example of the authentication system according to the first embodiment. Hereinafter, based on the structural example of the overall authentication system 100, each process will be explained.

[0035] (1-1. Example of the overall structure of the authentication system 100)

[0036] like Figure 1 As shown, the authentication system 100 includes a firmware generation device 10, a verification device 20 such as an IoT gateway, a verification device 30 such as an IoT device (appropriately referred to as "device"), and a user operator terminal 40. Here, the firmware generation device 10, verification device 20, verification device 30, and user operator terminal 40 are connected via a wired or wireless connection through a specified communication network (not shown). Furthermore, in Figure 1 The authentication system 100 shown may also include multiple firmware generation devices 10, multiple verification devices 20, multiple certification devices 30, or multiple user operator terminals 40.

[0037] (1-1-1. Firmware generation device 10)

[0038] The firmware generation device 10 is a device (computer) that generates firmware, which is installed in the verification device 30, such as an IoT device. The firmware generation device 10 is operated by an administrator, such as a device manufacturer M. Furthermore, the firmware generation device 10 can be implemented, for example, as a dedicated machine for IoT device manufacturing, a server device, or a desktop PC. Figure 1 In the example, the firmware generation device 10 is implemented by the server device.

[0039] (1-1-2. Verification device 20)

[0040] Verification device 20 is a device (computer) for verifying the integrity of IoT devices. Additionally, verification device 20 includes an integrity verification procedure (verifier) ​​to confirm whether the memory information of IoT devices, etc., has been tampered with. Figure 1 In the example shown, the verification device 20 is implemented by an IoT gateway.

[0041] (1-1-3. Proof device 30)

[0042] The verification device 30 is an integrity verification device, i.e., a device (computer), a small information device manufactured by device manufacturer M, etc., with the premise of connection to the Internet. The verification device 30 has inherent information (MAC (Media Access Control) address, device serial number, etc.) for uniquely identifying IoT devices, etc. Furthermore, the verification device 30 has an integrity verification procedure (verifier) ​​to confirm whether the memory information of the IoT device, etc., has been tampered with. Figure 1 In the example shown, the proof device 30 is implemented by an IoT device such as a camera.

[0043] (1-1-4. User operator terminal 40)

[0044] User operator terminal 40 is a device (computer) that updates the firmware of authentication device 30 or registers the firmware in verification device 20. It is the terminal used by the user operator (appropriately referred to as "user") U. User operator terminal 40 can be implemented, for example, through a smartphone, tablet, laptop PC (Personal Computer), desktop PC, mobile phone, PDA (Personal Digital Assistant), etc. Figure 1 The example shows the case where the user operator terminal 40 is implemented by a desktop PC.

[0045] (1-2. Processing of Authentication System 100)

[0046] The following describes the firmware generation process (step S1), firmware update / registration process (steps S2 to S4), formal registration process (steps S5 to S6), challenge sending process (steps S7 to S8), and response sending process (steps S9 to S10) as part of the authentication system 100's processing. Furthermore, steps S1 to S10 can be executed in different orders. Additionally, some steps in steps S1 to S10 may be omitted.

[0047] (1-2-1. Firmware Generation Process)

[0048] First, the firmware generation device 10 generates firmware (model-specific firmware) for challenge response authentication by writing a random number (hereinafter referred to as "the specified random number") generated in a prescribed manner and index information into the free area of ​​the firmware (step S1). The details of the firmware generation process will be described later in [3. Specific examples of each process of the authentication system 100] (3-2. Hash value calculation process).

[0049] (1-2-2. Firmware Update / Registration Processing)

[0050] Next, the user operator terminal 40 obtains the firmware of the verification device 30 generated by the firmware generation device 10 (step S2). Then, the user operator terminal 40 performs an update (firmware update) of the verification device 30, such as the IoT device (step S3). In addition, the user operator terminal 40 uses the firmware generated by the firmware generation device 10 to register the firmware of the verification device 20, such as the IoT gateway (step S4). Furthermore, details regarding the firmware update / registration process will be described later in [3. Specific Examples of Each Process of the Authentication System 100] (3-4. Authentication Process) (3-4-2. Specific Examples of Device Registration).

[0051] (1-2-3. Formal Registration Processing)

[0052] Next, the verification device 30 performs a formal registration request for the device, etc., to the verification device 20, such as the IoT gateway (step S5). Furthermore, the verification device 20 performs formal registration of the device, etc. (step S6). Details regarding the formal registration process will be described later in [3. Specific Examples of Each Process in the Authentication System 100] (3-4. Authentication Process) (3-4-2. Specific Examples of Device Registration).

[0053] (1-2-4. Question Sending Processing)

[0054] Then, the verification device 20 generates a challenge based on the device-specific firmware maintained by the verification device 20 (step S7). Furthermore, the verification device 20 sends the generated challenge to the verification device 30 to verify the integrity of IoT devices, etc. (step S8). Details regarding the formal registration process will be described later in [3. Specific Examples of Each Process in the Authentication System 100] (3-4. Authentication Process) (3-4-3. Specific Examples of Integrity Confirmation).

[0055] (1-2-5. Response Sending Processing)

[0056] Then, the verification device 30 generates a response based on the model-specific firmware of the verification device 30 (step S9). Furthermore, to verify the integrity of IoT devices, etc., the verification device 30 sends the generated response to the verification device 20 (step S10). Details regarding the formal registration process will be described later in [3. Specific Examples of Each Process in the Authentication System 100] (3-4. Authentication Process) (3-4-3. Specific Examples of Integrity Confirmation).

[0057] (1-3. The effectiveness of authentication system 100)

[0058] The following section, after explaining the problems with TPIV (Trusted platform module enabled Program Integrity Verification), which is used as a reference technology, details the effectiveness of authentication system 100.

[0059] (1-3-1. Problem Points)

[0060] First, TPIV, as a reference technology, will be explained. The TPIV technology prevents malware from infiltrating empty areas of the firmware by filling them with incompressible random number data. Furthermore, the hash value of the firmware containing the embedded random numbers is used as a public key for information sharing between the IoT gateway (verification device) and the IoT device (proof device). Using this firmware offers two advantages. Firstly, the firmware prevents impersonation during initial registration. That is, it serves as a unique ID for the IoT gateway to verify the authenticity of the device. Secondly, the firmware prevents tampering. That is, it can be used to calculate the hash value of the data for integrity verification.

[0061] However, the aforementioned TPIV-based technology has the following three problems. First, this technology requires generating separate firmware with different random numbers for each device, making it impossible to use the same firmware across the same device model. Second, in this technology, the IoT gateway also needs to manage different firmware data for each device that is subject to integrity verification; as the number of devices increases, the amount of data managed in the IoT gateway becomes enormous. Third, because this technology uses the hash value of the entire memory image, devices with variable portions in memory become unrelated to the target device.

[0062] (1-3-2. Summary)

[0063] In the authentication system 100, the firmware generation device 10 generates a model-wide firmware for challenge response authentication by writing a specified random number and index information into a free area of ​​the firmware, wherein the index information represents the area that becomes the object of hash value calculation. The verification device 20, which performs integrity verification, generates a challenge to the verification device 30 based on the model-wide firmware held by the verification device 20. The verification device 30, which performs integrity verification, generates a response to the verification device 20 based on the model-wide firmware on which the verification device 30 is installed.

[0064] Furthermore, in the authentication system 100, the firmware generation device 10 generates a predetermined random number and index information that are common to each model of the verification device 30, and writes the predetermined random number and index information into a free area of ​​the firmware, thereby generating model-specific firmware. The index information here contains the starting address and size of the storage area that becomes the object of hash value calculation. Additionally, the verification device 20 uses the index information contained in the model-specific firmware held by the verification device 20 to read the object data for hash value calculation, and performs hash value calculation using the inherent information of the verification device 30 and the object data to generate a challenge. Furthermore, the verification device 30 uses the index information contained in the model-specific firmware possessed by the verification device 30 to read the object data for hash value calculation, and performs hash value calculation using the inherent information of the verification device 30 and the object data to generate a response.

[0065] (1-3-3. Effects)

[0066] Therefore, the authentication system 100 helps to eliminate the aforementioned problems associated with the TPIV technology. Specifically, regarding the first problem, in the authentication system 100, device manufacturers use a universal random number for the same model, thus eliminating the need to generate different firmware for each device. Furthermore, regarding the second problem, in the authentication system 100, the random number is universal for the same model, thus reducing the amount of data managed by the IoT gateway by sharing the same firmware data. Additionally, regarding the third problem, in the authentication system 100, by including index information in the device's firmware indicating the storage range used in hash value generation, variable data is excluded from hashed objects, enabling even devices with variable portions in their memory to be included in integrity verification.

[0067] Based on the above, in the authentication system 100, even devices without physically reliable base points, such as security elements, can be used for software integrity verification. This enables the "expansion of target devices" by adding security functions at low cost. Furthermore, in actual device manufacturing, from both cost and application perspectives, it is difficult to assemble different software for each individual device for release management. Therefore, the system can "reduce the barriers to entry" by using the same software across the same model during the manufacturing phase. In other words, the authentication system 100 is a system that uses universal firmware to perform integrity verification of IoT devices, enabling effective integrity verification of IoT devices.

[0068] (2. Structure of each device in the authentication system 100)

[0069] use Figures 2-4 The structure of the firmware generation device 10, verification device 20 and verification device 30 of the first embodiment is described in detail. Figure 2This is a block diagram showing a structural example of the firmware generation apparatus 10 according to the first embodiment. Figure 3 This is a block diagram showing a structural example of the verification device 20 according to the first embodiment. Figure 4 This is a block diagram illustrating a structural example of the proof device 30 according to the first embodiment.

[0070] (2-1. Structural example of firmware generation device 10)

[0071] Reference Figure 2 A structural example of the firmware generation apparatus 10 according to the first embodiment will be described in detail. The firmware generation apparatus 10 includes a communication unit 11, an input unit 12, an output unit 13, a storage unit 14, and a control unit 15. Alternatively, the firmware generation apparatus 10 may also be configured without an input unit 12 or an output unit 13.

[0072] (2-1-1. Communications Department 11)

[0073] The communication unit 11 is implemented, for example, by a NIC (Network Interface Card). Furthermore, the communication unit 11 connects to a designated communication network (network) via wired or wireless means, and transmits and receives information with various devices.

[0074] (2-1-2. Input Section 12)

[0075] The input unit 12 is implemented, for example, by a keyboard, mouse, etc. Moreover, the input unit 12 receives various operations from the administrator of the firmware generation device 10, etc.

[0076] (2-1-3. Output Section 13)

[0077] The output unit 13 is implemented, for example, by a liquid crystal display. Furthermore, the output unit 13 displays various information.

[0078] (2-1-4. Storage Section 14)

[0079] The storage unit 14 is implemented, for example, by semiconductor memory elements such as RAM (Random Access Memory) and flash memory, or storage devices such as hard disks and optical disks. Furthermore, the storage unit 14 stores various information referenced by the control unit 15 during operation, and various information acquired by the control unit 15 during operation.

[0080] (2-1-5. Control Unit 15)

[0081] The control unit 15 is responsible for the overall control of the firmware generation device 10. The control unit 15 includes a receiving unit 15a, a firmware generation unit 15b, and a transmitting unit 15c. Here, the control unit 15 is, for example, an electronic circuit such as a CPU (Central Processing Unit), an MPU (Micro Processing Unit), an integrated circuit such as an ASIC (Application Specific Integrated Circuit), or an FPGA (Field Programmable Gate Array).

[0082] (2-1-5-1. Receiving Unit 15a)

[0083] The receiving unit 15a receives various information related to the firmware. For example, the receiving unit 15a receives a firmware download request from the user U, who is the administrator of the authentication system 100.

[0084] (2-1-5-2. Firmware Generation Section 15b)

[0085] The firmware generation unit 15b generates model-wide firmware for challenge response authentication by writing a predetermined random number and index information into a free area of ​​the firmware, wherein the index information represents the area that becomes the object of hash value calculation. For example, the firmware generation unit 15b generates the random number that is common to each model of the authentication device and the index information containing the starting address and size of the storage area that becomes the object of hash value calculation, and writes the random number and the index information into the free area, thereby generating the model-wide firmware.

[0086] On the other hand, the firmware generation unit 15b stores the generated universal firmware for the device model in the storage unit 14.

[0087] (2-1-5-3. Sending Unit 15c)

[0088] The sending unit 15c sends various information related to the firmware. For example, the sending unit 15c sends the generated firmware based on a firmware download request from user U, who is the administrator of the authentication system 100.

[0089] (2-2. Example of the structure of verification device 20)

[0090] use Figure 3 The structure of the verification device 20 according to the first embodiment will be described in detail. The verification device 20 includes a communication unit 21, an input unit 22, an output unit 23, a storage unit 24, and a control unit 25. Alternatively, the verification device 20 may also be configured without an input unit 22 or an output unit 23.

[0091] (2-2-1. Communications Department 21)

[0092] The communication unit 21 is implemented, for example, by a NIC. Furthermore, the communication unit 21 is connected to a designated communication network (network) via wired or wireless means to send and receive information with various devices.

[0093] (2-2-2. Input Section 22)

[0094] The input unit 22 is implemented, for example, by a keyboard, mouse, etc. Moreover, the input unit 22 receives various operations from the administrator of the verification device 20, etc.

[0095] (2-2-3. Output Section 23)

[0096] The output unit 23 is implemented, for example, by a liquid crystal display. Furthermore, the output unit 23 displays various information.

[0097] (2-2-4. Storage Section 24)

[0098] The storage unit 24 is implemented, for example, by semiconductor memory elements such as RAM and flash memory, or storage devices such as hard disks and optical disks. Furthermore, the storage unit 24 stores various information referenced by the control unit 25 during operation, and various information acquired by the control unit 25 during operation.

[0099] (2-2-5. Control Unit 25)

[0100] The control unit 25 is responsible for the overall control of the verification device 20. The control unit 25 includes a receiving unit 25a, a challenge generation unit 25b, and a transmitting unit 25c. Here, the control unit 25 is, for example, an electronic circuit such as a CPU or MPU, or an integrated circuit such as an ASIC or FPGA.

[0101] (2-2-5-1. Receiving Unit 25a)

[0102] The receiving unit 25a receives various types of information. For example, the receiving unit 25a receives the general firmware of the device model and the inherent information of the verification device 30, and stores it in the storage unit 24. In addition, the receiving unit 25a receives registration requests and responses from the verification device 30.

[0103] (2-2-5-2. Question Generation Department 25b)

[0104] The challenge generation unit 25b generates a challenge against the verification device 30 based on the device-wide firmware maintained by the verification device 20. For example, the challenge generation unit 25b uses the index information contained in the device-wide firmware maintained by the verification device 20 to read the object data for hash value calculation, and uses the inherent information of the verification device 30 and the object data for hash value calculation to perform hash value calculation, thereby generating a challenge.

[0105] (2-2-5-3. Sending Unit 25c)

[0106] The transmitting unit 25c transmits various types of information. For example, the transmitting unit 25c transmits the generated challenge to the verification device 30.

[0107] (2-2-5-4. Response Verification Section 25d)

[0108] The response verification unit 25d verifies the response received from the authentication device 30. For example, the response verification unit 25d verifies the response in the manner described later in [3. Specific Examples of Each Process of the Authentication System 100] (3-1. Integrity Verification Process) (3-1-6. Integrity Verification Process of the IoT Gateway).

[0109] (2-3. Example of the structure of device 30)

[0110] use Figure 4 A detailed description of the structure of the verification device 30 according to the first embodiment is provided. The verification device 30 includes a communication unit 31, an input unit 32, an output unit 33, a storage unit 34, and a control unit 35. Alternatively, the verification device 30 may also be configured without an input unit 32 or an output unit 33.

[0111] (2-3-1. Communications Department 31)

[0112] The communication unit 31 is implemented, for example, by a NIC. Furthermore, the communication unit 31 is connected to a designated communication network (network) via wired or wireless means to send and receive information with various devices.

[0113] (2-3-2. Input Section 32)

[0114] The input unit 32 is implemented, for example, by a keyboard, mouse, etc. Furthermore, the input unit 32 handles various operations from the administrator of the verification device 30, etc.

[0115] (2-3-3. Output Section 33)

[0116] The output unit 33 is implemented, for example, by a liquid crystal display. Furthermore, the output unit 33 displays various information.

[0117] (2-3-4. Storage Section 34)

[0118] The storage unit 34 is implemented, for example, by semiconductor memory elements such as RAM and flash memory, or storage devices such as hard disks and optical disks. Furthermore, the storage unit 34 stores various information referenced by the control unit 35 during operation, and various information acquired by the control unit 35 during operation.

[0119] (2-3-5. Control Unit 35)

[0120] The control unit 35 is responsible for the overall control of the verification device 30. The control unit 35 includes a receiving unit 35a, a response generating unit 35b, and a transmitting unit 35c. Here, the control unit 35 is, for example, an electronic circuit such as a CPU or MPU, or an integrated circuit such as an ASIC or FPGA.

[0121] (2-3-5-1. Receiving Unit 35a)

[0122] The receiving unit 35a receives various types of information. For example, the receiving unit 35a receives firmware common to the device model. In addition, the receiving unit 35a receives queries from the verification device 20.

[0123] (2-3-5-2. Response Generation Unit 35b)

[0124] The response generation unit 35b generates a response for the verification device 20 based on the device-specific firmware maintained by the verification device 30. For example, the response generation unit 35b uses the index information contained in the device-specific firmware installed on the verification device 30 to read the object data for hash value calculation, uses the inherent information of the verification device 30 and the object data for hash value calculation to perform hash value calculation, and generates a response for the verification device 20.

[0125] (2-3-5-3. Sending Unit 35c)

[0126] The transmitting unit 35c transmits various types of information. For example, the transmitting unit 35c sends a registration request and a generated response to the verification device 20.

[0127] [3. Specific examples of each process in authentication system 100]

[0128] use Figures 5 to 11 Specific examples of each process in the authentication system 100 of the first embodiment will be explained below. Hereinafter, the process will be described in the order of integrity verification, hash value calculation, communication network, and authentication.

[0129] (3-1. Integrity Verification Process)

[0130] use Figure 5 This section provides a specific example of the integrity verification process for the authentication system 100. Figure 5 This diagram illustrates an example of integrity verification in the first embodiment. Hereinafter, a specific example will be described using an IoT gateway (cluster head V) as the verification device 20 and an IoT device (node ​​A) as the proof device 30. Furthermore, hereinafter, let CH... V Let ID be the ID of cluster head V. A Let N be the ID of node A. v Let P be a one-time random number generated for the cluster head V. A To calculate the data of the object for the hash value of node A, let UA Let K be the inherent information of node A. A To make P A with U A The hash value of the combined data is given by PRF, which is a pseudo-random number function.

[0131] (3-1-1. Challenge Generation and Processing of IoT Gateway)

[0132] First, the IoT gateway does not have K set. Anew In the case of P being extracted from the firmware data of node A. A At this point, if the IoT gateway fails, it terminates by setting the cluster header to invalid (see reference). Figure 5 (1)). Next, the IoT gateway sets K. Anew In the case of K Anew Let K be the key. A At this time, the IoT gateway is not configured with K. Anew In the case of P A and U A Combine and calculate K A (Refer to Figure 5 (2)). Next, the IoT gateway generates a one-time random number Nv (refer to...). Figure 5 (3)). In addition, the IoT gateway uses K. A Encrypt Nv (see reference) Figure 5 (4)). Then, the IoT gateway will K A Used as a key to calculate {N v ID A CH V}'s PRF (refer to) Figure 5 (5)).

[0133] (3-1-2. Challenge Sending Processing of IoT Gateway)

[0134] IoT gateway sends ID A CH V Encrypted N v and K A {N} is calculated as the key v ID A CH V The PRF of} is used as a query (refer to) Figure 5 (6)).

[0135] (3-1-3. IoT Device Response Generation and Processing 1)

[0136] First, IoT devices set K Anew In the case of KAnew Let K be the key. A At this point, the IoT device is in a state where K is not set. Anew In the case of P being retrieved from the stored data of node A. A , will P A and U A Combined to calculate K A (Refer to Figure 5 (7)). Next, the IoT device uses K A The encrypted N contained in the challenge v Decrypt and extract N. v (Refer to Figure 5 (8)). Then, the IoT device will K A Used as a key to calculate {N v ID A CH V The PRF header is calculated and compared with the challenged value. If they don't match, the IoT device determines it's a request from an invalid cluster header (see [reference]). Figure 5 (9)).

[0137] (3-1-4. IoT Device Response Generation and Processing 2)

[0138] Next, the IoT device calculates {P} A N v ID A CH V Let K be the hash value of} Anew (Refer to Figure 5 (10)). In addition, IoT devices will K Anew Used as a key to calculate {ID A CH V}'s PRF (refer to) Figure 5 (11)). Then, the IoT device will K A Used as a key to calculate N v PRF (refer to) Figure 5 (12)

[0139] (3-1-5. Response transmission processing of IoT devices)

[0140] IoT devices send K A N calculated for the key v PRF, and K Anew {ID calculated for the key A CH V The PRF of} is used as a response (see reference) Figure 5 (13)

[0141] (3-1-6. Integrity verification process for IoT gateways)

[0142] IoT gateway will K A Used as a key to calculate N v The PRF was calculated and compared with the response value (see reference). Figure 5 (14)). In addition, calculate {P A N v ID A CH V Let K be the hash value of} Anew (Refer to Figure 5 (15)). Finally, K Anew Used as a key to calculate {ID A CH V The PRF value is compared with the response value (see reference). Figure 5 (16)). In K A N is calculated as a key. v PRF and K Anew {ID} calculated as a key A CH V When the PRF values ​​of both parties match the response values, the integrity is successfully confirmed.

[0143] (3-2. Hash value calculation and processing)

[0144] use Figure 6 This section provides a specific example of hash value calculation and processing for authentication system 100. Figure 6 This diagram illustrates an example of hash value calculation according to the first embodiment. Hereinafter, based on the explanation of the hash value calculation method, the determination of the hash value calculation object will be explained.

[0145] (3-2-1. Calculation method of hash value)

[0146] Hereinafter, the hash value calculation method of the first embodiment will be described in the order of firmware generation device 10, IoT gateway as verification device 20, and IoT device as proof device 30.

[0147] (3-2-1-1. Calculation method of firmware generation device 10)

[0148] The firmware generation apparatus 10 fills the empty areas of the firmware with random numbers (process A1). At this time, since it is difficult to input different random values ​​for each device, a common random number is used for the same model. In addition, the firmware generation apparatus 10 includes index information representing the storage range for hash value generation in the firmware (process A2).

[0149] (3-2-1-2. Calculation method of IoT gateway)

[0150] The IoT gateway first registers the firmware of the IoT devices to be connected (process B1). Then, when a registration request arrives from an IoT device, the IoT gateway accesses the index information within the firmware to determine the range of data for hash calculation (process B2). At this time, the location of the index information itself is recorded in the integrity verification procedure (verifier). Next, based on the range of data obtained in process B2, the IoT gateway accesses the file location where hash calculation should be performed and retrieves the data (process B3). Then, the IoT gateway adds the device's inherent information (MAC address, device serial number, etc.) to the data obtained in process B3 to calculate the hash value (process B4).

[0151] (3-2-1-3. Calculation methods for IoT devices)

[0152] When an IoT device receives a challenge from the IoT gateway, it accesses the index information in the memory to determine the range of memory where hash calculation should be performed (process C1). At this time, the location of the index information itself is recorded in the integrity verification procedure (provider). Next, based on the memory range obtained in process C1, the IoT device accesses the storage area where hash calculation should be performed and retrieves the data (process C2). Then, the IoT device adds its own information (MAC address, device serial number, etc.) to the data retrieved in process C2 to calculate the hash value (process C3).

[0153] (3-2-2. Determining the Object for Hash Value Calculation)

[0154] The following describes an example of using DFCobot DRF0478 as an IoT device, in order of determining the hash value calculation object in the first embodiment, following the order of memory image, firmware image, hash value calculation area, and index information.

[0155] (3-2-2-1. Memory Image)

[0156] like Figure 6 As shown in (1), a portion of the data in the memory image corresponds to the firmware image. Figure 6 In example (1), “app0” in the memory image corresponds to the firmware image. At this time, random number data and hash value calculation area information are appended to the “.flash.text” section of the firmware image part “App Image(.bin)” loaded into the “app0” partition.

[0157] (3-2-2-2. Firmware Image)

[0158] like Figure 6 As shown in (2), a portion of the data in the firmware image corresponds to the region where hash values ​​are calculated. Figure 6 In example (2), “.flash.appdesc.flash.rodata” and “.flash.text” in the firmware image correspond to the region where the hash value is calculated.

[0159] (3-2-2-3. The region for hash value calculation)

[0160] like Figure 6 As shown in (3), the areas for hash value calculation are the aforementioned ".flash.appdesc", ".flash.rodata", and ".flash.text". ".flash.text" includes a program portion and a random number data portion, and the random number data portion includes hash value calculation area index information. At this time, in the IoT gateway, the hash value is calculated based on the firmware image; in the IoT device, the hash value is calculated based on the memory image within the device and compared.

[0161] (3-2-2-4. Index Information)

[0162] like Figure 6 As shown in (4), the index information has the number of hash value regions (n), the starting address and size of each of “hash value region 1”, ..., “hash value region n”.

[0163] (3-3. Communication Network)

[0164] use Figures 7-8 A specific example of the communication network of the authentication system 100 will be explained. Figure 7 This is a diagram illustrating an example of the outline of the communication network according to the first embodiment. Figure 8 This is a diagram illustrating a specific example of the communication network according to the first embodiment. Hereinafter, the description will proceed in the order of an overview and a specific example of the communication network of the authentication system 100.

[0165] (3-3-1. Overview of Communication Networks)

[0166] use Figure 7 A brief overview of the communication network of authentication system 100 is provided. For example... Figure 7 As shown, the IoT gateway serving as verification device 20 is a high-security device with a reliable baseline. Conversely, the IoT devices serving as verification devices 30 (30-1, 30-2, 30-3) are low-security devices with a reliable baseline. Here, the IoT gateway connects to external services via optical lines, 5G (Generation), or other WAN (Wide Area Network) connections (see reference). Figure 7(1)). Additionally, the IoT gateway connects to the IoT device via a wired or wireless LAN (Local Area Network) (see [reference]). Figure 7 (2)).

[0167] (3-3-2. Specific examples of communication networks)

[0168] use Figure 8 A specific example of the communication network of authentication system 100 will be provided. For example... Figure 8 As shown, the IoT gateway serving as verification device 20 (20-1, 20-2, 20-3) can be implemented using a 5G gateway, for example. Furthermore, the IoT device serving as verification device 30 (30-1, 30-2, 30-3, 30-4, 30-5) can be implemented using a surveillance camera, an ATM (Automated Teller Machine), or the like. Moreover, the IoT gateway can connect to the 5G core via a 5G base station device, for example, through a VPN (Virtual Private Network) or a dedicated line network.

[0169] (3-4. Authentication Processing)

[0170] use Figures 9-11 This section provides a specific example of the authentication process of authentication system 100. Figure 9 This is a diagram illustrating an example of the authentication process in the first embodiment. Figure 9 This diagram illustrates a specific example of device registration during the authentication process of the first embodiment. Figure 10 This diagram illustrates a specific example of integrity verification in the authentication process of the first embodiment. Hereinafter, the explanation will proceed in the following order: an overview of the authentication process of the authentication system 100, a specific example of device registration, and a specific example of integrity verification.

[0171] (3-4-1. Overview of Authentication Processing)

[0172] use Figure 9 A brief overview of the communication network of authentication system 100 is provided. For example... Figure 9 As shown, firstly, device manufacturer M generates firmware containing random numbers and index information (see...). Figure 9 (1)). Next, the user operator U uses the existing mechanism provided by the equipment manufacturer M to obtain the device firmware and perform a firmware update (see [reference]). Figure 9 (2-1)(2-2)). Next, the user operator U configures the IoT gateway by matching the device's firmware with the device's inherent information (see (2-1)(2-2)). Figure 9 (3)). Then, the IoT device sends a formal registration request to the IoT gateway (see [reference]). Figure 9(4)). At this point, the IoT gateway uses the pre-registered device-specific information and firmware to perform integrity verification of the device. If successful, the device is formally registered. In the integrity verification, the IoT gateway reads the hash value calculation object data from the IoT device's firmware image, and the IoT device reads the hash value calculation object data from the memory image. Together with the device-specific information, they generate a hash value and perform integrity verification (see [reference]). Figure 9 (5)).

[0173] (3-4-2. Specific examples of equipment registration)

[0174] use Figure 10 Here, a specific example of registering equipment in the authentication system 100 will be explained. Figure 10 The thick arrows shown indicate TLS (Transport Layer Security) communication, medium-thickness arrows indicate MQTT (Message Queueing Telemetry Transport) communication, dashed arrows indicate internal communication, and thin arrows indicate other processing. Furthermore, this is just one example of a communication method; other methods may also be used.

[0175] First, user U purchases (obtains) IoT devices from device manufacturer M (see reference). Figure 10 (1)). Next, user U requests firmware download from device manufacturer M (see [reference]). Figure 10 (2) In response, the device manufacturer M sends firmware to the user U, thereby enabling firmware download (see [reference]). Figure 10 (3)). In addition, user U sends the inherent information and firmware of IoT device 30 to IoT gateway (device management) 20B for managing IoT devices, and performs device firmware registration (see [reference]). Figure 10 (4)). At this time, the IoT gateway (device management) 20B saves the inherent information and firmware of the received IoT device 30 in the device information database. Through the above... Figure 10 The processing of (2) to (4) involves registering the firmware of the IoT device in the IoT gateway.

[0176] Additionally, user U sets up 30 IoT devices (providers) to perform integrity verification (referencing) Figure 10 (5)). Next, IoT device 30 sends its inherent information to IoT gateway (device management) 20B to make a registration request for IoT device 30 (see [reference]). Figure 10(6)). Next, the IoT gateway (device management) 20B sends the inherent information of the IoT device 30 to the IoT gateway (verifier) ​​20A, which performs integrity verification, to request confirmation of the integrity of the IoT device (verifier) ​​30 (see [reference]). Figure 10 (7)). Additionally, the IoT gateway (verifier) ​​20A retrieves the corresponding firmware from the device information database using the inherent information of the IoT device 30 as a keyword. Then, the IoT gateway (verifier) ​​20A performs integrity verification of the IoT device (verifier) ​​30 through the challenge-response authentication between the IoT devices (providers) 30 as described in (3-1. Integrity Verification Process) (see [reference]). Figure 10 (8)). In addition, IoT gateway (verifier) ​​20A sends an integrity confirmation result to IoT gateway (device manager) 20B (refer to... Figure 10 (9)). Finally, the IoT gateway (device management) 20B stores the formal registration of the IoT device (certifier) ​​30 in the device information database. Through the above... Figure 10 The processing of (5) to (9) establishes the integrity of the IoT device.

[0177] (3-4-3. Specific examples of integrity verification)

[0178] use Figure 11 This section provides a specific example of verifying the integrity of the authentication system 100. Here, in... Figure 11 In the arrows shown, thick arrows represent TLS communication, medium-thick arrows represent MQTT communication, dashed arrows represent internal communication, and thin arrows represent other processing. Furthermore, this is just one example of a communication method; other methods may also be used.

[0179] First, user U can configure the monitoring conditions for IoT gateway (device management) 20B (refer to...). Figure 11 (1)). At this time, the IoT gateway (device management) 20B saves the timed execution settings for receiving periodic integrity verification in the device information database. Through the above... Figure 10 The (1) process sets the periodic monitoring conditions for IoT device (provider) 30.

[0180] In addition, firstly, user U immediately performs an integrity check on IoT gateway (device management) 20B (refer to...). Figure 11 (2)). At this time, the IoT gateway (device management) 20B sends an execution notification to the IoT gateway (verifier) ​​20A to confirm the integrity (refer to...). Figure 11(3)). In addition, IoT gateway (device management) 20B also notifies IoT gateway (verifier) ​​20A of the execution of integrity verification during the periodic execution of integrity verification based on monitoring implementation conditions. In addition, IoT gateway (verifier) ​​20A retrieves the corresponding firmware from the device information database using the inherent information of IoT device (provider) 30 as the key. Then, IoT gateway (verifier) ​​20A performs integrity verification of IoT device (provider) 30 through challenge-response authentication between IoT devices (providers) 30 as described in (3-1. Integrity Verification Process) (see reference). Figure 11 (4)). In addition, IoT gateway (verifier) ​​20A sends an integrity confirmation result to IoT gateway (device manager) 20B (refer to... Figure 11 (5)). Then, the IoT gateway (device management) 20B saves the determination result registration of the IoT device (certifier) ​​30 in the device information database. Through the above Figure 11 The processes (2) to (5) are performed to verify the integrity of the IoT device. Finally, the IoT gateway (device management) 20B sends the integrity verification result to the user U (see reference). Figure 11 (6)).

[0181] (4. The authentication process of Authentication System 100)

[0182] use Figure 12 The authentication process of the authentication system 100 in the first embodiment will be described. Figure 12 This is a flowchart illustrating an example of the authentication process of the first embodiment. Furthermore, steps S101 to S105 described below can be performed in different orders. Additionally, some steps in steps S101 to S105 may be omitted.

[0183] First, the firmware generation device 10 generates model-specific firmware (step S101). For example, the firmware generation device 10 generates model-specific firmware for challenge response authentication by writing a specified random number and index information of the area representing the object to be calculated as a hash value into the free area of ​​the firmware.

[0184] Second, the firmware generation device 10 updates or registers the model-wide firmware (step S102). For example, the firmware generation device 10 updates or registers the model-wide firmware by sending it to the verification device 20 and the certification device 30.

[0185] Third, the verification device 20 performs formal registration of the verification device 30 (step S103). For example, the verification device 20 performs formal registration by using the inherent information of the verification device 30 and the challenge-response authentication of the firmware.

[0186] Fourth, the verification device 20 sends a challenge to the proof device 30 (step S104). For example, the verification device 20 uses the index information contained in the general firmware of the device model maintained by the verification device 20 to read the object data for hash value calculation, uses the inherent information of the proof device 30 and the object data for hash value calculation to perform hash value calculation, generates a challenge against the proof device 30, and sends the challenge.

[0187] Fifth, the verification device 30 sends a response to the verification device 20 (step S105). For example, the verification device 30 uses the index information contained in the general firmware of the device model to read the object data for hash value calculation, uses the inherent information of the verification device 30 and the object data for hash value calculation to perform hash value calculation, generates a response for the verification device 20, and sends the response.

[0188] [5. Effects of the first embodiment]

[0189] Finally, the effects of the first embodiment will be explained. Hereinafter, effects 1 to 4 corresponding to the processing of the first embodiment will be explained.

[0190] (5-1. Effect 1)

[0191] In the first embodiment described above, the firmware generation device 10 generates device-wide firmware for challenge-response authentication by writing a predetermined random number and index information of the area representing the object to be calculated as a hash value into a free area of ​​the firmware. The verification device 20 generates a challenge to the verification device 30 based on the device-wide firmware held by the verification device 20, and the verification device 30 generates a response to the verification device 20 based on the device-wide firmware installed on the verification device 30. Therefore, effective integrity verification of IoT devices can be performed using device-wide firmware.

[0192] (5-2. Effect 2)

[0193] In the first embodiment described above, the firmware generation device 10 generates a predetermined random number common to each model of the verification device 30, along with index information containing the starting address and size of the storage area containing the object to be calculated as a hash value. The predetermined random number and index information are then written into a free area, thereby generating model-compatible firmware. Therefore, by generating valid model-compatible firmware, more effective integrity verification of IoT devices can be performed using model-compatible firmware.

[0194] (5-3. Effect 3)

[0195] In the first embodiment described above, the verification device 20 uses the index information contained in the device-wide firmware maintained by the verification device 20 to read the object data for hash value calculation, and uses the inherent information of the verification device 30 and the object data for hash value calculation to perform hash value calculation, generating a challenge against the verification device 30. Therefore, by generating a valid challenge, more effective integrity verification of IoT devices can be performed using device-wide firmware.

[0196] (5-4. Effect 4)

[0197] In the first embodiment described above, the verification device 30 uses the index information contained in the device-wide firmware installed on the verification device 30 to read the object data for hash value calculation, and uses the inherent information of the verification device 30 and the object data for hash value calculation to perform hash value calculation and generate a response for the verification device 20. Therefore, by generating a valid response, more effective integrity verification of IoT devices can be performed using device-wide firmware.

[0198] (System architecture, etc.)

[0199] The constituent elements of the devices illustrated in the above embodiments are functional concepts and do not necessarily need to be physically configured as shown in the illustrations. That is, the specific methods of distributing and integrating the devices are not limited to those shown in the illustrations, and all or part of them can be functionally or physically distributed and integrated in any unit according to various loads, usage conditions, etc. Furthermore, all or any part of the processing functions performed in each device can be implemented by a CPU and the program parsed and executed by the CPU, or as hardware based on wiring logic.

[0200] Furthermore, all or part of the processes described in the above embodiments that are performed automatically can be performed manually, or all or part of the processes described that are performed manually can be performed automatically using known methods. In addition, the processing steps, control steps, specific names, and information including various data and parameters shown in the above documents and figures can be arbitrarily changed, unless specifically stated otherwise.

[0201] 〔program〕

[0202] Alternatively, a program can be generated that describes the processing performed by the firmware generation apparatus 10 described in the above embodiments in a computer-executable language. In this case, executing the program by a computer can achieve the same effect as in the above embodiments. Furthermore, the program can be recorded on a computer-readable recording medium, allowing the computer to read and execute the program recorded on the recording medium, thereby achieving the same processing as in the above embodiments.

[0203] Figure 13 This is a diagram representing the computer executing the program. For example... Figure 13 As illustrated, computer 1000 includes, for example, memory 1010, CPU 1020, hard disk interface 1030, disk drive interface 1040, serial port interface 1050, video adapter 1060, and network interface 1070, all of which are connected via bus 1080.

[0204] like Figure 13 As shown, the memory 1010 includes a read-only memory (ROM) 1011 and a RAM 1012. The ROM 1011 stores boot programs such as the Basic Input / Output System (BIOS). Figure 13 As shown, hard drive interface 1030 is connected to hard drive 1090. Figure 13 As shown, disk drive interface 1040 is connected to disk drive 1100. For example, removable storage media such as disks or optical discs are inserted into disk drive 1100. Figure 8 As illustrated, the serial port interface 1050 is connected, for example, to a mouse 1110 and a keyboard 1120. Figure 13 As shown, the video adapter 1060 is connected to the display 1130, for example.

[0205] Here, as Figure 13 As shown, the hard disk drive 1090 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, the aforementioned program is stored in the hard disk drive 1090 as a program module containing instructions to be executed by the computer 1000.

[0206] Furthermore, the various data described in the above embodiments are stored as program data in, for example, memory 1010 and hard disk drive 1090. Moreover, CPU 1020 reads program modules 1093 and program data 1094 stored in memory 1010 and hard disk drive 1090 into RAM 1012 as needed, and executes various processing steps.

[0207] Furthermore, the program module 1093 and program data 1094 are not limited to being stored on the hard disk drive 1090. For example, they can also be stored on a removable storage medium and read by the CPU 1020 via a disk drive or the like. Alternatively, the program module 1093 and program data 1094 can also be stored on other computers connected via a network (LAN (Local Area Network), WAN (Wide Area Network), etc.) and read by the CPU 1020 via the network interface 1070.

[0208] The above-described embodiments and their variations are the same as those disclosed in this application and are included within the scope of the invention as described in the claims and its equivalents.

[0209] Explanation of reference numerals in the attached figures

[0210] 10. Firmware generation device (generation device)

[0211] 11, 21, 31 Ministry of Communications

[0212] Input sections 12, 22, and 32

[0213] Output sections 13, 23, and 33

[0214] Storage sections 14, 24, and 34

[0215] Control Departments 15, 25, and 35

[0216] 15a, 25a, 35a Receiving Section

[0217] 15b Firmware Generation Department

[0218] 15c, 25c, 35c transmission units

[0219] 20. Verification Device (IoT Gateway)

[0220] 25b Inquiry Generation Department

[0221] 25d Response Verification Department

[0222] 30. Proof devices (IoT devices)

[0223] 35b Response Generation Unit

[0224] 40 User Operator Terminals

[0225] 100 Authentication System

Claims

1. An authentication system comprising: a generation device for generating firmware; a verification device for performing integrity verification; and a certification device for performing integrity certification, characterized in that: The generation device includes a firmware generation unit that generates model-specific firmware for challenge-response authentication by writing index information and a predetermined random number into a free area of ​​the firmware, wherein the index information indicates an area to be calculated as a hash value. The verification device includes a challenge generating unit that generates a challenge to the certification device based on the model-common firmware held by the verification device. The certification device includes a response generation unit that generates a response to the verification device based on the model-common firmware held by the certification device.

2. The authentication system according to claim 1, characterized in that: The firmware generation unit of the generating device generates the random number common to each model of the certification device and the index information including the starting address and size of the storage area, and writes the random number and the index information into the free area, thereby generating the model-common firmware, wherein the storage area is the storage area that becomes the object of hash value calculation.

3. The authentication system according to claim 1, characterized in that: The challenge generation unit of the verification device uses the index information included in the model-common firmware held by the verification device to read out target data for hash value calculation, and generates the challenge by performing hash value calculation using the unique information of the certification device and the target data.

4. The authentication system according to claim 1, characterized in that: The response generation unit of the certification device uses the index information included in the model-common firmware possessed by the certification device to read out the object data for hash value calculation, and uses the inherent information of the certification device and the object data to perform hash value calculation to generate the response.

5. A generating device, characterized in that: The generation device includes a firmware generation unit that generates model-specific firmware for challenge-response authentication by writing a predetermined random number and index information indicating an area to be calculated for a hash value in a free area of ​​the firmware.

6. A generation method performed by a generation device, characterized in that: The generation method includes a firmware generation step in which model-specific firmware for challenge-response authentication is generated by writing a predetermined random number and index information into a free area of ​​the firmware, wherein the index information indicates an area to be calculated as a hash value.

7. A generation program, characterized in that The program causes a computer to execute a firmware generation step of generating model-specific firmware for challenge-response authentication by writing a predetermined random number and index information indicating an area to be calculated as a hash value into a free area of ​​the firmware.