aaaaaa aaaaaaa 3d1dddba12 inital commit of the tester | 7 years ago | |
---|---|---|
.. | ||
README.md | 7 years ago | |
advanced_instructions.asm | 7 years ago | |
advanced_instructions.h | 7 years ago | |
assemble.ps1 | 7 years ago | |
backwards.asm | 7 years ago | |
backwards.h | 7 years ago | |
catch.hpp | 7 years ago | |
export.def | 7 years ago | |
main.cpp | 7 years ago | |
simple_tests.asm | 7 years ago | |
simple_tests.h | 7 years ago | |
test_cases.h | 7 years ago | |
test_cases.vcxproj | 7 years ago | |
test_cases.vcxproj.filters | 7 years ago |
This project aims to give a simple overview on how good various x64 hooking engines (on windows) are. I’ll try to write various functions, that are hard to patch and then see how each hooking engine does.
I’ll test:
(I’d like to test detours, but I’m not willing to pay for it. So that isn’t tested :( )
There are multiple things that make hooking difficult. Maybe you want to patch while the application is running -- in that case you might get race conditions, as the application is executing your half finished hook. Maybe the software has some self protection features (or other software on the system provides that, e.g. Trustee Rapport)
Evaluating how the hooking engines stack up against that is not the goal here. Neither are non-functional criteria, like how fast it is or how much memory it needs for each hook. This is just about the challenges the function to be hooked itself poses.
Namely:
Test cases ==========