Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-26-2006, 06:11
bone
 
Posts: n/a
Dumping images with newer SoftICE versions

For those non experts out there:

If you've ever run into an image that you can't seem to get past anti-debugger measures in Olly; want the unpacking speed offered by SoftICE, but don't have a compatible version for use with IceDump (aka Driver Studio 3.2), the !suspend/!dump functions of IceExt cause errors, or if you're really lazy like I am, and do not want to patch anti-debugging code; IceExt, !protect on ...

Here's a relatively easy technique get a pretty PE to view in IDA using SICE, Process Explorer, PE Tools, and ImpRec.

... Step to your unpacked entrypoint in SICE
... Turn "CODE ON"
... Make note of the first two bytes of the real entrypoint.
... Edit the address in EIP with those two bytes to store them in the command buffer. (EB 401038 55 8B, or whatever the address/bytes are...)
... Assemble "JMP EIP" at EIP. (A EIP, JMP EIP)
... F5 out of SICE
... Use a process management tool like Process Explorer or PsTools to suspend the target.
... CTRL+D back into SICE
... Change contexts back to the target. (addr target_pid)
... Up arrow the command buffer to find the EB command you issued before, and issue it again. (EB 401038 55 8B)
... Make sure everything is proper by viewing the address in the disassembly listing. (U 401038)
... F5 out of SICE and dump/repair imports using Pe Tools and Imprec, or using whatever friendly dumping/repair tools you prefer.


You can always just edit the bytes in your dump after the EBFE step, but for lazy people like me, this is a cleaner faster method not having to calculate rva's to the bytes on disk.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Softice not working ... what versions are you using??? yaa General Discussion 5 12-14-2003 05:46
SoftICE Versions Xet General Discussion 14 12-10-2003 09:04
Detailed SoftIce Installation guide for new versions, please aldente General Discussion 3 07-08-2003 04:38


All times are GMT +8. The time now is 22:42.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )