Information verification method and device

By obtaining information in the cured area at the hardware layer of the computer system, verifying the firmware layer and system layer, and using information that cannot be tampered with for verification layer by layer, the problem of low information verification accuracy is solved and the computer is improved Security and accuracy of system startup.

CN118940268APending Publication Date: 2024-11-12DAWNING INFORMATION IND (BEIJING) CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310538153.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The accuracy of information verification during the computer system startup process is low, resulting in the system startup security being affected.

Method used

By obtaining the information in the cured area at the hardware layer, verifying the information in the firmware layer and system layer of the computer system, adopting interlocking chain verification method, and using solidified information that cannot be tampered with or cannot be lost. Verify layer by layer to ensure the accuracy and security of information verification.

Benefits of technology

It improves the accuracy of information verification and the security of computer system startup, simplifies the verification process, saves costs, and does not require manual participation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940268A_ABST
    Figure CN118940268A_ABST
Patent Text Reader

Abstract

The invention relates to an information verification method and device. The method comprises the steps that under the condition that a hardware layer of the computer system is started, information in a curing area in the hardware layer is obtained, information in a firmware layer and information in a system layer of the computer system are verified through the information in the curing area, and when the verification result of a verification module is that verification is passed, it is determined that verification of starting information of the computer system is completed. By adopting the method, the information in the firmware layer and the system layer of the computer system is verified through the information which is not easily tampered or lost in the curing area in the hardware layer, so that the accuracy of information verification can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an information verification method and device. Background Art

[0002] With the development of information technology, the security of computer system operation is becoming more and more important.

[0003] Related technology: During the process of starting a computer system through the startup information of the computer system, there may be situations where the startup information is tampered with or lost during compilation. Therefore, it is necessary to perform a security check on the startup information before running it to ensure the security of the computer system startup.

[0004] However, the related technology has the problem of low accuracy of information verification. Summary of the invention

[0005] Based on this, it is necessary to provide an information verification method and device to address the above technical problems, which can improve the accuracy of information verification during the startup process of a computer system.

[0006] In a first aspect, an embodiment of the present application provides an information verification method, the method comprising:

[0007] When the hardware layer of the computer system is started, obtaining information in a solidified area in the hardware layer;

[0008] Verify the information in the firmware layer and system layer of the computer system by using the information in the solidified area;

[0009] If the information verification passes, it is determined that the startup information verification of the computer system is completed.

[0010] The technical solution in the embodiment of the present application is to obtain information in a solidified area in the hardware layer when the hardware layer of the computer system is started, and verify the information in the firmware layer and the system layer of the computer system through the information in the solidified area, and when the verification result of the verification module is passed, it is determined that the startup information verification of the computer system is completed; the above method is used to verify the information in the firmware layer and the system layer of the computer system through the information in the solidified area in the hardware layer that is not easy to be tampered with or lost, so as to improve the accuracy of information verification; at the same time, the above method can realize security verification through the stored solidified information, so that the information verification process is relatively simple; in addition, the above method does not require human participation, which can not only save verification costs, but also improve the accuracy of information verification.

[0011] In one embodiment, the hardware layer includes a processor, and the information in the solidified area includes the trusted root information of the processor; and verifying the information in the firmware layer and the system layer of the computer system through the information in the solidified area includes:

[0012] Verify information in the firmware layer of the computer system based on the trusted root information of the processor;

[0013] If the information in the firmware layer passes the verification, the information in the system layer of the computer system is verified according to the information in the firmware layer.

[0014] The technical solution in the embodiment of the present application verifies the information in the firmware layer of the computer system according to the trusted root information of the processor, and when the information in the firmware layer passes the verification, the information in the system layer of the computer system is verified according to the information in the firmware layer; the above method can verify the information in the firmware layer of the computer system through the information that is not easy to be tampered with or lost in the solidified area in the hardware layer, thereby improving the accuracy of the information verification in the firmware layer, and on this basis, the information in the system layer is security verified by the information in the firmware layer that has passed the verification, so that the accuracy of the information verification result in the system layer is higher. In addition, the above process adopts an interlocking chain-type verification method to perform a complete trust chain verification on the startup information of the computer system, which greatly improves the accuracy of the startup information verification of the computer system, and can further improve the security of the startup of the computer system.

[0015] In one embodiment, the information in the firmware layer includes a coprocessor startup program, a firmware startup program, and a startup certificate set; and verifying the information in the firmware layer of the computer system according to the trusted root information of the processor includes:

[0016] Verify the coprocessor startup program through the processor's trusted root information;

[0017] If the coprocessor startup program passes the verification, the firmware startup program is verified by the coprocessor startup program;

[0018] If the firmware startup program passes the verification, the startup certificate set is verified through the firmware startup program.

[0019] The technical solution in the embodiment of the present application verifies the coprocessor startup program through the trusted root information of the processor, verifies the firmware startup program through the coprocessor startup program when the coprocessor startup program is verified, and verifies the startup certificate set through the firmware startup program when the firmware startup program is verified; the above method adopts an interlocking chain-type verification method, and verifies the information in the solidified layer layer by layer according to the solidified information that cannot be tampered with or lost, which can improve the accuracy of the information verification in the solidified layer. On this basis, it can further ensure the safe startup of the solidified layer of the computer system.

[0020] In one embodiment, verifying the firmware startup program by the coprocessor startup program includes:

[0021] Control the execution of the coprocessor startup program and verify the public key certificate chain;

[0022] If the public key certificate chain is verified, the firmware boot program is verified using the public key in the public key certificate chain.

[0023] The technical solution in the embodiment of the present application controls the execution of the coprocessor startup program to verify the public key certificate chain. When it is determined that the public key certificate chain verification has passed, the firmware startup program is verified by the public key in the public key certificate chain. This process performs a security check on the public key certificate chain. When the public key certificate chain verification has passed, the firmware startup program is security checked according to the public key in the public key certificate chain, thereby improving the accuracy of the firmware startup program security check.

[0024] In one embodiment, verifying the public key certificate chain includes:

[0025] The public key certificate chain is verified through the trusted root information, the public key in the public key certificate chain, and the signature value in the public key certificate chain.

[0026] The technical solution in the embodiment of the present application verifies the public key certificate chain through trusted root information, the public key in the public key certificate chain and the signature value in the public key certificate chain, so as to prepare for accurate verification of the firmware startup program, and can also further improve the accuracy of the security verification of the firmware startup program through the public key certificate chain that passes the security verification.

