好友
阅读权限10
听众
最后登录1970-1-1
|
夜冷风
发表于 2008-10-2 14:29
小生说的对.程序加坏了
一个例子自己参考下吧!
----------------------------------------------------------------------------
00401000 >68 2D094100 push 复件_(2).0041092D
00401005E8 01000000 call 复件_(2).0040100B (ESP定律+F9运行)
0040100AC3retn
0040100BC3retn
0040100C60pushad
0040100D8B7424 24 mov esi,dword ptr ss:[esp+24]
004010118B7C24 28 mov edi,dword ptr ss:[esp+28]
00401015FCcld
00401016B2 80 mov dl,80
0040101833DBxor ebx,ebx
-------------------------------------------------
0041092DB8 3F090100 mov eax,1093F; 单步+删除硬件断点
00410932BA 00004000 mov edx,复件_(2).00400000
0041093703C2add eax,edx
00410939FFE0jmp eax
0041093BB1 15 mov cl,15
0041093D0000add byte ptr ds:[eax],al
0041093F60pushad
00410940E8 00000000 call 复件_(2).00410945 ; esp定律+F9运行
--------------------------------------------------
跳回0041092DB8 3F090100 mov eax,1093F
0041092DB8 28110000 mov eax,1128
00410932BA 00004000 mov edx,复件_(2).00400000
0041093703C2add eax,edx
00410939- FFE0jmp eax; 复件_(2).00401128(跳转OEP)
------------------------------------------------
0040112868 2CC34000 push 复件_(2).0040C32C ; open地址
0040112DE8 F0FFFFFF call 复件_(2).00401122 ; jmp 到 MSVBVM60.ThunRTMain
004011320000add byte ptr ds:[eax],al
004011340000add byte ptr ds:[eax],al
004011360000add byte ptr ds:[eax],al
004011383000xor byte ptr ds:[eax],al
---------------------------------------------------
脱壳脚本.
//======================================================
// FileName : KByS V0.28
// Environment : WinXP SP2 Notepad
// Author :xxxxx
// WebSite : http://www.52pojie.cn
//======================================================
var addr
sto
mov addr,esp
bphws addr,"r"
run
BPHWC addr
sto
sto
sto
sto
sto
mov addr,esp
bphws addr,"r"
run
BPHWC addr
sto
sto
sto
sto
cmt eip, "恭喜到达OEP地址. "
msg "已经成功到达OEP"
[s:43] |
|