tags:

views:

105

answers:

2

Hi all,

Here is what I need.

I trying to write a application that will take over another application and intercept certain things that happens in it. The idea is to monitor the application and take actions when some stuff happens.

After some research I found that Detours 2.1 from Ms Research, will help me, but I am having a hard time finding how to user it and integrate it in my domain of programming which is .NET.

Does anyone have any idea how I can do this without having to dig c\c++ books.

Thanks all

+1  A: 

There was an API and a layer added in Windows to assist in enabling desktop applications for users with disabilities. I am not so sure about the current state of the API but I am quite sure equivalents exist in the .NET Framework. Check out this link and see if you can exploit the hooks built into this layer rather than going for lower level system calls. The information suggests that Windows Automation API 3.0 is the current standard for intercepting events and manipulating another application.

ojblass
+1  A: 

If your trying to hook another .NET application you could try .NET Hook Library.

If your talking about hooking system calls then there are actually lots of tools / libraries available. Checkout "Code Injection Tools" in the RCE tool library.

Shane Powell