Hello i have a question today i saw a trojan made in visual basic that has anti-ollydbg, anti-regmon, and anti-filemon, does anyone have any code similar for vb?
Hello i have a question today i saw a trojan made in visual basic that has anti-ollydbg, anti-regmon, and anti-filemon, does anyone have any code similar for vb?
I need this too![]()
You can do this easily by using the FindWindow function, it's probably what they did.
If you are debugging a file with OllyDbg, the window is going to be open. The only thing you have to do is find the handle of OllyDbg's window.
imo anti-reg/filemon would be to unhook and evade. However this is the best I could come up with.
No idea if the class name is machine specific tho.Code:procedure AntiFileRegMon(); var hWindow: HWND; hOpen: THandle; PID: DWORD; begin hWindow := FindWindow(PChar('18467-41'), nil); if hWindow <> 0 then begin GetWindowThreadProcessId(hWindow, PID); hOpen := OpenProcess(PROCESS_TERMINATE, FALSE, PID); if hOpen <> INVALID_HANDLE_VALUE then TerminateProcess(hOpen, 0); CloseHandle(hOpen); end; CloseHandle(hWindow); end;
Check my post:
http://www.opensc.ws/snippets/4049-d...d-ollydbg.html
Fish, unless it's translated into vb, I see no point in posting your link to the delphi version. He clearly asked for a vb version.
There are currently 1 users browsing this thread. (0 members and 1 guests)