[0027] In one embodiment, the startup certificate set includes a platform public key certificate, an exchange public key certificate, and a valid data certificate; and the startup certificate set is verified by a firmware startup program, including:

[0028] Control the execution of the firmware startup program and verify the platform public key certificate through the public key in the public key certificate chain;

[0029] If the platform public key certificate passes the verification, the exchange public key certificate is verified through the platform public key certificate;

[0030] If the exchanged public key certificate verification passes, the valid data certificate is verified through the exchanged public key certificate.

[0031] The technical solution in the embodiment of the present application controls the execution of the firmware startup program, verifies the platform public key certificate through the public key in the public key certificate chain, and when the platform public key certificate verification passes, verifies the exchange public key certificate through the platform public key certificate. When the exchange public key certificate verification passes, the valid data certificate is verified through the exchange public key certificate; the above method can not only perform security verification on each certificate in the startup certificate set to avoid the situation of missing certificate verification, but also can perform layer-by-layer verification on each certificate in the startup certificate set through an interlocking chain verification method, and use the result of the previous layer verification as the basic information for the next layer verification, so that the accuracy of the next layer verification is higher.

[0032] In one embodiment, verifying information in a system layer of a computer system based on information in a firmware layer includes:

[0033] The information in the system layer of the computer system is verified by starting a valid data certificate in the certificate set.

[0034] The technical solution in the embodiment of the present application performs security verification on the information in the system layer of the computer system by verifying the valid data certificate, so that the accuracy of the information verification in the system layer is higher; on this basis, the safe startup of the system layer of the computer system can be further guaranteed.

[0035] In one embodiment, the information in the system layer includes a firmware driver, an underlying application, and an operating system startup program; the information in the system layer of the computer system is verified by starting a valid data certificate in a certificate set, including:

[0036] Verify the firmware driver, underlying application and operating system startup program respectively through the encrypted information in the valid data certificate;

[0037] If the firmware driver, the underlying application program, and the operating system startup program are all verified and passed, it is determined that the startup information verification of the computer system is completed.

[0038] The technical solution in the embodiment of the present application verifies the firmware driver, the underlying application and the operating system startup program respectively through the encrypted information in the valid data certificate, and when the firmware driver, the underlying application and the operating system startup program are all verified, it is determined that the startup information verification of the computer system is completed; the above method can verify the firmware driver, the underlying application and the operating system startup program in the system layer, and further enable the system layer of the computer system to start safely, and based on the encrypted information in the valid data certificate that has passed the verification, the firmware driver, the underlying application and the operating system startup program in the system layer are respectively verified, which can improve the accuracy of information verification in the system layer.

[0039] In one embodiment, after determining that the startup information verification of the computer system is completed, the method further includes:

[0040] The firmware driver, underlying application program and operating system startup program that have passed the security check in the running system layer are determined to complete the startup of the computer system.

[0041] The embodiment of the present application can run the information in the system layer that has passed the verification when the information in the system layer of the computer system has passed the verification, thereby ensuring the security of the last layer of information startup during the computer system startup process, thereby improving the security of the entire computer system startup.

[0042] In a second aspect, an embodiment of the present application provides an information verification device, the device comprising:

[0043] An information acquisition module, used to acquire information in a solidified area in the hardware layer when the hardware layer of the computer system is started;

[0044] A verification module, used to verify information in the firmware layer and the system layer of the computer system by using information in the solidified area;

[0045] The determination module is used to determine that the startup information verification of the computer system is completed when the verification result of the verification module is passed.

[0046] In a third aspect, an embodiment of the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of any one of the embodiments of the first aspect when executing the computer program.

[0047] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method of any embodiment in the above-mentioned first aspect are implemented.

[0048] In a fifth aspect, an embodiment of the present application further provides a computer program product, the computer program product comprising a computer program, which, when executed by a processor, implements the steps of the method of any embodiment of the first aspect above.

[0049] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 is an internal structure diagram of a computer system in one embodiment;

[0051] Figure 2 A schematic diagram of a flow chart of an information verification method in an embodiment;

[0052] Figure 3 is a flow chart of an information verification method in another embodiment;

[0053] Figure 4 is a flow chart of an information verification method in another embodiment;

[0054] Figure 5 is a flow chart of an information verification method in another embodiment;

[0055] Figure 6 is a flow chart of an information verification method in another embodiment;

[0056] Figure 7 is a flow chart of an information verification method in another embodiment;

[0057] Figure 8 1 is a structural block diagram of an information verification device in an embodiment. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0059] In system startup technology, in order to improve the security of the computer system after startup, it is necessary to perform security verification on the startup information of the computer system. After the startup information verification passes, the safe startup of the computer system is completed.

[0060] In the related art, the security verification of the startup information is completed by self-verification of the startup information. However, the use of the related art will have the problem of low accuracy of information verification. Based on this, the embodiment of the present application provides an information verification method, which can improve the accuracy of information verification.

[0061] The information verification method provided in the embodiment of the present application can be applied to Figure 1 The processor in the computer system shown. Optionally, the processor includes but is not limited to a microcontroller unit (MCU), a central processing unit (CPU), an embedded processor (Digital Signal Processing, DSP), a programmable logic device (Field-Programmable Gate Array, FPGA), etc., and the embodiment of the present application is not limited to this. The specific process of the information verification method is introduced below with the processor as the execution subject.

[0062] like Figure 2 FIG. 1 is a flow chart of an information verification method provided in an embodiment of the present application, and the method can be implemented by the following steps:

[0063] S100: When the hardware layer of the computer system is started, obtain information in a solidified area of ​​the hardware layer.

[0064] The computer system may be a computer device or a server, etc. The computer system may include a hardware layer, a firmware layer, and a system layer. The computer system can only complete a secure boot if the hardware layer, the firmware layer, and the system layer are securely booted. Naturally, in order to achieve a secure boot of the computer system, it is necessary to perform a security check on the information in the hardware layer, the firmware layer, and the system layer. After the check is passed, the secure boot of the computer system is completed through the information in the hardware layer, the firmware layer, and the system layer.

