吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 20755|回复: 38
收起左侧

[Scripts] 飓风10.4提取脚本

  [复制链接]
yanghan19911 发表于 2012-10-5 14:08
自己第一次写脚本,能力有限,大牛勿喷啊
代码贴出来吧
gpa "VirtualProtect","kernel32.dll"  //特征API(刚开始把后面的dll文件没加,老报错)
bp $RESULT  //下断 相当于bp VirtualProtect
run //f9
run
run
run
rtu
bc $RESULT  //清除VirtualProtect断点
sto //单步f8,水平有限,只能笨办法了
sto
sto
sto
sto
sto
sto
sto
sto
sto
sto
sto
sto
sto
sto
sto
var addr  //esp定律
mov addr,esp
bphws addr,"r"
run
BPHWC addr  //清除esp定律的断点
sto
sto//下面的就是用的大牛的解包代码了
sti //f7单步步入
cmt eip,"OEP!!!unpack now!!!"
//解包
var temp
var mname
mov mname, eip
mov temp, eip
mov [temp], "mbunpack.dll"
add temp, 0C
mov [temp], #00#
inc temp

var fname
mov fname, temp
mov [temp], "MBUNPACK_ALL@0"
add temp, 0E
mov [temp], #00#
inc temp

var uep
mov uep, temp
mov [temp], #68#
inc temp
mov [temp], mname
add temp, 4

asm temp, "call eax"
add temp, 2
asm temp, "call ebx"
add temp, 2
asm temp, "ret"

mov edx, mname
mov ebx, fname

exec
    push edx
    call LoadLibraryA
    mov edx, eax
   
    push ebx
    push edx
    call GetProcAddress
    mov ebx, eax
   
    push edx
    call FreeLibrary
ende

cmp ebx, 100000
jb nolib

mov eip, uep

findmem #558BEC6A00FF7508E8????????59595DC20400#
mov eax, $RESULT
cmp eax, 0
jne okayb

findmem #558BEC8B45086A0050E8????????83C4085DC20400#
mov eax, $RESULT
cmp eax, 0
je failed

okayb:
mov temp, uep
add temp, 9
bphws temp, "x"
run
bphwc temp
ret
failed:
msg "Cannot unpack this file. Make sure EIP is at the EP of Molebox stub, no breakpoints are set and all exceptions are ignored! If everything is fine: Maybe the file is not packed with Molebox 2.x or it's packed with another packer too?"
ret

nolib:
msg "Loading mbunpack.dll failed! Make sure it's in the executable's directory, as well as filelen.exe!"
ret
脚本下载
飓风10.4提取脚本.rar (72.47 KB, 下载次数: 654)
把OD脚本编写参考文件也发出来吧
OD脚本编写资料与示例.rar (354.39 KB, 下载次数: 144)
大家给点分鼓励鼓励吧



发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

Arui 发表于 2012-10-5 14:15
谢谢分享啦,收下啦
liangliang0558 发表于 2012-10-5 14:17
awww 发表于 2012-10-5 14:47
1354669803 发表于 2012-10-5 17:08
感谢分享脚本
空白回忆 发表于 2012-10-9 19:59
谢谢分享,楼主怎么联系你,我想请教下问题

点评

论坛不可以留联系方式啊  发表于 2012-10-9 20:35
leadership25 发表于 2012-10-9 20:01
对脚本一窍不通哈。
zuxin521 发表于 2012-10-21 15:53
顶你哦,支持原创!
紫色风林 发表于 2012-10-30 10:11
谢谢分享...
qjlmj 发表于 2012-11-14 15:08
看一下...
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-12-25 01:00

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表