A kind of identity generation system and method based on UEFI
Technical field
This is related to one kind based on UEFI firmware, in booting bootup process the invention belongs to computer security technical field
The method for generating unique machine mark.
Background technique
Currently, equipment unique identification is generally used for server or other computer equipments can in computer safety field
Quickly it is recognized by the system.Device identification generally by operating system specific software generate, have it is below not
Foot, specifically includes that
(1) replacement hard disk, again subregion, reinstall operating system after, need to reinstall specific device identification
Program is generated, it could generating device mark.
(2) device identification installed in an operating system generates program, is easy to be distorted and delete by virus or wooden horse,
Cause system that can not identify existing equipment.
Summary of the invention
Have the purpose of the invention is to overcome the defect of prior art, in order to solve in the bootup process of booting, behaviour
Before making system starting, the problem of capableing of the identity of generating device, proposes that a kind of equipment identities mark based on UEFI generates
System and method.
A kind of identity generation system based on UEFI, the system comprises equipment information collection modules, local identity
Verify interface and identifier generation module;Wherein, the equipment information collection module is used to acquire the hardware information of local device, institute
Local authentication interface is stated for accessing external identity-validation device, such as U-key, IC card;The identifier generation module
Unique device identification number can be generated in conjunction with local device information and external identity-validation device.
Its process generated are as follows:
Step 1: computer booting powers on, into booting bootup process;
Step 2: loading corresponding hardware driving, such as hard drive in firmware layer;
Step 3: acquiring specific hardware information (such as mainboard number, CPU number);
Step 4: detecting whether external identification apparatus;If there is external equipment is transferred to step 5;If no
External equipment then skips this step, enters step nine;
Step 5: loading corresponding device drives;
Step 6: extracting the authentication information of external identity-validation device;
Step 7: detecting whether that user is needed to input presupposed information;If it is required, then being transferred to step 6, otherwise, it is transferred to step
Rapid nine;
Step 8: user inputs presupposed information, such as some specific character string;
Step 9: the information being collected into is encrypted, unique device identification number is generated;
Step 10: continuing booting guidance, this process terminates.
The utility model has the advantages that
1, the present invention replace hard disk, again subregion, reinstall operating system in the case where, it is specific not need installation
Software can generate corresponding mark in firmware layer.
2, the present invention generates corresponding mark in firmware layer, is not easily susceptible to distorting and deleting for virus or wooden horse.
Detailed description of the invention
Fig. 1 is system overall frame structure figure of the invention;
Fig. 2 is the flow chart that present device Identity Code generates.
Specific embodiment
The present invention will now be described in detail with reference to the accompanying drawings and examples.
As shown in Fig. 1, the present invention provides a kind of, and the identity based on UEFI generates system, and the system comprises set
Standby information acquisition module, local authentication interface and identifier generation module;Wherein, the equipment information collection module is for adopting
Collect the hardware information of local device, the local authentication interface for accessing external identity-validation device, as U-key,
IC card etc.;The identifier generation module can generate Unique Device in conjunction with local device information and external identity-validation device
Identification code.
The present invention before application, needs to dispose in advance in terminal, and the method that can be selected includes:
A) drive module is added in UEFI kernel image.
B) the carry Option ROM module in UEFI kernel image.
C) the carry drive module in other peripheral equipments such as trusted card.
As shown in Fig. 2, the present invention is based on the specific implementation method key steps of the software total process protective method of UEFI
It is as follows:
Step 1: being inserted into USB KEY on computers, the inside contains identity identification information.Computer booting powers on, into
Enter the bootup process that is switched on.
Step 2: loading corresponding hardware driving, such as hard drive in firmware layer.
Step 3: acquiring specific hardware information (such as mainboard number, CPU number).
Step 4: detecting external identification apparatus USB KEY.
Step 5: the driving of load identification apparatus USB KEY.
Step 6: extracting the authentication information of external identity-validation device.
Step 7: the interface of pop-up input presupposed information.
Step 8: user can input the specific character string communicated with presupposed information.
Step 9: the hardware information being collected into and authentication information are encrypted, unique device identification number is generated.
Step 10: continuing booting guidance, this process terminates.
In conclusion the above is merely preferred embodiments of the present invention, being not intended to limit the scope of the present invention.
All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in of the invention
Within protection scope.