+SplAj
September 16th, 2001, 04:25
Hajo
Best unpacking tool is BRAIN :-)
Other tools to assist:-
SI
Icedump
LordPE
RV
TE! tricks - anti SI, Anti dump (section count =FFFF and IAT is mapped, relocated then destroyed)
Solution :-
========
Load target in SI (after running Icedump)
BPX VirtualProtectEx
F5
F12
S CS:EIP L EIP+100 EB,02,CD,20,61
Set a BPX on the memory were the 61 (POPAD) is. F5
Press F8 carefully cos your nearly at the OEiP
At OEiP change bytes from 55 8B to EB FE (loop)
Use LordPE to dump (with load section header from disk on to solve the section count FFFF trick)
Then use RV to rebuild the IAT/IT (or stop TE from destroying the
IAT/IT once you know the VA offset)
Fix up your dump (OEiP pointer, EB FE -> 55 8B, IAT pointer etc)
and TE! is gone :-)
+Spl/\j