The invention discloses a
control flow verification method for
booting firmware,
electronic equipment, a storage medium and a product, and relates to the technical field of
firmware security, the method comprises the following steps: before the
booting firmware is booted, performing symmetric signature on a jump target address
list of a
control flow by using a derived symmetric key, and in the current execution stage of the
booting firmware, performing symmetric signature on the jump target address
list of the
control flow; the symmetric signature is verified by using the symmetric key, and calling in the current execution stage is realized based on the jump target address if
verification is passed; and after the execution of the current execution stage is finished, obtaining the descriptor of the next execution stage, carrying out asymmetric signature and
verification on the descriptor, and skipping the control flow of the current execution stage to the next execution stage after the verification is passed. The technical problems that control flow hijacking cannot be defended in related technologies, and the dynamic integrity of indirect calling and cross-stage jump targets in the multi-stage starting process is difficult to guarantee are solved, and the technical effect of improving the firmware defense capability is achieved.