Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for verifying process files in drive

A process file and file technology, applied in the computer field, can solve the problem that the driver layer cannot verify the windows signature, etc., and achieve a good protection effect

Active Publication Date: 2016-03-23
TENCENT CLOUD COMPUTING BEIJING CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the defect that the windows signature cannot be verified at the driver layer in the prior art, the embodiment of the present invention provides a method and device for verifying process files in the driver

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for verifying process files in drive
  • Method and device for verifying process files in drive
  • Method and device for verifying process files in drive

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Embodiment 1 of the present invention proposes a method for verifying process files in the driver, the process of which is as follows figure 1 shown, including:

[0045] Step 101: generating a signature of the process file, and placing the signature at the end of the process file;

[0046] Step 102: generating a windows signature according to the process file and the signature, and placing it in the process file;

[0047] Step 103: Generate a public key according to the private key, and place the public key in the drive;

[0048] Step 104: When the windows signature exists in the process file, verify the process file according to the public key and the signature.

[0049] The embodiment of the present invention realizes the purpose of self-defining signature verification on the process file in the driver layer by signing and verifying the process file, and the coexistence of the custom signature and the windows signature provides better protection for the custom signa...

Embodiment 2

[0051] Embodiment 2 of the present invention is improved on the basis of Embodiment 1, and its flow process is as follows figure 2 shown, including:

[0052] Step 201: Generate a signature of the process file, and place the signature at the end of the process file.

[0053] In order to prevent untrusted processes from connecting to the driver, it is necessary to sign the process file that calls the driver, and only after verifying the legal process file can the driver be called normally for specific operations. A driver is a special program that enables a computer to communicate with a device. It can be said to be equivalent to a hardware interface. Only through this interface can the operating system control the work of the hardware device. Therefore, reliable verification of the process file that calls the driver is required.

[0054] The process file can be signed by using an elliptic curve encryption algorithm or an asymmetric encryption algorithm, and the generated sig...

Embodiment 3

[0080] Embodiment 3 of the present invention proposes a device for verifying process files in the driver, its structure is as follows Figure 4 shown, including:

[0081] The first generation module 1 is used to generate the signature of the process file, and place the signature at the end of the process file;

[0082] The second generation module 2 is used to generate a windows signature according to the process file and the signature, and place it in the process file;

[0083] The third generation module 3 is used to generate a public key according to the private key, and place the public key in the driver;

[0084] The verification module 4 is configured to verify the process file according to the public key and the signature when there is a windows signature in the process file.

[0085] The embodiment of the present invention realizes the purpose of self-defining signature verification on the process file in the driver layer by signing and verifying the process file, an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a device for verifying a process file during driving, belonging to the technical field of computers. The method comprises the steps: generating the signature of the process file, and setting the signature at the tail end of the process file; generating a windows signature according to the process file and the signature, and setting the windows signature in the process file; generating a public key based on a private key, and setting the public key in a drive; and when the windows signatures exists in the process file, verifying the process file according to the public key and the signature. The device comprises a first generating module, a second generating module, a third generating module and a verifying module. According to the embodiment of the invention, by means of signing and verifying the process file, the purpose of carrying out customized signature verification on the process file automatically in a drive layer is achieved, the coexistence of the customized signature and the windows signature plays a better role in protecting the customized signature, and an equipment drive program is more stable and more reliable to call.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for verifying process files in a driver. Background technique [0002] To ensure system security, Microsoft digitally signs Windows device drivers and operating system files. When the process calls the device through the driver program, the process file must first be verified, and the verified process can be allowed to open the device for use. The purpose is to prevent illegal applications from causing damage to the system. [0003] In the prior art, before calling the driver for the process file, the windows signature of the process file must be verified first, and the process verification is performed on the signature verification service of windows in the ring3 layer to avoid untrusted process connection to the driver. [0004] For the method for verifying process files in the prior art, only the signature verification service of windows can be used to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/51G06F21/54
Inventor 高小明于涛
Owner TENCENT CLOUD COMPUTING BEIJING CO LTD