Global web icon
stackoverflow.com
https://stackoverflow.com/questions/467557/what-is…
What is meant by the term "hook" in programming?
I recently heard the term "hook" while talking to some people about a program I was writing. I'm unsure exactly what this term implies although I inferred from the conversation that a hook is a ty...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/873658/how-can…
How can I hook Windows functions in C/C++? - Stack Overflow
However, doing such hooking can be done easily by your own, see this article to learn how. You can find out where the specific function is called in foo.exe and just replace the assembly code that calls the function with a code that "returns true ". Basically, you're patching " foo.exe "..
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/7743771/functi…
Function hooking in C++? - Stack Overflow
With "hooking" I mean the ability to non-intrusively override the behavior of a function. Some examples: Print a log message before and/or after the function body. Wrap the function body in a try c...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/4507581/how-do…
windows - How does Microsoft Detours work and how do I use it to get a ...
Detours lets you intercept any function. It places a jmp in the address that you specify creating a trampoline to your code. Finally, you call the old function if you want to do it. To use Detours you have to inject your code in the process you want to intercept. To simplify this process you can use Deviare API Hook which does all the injection staff and you can use intercept applications from ...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/9102814/how-to…
c# - How to hook an application? - Stack Overflow
I'm trying to hook the creation of a windows in my C# app. static IntPtr hhook = IntPtr.Zero; static NativeMethods.HookProc hhookProc; static void Main(string[] args) { // Dummy.exe is a form...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/78599971/hooki…
Hooking syscall by modifying sys_call_table does not work
I'm trying to do basic hooking by locating sys_call_table and modify an entry for sys_read syscall to a function in my own kernel module. I have tried kprobes I'm just interested to do it with sys_call_table.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/73178786/how-t…
How to hook methods with specific arguments in Frida?
The generated hooking code will print all arguments and also return value. If you want to also see the stack trace you have to modify the generated hooking code and add the code for printing stack trace as shown in this answer. Alternatively you can hook more methods.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/77922980/is-th…
winapi - Is there a way to hook Windows syscalls on 64-bit builds using ...
Is there a way to hook WinAPI system calls on 64-bit builds of Windows, without disabling PG (patch guard)? SSDT hooking using a kernel mode driver is not an option, because patch guard will crash ...
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/46418449/can-m…
Can Microsoft Detours be used to hook system-wide calls without ...
They do not thoroughly address system-wide hooking using Detours specifically. I am aware that this can be done with a driver, but Detours is said to be a powerful tool, and is still currently supported, so I wanted to know how it could be done with Detours.
Global web icon
stackoverflow.com
https://stackoverflow.com/questions/75239739/prote…
protect app from hook using frida objection - Stack Overflow
How to protect android applications from Dynamic Instrumentation/Runtime hooking using objection from Frida objection --gadget "package,name" explore Agent injected and responded ok!