×

Code injection prevention

  • US 8,769,672 B2
  • Filed: 08/04/2006
  • Issued: 07/01/2014
  • Est. Priority Date: 08/03/2006
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of preventing code injection in an operating system, the method comprising:

  • establishing a hook to intercept requests for a kernel mode operating system (OS) system call, wherein hooking the kernel mode OS system call comprises replacing a function pointer corresponding to the request;

    directing a request sent to the kernel mode OS system call to a checking module, the checking module being run in a kernel mode, wherein the request originates from a first program, the first program being a kernel mode program, and wherein the request is directed to a target process;

    determining a process identifier of the target process;

    determining a process identifier of the first program that initiated the request;

    querying a process database to verify whether the process identifier of the target process and the process identifier of the first program are the same, wherein the process database is updated whenever a process create event or a process delete event is signaled from the operating system; and

    upon determining that the process identifier of the target process is different than the process identifier of the first program that is stored in the process database and upon determining that the request is a write to process memory operation of the target process, denying the request.

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