Problem with attaching DLL

Results 1 to 9 of 9
  1. #1
    Enthusiast micrak is offline
    MemberRank
    Nov 2009 Join Date
    25Posts

    Problem with attaching DLL

    Version: Season 4.5 (CzF) (1.03h)

    [FIXED] 1. When i'am trying to pack main with using MoleBox, it shows an error: main.exe is an invalid executable image -

    2. I attached antihack.dll into main.exe by this guide: http://forum.ragezone.com/f196/guide...in-exe-406128/ and when i run for test catastrophe and main antihack deosn't work - also nothin happed when i attach glow.dll (library for changing items colours.

    Anybody help?

    http://www.speedysha...534776/Main.exe <- clean main

    http://www.speedysha...9/Main-nowy.exe <- main after attaching antihack.dll

    http://img515.imageshack.us/img515/5048/probav.jpg <- here is screen with my hook code in ollydbg
    Last edited by micrak; 29-11-09 at 09:36 PM.


  2. #2
    Account Upgraded | Title Enabled! Annaev is offline
    MemberRank
    Jan 2007 Join Date
    Moldova #Location
    269Posts

    Re: Problem with attaching DLL

    Rebuild PE of main.exe, and it will molebox correct.

    ---------- Post added at 08:39 PM ---------- Previous post was at 08:31 PM ----------

    Use LordPe.
    In configs of LordPe> For the Rebuilder.

    Rebuilder must have only 1 tick > Realing file... > Normal.

    Then open main.exe in LordPe with Func RebuildPE. Done

    Your main, now can be moleboxed correctly

  3. #3
    Enthusiast micrak is offline
    MemberRank
    Nov 2009 Join Date
    25Posts

    Re: Problem with attaching DLL

    i used PErebuilder with no effect

    i used PE Tools with success - now molebox shows no errors :)

    but i still don't know why my hook doesn't work

    http://img515.imageshack.us/img515/5048/probav.jpg - this how i hook my dll, any sollution?
    Last edited by micrak; 29-11-09 at 08:11 PM.

  4. #4
    Account Upgraded | Title Enabled! Annaev is offline
    MemberRank
    Jan 2007 Join Date
    Moldova #Location
    269Posts

    Re: Problem with attaching DLL

    Maybe, your antihack has a Process Address.

    Try to add GetProcAddress - Main

  5. #5
    Enthusiast micrak is offline
    MemberRank
    Nov 2009 Join Date
    25Posts

    Re: Problem with attaching DLL

    I don't know how to check that adress - if you can please give me link to correct antihack which will work at 100% with my main by using method from this guide ( http://forum.ragezone.com/f196/guide...in-exe-406128/ )

  6. #6
    Account Upgraded | Title Enabled! Annaev is offline
    MemberRank
    Jan 2007 Join Date
    Moldova #Location
    269Posts

    Re: Problem with attaching DLL

    yes, use this guide.

  7. #7
    Enthusiast micrak is offline
    MemberRank
    Nov 2009 Join Date
    25Posts

    Re: Problem with attaching DLL

    Quote Originally Posted by Annaev View Post
    yes, use this guide.
    i used but it doesn't work ( my main: http://img515.imageshack.us/img515/5048/probav.jpg )
    Last edited by micrak; 29-11-09 at 11:22 PM.

  8. #8
    Account Upgraded | Title Enabled! Annaev is offline
    MemberRank
    Jan 2007 Join Date
    Moldova #Location
    269Posts

    Re: Problem with attaching DLL

    nop, you use only LoadLibrary, but put the GetProcAddress too.

    Follow this guide

    http://forum.ragezone.com/f196/guide...ml#post4803536

  9. #9
    Enthusiast micrak is offline
    MemberRank
    Nov 2009 Join Date
    25Posts

    Re: Problem with attaching DLL

    I used your guide and when i run main nothing happens

    http://img339.imageshack.us/img339/2130/proba2.jpg

    I think there is something wrong with my EntryPoint(00876215 - adress of first dll - i show it on this screen) or JMP. There is one more DLL loaded before my hook: http://img43.imageshack.us/img43/7191/proba3.jpg
    Last edited by micrak; 30-11-09 at 08:36 AM.



Advertisement