[0065] It should be noted here that the hardware layer of the computer system may include multiple hardware structures, such as an arithmetic unit, a controller, a memory, a motherboard, an input device, and an output device. However, the core hardware structure of the hardware layer in the computer system is the processor. Therefore, in the embodiment of the present application, the hardware layer startup of the computer system can be understood as the startup of the processor of the computer system.

[0066] Optionally, the information in the hardware layer of the computer system may be the built-in code of the processor in the hardware layer. The built-in code of the processor is usually stored in a solidified area, which may be a storage area that cannot be permanently changed after the information in the processor is written. The information in the solidified area is relatively secure, that is, after the information is written to the solidified area, the information is not easily tampered with or lost.

[0067] Since the built-in code written into the hardened area is usually not easy to be tampered with or lost, there is no need to perform security verification on the built-in code of the processor. After the computer system is powered on, the built-in code of the processor can be automatically run to enable the hardware layer of the computer system to start safely. Optionally, the built-in code of the processor can perform operations such as CPU memory initialization, user registration information filling, and pin parameter initialization of chips in the computer system.

[0068] Correspondingly, when the processor of the computer system is started, the processor in the computer system can obtain information in the solidified area in the hardware layer.

[0069] S200: Verify information in the firmware layer and the system layer of the computer system by using information in the solidified area.

[0070] Optionally, in addition to storing the built-in code of the processor, the solidified area may also store relevant information of the hardware structure in the hardware layer.

[0071] In practical applications, in order to strengthen the secure startup of the computer system and effectively prevent the operation of information in the firmware layer and system layer that is unauthorized or has security risks, when the hardware layer of the computer system is securely started, the processor can obtain information in its own solidified area, and perform security checks on the information in the firmware layer and system layer of the computer system based on the information in the solidified area, so as to prepare for the secure startup of the computer system. In the embodiments of the present application, the information in the solidified area can be understood as solidified information.

[0072] In one embodiment, a method for performing security verification on information in the firmware layer and system layer of a computer system based on information in a solidified area may be to pre-train an algorithm model, and then input the information in the solidified area, the firmware layer and system layer of the computer system into the algorithm model, and the algorithm model outputs the verification result of the information in the firmware layer and system layer of the computer system.

[0073] In another embodiment, the method for performing security verification on the information in the firmware layer and system layer of the computer system based on the information in the solidified area can also be to decrypt the information in the firmware layer and system layer of the computer system based on the information in the solidified area, and compare the decryption processing result with the preset decryption value. If the two are equal, it is determined that the verification has passed; if the two are not equal, it is determined that the verification has failed.

[0074] S300: If the information verification passes, it is determined that the startup information verification of the computer system is completed.

[0075] When the information in the firmware layer and the system layer of the computer system are verified, it can be determined that the startup information verification of the computer system is completed.

[0076] The technical solution in the embodiment of the present application is to obtain information in a solidified area in the hardware layer when the hardware layer of the computer system is started, and verify the information in the firmware layer and the system layer of the computer system through the information in the solidified area, and when the verification result of the verification module is passed, it is determined that the startup information verification of the computer system is completed; the above method is used to verify the information in the firmware layer and the system layer of the computer system through the information in the solidified area in the hardware layer that is not easy to be tampered with or lost, so as to improve the accuracy of information verification; at the same time, the above method can realize security verification through the stored solidified information, so that the information verification process is relatively simple; in addition, the above method does not require human participation, which can not only save verification costs, but also improve the accuracy of information verification.

[0077] The following is an explanation of the process of verifying the information in the firmware layer and the system layer of the computer system by using the information in the solidified area. In one embodiment, the hardware layer includes a processor, and the information in the solidified area includes the trusted root information of the processor; Figure 3 As shown, the steps in the above S200 may include:

[0078] S210: Verify information in the firmware layer of the computer system according to the trusted root information of the processor.

[0079] Specifically, the information in the solidified area includes the trusted root information of the processor. In the embodiment of the present application, the trusted root information of the processor is the trusted root information of the central processing unit, and can also be understood as the root public key of the processor. Based on the obtained trusted root information of the processor, the information in the firmware layer of the computer system can be processed, and the security verification of the information in the firmware layer of the computer system is completed according to the processing result.

[0080] S220: If the information in the firmware layer passes the verification, the information in the system layer of the computer system is verified according to the information in the firmware layer.

[0081] When it is determined that the information in the firmware layer has passed the verification, the information in the system layer of the computer system can be further verified using an information verification algorithm based on the information in the firmware layer. Optionally, the information in the firmware layer can include the underlying code that connects the hardware layer and the system layer when the computer system is started; the above information verification algorithm can be a cyclic redundancy check method, a parity check method, a Hamming code check method, etc.

[0082] The technical solution in the embodiment of the present application verifies the information in the firmware layer of the computer system according to the trusted root information of the processor, and when the information in the firmware layer passes the verification, the information in the system layer of the computer system is verified according to the information in the firmware layer; the above method can verify the information in the firmware layer of the computer system through the information that is not easy to be tampered with or lost in the solidified area in the hardware layer, thereby improving the accuracy of the information verification in the firmware layer, and on this basis, the information in the system layer is security verified by the information in the firmware layer that has passed the verification, so that the accuracy of the information verification result in the system layer is higher. In addition, the above process adopts an interlocking chain-type verification method to perform a complete trust chain verification on the startup information of the computer system, which greatly improves the accuracy of the startup information verification of the computer system, and can further improve the security of the startup of the computer system.

[0083] In some scenarios, in order to improve the accuracy of information verification in the firmware layer of a computer system, it is possible to use solidified information to perform security verification. The following is an explanation of the process of verifying information in the firmware layer of a computer system based on the trusted root information of the processor. In one embodiment, the information in the firmware layer includes a coprocessor startup program, a firmware startup program, and a startup certificate set; Figure 4 As shown, the steps in the above S210 may include:

[0084] S211. Verify the coprocessor startup program through the trusted root information of the processor.

[0085] In an embodiment of the present application, the information in the above-mentioned firmware layer includes a coprocessor startup program, a firmware startup program, and a startup certificate set. Among them, the coprocessor in the computer system can be understood as a secure coprocessor. In practical applications, the startup program is not loaded in the coprocessor at the initial moment, that is, the coprocessor cannot run at the initial moment. Naturally, the coprocessor needs to load the startup program before it can start running. Therefore, in order to improve the safe operation of the coprocessor, it is necessary to perform a security check on the coprocessor startup program.

