Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    *Marneus901*'s Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    Maryland
    Posts
    112
    Reputation
    12
    Thanks
    16

    Unpacking UPX 0.89.6 - 1.02 / 1.05 - 1.24 -> Markus & Laszlo

    Tools Needed
    PEiD
    OllyDBG
    OllyDump Plugin
    Imprec
    A Brain...

    Instructions
    Go ahead, scan the application with PEiD, to verify that it is packed by
    Code:
    UPX 0.89.6 - 1.02 / 1.05 - 1.24 -> Markus & Laszlo
    If it is, then go ahead, open the application with OllyDBG
    Do analyze.
    Then, CTRL+B to search for a binary.
    Code:
    61 E9 87 92 FD FF 00 00 00 00
    Go to the JMP below that, hit F2 (breakpoint), then F9 (Run).
    The application should hit the BP.
    Hit F8 (Step-over)
    Your now at the OEP. So go ahead right click -> OllyDump -> Make dump.
    Take note of the OEP that OllyDump provides. This is needed later.
    Edit the OEP to the address you landed on.
    Then take down "Start Address" - This is our RVA
    Then take down "Size" - This is needed.

    Now press Dump, save as dumped.exe

    Now, keep OllyDBG open. Go open Imprec, and select the application thats running that we are trying to unpack.
    For OEP - Put in the OEP that OllyDump provided.
    RVA - The "Start Address" that OllyDump provided.
    Size - The "Size" OllyDump provided.

    Hit IAT AutoSeach, if done right, "Found address which may be in the Original IAT. try 'Get Import'" should popup.
    The RVA and Size will automatically change.
    Then hit 'Get Imports'. All the thunks should be valid:YES.
    If so, then hit Auto Trace just for precautions.
    Then hit 'Fix Dump', and select the dumped.exe

    You unpacked UPX!

    -Marneus901/Circadian


  2. The Following 3 Users Say Thank You to *Marneus901* For This Useful Post:

    CaSus (04-17-2009),gandhi (08-02-2008),minorutono (08-02-2008)

  3. #2
    Gordon`'s Avatar
    Join Date
    Dec 2007
    Gender
    male
    Posts
    283
    Reputation
    24
    Thanks
    325
    why not simply using the esp methode?


  4. #3
    *Marneus901*'s Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    Maryland
    Posts
    112
    Reputation
    12
    Thanks
    16
    Didnt feel like it LOL, I would get it confused with ASPack 2.12 because its the same way (or ub3r freggin similar)


  5. #4
    *Marneus901*'s Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    Maryland
    Posts
    112
    Reputation
    12
    Thanks
    16
    Well... no edit button pl0x? Wtf.
    Anyways, correction to the binary.
    Code:
    61 E9 ?? ?? ?? ?? 00 00 00 00
    Sorry for the mistake. If an edit button can please show up? (Doesnt show up after I leave) This is also why its a double post >_>
    Allow an edit button pl0x?


  6. #5
    Leisures's Avatar
    Join Date
    Dec 2006
    Gender
    male
    Posts
    36
    Reputation
    10
    Thanks
    54
    My Mood
    Paranoid
    sure but it dosent find that ether...

  7. #6
    *Marneus901*'s Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    Maryland
    Posts
    112
    Reputation
    12
    Thanks
    16
    Quote Originally Posted by Leisures View Post
    sure but it dosent find that ether...
    Your trying to unpack Egine.exe for Combat Arms correct?
    LOL
    I made this tutorial from Combat Arms...


  8. #7
    Leisures's Avatar
    Join Date
    Dec 2006
    Gender
    male
    Posts
    36
    Reputation
    10
    Thanks
    54
    My Mood
    Paranoid
    yes rite but as i sayd before it dosnet find that

  9. #8
    *Marneus901*'s Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    Maryland
    Posts
    112
    Reputation
    12
    Thanks
    16
    Then you should stay away from learning to hack >_>
    I made a mistake the first post, but I corrected it.


  10. #9
    Leisures's Avatar
    Join Date
    Dec 2006
    Gender
    male
    Posts
    36
    Reputation
    10
    Thanks
    54
    My Mood
    Paranoid
    learning? LOL do u know who i am?

  11. #10
    *Marneus901*'s Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    Maryland
    Posts
    112
    Reputation
    12
    Thanks
    16
    Do YOU know who I am?
    If you are anyone that has the right to say "Do you know who I am", in the hacking community, should be able to unpack UPX pretty easily... Or at least use OllyDBG with normal ability, and know what type of instructions that the binary creates... And if I was wrong, could find the addresses themself..

    But then again, the tutorial has been fixed.

    If I went on teamviewer, to help you, im sure you were doing something completely noobish...
    Look for a
    popad (61)
    JMP [Address] (E9 ?? ?? ?? ??)
    DB 00 (00)
    DB 00 (00)

    Noob more pl0x.

    Derduh.


  12. #11
    minorutono's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    119
    Reputation
    11
    Thanks
    73
    Quote Originally Posted by Leisures View Post
    sure but it dosent find that ether...
    Uh, it does come up, i got it..

  13. #12
    *Marneus901*'s Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    Maryland
    Posts
    112
    Reputation
    12
    Thanks
    16
    Quote Originally Posted by minorutono View Post
    Uh, it does come up, i got it..
    pwnt.10char

    EDIT: btw, forgot to let people know, at least with me, unpacking Combat Arms, then opening the unpacked EXE will still make ollyDBG say that its packed, the OEP is outside the ehader, etc... As far as i can tell with the unpacked EXE and UPX.exe both being unpacked; Comabt Arms is unpacked.


  14. #13
    minorutono's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    119
    Reputation
    11
    Thanks
    73
    I just fixed the thing anyways o,o. even with the fails. I hope it works T_T

    Last edited by minorutono; 08-02-2008 at 12:53 AM.

  15. #14
    kevko1991's Avatar
    Join Date
    Jul 2008
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    1
    I got it to unpack successfully, but when I try to run combat arms it saying that something is corrupt.. What did I do wrong?

  16. #15
    *Marneus901*'s Avatar
    Join Date
    Sep 2007
    Gender
    male
    Location
    Maryland
    Posts
    112
    Reputation
    12
    Thanks
    16
    @kevko
    then opening the unpacked EXE will still make ollyDBG say that its packed, the OEP is outside the ehader, etc... As far as i can tell with the unpacked EXE and UPX.exe both being unpacked; Comabt Arms is unpacked.
    __________________
    @minor
    just talk in pm's. Ill help you (based on your screenshot, your OEP is incorrect.)
    Last edited by *Marneus901*; 08-02-2008 at 10:20 AM.


Page 1 of 2 12 LastLast

Similar Threads

  1. Unpacked SF.exe
    By zxcv123 in forum Soldier Front Hacks
    Replies: 24
    Last Post: 12-27-2008, 06:58 PM
  2. Unpacked version of ijji gunz
    By radnomguywfq3 in forum Gunz General
    Replies: 2
    Last Post: 06-05-2008, 05:36 PM
  3. Unpacked system.mrs
    By 1337Sasuke in forum Gunz Hacks
    Replies: 1
    Last Post: 03-22-2006, 02:05 AM
  4. .mrs Unpacker/Packer
    By SpiderByte in forum Gunz Hacks
    Replies: 2
    Last Post: 02-22-2006, 08:07 AM
  5. Need help with mrs packer/unpacker
    By pesst in forum Gunz General
    Replies: 6
    Last Post: 02-07-2006, 08:22 PM

Tags for this Thread