Click here to Skip to main content
12,406,342 members (67,650 online)
Click here to Skip to main content

Stats

297.2K views
20.2K downloads
233 bookmarked
Posted

API Hooking with MS Detours

, 14 Oct 2008 Ms-PL
In this article, I will talk about the theories and implementations of API hooking. API hooking is a powerful technique that allows someone to hijack a function and redirect it to a custom one. Anything can be done in these functions before passing control back to the original API.
APIHook.dll
CreateWithDLL.exe
detoured.dll
DetourByAddr.dll
EnumProcesses.exe
MSNDetourDLL.dll
testdll.dll
testdll2.dll
WSHook.dll
APIHookingComplete
APIHook
APIHook.vcproj.test.Admin.user
CreateWithDLL
CreateWithDLL.vcproj.test.Admin.user
detoured.dll
testdll2.dll
DetourByAddr
DetourByAddr.vcproj.test.Admin.user
detoured.dll
EnumProcesses
EnumProcesses.vcproj.test.Admin.user
testdll.dll
MSNDetourDLL
Exports.def
MSNDetourDLL.vcproj.test.Admin.user
WSHook
WSHook.vcproj.test.Admin.user

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

AlexAbramov
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160730.1 | Last Updated 14 Oct 2008
Article Copyright 2008 by AlexAbramov
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid