IP Library Granted Patent US 8,875,165
Granted Patent B2
US 8,875,165 · App. 14/113,249 · Granted Oct 28, 2014

Computing device having a DLL injection function, and DLL injection method

Inventors: Jong-Il Lee (Goyang Si, KR); Nam-Su Yi (Seoul, KR)
Assignee: Fasoo.com Co., Ltd
G06F9/44521
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,875,165
App. No.
14/113,249
Granted
Oct 28, 2014
Kind
B2
Abstract

Provided are a computing device provided with a DLL injection function and a DLL injection method. When receiving from an operating system notification of whether a target process corresponding to a program ordered by a user to be executed is created, a process creation module of an injection program executes a launcher process to create the target process as a child process of the launcher process and sets the target process to a suspend mode. A code insertion module receives allocation of a memory region where the target process is stacked, using a process handle of the target process, to insert a code for executing a DLL file to be injected into the target process. A restoration module cancels the suspend mode of the target process to allow the target process to be executed. According to the present invention, it is possible to stably perform DLL injection without confliction with another DLL injection technique by inserting a DLL executable code into the memory region of the target process which is created in the suspend mode.

Claims (19)

1. A computing device comprising:

a processor configured to execute an operating system and an injection program for performing DLL injection on a target process; and

a memory configured to store the operating system, the injection program, and the target process,

wherein the injection program comprises:

a process creation module configured to execute a launcher process to create the target process as a child process of the launcher process and set the target process to a suspend mode;

a code insertion module configured to receive allocation of a memory region where the target process is stacked using a process handle of the target process to insert a code for executing a DLL file to be injected into the target process; and

a restoration module configured to cancel the suspend mode of the target process to allow the target process to be executed.

2. The computing device of claim 1 , wherein the injection program further comprises a privilege change module configured to allow the target process to be executed with a system privilege using a process ID of a process operated with a system privilege in the operating system.

3. The computing device of claim 2 , wherein the privilege change module opens a token by a process handle acquired using the process ID of the process operated with a system privilege in the operating system and copies the token, and

the process creation module creates the target process using the copied token.

4. The computing device of claim 1 , wherein the process creation module allows the launcher process to be executed with a system privilege using a process ID of a process operated with a system privilege in the operating system.

5. A DLL injection method comprising the steps of:

(a) receiving from an operating system notification of whether a target process corresponding to a program ordered to be executed by a user is created;

(b) executing a launcher process to create the target process as a child process of the launcher process and set the target process to a suspend mode;

(c) receiving allocation of a memory region where the target process is stacked using a process handle of the target process to insert a code for executing a DLL file to be injected into the target process; and

(d) canceling the suspend mode of the target process to allow the target process to be executed.

6. The DLL injection method of claim 5 , further comprising the step of (e) allowing the target process to be executed with a system privilege using a process ID of a process operated with a system privilege in the operating system, between step (a) and step (b).

7. A non-transitory computer-readable media having recorded thereon a program for executing the DLL injection method of claim 5 .

8. A non-transitory computer-readable media having recorded thereon a program for executing the DLL injection method of claim 6 .

Assignments (2)
CHANGE OF NAME Recorded May 17, 2022
From: FASOO.COM
To: FASOO
Reel/Frame 060073/0899 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 22, 2013
From: LEE, JONG-IL; YI, NAM-SU
To: FASOO.COM CO., LTD
Reel/Frame 031450/0781 →
Priority Claims (1)
KR 10-2011-0039901 · Apr 28, 2011 · national
Continuity (1)
Related Publication 20140047461A1 · Feb 13, 2014