首页
社区
课程
招聘
Petite V1.2/V1.3/V1.4/V2.2/V2.3 OEP Find Script
发表于: 2005-10-15 14:55 4960

Petite V1.2/V1.3/V1.4/V2.2/V2.3 OEP Find Script

fly 活跃值
85
2005-10-15 14:55
4960
Petite V1.2/V1.3/V1.4/V2.2/V2.3 OEP Find Script

//////////////////////////////////////////////////
//  FileName    :  Petite V1.2-V2.3.osc
//  Comment     :  Petite V1.2/V1.3/V1.4/V2.2/V2.3 OEP Find
//  Environment :  WinXP SP2,OllyDbg V1.10,OllyScript V0.92
//  Author      :  fly
//  WebSite     :  http://fly2004.163.cn.com
//  Date        :  2005-10-04 18:00
//////////////////////////////////////////////////
#log

//Petite V1.2――――――――――――――――――――――――――――――――
1:

/*
0040E620    F3:A4           rep movs byte ptr es:[edi],byte ptr ds:[esi]
0040E622    61              popad
0040E623    66:9D           popfw
0040E625    E9 A22AFFFF     jmp 004010CC
*/

find eip, #61669DE9#
cmp $RESULT, 0
log $RESULT
je 2
add $RESULT,3
eob Petite V1.2
bp $RESULT

esto
GoOn0:
esto

Petite V1.2:
cmp eip,$RESULT
jne GoOn0
bc $RESULT
sti
jmp GetOEP

//Petite V1.3/V1.4――――――――――――――――――――――――――――――――
2:

/*
0040E5DF    8986 E4B50000   mov dword ptr ds:[esi+B5E4],eax
0040E5E5    5E              pop esi
0040E5E6    5B              pop ebx
0040E5E7    C9              leave
0040E5E8    C3              retn
0040E5E9    E8 AE68FFFF     call 00404E9C
*/
/*
00404F76    61              popad
00404F77    66:9D           popfw
00404F79    E9 4EC1FFFF     jmp 004010CC
*/

find eip, #5E5BC9C3E8#
cmp $RESULT, 0
je 3
add $RESULT,4
log $RESULT
eob Petite V1.3/V1.4
bp $RESULT

esto
GoOn1:
esto

Petite V1.3/V1.4:
cmp eip,$RESULT
jne GoOn1
bc $RESULT
sti
jmp 1

//Petite V2.X――――――――――――――――――――――――――――――――
3:

eob Petite V2.X
gpa "GetProcAddress", "KERNEL32.dll"
bp $RESULT

esto
GoOn2:
esto

Petite V2.X:
cmp eip,$RESULT
jne GoOn2
bc $RESULT
rtu
find eip, #33C0B9????????E8#
cmp $RESULT, 0
je NoFind

bp $RESULT
eob Break2

esto
GoOn3:
esto

Break2:
cmp eip,$RESULT
jne GoOn3
bc $RESULT
log eip
esti
esti
esti

find eip, #83C4??E9#
cmp $RESULT, 0
je NoFind

bp $RESULT
eob Break3
esto

Break3:
bc $RESULT
sti
sti

//GetOEP――――――――――――――――――――――――――――――――
GetOEP:

log eip
cmt eip, "This is the OEP! Found By: fly"
MSG "Just : OEP !  Dump and Fix IAT.  Good Luck  "
ret

NoFind:
MSG "Error! Maybe It's not Petite V1.2/V1.3/V1.4/V2.2/V2.3 ! "
ret

[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法

收藏
免费 0
支持
分享
最新回复 (4)
雪    币: 319
活跃值: (2404)
能力值: ( LV12,RANK:980 )
在线值:
发帖
回帖
粉丝
2
和脚本扛上了:)
2005-10-15 15:12
0
雪    币: 898
活跃值: (4039)
能力值: ( LV9,RANK:3410 )
在线值:
发帖
回帖
粉丝
3
国庆放假无聊时写了3天,现在就没时间玩啦
2005-10-15 15:19
0
雪    币: 153
活跃值: (17)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
最初由 csjwaman 发布
和脚本扛上了:)

2005-10-15 15:21
0
雪    币: 136
活跃值: (105)
能力值: ( LV9,RANK:140 )
在线值:
发帖
回帖
粉丝
5
最初由 fly 发布
国庆放假无聊时写了3天,现在就没时间玩啦
2005-10-16 14:15
0
游客
登录 | 注册 方可回帖
返回
//