Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for loading user-defined DLL into target progress

A target process, a self-defined technology, applied in the computer field, can solve problems such as incomplete access to data

Active Publication Date: 2014-01-22
GUANGZHOU HUADUO NETWORK TECH
View PDF4 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem in the prior art that the data generated by the target process cannot be completely obtained when the HOOK operation is performed through the existing injection method, the embodiment of the present invention provides a method and method for injecting a custom DLL into the target process. device

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 loading user-defined DLL into target progress
  • Method and device for loading user-defined DLL into target progress
  • Method and device for loading user-defined DLL into target progress

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0071] For ease of description, relevant knowledge involved in the embodiments of the present invention will first be described in detail.

[0072] In order to obtain the data when the target process is running, the hook code used to HOOK the data generated when the target process is running can usually be injected into the target process. According to the actual required functions, the content of the hook code may be many, because the DLL The process of injecting into the target process is relatively simple. In order to reduce the difficulty of injecting the hook code into the target process, it is usually possible to write the contents of the hook code into a custom DLL, and then inject the custom DLL into the target process. At pres...

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 discloses a method and device for loading user-defined DLL into a target progress, and belongs to the technical field of computers. The method comprises the steps that the target progress is established; before the target progress starts to operate, a loading function is modified to enable the target progress to skip to an assigned memory after starting to operate and calling the loading function, and then the target progress; after the target progress starts to operate and the loading function is called, a true function body of the loading function is called, and the user-defined DLL is loaded to the target progress through the true function body of the loading function. According to the method and device for loading the user-defined DLL into the target progress, the target progress is established, and the user-defined DLL is loaded into the target progress before the target progress operates other codes; the problem that in the prior art, when the HOOK operation is carried out through an existing loading method, data produced when the target progress operates cannot be completely obtained is solved, and the effect that the user-defined DLL can be inserted immediately, and all data when the target progress operates can be obtained is achieved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and a device for injecting a self-defined DLL into a target process. Background technique [0002] With the rapid development of WINDOWS applications, WINDOWS API programming has been widely popularized and applied. In order to better collect some system runtime data, you can use HOOK API (HOOK Application Programming Interface, application programming interface with hook function) HOOK (hook) processing to the program in the application layer of the system in order to intercept the required data. [0003] At present, when intercepting the required data through the HOOK API, it is first necessary to inject a DLL (DynamicLink Library, dynamic link library) with implementable functions into the HOOKed target process. A method of injecting a DLL into a target process in the application layer may include: first writing a custom DLL that can realize the required function, ...

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 Applications(China)
IPC IPC(8): G06F9/44
Inventor 冯世杰
Owner GUANGZHOU HUADUO NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products