[0086] The processor may use the trusted root information of the processor and an information verification algorithm to perform security verification on the coprocessor boot program. Optionally, the coprocessor boot program may be represented as a secure coprocessor boot loader (Platform Security Processor Boot Loader, PSP Boot Loader).

[0087] In an embodiment of the present application, the processor decrypts the signature value in the coprocessor startup program through the processor's trusted root information to obtain a hash value, and then uses the hash algorithm in the coprocessor startup program to hash the public key in the coprocessor startup program to obtain another hash value, and then compares the two hash values. If the two hash values ​​are equal, it is determined that the coprocessor startup program security check has passed.

[0088] S212: If the coprocessor startup program passes the verification, the firmware startup program is verified by the coprocessor startup program.

[0089] After determining that the coprocessor startup program has passed the verification, the processor can verify the firmware startup program through the coprocessor startup program using an information verification algorithm. Optionally, the firmware of the computer system may include a Basic Input Output System (BIOS), an Extensible Firmware Interface (EFI), and a Unified Extensible Firmware Interface (UEFI), etc.

[0090] S213: If the firmware startup program passes the verification, the startup certificate set is verified through the firmware startup program.

[0091] In an embodiment of the present application, the above-mentioned boot certificate set may be a UEFI secure boot certificate set. When it is determined that the firmware boot program has passed the verification, the boot certificate set may be verified by the firmware boot program using a one-way verification method. Optionally, the one-way verification method may be an XOR verification method, an odd verification method, an even verification method, and the like.

[0092] The technical solution in the embodiment of the present application verifies the coprocessor startup program through the trusted root information of the processor, verifies the firmware startup program through the coprocessor startup program when the coprocessor startup program is verified, and verifies the startup certificate set through the firmware startup program when the firmware startup program is verified; the above method adopts an interlocking chain-type verification method, and verifies the information in the solidified layer layer by layer according to the solidified information that cannot be tampered with or lost, which can improve the accuracy of the information verification in the solidified layer. On this basis, it can further ensure the safe startup of the solidified layer of the computer system.

[0093] The following is a description of the process of verifying the firmware startup program by the coprocessor startup program. Figure 5 As shown, the steps in the above S212 may include:

[0094] S2121. Control the execution of the coprocessor startup program to verify the public key certificate chain.

[0095] The processor may control the coprocessor startup program to be loaded into the coprocessor, and then control the execution of the coprocessor startup program, and use an information verification algorithm to verify the public key certificate chain in the signed BIOS file.

[0096] In addition, the processor can also control the execution of the coprocessor startup program, process the public key certificate chain in the signed BIOS file to obtain a first verification value, and then compare the first verification value with a preset first verification threshold, and determine whether the public key certificate chain has passed the verification based on the comparison result. If the first verification value is equal to the preset first verification threshold, it is determined that the public key certificate chain has passed the verification; if the first verification value is equal to the preset first verification threshold, it is determined that the public key certificate chain has not passed the verification. Optionally, the preset first verification threshold can be determined by user-defined, or it can be determined based on historical experience values, which is not limited in the embodiments of the present application.

[0097] Optionally, the signed BIOS file may be referred to as a bin file generated by compiling the BIOS code, that is, a BIOS ROM file. In an embodiment of the present application, the BIOS ROM file may include a public key certificate chain, a firmware startup program, and a startup certificate set.

[0098] It should be noted here that the signed BIOS file can be generated by a third-party signature server, and the generation process does not require the participation of developers. Therefore, if the BIOS ROM file includes a boot certificate set, during the generation process of the signed BIOS file, the developer's contact with the certificates in the boot certificate set can be reduced, thereby reducing the possibility of tampering or loss of each certificate.

[0099] Among them, the third-party signature server can obtain the compiled BIOS code file and the corresponding file identification information, and then obtain the corresponding public key certificate chain and private key from the storage module of the BIOS manufacturer according to the file identification information, and then use the signature algorithm in the public key certificate chain to sign the BIOS startup code according to the private key to obtain the signature value, and then write the signature value and the public key certificate chain into the compiled BIOS code file to obtain the signed BIOS file. In the embodiment of the present application, the compiled BIOS code file may include a startup certificate set; the storage module of the above-mentioned BIOS manufacturer may include the file identification information of the compiled BIOS code file, the corresponding public key certificate chain, the private key, and the corresponding relationship between the three.

[0100] S2122: If the public key certificate chain verification passes, the firmware startup program is verified using the public key in the public key certificate chain.

[0101] When it is determined that the public key certificate chain verification passes, the processor may verify the firmware startup program using the public key in the public key certificate chain and an information verification algorithm.

[0102] Alternatively, when determining that the public key certificate chain has passed the verification, the processor may also process the firmware startup program through the public key in the public key certificate chain to obtain a second verification value, and then compare the second verification value with a preset second verification threshold, and determine whether the firmware startup program has passed the verification based on the comparison result. If the second verification value is equal to the preset second verification threshold, it is determined that the firmware startup program has passed the verification; if the second verification value is equal to the preset second verification threshold, it is determined that the firmware startup program has not passed the verification.

[0103] In the embodiment of the present application, the firmware boot code is a BIOS boot code, and the BIOS boot code includes information such as a signature value, a hash value, a hash algorithm, and a public key of the BIOS boot code. Among them, the signature value in the BIOS boot code can be obtained by signing and calculating the BIOS boot code according to the private key information of the BIOS.

[0104] In actual applications, the processor decrypts the signature value in the firmware boot program according to the public key in the public key certificate chain to obtain a hash value, and then performs a hash operation on the firmware boot program through the hash algorithm in the firmware boot program to obtain another hash value, and then compares the two hash values. If the two hash values ​​are equal, it is determined that the firmware boot program has passed the verification.

[0105] It should be noted here that the signature value in the firmware startup program may include the signature value of the FV_BB segment program and the signature value of the FV_MAIN segment program. In actual applications, the signature value of the FV_BB segment program in the firmware startup program can be verified according to the public key in the public key certificate chain, and the signature value of the FV_MAIN segment program in the firmware startup program can be verified according to the public key in the public key certificate chain, and the specific verification methods of the two are the same.

