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

Method for intercepting dynamic link library injection

A dynamic library and system dynamic technology, applied in the computer field, can solve the problem of not providing a method to intercept dynamic library injection, and achieve the effect of maintaining normal operation.

Inactive Publication Date: 2017-02-22
SHANGHAI 2345 NETWORK TECH
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The prior art does not provide a method for intercepting dynamic library injection

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 for intercepting dynamic link library injection
  • Method for intercepting dynamic link library injection
  • Method for intercepting dynamic link library injection

Examples

Experimental program
Comparison scheme
Effect test

no. 2 example

[0043] In conjunction with the second embodiment, API Hook technology is used to hook, and the API (Application Programming Interface, application programming interface) is some predefined functions, and the purpose is to provide application programs and developers to access a set of examples based on certain software or hardware. The ability to program without having to access the source code, or understand the details of the inner workings. Specifically, the hook is hung into the target function through a system call, and whenever a specific message is sent, before reaching the target window, the hook program first captures the message, that is, the hook function first obtains Control. Among them, the hook loaded last gets the message first. A kind of hook used in the present invention is INLINE Hook or IAT Hook, and described INLINE Hook is the inline function hook, and it can directly modify the code of the target function to be hooked, to realize the jump of the function...

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 for intercepting dynamic link library injection. The method comprises a step of monitoring a target function in a program process; and a preprocessing step of refusing to call the target function if the target function is called by a system dynamic link library and a filename introduced into the dynamic link library mismatches a preset filename. Through application of the technical scheme provided by the method, the external dynamic link library containing executable code can be prevented from being injected into the program process by an external program.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for intercepting dynamic library injection. Background technique [0002] Dynamic library injection is a programming mechanism provided by the windows operating system, which allows an application A to inject a piece of code into another application B for execution to achieve certain functions. But this may cause application B to run unstable, or even crash. For example, some anti-virus software programs will inject dynamic libraries into other processes in the operating system to execute some codes, including the kswebshield.dll dynamic library, which contains some codes, which will cause the injected application program to run unstable. Crashes often. [0003] The purpose of intercepting dynamic library injection is to prevent a series of instability problems caused by the injection of other programs into one's own program. When the dynamic library tries to load i...

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): G06F21/52G06F21/55
CPCG06F21/52G06F21/554
Inventor 潘巍
Owner SHANGHAI 2345 NETWORK TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More