Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   help unpacked .dll now crashes (https://forum.exetools.com/showthread.php?t=11622)

Mitchjs 04-26-2008 08:12

help unpacked .dll now crashes
 
hello all,

I have a program, that is packed with pecompact, and i unpack it no problem
it also has an inported .dll which is also packed, i unpacked that no problem

now when i run the app, it loads the unpacked version of the dll
but it crashed, in the ModuleEntyPoint code of the .dll

prob something i dont understand with PE files, or maybe how its unpacked now

there is more sections in the pe file after its unpacked
i used UnPECompact2 to unpack it

mitch

asterix 04-26-2008 19:27

try to unpack dll manually and remember, dll should has relocations

Archer 04-27-2008 03:03

You may try to unpack with QuickUnpack. Try to find out the reason of crash.

Exocist 04-28-2008 07:41

I've dumped many PECompact dll's successfully. Any problems have almost always been in the relocations area. If it is a relocations issue search for the great program called "Relox".

1) load .dll into default base address, dump at OEIP, call "dumped_10000000.dll"
2) modify target .dll to new base address, say 0x20000000 (can do this with PECompact targets fine)
3) load .dll again, dump at OEIP, call "dumped_20000000.dll"
4) start Relox, load dump1 in slot1 then dump2 in slot2.
5) Do a compare in Relox and it will rebuild relocations for you
6) Use Relox to add new .reloc section to your "dumped_10000000.dll"

Good luck!


All times are GMT +8. The time now is 10:34.

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