[0106] The technical solution in the embodiment of the present application controls the execution of the coprocessor startup program to verify the public key certificate chain. When it is determined that the public key certificate chain verification has passed, the firmware startup program is verified by the public key in the public key certificate chain. This process performs a security check on the public key certificate chain. When the public key certificate chain verification has passed, the firmware startup program is security checked according to the public key in the public key certificate chain, thereby improving the accuracy of the firmware startup program security check.

[0107] The process of verifying the public key certificate chain is described below. In one embodiment, the step in S2121 may include: verifying the public key certificate chain through trusted root information, public keys in the public key certificate chain, and signature values ​​in the public key certificate chain.

[0108] In an embodiment of the present application, the above-mentioned public key certificate chain can be understood as a BIOS public key certificate chain, which may include information such as the BIOS public key, public key length, signature algorithm, hash algorithm and signature value.

[0109] In practical applications, the root private key information of the processor can be used to sign the public key in the public key certificate chain using a signature algorithm to generate a signature value in the public key certificate chain. The signature algorithm here corresponds to the signature algorithm in the public key certificate chain. The signature value in the above public key certificate chain can be understood as an encrypted signature value.

[0110] Specifically, the processor can pre-train an algorithm model, and then input the trusted root information, the public key in the public key certificate chain, and the signature value in the public key certificate chain into the algorithm model to verify the public key certificate chain. The algorithm model outputs the verification result of the public key certificate chain.

[0111] In addition, the processor can also verify the public key certificate chain using an asymmetric encryption algorithm based on the trusted root information, the public key in the public key certificate chain, and the signature value in the public key certificate chain. Optionally, the asymmetric encryption algorithm can be a public key cryptographic algorithm (i.e., RSA algorithm), a national standard digital signature algorithm (i.e., DSA algorithm), an elliptic encryption algorithm (i.e., ECC algorithm), or a key exchange algorithm (i.e., DH algorithm), etc.

[0112] Taking the RSA algorithm as an asymmetric encryption algorithm as an example, the process of verifying the public key certificate chain through the trusted root information, the public key in the public key certificate chain and the signature value in the public key certificate chain is explained. Specifically, the processor can decrypt the signature value in the public key certificate chain through the root private key information of the processor to obtain a hash value, and obtain the hash algorithm in the public key certificate chain, and perform hash calculation on the public key value in the public key certificate chain according to the hash algorithm in the public key certificate chain to obtain another hash value. If the two hash values ​​are equal, it is determined that the public key certificate chain verification has passed, otherwise, it is determined that the public key certificate chain verification has not passed.

[0113] The technical solution in the embodiment of the present application verifies the public key certificate chain through trusted root information, the public key in the public key certificate chain and the signature value in the public key certificate chain, so as to prepare for accurate verification of the firmware startup program, and can also further improve the accuracy of the security verification of the firmware startup program through the public key certificate chain that passes the security verification.

[0114] In actual applications, after the firmware boot program passes the security verification, the boot certificate set needs to be verified again by the firmware boot program. Only after the boot certificate set is verified, can the information security verification in the firmware layer be guaranteed to pass. The process of security verification of the boot certificate set is described below. In one embodiment, the above-mentioned boot certificate set includes a platform public key certificate, an exchange public key certificate, and a valid data certificate; Figure 6 As shown, the step of verifying the startup certificate set by the firmware startup program in S213 can be implemented in the following way:

[0115] S2131. Control the execution of the firmware startup program and verify the platform public key certificate through the public key in the public key certificate chain.

[0116] In an embodiment of the present application, before executing the above S213, the above method also includes: detecting whether the BIOS ROM file includes a startup certificate set. If not, it is necessary to read the startup certificate set, and then execute the steps in the above S213 based on the read startup certificate set. If it is included, directly execute the steps in the above S213.

[0117] After the firmware startup program passes the verification, the processor can control the execution of the firmware startup program and verify the platform public key certificate using the public key of the BIOS in the public key certificate chain using an information verification algorithm. Optionally, the platform public key certificate can be called a PK (Platform Key) certificate.

[0118] In addition, the processor can also control the execution of the firmware startup program, and calculate the platform public key certificate through the public key of the BIOS in the public key certificate chain to obtain a third verification value, and then compare the third verification value with the preset third verification threshold, and determine whether the platform public key certificate has passed the verification according to the comparison result. If the third verification value is equal to the preset third verification threshold, it is determined that the platform public key certificate has passed the verification; if the third verification value is equal to the preset third verification threshold, it is determined that the platform public key certificate has not passed the verification.

[0119] The platform public key certificate includes the public key, public key length, signature algorithm, signature value and other information of the PK certificate. In the embodiment of the present application, the processor uses the signature algorithm in the PK certificate to sign the public key in the PK certificate according to the public key in the public key certificate chain to obtain the signature value, and then compares the signature value with the signature value in the PK certificate. If the two are equal, it is determined that the platform public key certificate verification has passed.

[0120] S2132. If the platform public key certificate passes the verification, the exchange public key certificate is verified through the platform public key certificate.

[0121] After the platform public key certificate is verified, the processor can verify the exchange public key certificate using the platform public key certificate and an information verification algorithm. The exchange public key certificate can be called a KEK (Key Exchange Key) certificate.

[0122] In addition, the processor may also pre-train an algorithm model, and then input both the platform public key certificate and the exchange public key certificate into the algorithm model, and the algorithm model outputs a result of whether the exchange public key certificate has passed verification.

[0123] Alternatively, the processor may also calculate the exchange public key certificate through the platform public key certificate to obtain a fourth verification value, and then compare the fourth verification value with a preset fourth verification threshold, and determine whether the exchange public key certificate has passed the verification based on the comparison result. If the fourth verification value is equal to the preset fourth verification threshold, it is determined that the exchange public key certificate has passed the verification; if the fourth verification value is equal to the preset fourth verification threshold, it is determined that the exchange public key certificate has not passed the verification.

[0124] Among them, the above-mentioned exchange public key certificate includes the public key, public key length, signature algorithm and signature value of the KEK certificate. In the embodiment of the present application, the processor uses the signature algorithm in the KEK certificate to sign the public key in the KEK certificate according to the public key in the platform public key certificate to obtain a signature value, and then compares the signature value with the signature value in the KEK certificate. If the two are equal, it is determined that the exchange public key certificate verification has passed.

[0125] S2133. If the exchanged public key certificate verification passes, the valid data certificate is verified through the exchanged public key certificate.

