Hi. All..
When I hooked NtSuspendThread and TerminateThread API,
C# Application is not installed or not executed..
Is there any solution to solve it ?
I had compiled madCodeHook 3.x and 2.x but same status is occurred.
(Hooked TerminateProcess, NtTerminateProcess, NtTerminateProcess, NtDebugActiveProcess is worked well)
Ah.. Is there sample code of Protect termination (in madCodeHook 3.x)?
(in madCodeHook 2.x, sample source is provided, But 3.x, sample source is not provided)
When NtSuspendThread is hooked, C# app is not installed
Re: When NtSuspendThread is hooked, C# app is not installed
Have you tried emptying your NtSuspendThread and TerminateThread callback functions? Try a simple "return NtSuspendThreadNext(...)" code so that your hook callback function does not change anything, but just forwards the API call to the original API. If you do that, does the problem go away?
Here's the 3.0 HookProcessTermination demo:
http://madshi.net/HookProcessTermination.zip
Please also make sure you're using the latest madCodeHook version:
http://madshi.net/madCollection.exe
Here's the 3.0 HookProcessTermination demo:
http://madshi.net/HookProcessTermination.zip
Please also make sure you're using the latest madCodeHook version:
http://madshi.net/madCollection.exe
Re: When NtSuspendThread is hooked, C# app is not installed
Thanks. madshi..
I will test with blank NTSuspendThread...
I will test with blank NTSuspendThread...
Re: When NtSuspendThread is hooked, C# app is not installed
Thanks. madshi..
solved issue...
solved issue...