Multi-factor identity authentication method for cloud edge fusion secure storage
By adopting a multi-factor identity authentication method in the cloud-edge integrated secure storage system, combined with PUF-MAC code and hardware identification ID, the complexity and compatibility issues of multi-factor identity authentication in the cloud-edge environment are solved, achieving high security and Reliable data transmission enhances device authentication capabilities.
Patent Information
- Application Number
- CN202410747979.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-08-27
AI Technical Summary
Existing cloud-edge integrated secure storage systems have complexity, compatibility, flexibility and user experience issues in multi-factor identity authentication. In particular, it is difficult to achieve effective authentication integration and language compatibility in diverse cloud-edge environments.
A multi-factor identity authentication method for cloud-edge integrated secure storage is adopted. The PUF-MAC code and hardware identification ID are obtained through communication between the client device and the microcontroller. Multi-factor authentication is performed based on the network IP, and the HMAC algorithm is used to generate authentication shared information to ensure Authentication factor consistency and security.
It achieves multi-level identity authentication in a cloud-edge integration environment, significantly improves system security and reliability, enhances device identification capabilities, solves data transmission security risks, and verifies the application effect in actual environments.
Smart Images

Figure CN118555076A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network security access control, and in particular to a multi-factor identity authentication method for cloud-edge fusion secure storage. Background Art
[0002] Multi-Factor Authentication (MFA) is an authentication mechanism that uses a combination of two or more different types of authentication factors to confirm the target identity. Its main purpose is to improve the security of the system by adding multiple levels of verification methods. The authentication factors of MFA include: knowledge: such as passwords or digital certificates, information known by the device; ownership: such as physical or digital tokens, physical or digital objects held by the device; inherent: such as device-inherent characteristics, such as MAC addresses or firmware signatures; geographic location: such as IP addresses or GPS coordinates, the physical or network location of the device; time: such as access time period or frequency. MFA combines different categories of authentication factors to ensure that even if part of the authentication shared information is leaked, it is difficult for attackers to gain access to the system. Although MFA improves security, its complex authentication process may affect the user experience.
[0003] Physical Unclonable Function (PUF) is a security technology based on the physical properties of hardware. It generates unique characteristics for devices by utilizing tiny differences generated during the manufacturing process, namely the "fingerprint" of the device. The main types of PUF include: (1) PUF based on electronic devices: such as SRAM PUF, ring oscillator PUF (ROPUF) and arbitration PUF, these PUFs are implemented using electronic devices in semiconductor chips. (2) PUF based on non-electronic devices: such as optical PUF, magnetic effect PUF and quantum PUF, these PUFs are based on other physical effects. (3) Intrinsic PUF: physical properties that naturally exist in the device. (4) Non-intrinsic PUF: features that need to be added during manufacturing.
[0004] PUF is divided into strong PUF and weak PUF according to the number of challenge-response pairs (CRP). Strong PUF can generate a large number of CRPs and effectively resist exhaustive attacks, while weak PUF can only generate a limited number of CRPs. At present, more mature PUFs include PUFs based on FPGA, SRAM and DRAM. Although DRAM PUF faces challenges in practical applications, SRAM PUF based on microcontroller provides a more mature implementation solution.
[0005] JSON Web Token (JWT) is an open standard (RFC 7519) for transmitting information between parties. JWT consists of three parts: Header: contains the token type and signature algorithm. Payload: contains the data and claims of the authorized entity. Signature: used to verify the integrity and authenticity of the token.
[0006] In the existing technology, in terms of edge security, Z. Yu et al. (see Towards leakage-resilient fine-grained access control in fog computing. Future Generation Computer Systems, 2018, 78: 763-777) proposed to use an adaptive anti-leakage security function encryption scheme to provide privacy protection and access control capabilities in edge computing, thereby improving the fine-grainedness of access control operations. HM Pimentel et al. (see Ocp: A protocol for secure communication in federated content networks. Computer Communications, 2015, 68: 47-60) gave a secure communication protocol used in federated networks to ensure the communication security of edge networks. Through a collaborative protection mechanism, I. Hafeez et al. (see Securing edge networks with securebox. arXiv preprint arXiv: 1712.07740, 2017) implemented a cloud-driven security solution that enables security policies to be quickly spread across all linked edge networks, thereby minimizing the security threats faced by the system. At the same time, deep learning frameworks are also widely used in edge services. JPSingh et al. (see Advancing edge security: AI and ML innovations for robust cyber defense. International Journal of Marketing and Technology, 2024, 14 (02)) tested AI models for contextual behavior analysis to mark network intrusions and demonstrate AI's lightweight device-side malware detection capabilities. In the above authentication system, it is also proposed that when MFA seeks to integrate with the existing cloud-edge environment, there are many development statuses from complexity to compatibility due to the diverse cloud-edge environment:
[0007] 1. The diversity of cloud-edge environments, from personal private clouds to public clouds of well-known cloud service providers, the architectures of different platforms may be significantly different, and the edge service architecture logic selected by each cloud service may also be different. It is a very complex and arduous challenge to perfectly integrate MFA among these differences.
[0008] 2. Diversity of system environments. The operating systems based on different clouds and devices are often not unified. This is the current situation of MFA adaptation between different operating systems. The differences in operating systems will have obvious requirements for the compatibility of MFA systems on different systems. There are also differences in the program environment in the system. Different cloud service programs are likely to be developed in different languages. If MFA wants to be integrated in different programs, it puts forward requirements for the language compatibility of MFA integration methods. This also requires that the MFA authentication algorithm still has good robustness and consistency in different systems and languages.
[0009] 3. The variability of the security environment: The cloud-edge security environment is constantly changing with the development of technology. This situation also puts forward higher requirements for the flexibility of the MFA system, so that it can make corresponding adjustments to the changes in the environment.
[0010] 4. The diversity of user needs. For users, MFA can be considered as an additional step in the normal login process. Overly cumbersome explicit operations will increase user impatience. Summary of the invention
[0011] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a multi-factor identity authentication method for cloud-edge fusion secure storage, which is committed to solving the problem of providing authentication services for the existing cloud-edge fusion secure storage system and improving the research on data transmission of the cloud-edge fusion storage system.
[0012] The objective of the present invention is achieved through the following technical solutions:
[0013] A multi-factor identity authentication method for cloud-edge fusion secure storage, comprising:
[0014] Step 1: The client device communicates with the single-chip microcomputer to obtain auxiliary data for generating a first PUF-MAC code;
[0015] Step 2: The client device registers with the authentication server. The administrator imports the registration file of the client device into the authentication server. The authentication server saves the auxiliary data provided by the client device and the hardware identification ID of the client device to complete the registration process.
[0016] Step 3: Before the registered client device needs to access the edge server resources, it actively initiates an identity authentication request to the authentication server. The authentication server saves the network IP of the client device that initiated the authentication request. The client device sends the user name and password to the authentication server for login. After the login is successful, the authentication server generates an access token for the client device for subsequent identity authentication.
[0017] Step 4: The registered client device communicates with the MCU again to obtain the first PUF-MAC code generated by the MCU according to the auxiliary data; the first PUF-MAC code is used as the first authentication factor, and the hardware identification ID is used as the second authentication factor;
[0018] Step 5: The client device sends the first authentication factor and the second authentication factor to the authentication server through the multi-factor authentication interface by using the obtained access token. The authentication server extracts the network IP currently requested by the client device as the third authentication factor. The first authentication factor is verified by the PUF-MAC algorithm. For the second authentication factor, the hardware information saved in the registration phase of the authentication server is obtained, and the hardware identification ID is recalculated to check whether it corresponds to the uploaded second authentication factor. For the third authentication factor, the network request IP recorded when the multi-factor authentication interface was requested last time is compared with the third authentication factor extracted this time to see if they are consistent.
[0019] Step 6: Verify each factor in step 5 in order. If a mismatch in the authentication factor is found during the verification process, the verification is terminated immediately, an authentication failure response is returned, an email warning is sent, and the user is frozen. If all authentication factors are successfully authenticated, the authentication server generates a second PUF-MAC code as the authentication server's identity verification code, and then returns the authorization token and identity verification code that are ultimately used for edge server verification to the client device.
[0020] Step 7: The client device verifies the correctness of the received identity verification code. If it is correct, the authorization token is sent to the edge server. The edge server uses the authentication verification interface to verify the validity of the authorization token. After the verification is passed, the client device is allowed to upload and download file data to the edge storage server.
[0021] Further, the client device communicates with the single-chip microcomputer to obtain auxiliary data for generating the first PUF-MAC code, specifically including:
[0022] A random key K generated by the client device B The PUF acts as an authentication server and randomly generates an initial response C 0 , apply the HMAC algorithm to the random key K B As Key, initial response C 0The first message summary R is calculated as msg B ;
[0023] The client device initiates a communication request to the MCU and sends the initial response C 0 and the first information summary R B Send to the microcontroller;
[0024] After the MCU receives the request, it also applies the HMAC algorithm to use the PUF response inside the MCU as the Key and the initial response C 0 The second message digest R is calculated as msg A ; According to the first information summary R B and the second information summary R A Calculate the authentication shared information
[0025] The single chip microcomputer sends the authentication shared information T to the client device, and the client device obtains the auxiliary data used to generate the first PUF-MAC code: authentication shared information T, initial response C 0 and the random key K of the PUF acting as the authentication server B .
[0026] Furthermore, the step 2 specifically includes:
[0027] The client device runs a registration program to generate a registration file, and adds the auxiliary data and the hardware identification ID of the client device to the registration file of the client device;
[0028] After the registration file is generated, the registration is initiated to the authentication server, and the administrator of the authentication server obtains the registration file of the client device;
[0029] The administrator of the authentication server logs in to the administrator account and uploads the obtained registration file to the authentication server through the registration interface to complete the entry;
[0030] The authentication server extracts the registration file and network IP address of the client device, and saves the auxiliary data and hardware identification ID in the registration file, specifically storing the auxiliary data in the authentication factor table with the hardware identification ID of the client device as a foreign key.
[0031] Furthermore, the hardware identification ID is generated in the following manner: according to the hardware characteristics of the client device, a plurality of sub-hardware devices that can identify the client characteristics are selected, the sub-hardware devices are combined and sorted, and the identification values of the sorted sub-hardware devices are extracted. The identification values of the sub-hardware devices include the CPUID, hard disk serial number and smBIOSUUID of the client device.
[0032] Furthermore, the registered client device communicates with the single-chip microcomputer again to obtain the first PUF-MAC code generated by the single-chip microcomputer according to the auxiliary data, which specifically includes:
[0033] The client device sends a communication request to the MCU, sends the authentication shared information T and the initial response C 0 ;
[0034] After receiving the request, the MCU applies the HMAC algorithm to use the PUF response inside the MCU as the Key and the initial response C 0 The second message digest R is calculated as msg A , according to the second information summary R A and the authentication shared information T to restore the first information summary And get the current timestamp T s , calculated
[0035] The random message or the device ID value registered on the server M r and the current timestamp T s Perform stitching and obtain stitching message M A =T s ||M r ;
[0036] Calculate the first intermediate information and the response of the first intermediate information Where H(·) represents the hash function, puf A (·) indicates the HMAC algorithm with A’s PUF response as the key;
[0037] Calculate the message authentication code and And send the message code tag=(t,σ) to the client device, where the message code tag is the first PUF-MAC code.
[0038] Furthermore, the verification of the first authentication factor specifically through the PUF-MAC algorithm includes:
[0039] The microcontroller extracts the timestamp T by separating the first four digits of the message code tag. s and device ID value M r , and set the timestamp T s Subtract the time from the current time to verify the freshness of the message;
[0040] Use timestamp T s Recalculate the authentication shared information T
[0041] use Alternative RA Perform calculations Calculate t' = H(C A |R' A Generate PUF-MAC code;
[0042] The MCU sends the PUF-MAC code to the client device, which then forwards it to the authentication server. Finally, the authentication server verifies whether t' is equal to the message authentication code t in the message code tag to obtain the authentication result.
[0043] Furthermore, identity authentication is performed during the waiting time between the startup of the client device and the user actually using the service logic, or identity authentication is performed when a data transmission request is initiated.
[0044] The beneficial effects of the present invention are:
[0045] 1) The present invention has successfully developed a multi-factor authentication mechanism that includes at least three different leakage paths. The existing cloud-edge fusion secure storage system still has certain defects in identity authentication. It usually only adopts a single or two-factor identity authentication mechanism and cannot effectively resist complex attacks. By combining different types of authentication factors, these mechanisms significantly increase the difficulty of attack for potential attackers, thereby effectively improving the security and reliability of the system and ensuring the security of data.
[0046] 2) The present invention introduces a device identification mechanism based on a physically unclonable function (PUF). Most existing identity authentication systems rely on traditional key storage methods, which are not secure enough when facing IoT devices. Since the PUF response of each device is unique and unpredictable, it is safer than traditional key use in high-security situations, further enhancing the device's identity recognition capabilities. By implementing a stable SRAMPUF generation scheme and combining it with a PUFMAC authentication scheme, it ensures that PUF data will not be leaked, enhancing the device's identity authentication security in a cloud-edge fusion environment.
[0047] 3) The present invention successfully integrates the developed identity authentication system into the existing cloud-edge fusion secure storage system, and verifies its application effect and security performance in actual environments, especially in the scenario of data transmission between the edge and the client. Existing research mostly focuses on the identity authentication scheme of a single system, and lacks actual application verification in a cloud-edge fusion environment. Through this integration, not only the overall security of the cloud-edge fusion secure storage system is significantly improved, but also the potential security risks of data transmission in the existing system are effectively solved, providing a new technical path and theoretical basis for future research in this field.
[0048] 4) The present invention uses firmware ID, network IP and PUF to perform multi-factor authentication. Although the PUF response is unique, it may change slightly due to environmental factors in some cases. The firmware ID combines multiple hardware features, and the uniqueness and stability of these features further enhance the uniqueness of the device identification. At the same time, the PUF response may be unstable or erroneous in some cases. The firmware ID provides additional identification information. When the PUF response changes, the firmware ID can be used for secondary verification to improve the fault tolerance and robustness of the authentication process. A single PUF response may not be sufficient to fully verify the identity of the device. By combining the PUF response and the firmware ID, multi-level identity authentication can be performed to improve the security of the system. The network IP record and geographic location are used as auxiliary verification methods. The PUF itself cannot perceive the physical location and network environment of the device. By recording the network IP and geographic location, the use environment of the device can be monitored to provide additional security. When the location of the device changes significantly, an abnormal detection and early warning mechanism can be triggered to provide real-time security monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A flow chart of a multi-factor identity authentication method provided by an embodiment of the present invention;
[0050] Figure 2 A schematic diagram of system interaction of a multi-factor identity authentication method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0052] See also Figure 1-Figure 2 , the present invention provides a technical solution:
[0053] A multi-factor identity authentication method for cloud-edge fusion secure storage, comprising:
[0054] Step 1: The client device communicates with the single-chip microcomputer to obtain auxiliary data for generating a first PUF-MAC code;
[0055] In this embodiment, the step 1 specifically includes:
[0056] A random key K generated by the client device B The PUF acts as an authentication server and randomly generates an initial response C 0 , apply the HMAC algorithm to the random key KB As Key, initial response C 0 The first message summary R is calculated as msg B ;
[0057] The client device initiates a communication request to the MCU and sends the initial response C 0 and the first information summary R B Send to the microcontroller;
[0058] After the MCU receives the request, it also applies the HMAC algorithm to use the PUF response inside the MCU as the Key and the initial response C 0 The second message digest R is calculated as msg A ; According to the first information summary R B and the second information summary R A Calculate the authentication shared information
[0059] The single chip microcomputer sends the authentication shared information T to the client device, and the client device obtains the auxiliary data used to generate the first PUF-MAC code: authentication shared information T, initial response C 0 and the random key K of the PUF acting as the authentication server B .
[0060] In this embodiment, the single chip microcomputer is used to communicate with the client device to provide PUF as an available authentication factor provider.
[0061] In some specific embodiments, an ESP32 microcontroller is selected. In order to ensure the security of the PUF, the PUF response should not leave the microcontroller as much as possible. In this embodiment, the ESP32 server provides an interface for generating shared data. By giving the Server-Hash value of the server, the required shared data T value is calculated inside the ESP32.
[0062] Step 2: The client device registers with the authentication server. The administrator imports the registration file of the client device into the authentication server. The authentication server saves the auxiliary data provided by the client device and the hardware identification ID of the client device, completing the registration process.
[0063] Furthermore, the step 2 specifically includes:
[0064] The client device runs a registration program to generate a registration file, and adds the auxiliary data and the hardware identification ID of the client device to the registration file of the client device;
[0065] After the registration file is generated, the registration is initiated to the authentication server, and the administrator of the authentication server obtains the registration file of the client device;
[0066] The administrator of the authentication server logs in to the administrator account and uploads the obtained registration file to the authentication server through the registration interface to complete the entry; when registering a client device, the administrator can add, delete, and edit each device and register factors, and can also add, delete, and edit the authentication factors of each device.
[0067] The authentication server extracts the registration file and network IP address of the client device, and saves the auxiliary data and hardware identification ID in the registration file, specifically storing the auxiliary data in the authentication factor table with the hardware identification ID of the client device as a foreign key.
[0068] In this embodiment, the hardware identification ID is generated in the following manner: multiple sub-hardware devices that can identify the client characteristics are selected according to the hardware characteristics of the client device, the sub-hardware devices are combined and sorted, and the identification values of the sorted sub-hardware devices are extracted. The identification values of the sub-hardware devices include but are not limited to the CPUID, hard disk serial number and smBIOS UUID of the client device. The specific sub-hardware devices select different selection and combination schemes according to the different running devices of the client.
[0069] The client device hardware identification ID is the device firmware ID, and these hardware features have high stability. The firmware ID combines multiple hardware features, and the uniqueness and stability of these features further enhance the uniqueness of the device identification.
[0070] Step 3: Before the registered client device needs to access the edge server resources, it actively initiates an identity authentication request to the authentication server. The authentication server saves the network IP of the client device that initiated the authentication request. The client device sends the user name and password to the authentication server for login. After the login is successful, the authentication server generates an access token for the client device for subsequent identity authentication.
[0071] The identity authentication is performed during the waiting time between the startup of the client device and the user actually using the service logic, or the identity authentication is performed when the data transmission request is initiated.
[0072] Step 4: The registered client device communicates with the MCU again to obtain the first PUF-MAC code generated by the MCU according to the auxiliary data; the first PUF-MAC code is used as the first authentication factor, and the hardware identification ID is used as the second authentication factor; specifically, the following steps are included:
[0073] Specifically, the process of generating the first PUF-MAC code specifically includes:
[0074] The client device sends a communication request to the MCU, sends the authentication shared information T and the initial response C 0 ;
[0075] After receiving the request, the MCU applies the HMAC algorithm to use the PUF response inside the MCU as the Key and the initial response C 0 The second message digest R is calculated as msg A , according to the second information summary R A and the authentication shared information T to restore the first information summary And get the current timestamp T s , calculated
[0076] The random message or the device ID value registered on the server M r and the current timestamp T s Perform stitching and obtain stitching message M A =T s ||M r ;
[0077] Calculate the first intermediate information and the response of the first intermediate information Where H(·) represents the hash function, puf A (·) indicates the HMAC algorithm with A’s PUF response as the key;
[0078] Calculate the message authentication code and And send the message code tag=(t,σ) to the client device, where the message code tag is the first PUF-MAC code.
[0079] Before actually generating the PUF-MAC code, the MCU needs to complete the PUF extraction response first. Only after automatically generating and storing the relevant initial settings can the relevant calculations for PUF-MAC code generation be performed. The execution device for the extraction response is a MCU (ESP32) connected to the client. This MCU needs to be burned with special firmware to calculate the PUF-MAC code before use. This PUF extraction response is the initialization operation of the MCU's first startup, completing the generation of the mask and error correction auxiliary code to ensure that the PUF calculated each time is stable. After completing the initialization operation of the extraction response, the MCU can normally register, generate and verify the PUF-MAC code.
[0080] Step 5: The client device sends the first authentication factor and the second authentication factor to the authentication server through the multi-factor authentication interface by using the obtained access token. The authentication server extracts the network IP currently requested by the client device as the third authentication factor. The first authentication factor is verified by the PUF-MAC algorithm. For the second authentication factor, the hardware information saved in the registration phase of the authentication server is obtained, and the hardware identification ID is recalculated to check whether it corresponds to the uploaded second authentication factor. For the third authentication factor, the network request IP recorded when the multi-factor authentication interface was requested last time is compared with the third authentication factor extracted this time to see if they are consistent.
[0081] Among them, the PUF response may be unstable or erroneous in some cases. The firmware ID provides additional identification information. When the PUF response changes, secondary verification can be performed through the firmware ID to improve the fault tolerance and robustness of the authentication process.
[0082] In this embodiment, the first authentication factor is verified specifically through the PUF-MAC algorithm, including:
[0083] The microcontroller extracts the timestamp T by separating the first four digits of the message code tag. s and device ID value M r , and set the timestamp T s Subtract the time from the current time to verify the freshness of the message;
[0084] Use timestamp T s Recalculate the authentication shared information T
[0085] use Alternative R A Perform calculations Calculate t' = H(C A |R' A Generate PUF-MAC code;
[0086] The MCU sends the PUF-MAC code to the client device, which then forwards it to the authentication server. Finally, the authentication server verifies whether t' is equal to the message authentication code t in the message code tag to obtain the authentication result.
[0087] Step 6: Verify each factor in step 5 in order. If a mismatch in the authentication factor is found during the verification process, the verification is terminated immediately, an authentication failure response is returned, an email warning is sent, and the user is frozen. If all authentication factors are successfully authenticated, the authentication server generates a second PUF-MAC code as the authentication server's identity verification code, and then returns the authorization token and identity verification code that are ultimately used for edge server verification to the client device.
[0088] Step 7: The client device verifies the correctness of the received identity verification code. If it is correct, the authorization token is sent to the edge server. The edge server uses the authentication verification interface to verify the validity of the authorization token. After the verification is passed, the client device is allowed to upload and download file data to the edge storage server.
[0089] In a specific embodiment, the login and verification process of multi-factor authentication using an authentication server includes the following steps:
[0090] Extract the device hardware information and calculate the hardware Hash identification code;
[0091] Request the ESP32 server to get the PUF-MAC response;
[0092] Use the account and password login interface to obtain the first login token;
[0093] Construct and send a multi-factor authentication request JSON;
[0094] Through multi-factor authentication, obtain the Server-MAC code and request the ESP32 server to verify;
[0095] The ESP32 server passes the verification and confirms that the Token is valid;
[0096] Send the Token to the edge server.
[0097] The embodiment of the present invention provides a multi-factor identity authentication method for cloud-edge fusion secure storage. The overall system framework and the information interaction diagram between entities are shown in the following figure. Figure 2 As shown, the present invention increases the attack difficulty for potential attackers by combining different types of authentication factors, thereby effectively improving the security and reliability of the system and ensuring the security of data; introducing a device identity recognition mechanism based on a physically unclonable function (PUF) to ensure that PUF data will not be leaked, and enhancing the identity authentication security of the device in a cloud-edge fusion environment; successfully integrating the identity authentication system into the existing cloud-edge fusion secure storage system, verifying its application effect and security performance in actual environments, especially in the scenario of data transmission between the edge and the client.
[0098] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A multi-factor identity authentication method for cloud-edge fusion secure storage, characterized in that: include: Step 1: The client device communicates with the single-chip microcomputer to obtain auxiliary data for generating a first PUF-MAC code; Step 2: The client device registers with the authentication server. The administrator imports the registration file of the client device into the authentication server. The authentication server saves the auxiliary data provided by the client device and the hardware identification ID of the client device to complete the registration process. Step 3: Before the registered client device needs to access the edge server resources, it actively initiates an identity authentication request to the authentication server, and the authentication server saves the network IP of the client device that initiates the authentication request; The client device sends the username and password to the authentication server for login. After successful login, the authentication server generates an access token for the client device for subsequent identity authentication. Step 4: The registered client device communicates with the MCU again to obtain the first PUF-MAC code generated by the MCU according to the auxiliary data; Using the first PUF-MAC code as a first authentication factor and the hardware identification ID as a second authentication factor; Step 5: The client device sends the first authentication factor and the second authentication factor to the authentication server through the multi-factor authentication interface by using the obtained access token. The authentication server extracts the network IP currently requested by the client device as the third authentication factor. The first authentication factor is verified by the PUF-MAC algorithm. For the second authentication factor, the hardware information saved in the registration phase of the authentication server is obtained, and the hardware identification ID is recalculated to check whether it corresponds to the uploaded second authentication factor. For the third authentication factor, the network request IP recorded when the multi-factor authentication interface was requested last time is compared with the third authentication factor extracted this time to see if they are consistent. Step 6: Verify each factor in step 5 in order. If a mismatch in authentication factors is found during the verification process, the verification is terminated immediately, an authentication failure response is returned, an email warning is sent, and the user is frozen. If all authentication factors are successfully authenticated, the authentication server generates a second PUF-MAC code as the authentication server's identity verification code, and then returns the authorization token and identity verification code that are ultimately used for edge server authentication to the client device; Step 7: The client device verifies the correctness of the received identity verification code. If it is correct, the authorization token is sent to the edge server. The edge server uses the authentication verification interface to verify the validity of the authorization token. After the verification is passed, the client device is allowed to upload and download file data to the edge storage server.
2. According to claim 1, a multi-factor identity authentication method for cloud-edge fusion secure storage is characterized by: The client device communicates with the single-chip microcomputer to obtain auxiliary data for generating a first PUF-MAC code, specifically including: A random key K generated by the client device B The PUF that acts as the authentication server generates a random initial response C0 and applies the HMAC algorithm to the random key K B As Key, the initial response C0 is used as msg to calculate the first information summary R B ; The client device initiates a communication request to the MCU and sends the initial response C0 and the first information summary R B Send to the microcontroller; After the MCU receives the request, it also applies the HMAC algorithm to calculate the second message digest R using the PUF response inside the MCU as the key and the initial response C0 as the msg A ; According to the first information summary R B and the second information summary R A Calculate the authentication shared information The MCU sends the authentication shared information T to the client device, and the client device obtains the auxiliary data used to generate the first PUF-MAC code: the authentication shared information T, the initial response C0, and the random key K of the PUF acting as the authentication server B .
3. According to claim 1, a multi-factor identity authentication method for cloud-edge fusion secure storage is characterized by: The step 2 specifically includes: The client device runs a registration program to generate a registration file, and adds the auxiliary data and the hardware identification ID of the client device to the registration file of the client device; After the registration file is generated, the registration is initiated to the authentication server, and the administrator of the authentication server obtains the registration file of the client device; The administrator of the authentication server logs in to the administrator account and uploads the obtained registration file to the authentication server through the registration interface to complete the entry; The authentication server extracts the registration file and network IP address of the client device, and saves the auxiliary data and hardware identification ID in the registration file, specifically storing the auxiliary data in the authentication factor table with the hardware identification ID of the client device as a foreign key.
4. According to claim 3, a multi-factor identity authentication method for cloud-edge fusion secure storage is characterized by: The method for generating the hardware identification ID is as follows: according to the hardware characteristics of the client device, multiple sub-hardware devices that can identify the client characteristics are selected, the sub-hardware devices are combined and sorted, and the identification values of the sorted sub-hardware devices are extracted. The identification values of the sub-hardware devices include the CPUID, hard disk serial number and smBIOSUUID of the client device.
5. According to claim 4, a multi-factor identity authentication method for cloud-edge fusion secure storage is characterized by: The registered client device communicates with the single-chip microcomputer again to obtain the first PUF-MAC code generated by the single-chip microcomputer according to the auxiliary data, specifically including: The client device sends a communication request to the MCU, sends the authentication shared information T and the initial response C0; After receiving the request, the MCU applies the HMAC algorithm to calculate the second message digest R using the PUF response inside the MCU as the key and the initial response C0 as the msg. A , according to the second information summary R A and the authentication shared information T to restore the first information summary And get the current timestamp T s , calculated The random message or the device ID value registered on the server M r and the current timestamp T s Perform stitching and obtain stitching message M A =T s ||M r ; Calculate the first intermediate information and the response of the first intermediate information Where H(·) represents the hash function, puf A (·) indicates the HMAC algorithm with A’s PUF response as the key; Calculate the message authentication code and And send the message code tag=(t,σ) to the client device, where the message code tag is the first PUF-MAC code.
6. According to claim 4, a multi-factor identity authentication method for cloud-edge fusion secure storage is characterized by: The first authentication factor is verified specifically by the PUF-MAC algorithm, including: The microcontroller extracts the timestamp T by separating the first four digits of the message code tag. s and device ID value M r , and set the timestamp T s Subtract the time from the current time to verify the freshness of the message; Use timestamp T s Recalculate the authentication shared information T use Alternative R A Perform calculations Calculate t' = H(C A |R' A ) Generate PUF-MAC code; The MCU sends the PUF-MAC code to the client device, which then forwards it to the authentication server. Finally, the authentication server verifies whether t' is equal to the message authentication code t in the message code tag to obtain the authentication result.
7. A multi-factor identity authentication method for cloud-edge fusion secure storage according to claim 6, characterized in that: The identity authentication is performed during the waiting time between the startup of the client device and the user actually using the service logic, or the identity authentication is performed when the data transmission request is initiated.
Citation Information
Cited By
Security authentication method, device, equipment, medium and program product
CN119584126A
Cloud edge collaborative multi-factor identity authentication method and system for ubiquitous network
CN120528614A
Cloud-edge collaborative multi-factor identity authentication method and system for ubiquitous networks
CN120528614B