[0126] After the exchanged public key certificate is verified, the processor can verify the valid data certificate by using the information verification algorithm through the exchanged public key certificate. The valid data certificate can be called a DB (Data Base) certificate.

[0127] At the same time, the processor can also pre-train a certificate verification model, and then input the exchange public key certificate and the valid data certificate into the algorithm model, and the algorithm model outputs the result of whether the valid data certificate has passed the verification. Optionally, the above-mentioned certificate verification model can be composed of at least one of a convolutional neural network model, a recurrent neural network model, a recursive neural network model, a fully connected neural network model, and a generative adversarial neural network model.

[0128] Alternatively, the processor may also calculate the fourth check value for the valid data certificate by exchanging the public key certificates, and then compare the fifth check value with the preset fifth check threshold, and determine whether the valid data certificate has passed the check according to the comparison result. If the fifth check value is equal to the preset fifth check threshold, it is determined that the valid data certificate has passed the check; if the fifth check value is equal to the preset fifth check threshold, it is determined that the valid data certificate has failed the check.

[0129] The above-mentioned valid data certificate includes information such as the public key, public key length, signature algorithm and signature value of the DB certificate. In the embodiment of the present application, the processor uses the signature algorithm in the KEK certificate to sign the public key in the DB certificate according to the public key in the exchange public key certificate to obtain a signature value, and then compares the signature value with the signature value in the DB certificate. If the two are equal, it is determined that the valid data certificate verification has passed.

[0130] The technical solution in the embodiment of the present application controls the execution of the firmware startup program, verifies the platform public key certificate through the public key in the public key certificate chain, and when the platform public key certificate verification passes, verifies the exchange public key certificate through the platform public key certificate. When the exchange public key certificate verification passes, the valid data certificate is verified through the exchange public key certificate; the above method can not only perform security verification on each certificate in the startup certificate set to avoid the situation of missing certificate verification, but also can perform layer-by-layer verification on each certificate in the startup certificate set through an interlocking chain verification method, and use the result of the previous layer verification as the basic information for the next layer verification, so that the accuracy of the next layer verification is higher.

[0131] The process of verifying the information in the system layer of the computer system according to the information in the firmware layer is described below. In one embodiment, the step in S220 may include: verifying the information in the system layer of the computer system by starting a valid data certificate in a certificate set.

[0132] Specifically, based on the valid data certificate obtained in the previous step, the processor can use an information verification algorithm to verify the information in the system layer of the computer system. Optionally, the information in the system layer can include third-party startup programs solidified in peripheral devices such as network cards and graphics cards.

[0133] Optionally, the processor can also calculate the information in the system layer of the computer system to obtain a sixth verification value by starting a valid data certificate in the certificate set, and then compare the sixth verification value with a preset sixth verification threshold, and determine whether the information in the system layer of the computer system has passed the verification based on the comparison result. If the sixth verification value is equal to the preset sixth verification threshold, it is determined that the information in the system layer of the computer system has passed the verification; if the sixth verification value is equal to the preset sixth verification threshold, it is determined that the information in the system layer of the computer system has not passed. In the embodiment of the present application, all of the above-mentioned preset verification thresholds may be equal or unequal.

[0134] The technical solution in the embodiment of the present application performs security verification on the information in the system layer of the computer system by verifying the valid data certificate, so that the accuracy of the information verification in the system layer is higher; on this basis, the safe startup of the system layer of the computer system can be further guaranteed.

[0135] The following is a description of the steps of verifying the information in the system layer of the computer system by using the valid data certificate in the startup certificate set. In one embodiment, the information in the system layer includes a firmware driver, a bottom-level application, and an operating system startup program; Figure 7 As shown, the above step of verifying the information in the system layer of the computer system by starting the valid data certificate in the certificate set may include:

[0136] S221. Verify the firmware driver, the underlying application program, and the operating system startup program respectively through the encrypted information in the valid data certificate.

[0137] Specifically, the encrypted information in the above-mentioned valid data certificate may include the public key and hash value in the valid data certificate. In an embodiment of the present application, the processor can use the public key or hash value in the valid data certificate and an information verification algorithm to perform security verification on the firmware driver, underlying application and operating system startup program respectively.

[0138] In actual applications, the firmware driver, underlying application and operating system startup program are verified independently, and there is no correlation between the three verification processes. However, the verification methods can be the same or different, which is not limited in the embodiments of the present application.

[0139] In an embodiment of the present application, the firmware driver may include a UEFI firmware driver, and the underlying application may include an EFI application.

[0140] Among them, for the firmware driver, the processor uses the signature algorithm in the firmware driver to sign the firmware driver according to the public key or hash value in the valid data certificate to obtain a signature value, and then compares the signature value with the signature value in the firmware driver. If the two are equal, it is determined that the firmware driver security check has passed.

[0141] For the underlying application, the processor uses the signature algorithm in the underlying application to sign the underlying application according to the public key or hash value in the valid data certificate to obtain a signature value, and then compares the signature value with the signature value in the underlying application. If the two are equal, it is determined that the underlying application security verification has passed.

[0142] For the operating system startup program, the processor uses the signature algorithm in the underlying application to sign the operating system startup program based on the public key or hash value in the valid data certificate to obtain a signature value, and then compares the signature value with the signature value in the operating system startup program. If the two are equal, it is determined that the operating system startup program has passed the security check.

[0143] S222: If the firmware driver, the underlying application program, and the operating system startup program are all verified, it is determined that the startup information verification of the computer system is completed.

[0144] After the firmware driver, the underlying application program, and the operating system startup program have all passed the verification, it can be determined that the startup information verification of the computer system is completed.

[0145] The technical solution in the embodiment of the present application verifies the firmware driver, the underlying application and the operating system startup program respectively through the encrypted information in the valid data certificate, and when the firmware driver, the underlying application and the operating system startup program are all verified, it is determined that the startup information verification of the computer system is completed; the above method can verify the firmware driver, the underlying application and the operating system startup program in the system layer, and further enable the system layer of the computer system to start safely, and based on the encrypted information in the valid data certificate that has passed the verification, the firmware driver, the underlying application and the operating system startup program in the system layer are respectively verified, which can improve the accuracy of information verification in the system layer.

