好友
阅读权限10
听众
最后登录1970-1-1
|
回帖奖励 +8 CB吾爱币
本帖最后由 小人物大智慧 于 2015-7-19 10:15 编辑
UPX脱壳 脱壳机伺候着
试运行 发现程序会创建三个线程 有个内置广告窗口
1,内置广告窗口就用师傅教程里说到的Restorator 将内置广告窗口大小设置为0 可视取消勾选
2,bp CreateThread
F9 断下后 栈回溯
这段应该是对话框的初始化函数
00402C50 /. 55 push ebp
00402C51 |. 8BEC mov ebp,esp
00402C53 |. 83EC 14 sub esp,0x14
00402C56 |. 894D EC mov [local.5],ecx
00402C59 |. 8B4D EC mov ecx,[local.5]
00402C5C |. E8 40D20000 call dumped1_.0040FEA1
00402C61 |. 6A 01 push 0x1 ; /Arg2 = 00000001
00402C63 |. 8B45 EC mov eax,[local.5] ; |
00402C66 |. 8B88 2C010000 mov ecx,dword ptr ds:[eax+0x12C] ; |
00402C6C |. 51 push ecx ; |Arg1
00402C6D |. 8B4D EC mov ecx,[local.5] ; |
00402C70 |. E8 0B030000 call dumped1_.00402F80 ; \dumped1_.00402F80
00402C75 |. 6A 00 push 0x0 ; /Arg2 = 00000000
00402C77 |. 8B55 EC mov edx,[local.5] ; |
00402C7A |. 8B82 2C010000 mov eax,dword ptr ds:[edx+0x12C] ; |
00402C80 |. 50 push eax ; |Arg1
00402C81 |. 8B4D EC mov ecx,[local.5] ; |
00402C84 |. E8 F7020000 call dumped1_.00402F80 ; \dumped1_.00402F80
00402C89 |. 8D4D F0 lea ecx,[local.4]
00402C8C |. 51 push ecx ; /Arg5
00402C8D |. 8D55 F0 lea edx,[local.4] ; |
00402C90 |. 52 push edx ; |Arg4
00402C91 |. 8D45 F0 lea eax,[local.4] ; |
00402C94 |. 50 push eax ; |Arg3
00402C95 |. 8D4D F0 lea ecx,[local.4] ; |
00402C98 |. 51 push ecx ; |Arg2
00402C99 |. 68 B81A5500 push dumped1_.00551AB8 ; |Arg1 = 00551AB8
00402C9E |. 8B4D EC mov ecx,[local.5] ; |
00402CA1 |. 81C1 B8000000 add ecx,0xB8 ; |
00402CA7 |. E8 54F7FFFF call dumped1_.00402400 ; \dumped1_.00402400
00402CAC |. E8 8FF8FFFF call dumped1_.00402540
00402CB1 |. E8 FAF9FFFF call dumped1_.004026B0
00402CB6 |. 6A 00 push 0x0 ; /pThreadId = NULL
00402CB8 |. 6A 00 push 0x0 ; |CreationFlags = 0
00402CBA |. 6A 00 push 0x0 ; |pThreadParm = NULL
00402CBC |. 68 F02B4000 push dumped1_.00402BF0 ; |ThreadFunction = dumped1_.00402BF0
00402CC1 |. 6A 00 push 0x0 ; |StackSize = 0x0
00402CC3 |. 6A 00 push 0x0 ; |pSecurity = NULL
00402CC5 |. FF15 2C745200 call dword ptr ds:[<&KERNEL32.CreateThre>; \CreateThread
00402CCB |. B8 01000000 mov eax,0x1
00402CD0 |. 8BE5 mov esp,ebp
00402CD2 |. 5D pop ebp
00402CD3 \. C3 retn
简单分析:
00402CAC |. E8 8FF8FFFF call dumped1_.00402540 功能:进程提权函数
00402CB1 |. E8 FAF9FFFF call dumped1_.004026B0 功能:锁定主页 操作注册表
00402CBC |. 68 F02B4000 push dumped1_.00402BF0 线程入口 功能:创建广告窗口 创建两个线程用来运行IE弹广告
修改方法:
00402CB1 nop
00402CB2 nop
00402CB3 nop
00402CB4 nop
00402CB5 nop
00402CB8 push 0x4
保存即可
http://pan.baidu.com/s/1nty1B0P 密码: qwj8
|
|