in win7(64bit), inject the dll into virtualBox.exe then virtual Boxc cannot run anymore.
can run VBoxSVC.exe but cannot run virtual machine.
even i removed hooking code but still cannot run.
here is my dll main source.
Code: Select all
switch( ul_reason_for_call )
{
// PROCESS
case DLL_PROCESS_ATTACH:
{
DisableThreadLibraryCalls( hModule );
InitializeMadCHook();
//HookWorker( hModule );
break;
}
case DLL_PROCESS_DETACH:
{
FinalizeMadCHook();
break;
}
// THREAD
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
break;
}
VBoxSVC.exe
L VirtualBox.exe
L VirtualBox.exe
L VirtualBox.exe
but when i inject the dll then
VBoxSVC.exe
L VirtualBox.exe
L VirtualBox.exe
and Virtual box occure the error after few mins.
i think the dll cannot inject last virtualbox.exe or virtualbox.exe dectect the injection so didnt work like this...but it run well on win10
how can i solve this problem? i have to inject to virtual box
Thanks.