Unpack Yourself GS 1.1

Results 1 to 17 of 17
  1. #1
    Account Upgraded | Title Enabled! FeN$x is offline
    MemberRank
    Sep 2005 Join Date
    you care?Location
    313Posts

    Unpack Yourself GS 1.1

    Sup again people and welcome back to the tutorial about unpacking Server files, in this case MX files...

    like in my second thread i post how unpack mydll now lets go to another lvl, and that is GS !! (version 1.1 lastest)

    Ok what we need:

    1.- Ollydbg 1.10 (with all Plugins updated)
    2.- Imprec (for fix IAT)
    3.- A little of experiencie (mm not 100% nesesarie)
    4.- HAVE A GOOD IMAGINATION (100% needed)

    Lets start:

    //Taking OEP\\

    1.- Load in ollydbg the GS 1.1
    2.- Now lets press "Control+G" and write "CreateThread"
    4.- Press Enter and we are on Kernel in the API [COLOR="CreateThread...
    5.- Now lets find our last OPCODE caused armadillo check the first ones and make infinite loop, so lets put a BreakPoint with F2 on the FIRST "RET" (for me is RET 14)

    Trick: You can put a BP on the first OPCODE of CreateThread and later press control+F9 and that will send to you at the RET 14

    6.- Now press F9 (for run target)
    7.- Voila, ollydbg stop on himself (in this case in RET 14), remove breakpoint with F2 again
    8.- No press F7 for get inside of RET
    9.- You will saw another part of section, but calm down we are fine, press CONTROL+F9 for search the first RET.
    10.- Once he find it, press F7 for get inside of this new RET Again.
    11.- Now lets find that:

    "CALL EDI"

    12.- Once we find it put a BreakPoint on there with F2 and run target with F9
    13.- Now ollydbg stop again on himself (in this case "CALL EDI"), now press F7 and...
    14.- VOILA WE ARE ON OEP (our section with no armadillo protection).


    How we check that OEP its the true one...?

    Easy lets do that:

    //Checking OEP\\

    1.- Open another instance of Ollydbg (dont cloce the another one)
    2.- We open a GS of 0.99b unpacked or another one unpacked (not 0.97)
    3.- Now lets watch in olly in what part it start... (check it)
    4.- View the another instance of olly, the one with 1.1 GS and you will saw that the OEP of 0.99b GS and 1.1 GS are the same, so you are right !!

    What else??...

    mmmmhhh lets fix PE Header:

    //Fixing PE Header\\

    1.- Cloce the ollydbg instance with 0.99b GS & open a new one
    2.- Load 1.1 GS again (now we get 2 GS load)
    3.- Press ALT+M on the new instance of olly, and watch for PE Header Section
    4.- Secondary Buttom and press "Watch on DUMP", press secondary buttom again on dump window and select TEXT MODE
    5.- Select all PE Header and press "Copy Binary"
    6.- Lets go to the another Olly instance (the 1.1 GS with OEP)
    7.- Press ALT+M for watch map section and go to PE Header, secondary buttom DUMP in window and press again secondary buttom on dumped window and select TEXT MODE
    8.- Select all PE Header Section and press "Binary Paste"
    9.- Voila now we fix PE Header (fuck armadillo phew !!)

    NOW CLOCE THE 1.1 GS (the one in where we copy the PE header) AND LETS DUMP THE ONE WITH OEP+PE HEADER FIXED...

    Once you dump it, we need to do the last step...

    //FIXING IAT\\ (need Imprec)

    1.- We check for OEP and we saw the Offset in left side... Example:

    100089> EB FE JMP 100092 (that is not real, just a expample) (the red part is the Offset, but that is not the OEP we need for introduce on Imprec)

    2.- Go to Olly "PLUGINS">OLLYDUMP>[GET EIP HAS OEP] (check the Option)
    3.- Now in some part of the window of ollydump... (left side of GET EIP HAS OEP) its a new value that is the OEP that we need, and the original One.

    Lets explain this:

    **IMAGE BASE - OFFSET = REAL OEP**

    4.- Now the value that change on Ollydump window, copy it and open Imprec...
    5.- In Imprec window lets put in OEP the real one and press "FIND IAT"
    6.- Yahooo it find Invalid IAT, now lets press OK to the message that appears and press GET IMPORTS
    7.- Imprec find Invalid IAT, and now lets press "Show Invalid"
    8.- Secondary Buttom on Imprec window and press "Cut Thunks" now all IAT Said:

    VALIED = YES (yupi !!)

    9.- Now press "FIX DUMP" and select our DUMPED GS 1.1 (the one we dump with Olly or another dumper) and wait a moment, the process is slow caused file size grow up a lot.
    10.- Imprec said that dump has finished and YOU DO IT MAN !!

    HAVE FIXED IAT+OEP+PE HEADER ON YOUR GS 1.1 (MX last version) NOW YOU CAN OPEN IT ON OLLY FOR DEEP SCAN, MAKE MEMORY LOADER, WATCH SOURCE UNPACKED ON HEX EDITOR AND ALOT OF MORE THINGS !! :3dflagsdo


    Unpacker: FeN$x :blob2:
    All Thx to: Exernon Team (i love my team) :wink2:
    Last edited by FeN$x; 13-11-05 at 06:27 AM.


  2. #2
    Account Upgraded | Title Enabled! FeN$x is offline
    MemberRank
    Sep 2005 Join Date
    you care?Location
    313Posts
    Ok there we got GS LOADER !!!

    How use it:

    Put your adress memory, original value, and mod value on gsloader.gsl and execute GSLOADER.EXE it will change it of packed gs !!

    ALL THX GOES TO: Idagakash (of exernon forums):3dflagsdo


    Whats the difference between unpack GS on Winhex and unpack it at my way...

    its really simple unpacking it with WINHEX cant be oppened on a debugger, files Grow up too much more.

    But what i can do open it on a debugger??

    Easy, you can do all... you can check for Event system (how Blood castle work), you can check for Maps that GS Load, shops, itembags, API`s... Alot of good info of the lastest version of MX server.

    Once you find the values that you want to change, use the GS loader and in the file:

    gsloader.gsl you can add the adress and changes, now apply the change to your packed GS and voila it will work nice !!

    Remember thx to Idagakash for the GS Loader and Me of Exernon team for Unpacked GS

    ANY QUESTIONS POST IN HERE, THX !! :3dflagsdo
    Attached Files Attached Files

  3. #3
    Gamma [GR]SiLvER is offline
    MemberRank
    May 2005 Join Date
    GreeceLocation
    3,074Posts
    moved to the guides section ;)

  4. #4
    Novice miyavizm is offline
    MemberRank
    Nov 2005 Join Date
    3Posts
    woah nice it helped me

  5. #5
    <3 alter is offline
    MemberRank
    Jul 2005 Join Date
    ArizonaLocation
    1,466Posts
    lmao there is no such thing as 1.1 LOL......

  6. #6
    Member zarius is offline
    MemberRank
    Nov 2004 Join Date
    PolandLocation
    80Posts
    WoW you must tell me where did you learn such stuff :P ?

  7. #7
    Apprentice epastinante is offline
    MemberRank
    Dec 2004 Join Date
    Rosario, Santa Fe, Argentina, Planeta Tierra (La mayor parte del tiempo)Location
    9Posts
    Great man... its nice to see people like you helping. I will try this at weekend.

  8. #8
    Enthusiast shaharhochma is offline
    MemberRank
    Jun 2005 Join Date
    34Posts
    can you please release a unpacked gs?

  9. #9
    NN - Nord & Noob mauka is offline
    MemberRank
    Jul 2004 Join Date
    1,735Posts
    this works on 1.1e version?

  10. #10
    Valued Member tomer434 is offline
    MemberRank
    Aug 2005 Join Date
    USALocation
    118Posts
    "1.- Ollydbg 1.10 (with all Plugins updated)
    2.- Imprec (for fix IAT)
    3.- A little of experiencie (mm not 100% nesesarie)
    4.- HAVE A GOOD IMAGINATION (100% needed)"

    pliz up this.. or give link

  11. #11
    Account Upgraded | Title Enabled! FeN$x is offline
    MemberRank
    Sep 2005 Join Date
    you care?Location
    313Posts
    Quote Originally Posted by Z_Gamer
    lmao there is no such thing as 1.1 LOL......
    lol 1.1 GS with raven working... noob. xD :chair:

  12. #12
    Apprentice LoveisEasy7 is offline
    MemberRank
    Mar 2004 Join Date
    USALocation
    20Posts
    FeN$x is this work for the new version 1.1E with new monster for aida and crywolf?
    Thank You

    Anyone else can confirm that this works beside FeN$x?

    Please keep this thread clean

  13. #13
    Enthusiast 456456 is offline
    MemberRank
    Jul 2004 Join Date
    45Posts
    FeN$x give links for download programs

  14. #14
    Enthusiast shaharhochma is offline
    MemberRank
    Jun 2005 Join Date
    34Posts
    can u please release the unpacked GS?

  15. #15
    Apprentice panchitus is offline
    MemberRank
    Dec 2004 Join Date
    13Posts
    che fenix por favor pone el link del winhex crakeado por que no consigo no que anda gracias

  16. #16
    Apprentice _hitman47 is offline
    MemberRank
    Dec 2005 Join Date
    19Posts
    Fen$x, plz upload somewere your ollydbg files, cuz when i open my gameserver in ollydbg, every window is blank. Olso , if you can, put here some screenshots plz

  17. #17
    Retired s'2010 Aszmhodeus is offline
    MemberRank
    Nov 2005 Join Date
    GermanyLocation
    1,276Posts
    FeN$x was on exernoon?



Advertisement