[0146] After determining that the startup information verification of the computer system is completed, the above method may further include: running the firmware driver, underlying application and operating system startup program that have passed the security verification in the system layer to determine that the startup of the computer system is completed.

[0147] After the firmware driver, underlying application and operating system startup program in the system layer are verified and passed, the processor can control the running of the firmware driver, underlying application and operating system startup program that have passed the security verification in the system layer respectively. After all three are completed, it is determined that the computer system security startup is completed.

[0148] Optionally, after the information in the firmware layer of the computer system is verified, the information in the firmware layer is run, that is, the firmware layer is securely started. Therefore, after the information in the system layer is verified, the information in the system layer is run. After the information in the system layer is run, it is determined that the computer system startup is completed.

[0149] The embodiment of the present application can run the information in the system layer that has passed the verification when the information in the system layer of the computer system has passed the verification, thereby ensuring the security of the last layer of information startup during the computer system startup process, thereby improving the security of the entire computer system startup.

[0150] In one embodiment, the present application also provides an information verification method, which includes the following process:

[0151] (1) When the hardware layer of the computer system is started, the trusted root information of the processor in the hardened area of ​​the hardware layer is obtained.

[0152] (2) Verify the coprocessor startup program through the processor's trusted root information.

[0153] (3) If the coprocessor startup program passes the verification, the coprocessor startup program is controlled to execute, and the public key certificate chain is verified through the trusted root information, the public key in the public key certificate chain, and the signature value in the public key certificate chain.

[0154] (4) If the public key certificate chain verification passes, the firmware boot program is verified using the public key in the public key certificate chain.

[0155] (5) If the firmware startup program passes the verification, the control executes the firmware startup program and verifies the platform public key certificate through the public key in the public key certificate chain.

[0156] (6) If the platform public key certificate passes the verification, the exchange public key certificate is verified through the platform public key certificate.

[0157] (7) If the exchanged public key certificate verification passes, the valid data certificate is verified through the exchanged public key certificate.

[0158] (8) If the valid data certificate passes the verification, the firmware driver, the underlying application and the operating system startup program are verified respectively using the encrypted information in the valid data certificate.

[0159] (9) If the firmware driver, the underlying application program, and the operating system startup program are all verified, it is determined that the startup information verification of the computer system is completed.

[0160] (10) The firmware driver, underlying application program, and operating system startup program that have passed the security check in the running system layer are checked to ensure that the computer system startup is complete.

[0161] The execution process of the above (1) to (10) can be specifically referred to the description of the above embodiment. The implementation principles and technical effects are similar and will not be repeated here.

[0162] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0163] Based on the same inventive concept, the embodiment of the present application also provides an information verification device for implementing the above-mentioned information verification method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the one or more information verification device embodiments provided below can refer to the limitations on the information verification method above, and will not be repeated here.

[0164] In one embodiment, Figure 8 This is a schematic diagram of the structure of an information verification device in one embodiment of the present application. Figure 8 As shown, the information verification device of the embodiment of the present application may include: an information acquisition module 11, a verification module 12 and a determination module 13, wherein:

[0165] The information acquisition module 11 is used to acquire information in a solidified area in the hardware layer when the hardware layer of the computer system is started;

[0166] A verification module 12, used to verify information in the firmware layer and the system layer of the computer system by using information in the solidified area;

[0167] The determination module 13 is used to determine that the startup information verification of the computer system is completed when the verification result of the verification module is passed.

[0168] The information verification device provided in the embodiment of the present application can be used to execute the technical solution in the above-mentioned information verification method embodiment of the present application. Its implementation principle and technical effect are similar and will not be repeated here.

[0169] In one embodiment, the hardware layer includes a processor, and the information in the solidified area includes the trusted root information of the processor; the verification module 12 includes: a first verification unit and a second verification unit, wherein:

[0170] A first verification unit, configured to verify information in a firmware layer of a computer system according to the trusted root information of the processor;

[0171] The second verification unit is used to verify the information in the system layer of the computer system according to the information in the firmware layer when the result of the first verification unit is that the verification is passed.

[0172] The information verification device provided in the embodiment of the present application can be used to execute the technical solution in the above-mentioned information verification method embodiment of the present application. Its implementation principle and technical effect are similar and will not be repeated here.

[0173] In one embodiment, the information in the firmware layer includes a coprocessor startup program, a firmware startup program, and a startup certificate set; the first verification unit includes: a first verification subunit, a second verification subunit, and a third verification subunit, wherein:

[0174] A first verification subunit, used to verify the coprocessor startup program through the trusted root information of the processor;

[0175] A second verification subunit is used to verify the firmware startup program through the coprocessor startup program when the result of the first verification subunit is that the verification is passed;

[0176] The third verification subunit is used to verify the startup certificate set through the firmware startup program when the result of the second verification subunit is that the verification is passed.

[0177] The information verification device provided in the embodiment of the present application can be used to execute the technical solution in the above-mentioned information verification method embodiment of the present application. Its implementation principle and technical effect are similar and will not be repeated here.

[0178] In one embodiment, the second verification subunit is specifically used for: a certificate chain verification subunit and a startup program verification subunit, wherein:

[0179] The certificate chain verification subunit is used to control the execution of the coprocessor startup program and verify the public key certificate chain;

[0180] The startup program verification subunit is used to verify the firmware startup program through the public key in the public key certificate chain when the result of the certificate chain verification subunit is verification passed.

[0181] The information verification device provided in the embodiment of the present application can be used to execute the technical solution in the above-mentioned information verification method embodiment of the present application. Its implementation principle and technical effect are similar and will not be repeated here.

[0182] In one embodiment, the certificate chain verification subunit is specifically used to:

[0183] The public key certificate chain is verified through the trusted root information, the public key in the public key certificate chain, and the signature value in the public key certificate chain.

[0184] The information verification device provided in the embodiment of the present application can be used to execute the technical solution in the above-mentioned information verification method embodiment of the present application. Its implementation principle and technical effect are similar and will not be repeated here.

[0185] In one embodiment, the startup certificate set includes a platform public key certificate, an exchange public key certificate and a valid data certificate; the third verification subunit is specifically used to:

[0186] Control the execution of the firmware startup program and verify the platform public key certificate through the public key in the public key certificate chain;

[0187] If the platform public key certificate passes the verification, the exchange public key certificate is verified through the platform public key certificate;

