收藏 分享(赏)

PeSpin 0.3 Unpacker.txt

上传人:a****2 文档编号:3401339 上传时间:2024-04-28 格式:TXT 页数:3 大小:1.86KB
下载 相关 举报
PeSpin 0.3 Unpacker.txt_第1页
第1页 / 共3页
PeSpin 0.3 Unpacker.txt_第2页
第2页 / 共3页
PeSpin 0.3 Unpacker.txt_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

1、/*= PESpin v0.3 unpacking script for SHaGs OllyScript plugin= Script works only on Windows XP systems. Script will prevent IAT redirecting and it will stop at place where stolen OEPs bytes are. You can dump file from that place and use ImpREC if needed. If you know how, you can search for stolen byt

2、es and restore them. Script is tested on VB, VC+, Delphi, BC+ and ASM programs. Before use, ignore ALL exceptions! haggar=*/var xvar Avar Bvar Cmsg Script runs on Win XP only. Ignore ALL exceptions!/Break on GetTickCountgpa GetTickCount,kernel32.dllcmp $RESULT,0je er1bp $RESULTestoestobc eiprtu/Fix

3、IAT redirection.mov $RESULT,eipsub $RESULT,401findop $RESULT,#60#cmp $RESULT,0je er2mov A,$RESULTadd A,1findop $RESULT,#61#cmp $RESULT,0je er2mov B,$RESULTsub B,1nop:fill A,1,90cmp A,Binc Ajne nopcont1:/Find instruction after redirectin IAT - first type.find eip,#F97205E8?00EB01#cmp $RESULT,0je Seco

4、ndOptionadd $RESULT,1bp $RESULTestobc eipjmp continue/Second type - also kill thread.SecondOption:find eip,#F87205E8?00EB01#cmp $RESULT,0je er2mov x,$RESULTbphws x,xestobphwc xadd $RESULT,2fill $RESULT,5,90continue:find eip,#61#cmp $RESULT,0je er2bp $RESULTestobc eipstomsg Here starts stolen OEP code. If there is no stolen OEP, after this POPAD opcode is jump to real OEP. In any case you can dump file now.reter1:msg ERROR! Couldnt find GetTickCount in kernel32.dll. Exiting.reter2:msg ERROR! Couldnt find needed opcode.ret

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 教育教学 > 教案课件

copyright@ 2008-2023 wnwk.com网站版权所有

经营许可证编号:浙ICP备2024059924号-2