Authentication method
Through the two-way authentication mechanism between the host unit and the baseboard management controller, the reference public key and digital signature data are used for identity verification, which solves the problem of insufficient security of the computer system and realizes the communication between the baseboard management controller and the host unit. The security improvement enhances the overall security of the system.
Patent Information
- Application Number
- CN201910865451.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-12
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2039-09-12
AI Technical Summary
The security of existing computer systems is threatened by hacker attacks. In particular, the communication security between the baseboard management controller (BMC) and the host unit is insufficient, making it difficult to effectively protect computer system security risks.
Through the two-way authentication mechanism between the host unit and the baseboard management controller, the reference public key and digital signature data are used for identity verification, ensuring that only a specific baseboard management controller and the host unit can access each other's resources, improving communication security.
It effectively improves the communication security between the baseboard management controller and the host unit, prevents unauthorized access and attacks, and thereby enhances the security of the entire computer system.
Smart Images

Figure CN112487500B_ABST
Abstract
Description
[Technical field]
[0002] The invention relates to an authentication method, and in particular to an authentication method for a baseboard management control system. [Background technology]
[0004] Existing computer systems usually include a baseboard management controller system (BMC) to monitor the operation status of the computer system. Among them, BMC can monitor whether the sensing values sensed by the sensors installed on the computer system are abnormal and record the abnormal status. The computer system can also be reset and power restarted through BMC. In some computer systems, the system firmware, such as BIOS or U-Boot, can also be updated through BMC. The security issue of BMC has received increasing attention. If hackers attack the computer system through BMC to tamper with the firmware running in the computer system, the computer system will be exposed to great risks and threats. On the other hand, although a secure boot security mechanism is set in the Unified Extensible Firmware Interface (UEFI) when the motherboard in the computer system is turned on, when the computer is turned on, it will identify whether the operating system to be started is trusted based on a set of certificates pre-loaded in the motherboard by the motherboard hardware manufacturer. If not, it cannot be turned on. However, this security mechanism can only identify whether the operating system is trusted, and the security protection is quite limited. If a computer system is attacked by hackers, not only the security of the computer system will be in jeopardy, but the BMC may also be affected. Therefore, how to improve the security of the computer system is an issue that needs to be solved urgently. [Summary of the invention]
[0006] The technical problem to be solved by the present invention is to provide an authentication method for improving the security of a computer system.
[0007] To solve the above technical problems, the authentication method of the present invention is applicable to authenticating a baseboard management controller included in a computer system, and is implemented by a host unit included in the computer system and electrically connected to the baseboard management controller. The host unit stores a reference baseboard end public key related to a specific baseboard management controller. The authentication method includes the following steps:
[0008] (A) the host unit transmits a substrate-side signature request related to the baseboard management controller to the baseboard management controller;
[0009] (B) after the host unit obtains the substrate-side signature data from the baseboard management controller in response to the substrate-side signature request, the host unit authenticates whether the baseboard management controller is the specific baseboard management controller based on the reference substrate-side public key and the substrate-side signature data; and
[0010] (C) When the host unit authenticates that the baseboard management controller is the specific baseboard management controller, the host unit allows the baseboard management controller to access the host unit.
[0011] Another technical problem to be solved by the present invention is to provide an authentication method for improving the security of a computer system.
[0012] To solve the above technical problems, the authentication method of the present invention is applicable to authenticating a host unit included in a computer system, and is implemented by a baseboard management controller included in the computer system and electrically connected to the host unit. The baseboard management controller stores a reference host public key related to a specific host. The authentication method includes the following steps:
[0013] (A) the baseboard management controller transmits a host-side signature request related to the host unit to the host unit;
[0014] (B) after the baseboard management controller obtains the host-side signature data from the host unit in response to the host-side signature request, the baseboard management controller authenticates whether the host unit is the specific host according to the reference host-side public key and the host-side signature data; and
[0015] (C) When the baseboard management controller authenticates whether the host unit is the specific host terminal, the baseboard management controller allows the host unit to access the baseboard management controller.
[0016] Compared to the prior art, the authentication method of the present invention uses the host unit to authenticate whether the baseboard management controller is the specific baseboard management controller based on the reference baseboard end public key and the baseboard end signature data, and only after the host unit successfully authenticates the baseboard management controller, the host unit allows the baseboard management controller to access the host unit. In this way, the security of communication between the baseboard management controller and the host unit can be improved, thereby improving the security of the computer system.
Brief Description of the Drawings
[0018] Other features and effects of the present invention will be clearly presented in the embodiments with reference to the accompanying drawings, in which:
[0019] Figure 1 is a block diagram illustrating a computer system for implementing an embodiment of the authentication method of the present invention;
[0020] Figure 2 is a flow chart illustrating a baseboard management controller authentication procedure of an embodiment of the authentication method of the present invention
[0021] Figure 3 is a flow chart illustrating the detailed process of how a host unit authenticates a baseboard management controller;
[0022] Figure 4 is a flow chart illustrating a host unit authentication procedure of an embodiment of the authentication method of the present invention; and
[0023] Figure 5 The invention is a flow chart illustrating the detailed process of how the baseboard management controller authenticates the host unit. [Specific implementation method]
[0025] See also Figure 1 The embodiment of the authentication method of the present invention is implemented by a computer system 1 , which includes a host unit 2 and a baseboard management controller 3 electrically connected to the host unit 2 .
[0026] The host unit 2 includes a processing module 21, a storage module 22 electrically connected to the processing module 21, and a switch 23 controlled by the processing module 21 and used to control the write permission between the storage module 22 and the baseboard management controller 3. The storage module 22 stores a reference baseboard public key 222 related to a specific baseboard management controller, a basic input / output system program 223 run by the processing module 21, and a host-side digital signature 224 related to a part of the program fragment of the basic input / output system program 223 (Basic Input / Output System, referred to as BIOS) run by the host unit 2. The host-side digital signature 224 is obtained by performing a hash operation on the part of the program fragment, such as an MD5 message digest algorithm, to obtain a check code, and encrypting the check code through a host-side private key. Among them, the processing module 21 can be, for example, a central processing unit (Center Processing Unit, referred to as CPU), and the storage module 22 can be, for example, a BIOS chip. In the present embodiment, the host-side digital signature 224 is obtained by encrypting the portion of the program fragment that has been hashed; however, in other embodiments, the corresponding check code can be obtained by performing the hash operation on the portion of the program fragment and at least one of the BIOS header, the signature of the BIOS vendor, the BIOS version, the BIOS size, and the memory address related to the portion of the program fragment, and then the obtained check code is encrypted by the host-side private key (not shown) to obtain the host-side digital signature 224, but the present invention is not limited to this.
[0027] The baseboard management controller 3 includes a processing unit 31, a storage unit 32 electrically connected to the processing unit 31, and a switch 33 controlled by the processing unit 31 and used to control the write permission between the storage unit 32 and the host unit 2. The storage unit 32 stores a reference host end public key 321 related to a specific host end, a firmware 322 run by the processing unit 31, and a base end digital signature 323 related to a part of the firmware segment of the firmware 322 run by the baseboard management controller 3, and the base end digital signature 323 is obtained by performing the hash operation of the part of the firmware segment, such as the MD5 message digest algorithm, to obtain another check code, and encrypting the other check code through a base end private key (not shown). In the present embodiment, the substrate-side digital signature 323 is obtained by encrypting the portion of the firmware fragment that has been hashed; however, in other embodiments, the corresponding check code can also be obtained by performing the hash operation on the portion of the firmware fragment and at least one of the firmware header, the signature of the firmware supplier, the firmware version, the firmware size, and the memory address related to the portion of the firmware fragment, and then the obtained check code is encrypted by the substrate-side private key to obtain the substrate-side digital signature 323, but it is not limited to this.
[0028] See also Figure 1 , Figure 2 and Figure 4 The embodiment of the authentication method of the present invention is implemented by the host unit 2 and the baseboard management controller 3 executing the corresponding basic input and output system program 223 and firmware 322, and includes the following steps.
[0029] In step 201 , the processing module 21 of the host unit 2 transmits a substrate-side signature request related to the baseboard management controller 3 to the baseboard management controller 3 .
[0030] In step 202, after the processing unit 31 of the baseboard management controller 3 receives the substrate-end signature request, the processing unit 31 of the baseboard management controller 3 responds to the substrate-end signature request, generates the substrate-end signature data including the substrate-end digital signature 323 and a substrate-end plaintext data related to the partial firmware segment according to the substrate-end digital signature 323 and the firmware 322 stored in the storage unit 32, and transmits the substrate-end signature data to the host unit 2. It is worth mentioning that in the present embodiment, since the check code corresponding to the digital signature 323 of the substrate is obtained based on the partial firmware segment, the plain text data of the substrate only includes the partial firmware segment; however, in the case where the check code corresponding to the digital signature 323 of the substrate is obtained based on the partial firmware segment, the signature of the firmware supplier, the firmware version, the firmware size, and at least one of the memory addresses related to the partial firmware segment, the plain text data of the substrate shall include at least one of the signature of the firmware supplier, the firmware version, the firmware size, and the memory addresses related to the partial firmware segment in addition to the partial firmware segment. In addition, in the present embodiment, the processing unit 31 of the baseboard management controller 3 transmits the substrate signature data to the host unit 2 via the Intelligent Platform Management Interface (IPMI).
[0031] In step 203, the processing module 21 of the host unit 2 determines whether the substrate-side signature data in response to the substrate-side signature request is received within a first predetermined time interval. When the processing module 21 of the host unit 2 determines that the substrate-side signature data is not received within the first predetermined time interval, the processing module 21 of the host unit 2 returns to step 201; when the processing module 21 of the host unit 2 determines that the substrate-side signature data is received within the first predetermined time interval, the processing module 21 of the host unit 2 proceeds to step 204.
[0032] In step 204, after the processing module 21 of the host unit 2 obtains the substrate-side signature data in response to the substrate-side signature request, the processing module 21 of the host unit 2 authenticates whether the baseboard management controller 3 is the specific baseboard management controller according to the reference substrate-side public key 222 and the substrate-side signature data. When the processing module 21 of the host unit 2 authenticates that the baseboard management controller 3 is not the specific baseboard management controller, the process proceeds to step 205; when the processing module 21 of the host unit 2 authenticates that the baseboard management controller 3 is the specific baseboard management controller 3, the process proceeds to step 206.
[0033] In step 205 , the processing module 21 of the host unit 2 controls the switch 23 of the host unit 2 to be turned off, so as to prevent the baseboard management controller 3 from writing to the storage module 22 of the host unit 2 .
[0034] In step 206, the processing module 21 of the host unit 2 controls the switch 23 of the host unit 2 to be turned on, so as to allow the baseboard management controller 3 to write to the storage module 22 of the host unit 2, and transmit a successful authentication notification to the baseboard management controller 3. In other embodiments, the host unit 2 not only allows the baseboard management controller 3 to write to the storage module 22 of the host unit 2, but also allows the baseboard management controller 3 to control the host unit 2, and the host unit 2 can also respond to an operation request of the baseboard management controller 3 to perform an operation related to the operation request, that is, respond to the operation request of the baseboard management controller 3 to perform operations including, for example, providing information of the computer system 1 to the baseboard management controller 3, or restarting the host unit 2.
[0035] See also Figure 1 and Figure 3 It is worth mentioning that step 204 includes the following sub-steps.
[0036] In sub-step 241 , the processing module 21 of the host unit 2 performs the hash operation according to the substrate-side plaintext data to obtain a check code data, and decrypts the substrate-side digital signature 323 through the reference substrate-side public key 222 to obtain a check code to be compared.
[0037] In sub-step 242, the processing module 21 of the host unit 2 determines whether the check code data matches the check code to be compared, so as to authenticate whether the baseboard management controller 3 is the specific baseboard management controller 3. When the processing module 21 of the host unit 2 determines that the check code data does not match the check code to be compared, the baseboard management controller 3 is authenticated as not being the specific baseboard management controller 3; when the processing module 21 of the host unit 2 determines that the check code data matches the check code to be compared, the baseboard management controller 3 is authenticated as the specific baseboard management controller 3.
[0038] Continue reading Figure 1 , Figure 2 and Figure 4In step 207, the processing unit 31 of the baseboard management controller 3 determines whether a successful authentication notification is received from the host unit 2 within a second predetermined time interval. When the processing unit 31 of the baseboard management controller 3 determines that the successful authentication notification is not received within the second predetermined time interval, the processing unit 31 of the baseboard management controller 3 performs step 208; when the processing unit 31 of the baseboard management controller 3 determines that the successful authentication notification is received within the second predetermined time interval, the processing unit 31 of the baseboard management controller 3 performs step 209.
[0039] In step 208 , the processing unit 31 of the baseboard management controller 3 waits to receive the baseboard signature request again, and returns to step 202 after receiving the baseboard signature request.
[0040] In step 209 , the processing unit 31 of the baseboard management controller 3 transmits a host-side signature request related to the host unit 2 to the host unit 2 .
[0041] In step 210, the processing module 21 of the host unit 2 determines whether the host-side signature request is received from the baseboard management controller 3 within a third predetermined time interval. When the processing module 21 of the host unit 2 determines that the host-side signature request is not received within the third predetermined time interval, the processing module 21 of the host unit 2 returns to step 201; when the processing module 21 of the host unit 2 determines that the host-side signature request is received within the third predetermined time interval, the processing module 21 of the host unit 2 proceeds to step 211.
[0042] In step 211, after the processing module 21 of the host unit 2 receives the host-side signature request, the processing module 21 of the host unit 2 responds to the host-side signature request, generates the host-side signature data including the host-side digital signature 224 and a host-side plaintext data related to the partial program fragment according to the host-side digital signature 224 and the basic input and output system program 223 stored in the storage module 22, and transmits the host-side signature data to the baseboard management controller 3. It is worth mentioning that, in the present embodiment, since the check code corresponding to the host-side digital signature 224 is obtained based on the partial program fragment, the host-side plaintext data only includes the partial program fragment; however, in the case where the check code corresponding to the host-side digital signature 224 is obtained based on the partial program fragment, the signature of the BIOS vendor, the BIOS version, the BIOS size, and at least one of the memory addresses related to the partial program fragment, the host-side plaintext data, in addition to including the partial program fragment, must also include the signature of the BIOS vendor, the BIOS version, the BIOS size, and at least one of the memory addresses related to the partial program fragment. In addition, in the present embodiment, the processing module 21 of the host unit 2 transmits the host-side signature data to the baseboard management controller 3 via the Intelligent Platform Management Interface (IPMI).
[0043] In step 212, the processing unit 31 of the baseboard management controller 3 determines whether the host-side signature data is received from the host unit 2 within a fourth predetermined time interval. When the processing unit 31 of the baseboard management controller 3 determines that the host-side signature data is not received within the fourth predetermined time interval, the processing unit 31 of the baseboard management controller 3 returns to step 209; when the processing unit 31 of the baseboard management controller 3 determines that the host-side signature data is received within the fourth predetermined time interval, the processing unit 31 of the baseboard management controller 3 performs step 213.
[0044] In step 213, after the processing unit 31 of the baseboard management controller 3 obtains the host-side signature data in response to the host-side signature request, the processing unit 31 of the baseboard management controller 3 authenticates whether the host unit 2 is the specific host according to the reference host-side public key 321 and the host-side signature data. When the processing unit 31 of the baseboard management controller 3 authenticates that the host unit 2 is not the specific host, the process proceeds to step 214; when the processing unit 31 of the baseboard management controller 3 authenticates that the host unit 2 is the specific host, the process proceeds to step 215.
[0045] In step 214 , the processing unit 31 of the BMC 3 controls the switch 23 of the BMC 3 to be turned off, so as to prevent the host unit 2 from writing to the storage unit 32 of the BMC 3 .
[0046] In step 215, the processing unit 31 of the baseboard management controller 3 controls the switch 23 of the baseboard management controller 3 to be turned on, so as to allow the host unit 2 to write to the storage unit 32 of the baseboard management controller 3, and transmit another authentication success notification to the host unit 2. In other embodiments, the baseboard management controller 3 not only allows the host unit 2 to write to the storage unit 32 of the baseboard management controller 3, but also allows receiving the data request of the host unit 2 to report the data related to the host unit 2, and allows the host unit 2 to update the firmware 322 stored in the storage unit 32 of the baseboard management controller 3, and the baseboard management controller 3 can also respond to an operation request of the host unit 2 to perform an operation related to the operation request, that is, respond to the operation request of the host unit 2 to perform operations including, for example, obtaining a file from an external storage module, or restarting the baseboard management controller 3.
[0047] See also Figure 1 and Figure 5 It is worth mentioning that step 213 includes the following sub-steps.
[0048] In sub-step 231 , the processing unit 31 of the baseboard management controller 3 performs the hash operation according to the host-side plaintext data to obtain another check code data, and decrypts the host-side digital signature 224 through the reference host-side public key 321 to obtain another check code to be compared.
[0049] In sub-step 232, the processing unit 31 of the baseboard management controller 3 determines whether the other check code data matches the other check code to be compared, so as to authenticate whether the baseboard management controller 3 is the specific baseboard management controller 3. When the processing unit 31 of the baseboard management controller 3 determines that the other check code data does not match the other check code to be compared, the host unit 2 is authenticated as not being the specific host end; when the processing unit 31 of the baseboard management controller 3 determines that the other check code data matches the other check code to be compared, the host unit 2 is authenticated as the specific host end.
[0050] Continue reading Figure 1 , Figure 2 and Figure 4In step 216, the processing module 21 of the host unit 2 determines whether another authentication success notification is received from the baseboard management controller 3 within a fifth predetermined time interval. When the processing module 21 of the host unit 2 determines that the other authentication success notification is not received within the fifth predetermined time interval, the processing module 21 of the host unit 2 proceeds to step 217; when the processing module 21 of the host unit 2 determines that the other authentication success notification is received within the fifth predetermined time interval, the baseboard management controller 3 and the host unit 2 are bidirectionally authenticated successfully.
[0051] It is worth mentioning that in the present embodiment, when the baseboard management controller 3 and the host unit 2 are successfully authenticated with each other, it means that the reference substrate-side public key 222 and the substrate-side private key are a key pair (Key Pair) to each other, and the reference host-side public key 321 and the host-side private key are also a key pair (Key Pair) to each other, wherein the reference substrate-side public key 222, the substrate-side private key, the reference host-side public key 321, the host-side private key, the substrate-side digital signature 323 and the host-side digital signature 224 are all provided by a trusted third-party certification agency using a hardware security module (HSM), and the substrate-side private key and the host-side private key are stored by the third-party certification agency and are not disclosed to the outside.
[0052] In step 217 , the processing module 21 of the host unit 2 waits to receive the host-side signature request again, and returns to step 211 after receiving the host-side signature request.
[0053] It is worth mentioning that each time the computer system 1 is turned on for the first time and the host unit 2 is restarted, the embodiment of the authentication method of the present invention will be re-executed.
[0054] In summary, the authentication method of the present invention performs two-way authentication between the host unit 2 and the baseboard management controller 3. The baseboard management controller 3 is allowed to access the host unit 2 only after the baseboard management controller 3 is successfully authenticated by the host unit 2. Similarly, the host unit 2 is allowed to access the baseboard management controller 3 only after the baseboard management controller 3 is successfully authenticated by the host unit 2. In this way, the security of the communication between the baseboard management controller 3 and the host unit 2 can be improved, thereby improving the security of the computer system 1, so the purpose of the present invention can be achieved.
[0055] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An authentication method, suitable for authenticating a baseboard management controller included in a computer system, and implemented by a host unit included in the computer system and electrically connected to the baseboard management controller, the host unit storing a reference baseboard end public key related to a specific baseboard management controller, characterized in that: The authentication method includes the following steps: (A) the host unit transmits a substrate-side signature request related to the baseboard management controller to the baseboard management controller; (B) after the host unit obtains the substrate-side signature data in response to the substrate-side signature request, the host unit authenticates whether the baseboard management controller is the specific baseboard management controller based on the reference substrate-side public key and the substrate-side signature data, wherein step (B) includes sub-steps (B-1) and (B-2), (B-1) the substrate-end signature datagram includes a substrate-end digital signature associated with a portion of a firmware segment of the firmware run by the baseboard management controller, and a substrate-end plaintext data associated with the portion of the firmware segment, the substrate-end digital signature is obtained by performing a hash operation on the portion of the firmware segment to obtain a check code, and the check code is obtained by encrypting the check code through a substrate-end private key, the host unit performs the hash operation based on the substrate-end plaintext data to obtain a check code data, and decrypts the substrate-end digital signature through the reference substrate-end public key to obtain a check code to be compared, and (B-2) the host unit determines whether the check code data matches the check code to be compared to authenticate whether the baseboard management controller is the specific baseboard management controller; (C) when the host unit authenticates that the baseboard management controller is the specific baseboard management controller, the host unit transmits an authentication success notification to the baseboard management controller and allows the baseboard management controller to access the host unit; (D) after the host unit receives a host signature request from the baseboard management controller and related to the host unit, the host unit transmits host signature data to the baseboard management controller in response to the host signature request, so that the baseboard management controller authenticates whether the host unit is a specific host according to a reference host public key and the host signature data; and (E) After the host unit receives a successful authentication notification from the baseboard management controller, the host unit can access the baseboard management controller.
2. The authentication method according to claim 1, characterized in that: The host unit includes a processing module, a storage module electrically connected to the processing module, and a switch controlled by the processing module and used to control the write permission between the storage module and the baseboard management controller. The storage module also stores a basic input and output system program. In the step (C), when the host unit authenticates that the baseboard management controller is the specific baseboard management controller, the processing module of the host unit controls the switch to be turned on to allow the baseboard management controller to write to the storage module.
3. The authentication method according to claim 1, characterized in that: In step (D), the host-side signature datagram contains a host-side digital signature associated with a portion of a program fragment of the basic input / output system program run by the host unit, and a host-side plaintext data associated with the portion of the program fragment. The host-side digital signature is obtained by performing a hash operation on the portion of the program fragment to obtain a check code, and the check code is obtained by encrypting the check code using a host-side private key.
4. The authentication method according to claim 1, characterized in that: The baseboard management controller includes a storage unit storing a firmware run by the baseboard management controller, and a switch controlled by the baseboard management controller for controlling the write permission between the storage unit and the host unit, wherein, in the step (E), after the host unit receives the authentication success notification from the baseboard management controller, the host unit can write to the storage unit by turning on the switch controlled by the baseboard management controller for controlling the write permission between the storage unit and the host unit.
5. The authentication method according to claim 1, characterized in that: After step (C), the method further comprises the following steps: (F) the host unit determines whether the host-side signature request has been received within a predetermined time; and (G) When the host unit determines that the host-side signature request has not been received within the predetermined time, the host unit returns to step (A); When the host unit determines that the host-side signature request has been received within the predetermined time, step (D) is performed.
6. An authentication method, suitable for authenticating a host unit included in a computer system, and implemented by a baseboard management controller included in the computer system and electrically connected to the host unit, the host unit stores a reference baseboard end public key related to a specific baseboard management controller, and the baseboard management controller stores a reference host end public key related to a specific host end, characterized in that: The authentication method includes the following steps: (A) after the baseboard management controller receives a baseboard signature request from the host unit and related to the baseboard management controller, the baseboard management controller transmits baseboard signature data to the host unit in response to the baseboard signature request, so that the host unit authenticates whether the baseboard management controller is the specific baseboard management controller according to the reference baseboard public key and the baseboard signature data; (B) after the baseboard management controller receives a notification of successful authentication from the host unit, the baseboard management controller is allowed to access the host unit and transmits a host-side signature request related to the host unit to the host unit; (C) after the baseboard management controller obtains the host signature data in response to the host signature request, the baseboard management controller authenticates whether the host unit is the specific host according to the reference host public key and the host signature data, wherein step (C) includes sub-steps (C-1) and (C-2), (C-1) the host-side signature datagram contains a host-side digital signature associated with a portion of a program fragment of a basic input / output system program run by the host unit, and a host-side plaintext data associated with the portion of the program fragment, the host-side digital signature is obtained by performing a hash operation on the portion of the program fragment to obtain a check code, and the check code is obtained by encrypting the check code using a host-side private key, the baseboard management controller performs the hash operation on the host-side plaintext data to obtain a check code data, and decrypts the host-side digital signature using the reference host-side public key to obtain a check code to be compared, and (C-2) the baseboard management controller authenticates whether the host unit is the specific host by determining whether the check code data matches the check code to be compared; and (D) When the baseboard management controller authenticates that the host unit is the specific host terminal, the baseboard management controller allows the host unit to access the baseboard management controller.
7. The authentication method according to claim 6, characterized in that: The baseboard management controller includes a storage unit storing a firmware run by the baseboard management controller, and a switch controlled by the baseboard management controller and used to control the write permission between the storage unit and the host unit, wherein, in the step (D), when the baseboard management controller authenticates that the host unit is the specific host end, the baseboard management controller controls the switch to be turned on to allow the host unit to write to the storage unit.
8. The authentication method according to claim 6, characterized in that: The host unit includes a processing module, a storage module electrically connected to the processing module, and a switch controlled by the processing module and used to control the write permission between the storage module and the baseboard management controller, wherein, in the step (B), after the baseboard management controller receives the authentication success notification from the host unit, the baseboard management controller can write to the storage module via the turned-on switch.
9. The authentication method according to claim 6, characterized in that: In step (A), the substrate-side signature datagram contains a substrate-side digital signature associated with a portion of a firmware segment of the firmware run by the baseboard management controller, and a substrate-side plaintext data associated with the portion of the firmware segment. The substrate-side digital signature is obtained by performing a hash operation on the portion of the firmware segment to obtain a check code, and the check code is obtained by encrypting the check code using a substrate-side private key.
10. The authentication method according to claim 6, characterized in that: After step (B), the method further comprises the following steps: (E) the baseboard management controller determines whether the host-side signature data is received within another predetermined time; and (F) When the baseboard management controller determines that the host-side signature data has not been received within the other predetermined time, the baseboard management controller returns to step (B); When the baseboard management controller determines that the host-side signature data has been received within the other predetermined time, step (C) is performed.
