×

User-Mode Component Injection Techniques

  • US 20170039367A1
  • Filed: 03/22/2016
  • Published: 02/09/2017
  • Est. Priority Date: 08/05/2015
  • Status: Active Grant
First Claim
Patent Images

1. A system comprising:

  • a processor;

    memory coupled to the processor;

    a kernel-mode component configured to be operated by the processor to receive notification of loading of a user-mode process by the system, to build an asynchronous procedure call (APC) to be executed by a main thread of the user-mode process, and to queue the APC to the main thread of the user-mode process; and

    a user-mode component associated with the kernel-mode component and configured to be operated by the processor to identify slack space in the user-mode process, to store instructions for invoking the user-mode component in the slack space, and to hook a function of the user-mode process,wherein the APC includes;

    a kernel routine which calls instructions for allocating memory and for storing, in the allocated memory, instructions for loading the user-mode component, anda user routine which calls the instructions for loading the user-mode component,wherein the user-mode component, when loaded responsive to the user routine, hooks the function by modifying a single instruction or set of machine-sized instructions associated with the function to call the instructions stored in the slack space, andwherein the single instruction or set of machine-sized instructions of the function, when executed, performs the call, which results in invoking the user-mode component to receive data associated with the function and to provide that data to the kernel-mode component.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×