Re: [Guide] Hooking a .dll into the main.exe
Quote:
Originally Posted by
KREATOR
how do i get the function "inicio"'s offset? I know how to do the dll's offset...
(I should say I'm trying to hook glow.dll)
Inicio in this case is just a reference point, where the dll procedure will start to load. You could name it however you want. Ex: Start. It can be written right below where you wrote your dll name.
You can get the GetProcAddress by doing the same than with LoadLibraryA. (Press Ctrl+N and write it down)
Quote:
Originally Posted by lordbilly from IGNetwork
Just a short and simple translation:
Step 01: Yourdll.dll
Step 02: Start
Step 03: PUSH DLL-offset (Step 1)
Step 04: CALL LoadLibraryA
Step 05: OR EAX,EAX
Step 06: JE EntryPoint
Step 07: PUSH Start-offset (Step 2)
Step 08: PUSH EAX
Step 09: CALL GetProcAddress
Step 10: CALL EAX
Step 11: JE EntryPoint
According to that guide, it would look something like this:
http://i34.tinypic.com/rbbnux.png
The guide above (lordbilly's) is for hooking a procedure DLL to a GameServer. I'm not sure in Step 11, it says JE and not JMP.
I think the difference tween guides is just the checking. But this guide should work perfect.
Thanks Hacke for your work and time.
Re: [Guide] Hooking a .dll into the main.exe
Can anyone make a video guide?
Re: [Guide] Hooking a .dll into the main.exe
Hi,
is there any chance, someone of You could help me with my main?
http://rapidshare.com/files/312358514/Main.exe.html
I tried about 1 week to hook dll by myself but i failed :/
Antihack.dll should have 11kb only? becouse when i try to compile it, it does with some warnings and i dont know why becouse i dont change anything in project.
and when i hook the dll i think i do everything good in ollydbg but dont know to which offset i need to change entry point in PE.
Anyone who could help me with explanations or just hook dll to main?
I`ll appreciate both becouse my server need to be run soon and i want to know for the future how to hook dll`s...
Re: [Guide] Hooking a .dll into the main.exe
476383414- ICQ
I can help you.
Re: [Guide] Hooking a .dll into the main.exe
thx Annaev. You are the best :)
Re: [Guide] Hooking a .dll into the main.exe
okey maybe some can explain me i think write or not.
Step 01: Yourdll.dll
Step 02: Start --- What mean this ? i need write somewhere it ?
Step 03: PUSH DLL-offset (Step 1)
Step 04: CALL LoadLibraryA
Step 05: OR EAX,EAX -- I need write it manual ?
Step 06: JE EntryPoint
Step 07: PUSH Start-offset (Step 2)
Step 08: PUSH EAX --- i need write it manual ?
Step 09: CALL GetProcAddress
Step 10: CALL EAX --- i need write it manual ?
Step 11: JE EntryPoint --- you mean jmp Entry ?
Here images step by step how i do it ? i have some mistakes or all it's ok ?
http://img257.imageshack.us/img257/2663/99971931.jpg
http://img257.imageshack.us/img257/3472/38395983.jpg
http://img338.imageshack.us/img338/1149/94424994.jpg
http://img338.imageshack.us/img338/4278/39846950.jpg
http://img692.imageshack.us/img692/4095/74641629.jpg
http://img248.imageshack.us/img248/9293/93409970.jpg
http://img691.imageshack.us/img691/668/94439740.jpg
http://img260.imageshack.us/img260/3256/14142422.jpg
http://img264.imageshack.us/img264/1942/54475232.jpg
http://img692.imageshack.us/img692/1300/82715759.jpg
Re: Hooking a .dll into the main.exe
Hey,
can u hook muguard.dll to my main.exe pls
here is my main:http://www.megaupload.com/?d=MDRS79PD
pls pls pls pls pls pls pls pls pls pls pls pls pls pls
Re: Hooking a .dll into the main.exe
i am hooked dll to main and i click on the main and ×othing happens how do I fix it.
Re: Hooking a .dll into the main.exe
dongsu maybe feel free to give details ?
Re: Hooking a .dll into the main.exe
the process of inserting an anti-hack dll is equal to the process of 3D???
thx again... =D
Re: Hooking a .dll into the main.exe
I hooked my main but when i change the pe the main doesn't run and if I don't change the PE the main run but the dll doesn't work...somebody can help me?????????????? o.O
here is my main hooked http://www.mediafire.com/?mywdwft4jjz
and here's my main without the hook http://www.mediafire.com/?mzn2ycgdmol
ps: I wanna put the 3dcamera.dll to the main 1.03h from shatter's files. The PE of 3Dcamera.dll is this. 008762AE
Re: Hooking a .dll into the main.exe
Re: Hooking a .dll into the main.exe
you can hook for anti compability mode 98/me.
Sorry in my english.
Re: Hooking a .dll into the main.exe
im new on hooking......
but i try this step on step 3 i struggled T_T...
cause i find the free offset then dumb>selection> then Assemble i write MuGuard.dll its says that Unrecognized operand...
if i try to write MuGuard says that Unrecognized command...
...someone tell me how can i do this properly?
Re: Hooking a .dll into the main.exe
Hello,
I compile the antihack in my PC. And make it work.
But when I run it to other pc it wont work.
Im using Visual c++ enterprise 2008
Can anyone help me. Please.