[0188] If the exchanged public key certificate verification passes, the valid data certificate is verified through the exchanged public key certificate.

[0189] The information verification device provided in the embodiment of the present application can be used to execute the technical solution in the above-mentioned information verification method embodiment of the present application. Its implementation principle and technical effect are similar and will not be repeated here.

[0190] In one embodiment, the second verification unit includes: a system layer verification subunit, wherein:

[0191] The system layer verification subunit is used to verify the information in the system layer of the computer system by starting the valid data certificate in the certificate set.

[0192] The information verification device provided in the embodiment of the present application can be used to execute the technical solution in the above-mentioned information verification method embodiment of the present application. Its implementation principle and technical effect are similar and will not be repeated here.

[0193] In one embodiment, the information in the system layer includes a firmware driver, an underlying application program, and an operating system startup program; the system layer check subunit is specifically used to:

[0194] Verify the firmware driver, underlying application and operating system startup program respectively through the encrypted information in the valid data certificate;

[0195] If the firmware driver, the underlying application program, and the operating system startup program are all verified and passed, it is determined that the startup information verification of the computer system is completed.

[0196] The information verification device provided in the embodiment of the present application can be used to execute the technical solution in the above-mentioned information verification method embodiment of the present application. Its implementation principle and technical effect are similar and will not be repeated here.

[0197] In one embodiment, the information verification device further includes: an operation module, wherein:

[0198] The running module is used to run the firmware driver, underlying application program and operating system startup program that have passed the security check in the system layer to determine that the computer system startup is completed.

[0199] The information verification device provided in the embodiment of the present application can be used to execute the technical solution in the above-mentioned information verification method embodiment of the present application. Its implementation principle and technical effect are similar and will not be repeated here.

[0200] For the specific definition of the information verification device, please refer to the definition of the information verification method above, which will not be repeated here. Each module in the above-mentioned information verification device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0201] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 1 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide processing capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the trusted root information of the processor. The network interface of the computer device is used to communicate with an external endpoint through a network connection. When the computer program is executed by the processor, an information verification method is implemented.

[0202] Those skilled in the art will understand that Figure 1The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0203] In one embodiment, a computer device is also provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the technical solution in the above-mentioned information verification method embodiment of the present application is implemented. The implementation principle and technical effect are similar and will not be repeated here.

[0204] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the technical solution of the above-mentioned information verification method of the present application is implemented. The implementation principle and technical effect are similar and will not be repeated here.

[0205] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the technical solution of the above-mentioned information verification method of the present application. The implementation principle and technical effect are similar and will not be repeated here.

[0206] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0207] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0208] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. An information verification method, It is characterized in that The method comprises: When the hardware layer of the computer system is started, obtaining information in a solidified area in the hardware layer; Verifying information in the firmware layer and the system layer of the computer system through the information in the solidified area; If the information verification passes, it is determined that the startup information verification of the computer system is completed.

2. The method according to claim 1, It is characterized in that The hardware layer includes a processor, and the information in the solidified area includes trusted root information of the processor; The verifying of information in the firmware layer and the system layer of the computer system by using the information in the solidified area includes: Verifying information in a firmware layer of the computer system according to the trusted root information of the processor; If the information in the firmware layer passes the verification, the information in the system layer of the computer system is verified according to the information in the firmware layer.

3. The method according to claim 2, It is characterized in that The information in the firmware layer includes a coprocessor startup program, a firmware startup program, and a startup certificate set; and verifying the information in the firmware layer of the computer system according to the trusted root information of the processor includes: Verifying the coprocessor startup program through the trusted root information of the processor; If the coprocessor startup program passes the verification, verifying the firmware startup program through the coprocessor startup program; If the firmware startup program passes the verification, the startup certificate set is verified through the firmware startup program.

4. The method according to claim 3, It is characterized in that The verifying the firmware startup program by the coprocessor startup program includes: Controlling the execution of the coprocessor startup program to verify the public key certificate chain; If the public key certificate chain passes the verification, the firmware startup program is verified using the public key in the public key certificate chain.

5. The method according to claim 4, It is characterized in that The verifying of the public key certificate chain includes: The public key certificate chain is verified by using the trusted root information, the public keys in the public key certificate chain and the signature values ​​in the public key certificate chain.

6. The method according to claim 3, It is characterized in that The startup certificate set includes a platform public key certificate, an exchange public key certificate and a valid data certificate; The verifying the startup certificate set by the firmware startup program includes: Controlling the execution of the firmware startup program, and verifying the platform public key certificate through the public key in the public key certificate chain; If the platform public key certificate passes the verification, the exchange public key certificate is verified by the platform public key certificate; If the exchange public key certificate passes the verification, the valid data certificate is verified through the exchange public key certificate.

7. The method according to any one of claims 2 to 6, It is characterized in that The verifying the information in the system layer of the computer system according to the information in the firmware layer includes: The information in the system layer of the computer system is verified by using the valid data certificate in the startup certificate set.

8. The method according to claim 7, It is characterized in that The information in the system layer includes a firmware driver, an underlying application program, and an operating system startup program; the information in the system layer of the computer system is verified by using a valid data certificate in the startup certificate set, including: Verifying the firmware driver, the underlying application and the operating system startup program respectively through the encrypted information in the valid data certificate; If the firmware driver, the underlying application program, and the operating system startup program are all verified and passed, it is determined that the startup information verification of the computer system is completed.

9. The method according to any one of claims 2 to 6, It is characterized in that After determining that the startup information verification of the computer system is completed, the method further includes: The firmware driver, underlying application program and operating system startup program that have passed the security check in the system layer are run to determine that the startup of the computer system is complete.

10. An information verification device, It is characterized in that The device comprises: An information acquisition module, used for acquiring information in a solidified area in the hardware layer when the hardware layer of the computer system is started; A verification module, used to verify information in the firmware layer and the system layer of the computer system through the information in the solidified area; The determination module is used to determine that the startup information verification of the computer system is completed when the verification result of the verification module is passed.

Citation Information

Patent Citations

  • UEFI (Unified Extensible Firmware Interface) credible implementation method based on domestic platform

    CN114519210A

  • Safe starting method and device, electronic equipment and storage medium

    CN114880048A

  • Multi-processor computing device and trusted chain construction method thereof

    CN115858448A

  • Secure booting method, apparatus and system

    WO2023051262A1