Method and device for reconstruction of Native API function
A function and loading function technology, applied in the computer field, can solve problems such as pre-processing of malicious programs, application program security, and hidden dangers, so as to avoid being processed by malicious programs and improve security
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2014-01-22
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of computer technology, in particular to a Native API function reconstruction method and device. Background technique
[0002] With the widespread popularization and application of WINDOWS API (WINDOWS Application Programming Interface, WINDOWS application programming interface) programming, more and more applications can complete corresponding functions by calling WINDOWS API functions.
[0003] At present, when an application implements a specific function, at the application layer, it first needs to load a function-related DLL (Dynamic Link Library, dynamic link library), and then obtain the starting address of the WINDOWS API function in the DLL according to the GetProcAddress function. The initial address calls corresponding WINDOWS API functions, and these WINDOWS API functions usually call lower-level Native API functions at last, and these Native API functions finally complete the access to the driver layer. ...
Examples
Embodiment Construction
[0061] 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.
[0062] In the process of realizing the present invention, the inventor found that in the prior art, before calling the WINDOWS API function or Native API function required to execute the application program, the address of the WINDOWS API function or the address of the Native API function is easily obtained by a malicious program preferentially. In this way, the final result obtained by the application program is likely to be monitored or modified by the malicious program, so there is a great security risk for the application program. However, the inventor found that during the execution of the application, the WINDOWS API function called will eventually call the lower-level Native API function to complete the corresponding function, an...