Patent ID: 6823460
Filing Date: 2004-11-23
Classification: G06F

Abstract:
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.