Results 1 to 8 of 8

Thread: Weird error unpacking yP (Yoda's Protector) 1.03.2

  1. #1

    Weird error unpacking yP (Yoda's Protector) 1.03.2

    I'm not asking for a complete rundown on unpacking this protector, I'm just wanting to know where I went wrong in the process. This is pretty much my first real attempt at this sort of thing. I've followed around 6 different tutorials for unpacking this packer, but every time I get to the part where I change the PID and NOP GetCurrentProcessId, the second time I press F9 I get an error. I've also attempted to use the yP (1.03.x) unpacking script to no avail. Am I using the IsDebuggerPresent plugin wrong? Sorry if the video is not clear enough, I did my best. I'm just starting to get very serious about learning RE and if I could get just a little guidance with this I'd be eternally grateful.


    Thanks a million times!
    Last edited by Zumo; March 21st, 2012 at 03:30.

  2. #2
    The things you do in this video look pretty weird (imho).
    Also, you have 4 or 5 different plugins all for the same purpose. Why???
    OllyAdvanced is quite powerful. Markus put a lot of effort into it and it has a lot to offer, but I saw you use only little of it's power.
    Anyways, I'm not here to criticize you. Is the program you try to unpack an unpackme or a commercial program? If it's an unpackme or a program of your own, please upload it somewhere. It's best to help you hands-on.

    Regards
    darkelf
    I flout Chuck Norris, Spongebob barbecues underwater!

  3. #3
    Hi, Darkelf. Sorry for the late reply. I've gotten very close since yesterday. You wouldn't believe what I had to do to find the OEP...... Instead of following the normal routine and checking all Exceptions in Olly, I disabled all but KERNEL32. I screen recorded myself holding Shift-F2 until the program ran (stack overflowed), then went to the end of the video to see where to stop right before it runs (the section at the bottom-right of Olly went from 0012FFC4 all the way down to 00032???, 1 1/2 minutes of holding...) Anyway, I've successfully dumped the file (doubled in size) from Olly after finding OEP, but I'm having an issue in ImpREC. After fixing RVA and SIZE as instructed by ImpREC and pressing Get Imports, a message reads IAT read successfully and then freezes.

    After first attaching to ImpREC:

    OEP = 0081F549 (Real OEP = 00401000)
    RVA = 00000000
    SIZE = 00001000

    After entering correct OEP and searching IAT:

    OEP = 00001000
    RVA = 00001000
    SIZE= 0064F000

    After clicking Get Imports, ImpREC freezes.




    For what it's worth (probably not much,) I've found a neat little app called Quick Unpack 2.2 which is able to force unpack yP 1.03.2 (and many other packers/protectors) and export a tree for importing into ImpREC. After importing this tree, I see many other functions that ImpREC never revealed by itself (only 1). Every function reports to be valid. But fixing dump and saving does not make the unpacked app usable.
    Last edited by Zumo; March 21st, 2012 at 07:17.

  4. #4
    Video removed
    Last edited by Zumo; March 28th, 2012 at 21:16.

  5. #5
    Musician member evaluator's Avatar
    Join Date
    Sep 2001
    Posts
    1,479
    Blog Entries
    1
    wow, video is HD & program name can clearly seen..

  6. #6
    I have watched your video now and apart from your way of unpacking is somewhat strange, you are making 2 crucial mistakes.
    I really have a problem to tell you what these mistakes are.
    That's why:

    1. what evaluator said - showing the programs name is not really bright.
    2. the mistakes you made are so basic, it almost hurts.

    Let me say this as a hint: you obviously don't understand the tools you are using. The first mistake you did is with OllyDump, the second one with ImpREC. Familiarize yourself with your tools and all will be well.

    If you still don't get what you did wrong, drop me a PM.

    Regards
    darkelf
    I flout Chuck Norris, Spongebob barbecues underwater!

  7. #7
    Musician member evaluator's Avatar
    Join Date
    Sep 2001
    Posts
    1,479
    Blog Entries
    1
    well, as about so called Yoda's Protector 1.03.2, it is INCORRECT protector as it does bad(not nice) things,
    such as "User32.BlockInput".
    but also these bad things are good for learning basic manual debugging.

    on general level, this protector keeps original Imports crypted at it's place; decrypts/resolves/then_deletes.
    so you can override last step & solve original Import;

  8. #8
    Yeah, that was pretty stupid on my part, it was a rushed video and has been removed... On that note, over the past few days I like to think I've gotten better. Maybe not by expert standards, but I'm working on it. The reason it looked weird was because of me following tutorials letter by letter. Some of them being translated from Arabic or Vietnamese (very hard to follow.) The steps I take in the video have been changed. Such as using Olly Advanced and telling OllyDump to not Rebuild Imports.

    However, I think I've run into a brick wall. After successfully removing the protection, the app is being identified as VB6. I don't know how much this changes things, but I do know that the tutorials on this protector are (as far as I'm aware) not focused on VB6, which is obviously a problem, as using Olly will be different for me than the apps used in the tutorials. I've added about a dozen new programs to my cracking arsenal which focus on VB6 apps specifically. To name a few; VB Decompiler, P32Dasm, P-Code Loader 4.3, Semi VB Decompiler, and more. Some of these apps read the program as being compiled to Native code, and some to P-Code. So this is where I am.

Similar Threads

  1. Yoda's Cryptor v 1.2 + UPX Packed Executable
    By DeXTeR.OrBiT in forum The Newbie Forum
    Replies: 2
    Last Post: July 14th, 2012, 14:05
  2. Yoda's Crypter 1.2
    By penguin0103 in forum Malware Analysis and Unpacking Forum
    Replies: 13
    Last Post: August 12th, 2007, 13:22
  3. Yoda's Protector 1.3
    By penguin0103 in forum Malware Analysis and Unpacking Forum
    Replies: 17
    Last Post: January 17th, 2007, 16:35
  4. SVK-Protector
    By bff70000 in forum OllyDbg Support Forums
    Replies: 3
    Last Post: March 1st, 2005, 05:25
  5. SVK-Protector
    By Jaimex in forum Malware Analysis and Unpacking Forum
    Replies: 2
    Last Post: March 29th, 2002, 23:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •