Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
aaaaaa aaaaaaa 02728147d5 move simple towards the end, so the hooking engines don't overwrite the adjucent functions il y a 6 ans
..
README.md recreate project as DLL il y a 7 ans
advanced_instructions.asm recreate project as DLL il y a 7 ans
advanced_instructions.h export symbols in test_cases il y a 7 ans
assemble.ps1 recreate project as DLL il y a 7 ans
backwards.asm simplify _loop so that the "prologe" is shorter and the jump is back into il y a 6 ans
backwards.h simplify _loop so that the "prologe" is shorter and the jump is back into il y a 6 ans
catch.hpp recreate project as DLL il y a 7 ans
export.def export symbols in test_cases il y a 7 ans
main.cpp simplify _loop so that the "prologe" is shorter and the jump is back into il y a 6 ans
simple_tests.asm move simple towards the end, so the hooking engines don't overwrite the adjucent functions il y a 6 ans
simple_tests.h export symbols in test_cases il y a 7 ans
test_cases.h export symbols in test_cases il y a 7 ans
test_cases.vcxproj add export.def to debug builds il y a 7 ans
test_cases.vcxproj.filters export symbols in test_cases il y a 7 ans

README.md

Introduction

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:

  • Are jumps relocated?
  • What about RIP adressing?
  • If there’s a loop at the beginning / if it’s a tail recurisve function, does the hooking engine handle it?
  • How good is the dissassembler, how many instructions does it know?
  • Can it hook already hooked functions?

Test cases ==========