×

Method and system for intercepting an application program interface

  • US 6,823,460 B1
  • Filed: 04/28/2000
  • Issued: 11/23/2004
  • Est. Priority Date: 11/14/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system running an operating system platform, said operating system including a kernel space and a process space, a user application running in process space, said user application using application program interface (API) function, whereby said API function is executed in memory space, a method of providing user control of said API function, said method comprising steps of:

  • initializing API controlling routine;

    hooking at least one API routine in said memory space associated with user application;

    replacing said hooked API routine code with user supplied code, said user supplied code to be executed upon calling said API by said user application program; and

    receiving a call from a previously hooked API and generating a predefined series of operations to control said API operation;

    wherein said step of replacing said looked API routine code with user supplied code, further comprises the steps of;

    storing API routine code associated with first re-direction of flow of execution to be later replaced;

    storing API routine code address associated with second re-direction of flow of execution;

    storing API routine code associated with second re-direction of flow of execution;

    replacing said API routine code stored with user supplied code associated with first redirection of flow of execution of said API routine;

    wherein enhanced privileges relating to memory space associated with said API routine are enabled;

    wherein the steps are adapted for preventing intrusions.

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