Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Unpacked Files under XP SP1 doesn't work on SP2 (https://forum.exetools.com/showthread.php?t=7382)

ivanov 04-19-2005 01:29

Unpacked Files under XP SP1 doesn't work on SP2
 
I found some cracks (unpacked files) that work on XP SP1, but not on SP2.
If this is due to Kernel changes, should be there any modification to the tool, e.g Olly, ImpRec or QuickUnpack?

And I have a program unpacked on SP1 and it works. I can load it successfully and see all program strings using Olly. Now I do the same under SP2, the unpacked result differs in size from the previous. Olly cannot load it due to error: "Don't know how to bypass command at...Try to change EIP or pass exception to program". I don't receive this error when loading the first unpacked file under SP1.

Any idea?

amitophia 04-19-2005 05:58

Any attaches? :)

ivanov 04-19-2005 23:15

1 Attachment(s)
it is attached now,
pls take a look.

Thanks.

amitophia 04-20-2005 05:23

There're no unpacked-and-not-working files in your attach

Nukacola 04-20-2005 20:29

btw the original target isn't run under WinXp SP2. Maybe cos it's protected by Themida... And amitophia is right the job isn't complete i guess.

ivanov 04-21-2005 02:09

1 Attachment(s)
sorry, attached is the unpacked and not working on SP2.

amitophia 04-21-2005 04:39

Program's not working under xp sp0 too. And that's why:
If you look at the import table you can see that all entries are referenced by ordinals.
This means that it will work only with those versions of dll's which was loaded when you've dumped target. For example, kernel32.dll!Beep has ordinal number 27 in xpsp0 and number 29 in xpsp2.
To work around this problem, go to xpsp1, convert all ordinal imports to name imports (maybe it cannot be done with all imports. If it's the case, leave ordianls for such dlls)
I think there're some tools that can do this automatically. You can load unpacked program and dump it with option "Reconstruct imports" (or something like this) set.

ivanov 04-21-2005 21:51

ami,
it works! i load the original target with Olly and got the OEP, than fix the unpacked using ImpRec. btw, the developer just released another tool that I cannot unpack it using the same way (maybe uses newer protection system). Peid 0.93 cannot detect OEP and Olly got crashed. please take a look,the target downloaded from:
http://rapidshare.de/files/1429442/Target.rar.html


All times are GMT +8. The time now is 05:54.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX