Driver repairing method and device

A driver and repair technology, applied in computer security devices, instruments, electrical digital data processing, etc., can solve the problems of other drivers not running normally, the driver of security software failing to work, and the function not being able to play.

CN105787356AInactive Publication Date: 2016-07-20ZHUHAI BAOQU TECH CO LTD
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2016-07-20
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

An embodiment of the invention discloses a driver repairing method and device. The method comprises steps as follows: a reparative driver determines a defensive driven object corresponding to a defensive driver according to identification information of the defensive driver, wherein the reparative driver is a program which is loaded to a memory of a system of a terminal through a defensive progress when the defensive progress judges that the defensive driver conforms to preset conditions; a first execution entrance address of the defensive driver is determined from the defensive driven object; an original assembly code of the defensive driver is determined according to a file corresponding to the defensive driver; a target assembly code correspondingly stored in the first execution entrance address is modified into the original assembly code; the first execution entrance address is called, so that the defensive driver executes the original assembly code. With the adoption of the driver repairing method and device, the conditions that the driver cannot run normally and functions of the driver cannot be realized due to the fact that the driver is modified are prevented.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of computer information security, in particular to a driver repair method and device. Background technique

[0002] When each driver is loaded, the terminal system will create a corresponding driver object for it, which contains a lot of information including the execution entry address of the driver. And the drive object can be queried through the name of the driver, and stored in the system of the terminal.

[0003] The terminal system provides a module loading callback mechanism. After the driver registers a module loading callback function, when other drivers are loaded in the terminal system, the terminal system will notify the corresponding callback function of the driver that there are other Driver loading, the callback function will obtain the loading information of the other driver, the loading information includes the execution entry address of the other driver and the file path of the other driver, etc., a...

Examples

Embodiment Construction

[0046]The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0047] The embodiment of the present invention provides a method and device for repairing a driver program, which can prevent the driver program from being modified, so that the driver program cannot run normally, and furthermore, the function of the driver program cannot be exerted.

[0048] A method for repairing a driver program provided by an embodiment of the present invention is firstly introduced below.

[0049] It should be noted that any driver can start ru...