equlibrium Posted July 30, 2011 Posted July 30, 2011 (edited) Hello. Problem is that i don know how to Thread for in my dll code ! For my exe i have added dll load . Dll file will load and exit but i need it runn all time. I post her my dll src i hope some one can help made that theard and post asm info for theard .TyBest regards Peter [ sorry my bad English ] Some ss how dll is hooked meaby hook is wrong />http://www.upload.ee/image/1519109/client2.png/>http://www.upload.ee/image/1519105/client1.pngkillhacker now changed DLLkillAntihack src />http://www.upload.ee/files/1537610/antihack.7z.html Edited July 30, 2011 by equlibrium
atom0s Posted July 30, 2011 Posted July 30, 2011 From the look of it your DLL has no valid entry point. Your settings for the project don't reset it either so there isn't any DllMain in your code.You also defined DllKill twice, once that appears to try to be an entry point, while the other is a function.Change this one:bool APIENTRY Dllkill(HMODULE hModule, DWORD SystemProcessesScan, LPVOID lpReserved){ return TRUE;}To this:bool WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ){ return TRUE;}This way your module has a valid point to be looked at when LoadLibrary is called. You don't need to code anything in it, as long as you return TRUE it should stay loaded until you free it. (Or the process closes.)Then you should be calling GetProcAddress on DllKill. The screenshot client2.png looks correct, just change 'killhacker' to 'DllKill' instead for GetProcAddress.
equlibrium Posted July 31, 2011 Author Posted July 31, 2011 Ty for help but no work :S I think Client.exe have some bug what cant hold load dll file :S
Hello EMO Posted July 31, 2011 Posted July 31, 2011 (edited) 1. need you client.exe is full unpack2. client.exe open to ollydbg3. entry point is x00423354 save to text file 4. go to free space inject your dll (simple)db 00db 00call antihack.dllpush eaxcall killhack.dllpush eaxjmp to x00423354 ://entrypointnopdb 00db 005. and save change exe to file6. now testingnot using c++learn basic undetected virĂ¼s technics :] Edited July 31, 2011 by Hello EMO
equlibrium Posted July 31, 2011 Author Posted July 31, 2011 its no work i don have more ideas :S Maby some one have time i upload her my client.exeEny way ty all for help !!Desktop.7z
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now