- UID
- 42386
注册时间2007-12-21
阅读权限8
最后登录1970-1-1
初入江湖
该用户从未签到
|
发表于 2008-2-26 00:46:21
|
显示全部楼层
我简单的思路,看对你有没用处。
ESP定律脱壳后,OD载入运行软件后,用超级字符串查找到
510A989C |. BA EC980A51 mov edx, 510A98EC ; 请重新启动程序验正注册码! 双击进入,
在前一个CALL下断。(510A9890 |. E8 CBDEFFFF call 510A7760),
注册软件停在断点,取消断点,F7进CALL,
510A7760 /$ 55 push ebp
510A7761 |. 8BEC mov ebp, esp
510A7763 |. 81C4 28FDFFFF add esp, -2D8
510A7769 |. 53 push ebx
510A776A |. 33D2 xor edx, edx
510A776C |. 8995 28FDFFFF mov dword ptr [ebp-2D8], edx
510A7772 |. 8995 2CFDFFFF mov dword ptr [ebp-2D4], edx
510A7778 |. 8955 FC mov dword ptr [ebp-4], edx
510A777B |. 8BD8 mov ebx, eax
510A777D |. 33C0 xor eax, eax
510A777F |. 55 push ebp
510A7780 |. 68 6D780A51 push 510A786D
510A7785 |. 64:FF30 push dword ptr fs:[eax]
510A7788 |. 64:8920 mov dword ptr fs:[eax], esp
510A778B |. 68 00010000 push 100 ; /BufSize = 100 (256.)
510A7790 |. 8D85 FCFEFFFF lea eax, dword ptr [ebp-104] ; |
510A7796 |. 50 push eax ; |Buffer
510A7797 |. E8 04FDF5FF call <jmp.&kernel32.GetSystemDirector>; \GetSystemDirectoryA
510A779C |. 8D95 2CFDFFFF lea edx, dword ptr [ebp-2D4]
510A77A2 |. 8D85 FCFEFFFF lea eax, dword ptr [ebp-104]
510A77A8 |. E8 A727F6FF call 51009F54
510A77AD |. 8B95 2CFDFFFF mov edx, dword ptr [ebp-2D4]
510A77B3 |. 8D45 FC lea eax, dword ptr [ebp-4]
510A77B6 |. B9 84780A51 mov ecx, 510A7884 ; \tzi.dll
510A77BB |. E8 90D8F5FF call 51005050 "F7进CALL510A77C0 |. 8B55 FC mov edx, dword ptr [ebp-4]
510A77C3 |. 8D85 30FDFFFF lea eax, dword ptr [ebp-2D0]
510A77C9 |. E8 D2B6F5FF call 51002EA0
===========================================================
51005050 $ 85D2 test edx, edx "在此处Ctrl+R,右键“在每个命令上设置断点51005052 . 74 61 je short 510050B5
51005054 . 85C9 test ecx, ecx
51005056 .^ 0F84 44FDFFFF je 51004DA0
5100505C . 3B10 cmp edx, dword ptr [eax]
5100505E . 74 5C je short 510050BC
51005060 . 3B08 cmp ecx, dword ptr [eax]
51005062 . 74 0E je short 51005072
51005064 . 50 push eax
51005065 . 51 push ecx
51005066 . E8 35FDFFFF call 51004DA0
=============================================
重载入软件按6次运行出现提取机器码,一直按F8就能找到注册码了。 |
|