Detours alternative for Registry interception
Asked Answered
P

5

6

I'm looking for a way to intercept and redirect reads to a certain registry keys. Naturally, Detours can do it. But I need it for a commercial application and MS $10K license fee is a bit too steep. Are there any alternatives ?

Perhaps answered 4/2, 2011 at 7:37 Comment(1)
What Detours does is not magic. I figured it out before I even knew Detours existed. You might be able to pull off the same.Sextain
P
1

Madshi's madCodeHook is what you're looking for.

Prognathous answered 4/2, 2011 at 18:39 Comment(1)
I still have to figure out how (and whether) DLL redirection works, but if it does not madCodeHook is probably the best option, thanksPerhaps
S
2

The EasyHook Library might be what you are looking for. It is licensed under LGPL and its description sounds quite nice.
I have never actually used it myself because Detours was always enough for my private projects.

There is also an article about it on CodeProject but that is rather old and shows only .NET examples.

Secularity answered 4/2, 2011 at 21:14 Comment(0)
T
2

You can also use Deviare API Hook if you want to solve also the IPC or Deviare In-Process for a Detours replacement. It's open source and well maintained.

Twylatwyman answered 30/7, 2012 at 21:18 Comment(0)
V
2

Detours 4 is now open source under the MIT license! So there is no $10k license fee anymore.

Virgina answered 4/1, 2019 at 0:21 Comment(0)
P
1

Madshi's madCodeHook is what you're looking for.

Prognathous answered 4/2, 2011 at 18:39 Comment(1)
I still have to figure out how (and whether) DLL redirection works, but if it does not madCodeHook is probably the best option, thanksPerhaps
V
0

I would recommend Mhook, which is free and works great for both x86 and x64.

Make sure to use apriorit's fork of Mhook, it has lots of improvements and bug fixes that are not merged back to the original project.

Voluminous answered 29/10, 2017 at 0:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.