首页
社区
课程
招聘
[B]UsbTrace v1.2 注册算法简单分析[/B]
发表于: 2005-12-28 16:57 20734

[B]UsbTrace v1.2 注册算法简单分析[/B]

2005-12-28 16:57
20734
0043EC30    .  64:A1 00>mov eax,dword ptr fs:[0]
0043EC36    .  6A FF    push -1
0043EC38    .  68 B8144>push USBTrace.004814B8
0043EC3D    .  50       push eax
0043EC3E    .  64:8925 >mov dword ptr fs:[0],esp
0043EC45    .  83EC 08  sub esp,8
0043EC48    .  53       push ebx
0043EC49    .  55       push ebp
0043EC4A    .  56       push esi
0043EC4B    .  57       push edi
0043EC4C    .  8BF1     mov esi,ecx
0043EC4E    .  6A 01    push 1
0043EC50    .  E8 2A370>call USBTrace.0046237F
0043EC55    .  E8 08600>call USBTrace.00464C62
0043EC5A    .  85C0     test eax,eax
0043EC5C    .  74 0B    je short USBTrace.0043EC69               ===>
0043EC5E    .  8B10     mov edx,dword ptr ds:[eax]
0043EC60    .  8BC8     mov ecx,eax
0043EC62    .  FF52 74  call dword ptr ds:[edx+74]
0043EC65    .  8BE8     mov ebp,eax
0043EC67    .  EB 02    jmp short USBTrace.0043EC6B
0043EC69    >  33ED     xor ebp,ebp
0043EC6B    >  51       push ecx
0043EC6C    .  8D7E 5C  lea edi,dword ptr ds:[esi+5C]
0043EC6F    .  8BCC     mov ecx,esp
0043EC71    .  896424 1>mov dword ptr ss:[esp+14],esp
0043EC75    .  57       push edi
0043EC76    .  E8 17460>call USBTrace.00463292
0043EC7B    .  51       push ecx
0043EC7C    .  8D5E 60  lea ebx,dword ptr ds:[esi+60]
0043EC7F    .  8BCC     mov ecx,esp
0043EC81    .  896424 1>mov dword ptr ss:[esp+1C],esp
0043EC85    .  53       push ebx
0043EC86    .  C74424 2>mov dword ptr ss:[esp+2C],0
0043EC8E    .  E8 FF450>call USBTrace.00463292
0043EC93    .  8BCD     mov ecx,ebp                              ; |
0043EC95    .  C74424 2>mov dword ptr ss:[esp+28],-1             ; |
0043EC9D    .  E8 AEF0F>call USBTrace.0043DD50                   ; \USBTrace.0043DD50
0043ECA2    .  85C0     test eax,eax                             ===>eax是call的返回值,eax=1则成功,eax=0则失败
0043ECA4    .  74 60    je short USBTrace.0043ED06               ===>不能跳
0043ECA6    .  E8 45830>call USBTrace.00476FF0
0043ECAB    .  8B68 04  mov ebp,dword ptr ds:[eax+4]
0043ECAE    .  8B03     mov eax,dword ptr ds:[ebx]
0043ECB0    .  50       push eax                                 ; /Arg3
0043ECB1    .  68 ACB74>push USBTrace.004AB7AC                   ; |Arg2 = 004AB7AC ASCII "UserName"
0043ECB6    .  68 A4B74>push USBTrace.004AB7A4                   ; |Arg1 = 004AB7A4 ASCII "RegInfo"
0043ECBB    .  8BCD     mov ecx,ebp                              ; |
0043ECBD    .  E8 F8B90>call USBTrace.0046A6BA                   ; \USBTrace.0046A6BA
0043ECC2    .  8B0F     mov ecx,dword ptr ds:[edi]
0043ECC4    .  51       push ecx                                 ; /Arg3
0043ECC5    .  68 9CB74>push USBTrace.004AB79C                   ; |Arg2 = 004AB79C ASCII "RegCode"
0043ECCA    .  68 A4B74>push USBTrace.004AB7A4                   ; |Arg1 = 004AB7A4 ASCII "RegInfo"
0043ECCF    .  8BCD     mov ecx,ebp                              ; |
0043ECD1    .  E8 E4B90>call USBTrace.0046A6BA                   ; \USBTrace.0046A6BA
0043ECD6    .  6A 40    push 40
0043ECD8    .  68 A4B14>push USBTrace.004AB1A4                   ;  ASCII "USBTrace"
0043ECDD    .  68 64B84>push USBTrace.004AB864                   ;  ASCII "Congratulations. You have successfully registered 

USBTrace"
0043ECE2    .  8BCE     mov ecx,esi
0043ECE4    .  E8 912A0>call USBTrace.0046177A
0043ECE9    .  8B16     mov edx,dword ptr ds:[esi]
0043ECEB    .  8BCE     mov ecx,esi
0043ECED    .  FF92 C40>call dword ptr ds:[edx+C4]
0043ECF3    .  8B4C24 1>mov ecx,dword ptr ss:[esp+18]
0043ECF7    .  64:890D >mov dword ptr fs:[0],ecx
0043ECFE    .  5F       pop edi
0043ECFF    .  5E       pop esi
0043ED00    .  5D       pop ebp
0043ED01    .  5B       pop ebx
0043ED02    .  83C4 14  add esp,14
0043ED05    .  C3       retn
0043ED06    >  6A 30    push 30
0043ED08    .  68 50B84>push USBTrace.004AB850                   ;  ASCII "Registration Failed"
0043ED0D    .  68 34B84>push USBTrace.004AB834                   ;  ASCII "Invalid registration code"
0043ED12    .  8BCE     mov ecx,esi
0043ED14    .  E8 612A0>call USBTrace.0046177A
0043ED19    .  8B06     mov eax,dword ptr ds:[esi]
0043ED1B    .  8BCE     mov ecx,esi
0043ED1D    .  FF90 C80>call dword ptr ds:[eax+C8]
0043ED23    .  8B4C24 1>mov ecx,dword ptr ss:[esp+18]
0043ED27    .  5F       pop edi
0043ED28    .  5E       pop esi
0043ED29    .  5D       pop ebp
0043ED2A    .  64:890D >mov dword ptr fs:[0],ecx
0043ED31    .  5B       pop ebx
0043ED32    .  83C4 14  add esp,14
0043ED35    .  C3       retn
0043DD50   /$  6A FF    push -1
0043DD52   |.  68 60134>push USBTrace.00481360                   ;  SE handler installation
0043DD57   |.  64:A1 00>mov eax,dword ptr fs:[0]
0043DD5D   |.  50       push eax
0043DD5E   |.  64:8925 >mov dword ptr fs:[0],esp
0043DD65   |.  83EC 0C  sub esp,0C
0043DD68   |.  56       push esi
0043DD69   |.  57       push edi
0043DD6A   |.  8BF9     mov edi,ecx
0043DD6C   |.  C74424 1>mov dword ptr ss:[esp+1C],0
0043DD74   |.  A1 A0DD4>mov eax,dword ptr ds:[4ADDA0]
0043DD79   |.  894424 0>mov dword ptr ss:[esp+C],eax
0043DD7D   |.  894424 0>mov dword ptr ss:[esp+8],eax
0043DD81   |.  8D4424 0>lea eax,dword ptr ss:[esp+C]
0043DD85   |.  8D5424 2>lea edx,dword ptr ss:[esp+24]
0043DD89   |.  50       push eax
0043DD8A   |.  51       push ecx
0043DD8B   |.  8BCC     mov ecx,esp
0043DD8D   |.  896424 1>mov dword ptr ss:[esp+18],esp
0043DD91   |.  52       push edx
0043DD92   |.  C64424 2>mov byte ptr ss:[esp+28],3
0043DD97   |.  E8 F6540>call USBTrace.00463292
0043DD9C   |.  8BCF     mov ecx,edi                              ; |
0043DD9E   |.  E8 DD000>call USBTrace.0043DE80                   ; \USBTrace.0043DE80 ==》这个call要跟进
0043DDA3   |.  8BF0     mov esi,eax                              ;eax是标志,应该为1
0043DDA5   |.  85F6     test esi,esi                        
0043DDA7   |.  74 3F    je short USBTrace.0043DDE8
0043DDA9   |.  8D4424 2>lea eax,dword ptr ss:[esp+28]
0043DDAD   |.  8D4C24 0>lea ecx,dword ptr ss:[esp+8]
0043DDB1   |.  50       push eax
0043DDB2   |.  E8 9F580>call USBTrace.00463656
0043DDB7   |.  8D4C24 0>lea ecx,dword ptr ss:[esp+C]
0043DDBB   |.  51       push ecx
0043DDBC   |.  8BCF     mov ecx,edi
0043DDBE   |.  E8 7D000>call USBTrace.0043DE40
0043DDC3   |.  8D5424 0>lea edx,dword ptr ss:[esp+8]
0043DDC7   |.  8BCF     mov ecx,edi
0043DDC9   |.  52       push edx
0043DDCA   |.  E8 71000>call USBTrace.0043DE40
0043DDCF   |.  8B4424 0>mov eax,dword ptr ss:[esp+8]
0043DDD3   |.  8B4C24 0>mov ecx,dword ptr ss:[esp+C]
0043DDD7   |.  50       push eax                                 ; /Arg2=假注册码
0043DDD8   |.  51       push ecx                                 ; |Arg1=真注册码
0043DDD9   |.  E8 E8FC0>call USBTrace.0044DAC6                   ; \USBTrace.0044DAC6
0043DDDE   |.  8BF0     mov esi,eax                               ;eax为1,正确;为0,错误
0043DDE0   |.  83C4 08  add esp,8
0043DDE3   |.  F7DE     neg esi
0043DDE5   |.  1BF6     sbb esi,esi
0043DDE7   |.  46       inc esi
0043DDE8   |>  8D4C24 0>lea ecx,dword ptr ss:[esp+8]
0043DDEC   |.  C64424 1>mov byte ptr ss:[esp+1C],2
0043DDF1   |.  E8 27570>call USBTrace.0046351D
0043DDF6   |.  8D4C24 0>lea ecx,dword ptr ss:[esp+C]
0043DDFA   |.  C64424 1>mov byte ptr ss:[esp+1C],1
0043DDFF   |.  E8 19570>call USBTrace.0046351D
0043DE04   |.  8D4C24 2>lea ecx,dword ptr ss:[esp+24]
0043DE08   |.  C64424 1>mov byte ptr ss:[esp+1C],0
0043DE0D   |.  E8 0B570>call USBTrace.0046351D
0043DE12   |.  8D4C24 2>lea ecx,dword ptr ss:[esp+28]
0043DE16   |.  C74424 1>mov dword ptr ss:[esp+1C],-1
0043DE1E   |.  E8 FA560>call USBTrace.0046351D
0043DE23   |.  8B4C24 1>mov ecx,dword ptr ss:[esp+14]
0043DE27   |.  8BC6     mov eax,esi
0043DE29   |.  5F       pop edi
0043DE2A   |.  64:890D >mov dword ptr fs:[0],ecx
0043DE31   |.  5E       pop esi
0043DE32   |.  83C4 18  add esp,18
0043DE35   \.  C2 0800  retn 8
0043DE80   /$  6A FF    push -1
0043DE82   |.  68 A4134>push USBTrace.004813A4                   ;  SE handler installation
0043DE87   |.  64:A1 00>mov eax,dword ptr fs:[0]
0043DE8D   |.  50       push eax
0043DE8E   |.  64:8925 >mov dword ptr fs:[0],esp
0043DE95   |.  81EC 300>sub esp,130
0043DE9B   |.  53       push ebx
0043DE9C   |.  55       push ebp
0043DE9D   |.  56       push esi
0043DE9E   |.  57       push edi
0043DE9F   |.  A1 A0DD4>mov eax,dword ptr ds:[4ADDA0]
0043DEA4   |.  33F6     xor esi,esi
0043DEA6   |.  89B424 4>mov dword ptr ss:[esp+148],esi
0043DEAD   |.  33ED     xor ebp,ebp
0043DEAF   |.  894424 3>mov dword ptr ss:[esp+34],eax
0043DEB3   |.  897424 2>mov dword ptr ss:[esp+28],esi
0043DEB7   |.  897424 2>mov dword ptr ss:[esp+24],esi
0043DEBB   |.  897424 3>mov dword ptr ss:[esp+38],esi
0043DEBF   |.  33FF     xor edi,edi
0043DEC1   |.  894424 1>mov dword ptr ss:[esp+18],eax
0043DEC5   |.  894424 1>mov dword ptr ss:[esp+1C],eax
0043DEC9   |.  894424 1>mov dword ptr ss:[esp+14],eax
0043DECD   |.  8B8424 5>mov eax,dword ptr ss:[esp+150]
0043DED4   |.  C68424 4>mov byte ptr ss:[esp+148],4
0043DEDC   |.  8B40 F8  mov eax,dword ptr ds:[eax-8]              ;用户名的长度
0043DEDF   |.  83F8 04  cmp eax,4                                ;长度要大于等于4
0043DEE2   |.  0F8C F40>jl USBTrace.0043E0DC
0043DEE8   |.  E8 03910>call USBTrace.00476FF0
0043DEED   |.  8B40 08  mov eax,dword ptr ds:[eax+8]             ;eax=00400000,上面call的返回值
0043DEF0   |.  8D4C24 3>lea ecx,dword ptr ss:[esp+3C]
0043DEF4   |.  68 04010>push 104                                 ; /BufSize = 104 (260.)
0043DEF9   |.  51       push ecx                                 ; |PathBuffer=0012F228
0043DEFA   |.  50       push eax                                 ; |hModule = 00400000 (USBTrace)
0043DEFB   |.  FF15 EC4>call dword ptr ds:[<&KERNEL32.GetModuleF>; \GetModuleFileNameA
0043DF01   |.  85C0     test eax,eax
0043DF03   |.  0F84 D30>je USBTrace.0043E0DC
0043DF09   |.  8D5424 2>lea edx,dword ptr ss:[esp+24]
0043DF0D   |.  8D4424 3>lea eax,dword ptr ss:[esp+3C]
0043DF11   |.  52       push edx                                 ; /pHandle
0043DF12   |.  50       push eax                                 ; |FileName
0043DF13   |.  E8 84700>call <jmp.&VERSION.GetFileVersionInfoSiz>; \GetFileVersionInfoSizeA
0043DF18   |.  8BD8     mov ebx,eax
0043DF1A   |.  85DB     test ebx,ebx
0043DF1C   |.  0F84 BA0>je USBTrace.0043E0DC
0043DF22   |.  53       push ebx
0043DF23   |.  E8 27040>call USBTrace.0044E34F
0043DF28   |.  83C4 04  add esp,4
0043DF2B   |.  894424 2>mov dword ptr ss:[esp+20],eax
0043DF2F   |.  85C0     test eax,eax
0043DF31   |.  0F84 A50>je USBTrace.0043E0DC
0043DF37   |.  8B4C24 2>mov ecx,dword ptr ss:[esp+24]
0043DF3B   |.  50       push eax                                 ; /Buffer=003F82B0
0043DF3C   |.  53       push ebx                                 ; |BufSize
0043DF3D   |.  8D5424 4>lea edx,dword ptr ss:[esp+44]            ; |
0043DF41   |.  51       push ecx                                 ; |Reserved
0043DF42   |.  52       push edx                                 ; |FileName
0043DF43   |.  E8 4E700>call <jmp.&VERSION.GetFileVersionInfoA>  ; \GetFileVersionInfoA
0043DF48   |.  85C0     test eax,eax
0043DF4A   |.  0F84 7F0>je USBTrace.0043E0CF
0043DF50   |.  8B5424 2>mov edx,dword ptr ss:[esp+20]            ;003F82B0,Buffer
0043DF54   |.  8D4424 3>lea eax,dword ptr ss:[esp+38]
0043DF58   |.  8D4C24 2>lea ecx,dword ptr ss:[esp+28]
0043DF5C   |.  50       push eax                                 ; /pValueSize
0043DF5D   |.  51       push ecx                                 ; |ppValue
0043DF5E   |.  68 00E94>push USBTrace.0049E900                   ; |pSubBlock = "\"
0043DF63   |.  52       push edx                                 ; |pBlock=003F82B0
0043DF64   |.  E8 27700>call <jmp.&VERSION.VerQueryValueA>       ; \VerQueryValueA

[招生]系统0day安全班,企业级设备固件漏洞挖掘,Linux平台漏洞挖掘!

收藏
免费 7
支持
分享
最新回复 (30)
雪    币: 243
活跃值: (190)
能力值: ( LV9,RANK:210 )
在线值:
发帖
回帖
粉丝
2
这个软件有什么用处?请教一下
2005-12-28 17:12
0
雪    币: 98803
活跃值: (201054)
能力值: (RANK:10 )
在线值:
发帖
回帖
粉丝
3
sustain!
2005-12-28 17:16
0
雪    币: 440
活跃值: (832)
能力值: ( LV9,RANK:690 )
在线值:
发帖
回帖
粉丝
4
最初由 windayjian 发布
这个软件有什么用处?请教一下

http://forum.exetools.com/showthread.php?t=8563&highlight=usbtrace
From exetools by taos:

Info:
USBTrace is an easy to use and powerful USB protocol analyzer software.
USBTrace can monitor USB requests at host controllers, hubs and devices.
This is a 100% software product. USBTrace can capture all USB request
blocks (URBs) transferred between the device and host controller.
USBTrace supports Windows 2000, Windows XP and Windows 2003 Server operating systems.
The USB Device/Driver Views of USBTrace displays information about
all USB hardware and software installed in your system. The USB Device View
shows the host controllers, hubs, ports and devices present. The corresponding
device descriptors, including device and configuration descriptor, interface
descriptors, endpoint descriptors and string descriptors are also displayed.
The USB Driver View shows all USB drivers (host controller, hub, device)
loaded in your system, the device objects created by those drivers and
their corresponding device stack.

Link:
hXXp://rapidshare.de/files/8375490/USB_Trace_v1.2_Full-SLZ.rar.html

Why?:
Usefull to USB dongles.

2005-12-28 17:24
0
雪    币: 234
活跃值: (370)
能力值: ( LV9,RANK:530 )
在线值:
发帖
回帖
粉丝
5
2005-12-28 17:26
0
雪    币: 229
活跃值: (70)
能力值: ( LV6,RANK:90 )
在线值:
发帖
回帖
粉丝
6
2005-12-28 17:55
0
雪    币: 221
活跃值: (137)
能力值: ( LV9,RANK:170 )
在线值:
发帖
回帖
粉丝
7
2005-12-28 19:24
0
雪    币: 370
活跃值: (15)
能力值: ( LV9,RANK:170 )
在线值:
发帖
回帖
粉丝
8
不知道对破解USB狗有帮助?
菜鸟发问,勿笑

-----------------
知者不言,言者不知
2005-12-28 19:33
0
雪    币: 208
活跃值: (11)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
9
学习
2005-12-28 20:05
0
雪    币: 817
活跃值: (1927)
能力值: ( LV12,RANK:2670 )
在线值:
发帖
回帖
粉丝
10
偶早就玩过了~~都拖人汉化了
http://www.hanzify.org/index.php?Go=Show::List&ID=9673

2005-12-28 22:17
0
雪    币: 215
活跃值: (40)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
11
软件运行时会生成一个巨大的临时文件 _utrace_logfile_tmp ,256Mb,临时日志文件?需要这么大么?
2005-12-28 22:26
0
雪    币: 440
活跃值: (832)
能力值: ( LV9,RANK:690 )
在线值:
发帖
回帖
粉丝
12
最初由 KuNgBiM 发布
偶早就玩过了~~都拖人汉化了
http://www.hanzify.org/index.php?Go=Show::List&ID=9673



没看到。不好意思。
写这篇文章的理由在破解说明中说得很清楚了。
2005-12-28 22:31
0
雪    币: 215
活跃值: (40)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
13
最初由 快雪时晴 发布
不知道对破解USB狗有帮助?
菜鸟发问,勿笑
........


上面 Winny 说了:
Why?:
Usefull to USB dongles.

怎么用?呵呵,去问他
2005-12-28 22:32
0
雪    币: 440
活跃值: (832)
能力值: ( LV9,RANK:690 )
在线值:
发帖
回帖
粉丝
14
最初由 SiMON 发布



上面 Winny 说了:
Why?:
........

是exetools的taos说的
大家可以去看原帖。
2005-12-28 22:35
0
雪    币: 233
活跃值: (130)
能力值: ( LV8,RANK:130 )
在线值:
发帖
回帖
粉丝
15
名必留强贴啊
2005-12-28 22:41
0
雪    币: 243
活跃值: (190)
能力值: ( LV9,RANK:210 )
在线值:
发帖
回帖
粉丝
16
原来这样用,一般比较难用上吧
2005-12-28 23:02
0
雪    币: 440
活跃值: (832)
能力值: ( LV9,RANK:690 )
在线值:
发帖
回帖
粉丝
17
最初由 windayjian 发布
原来这样用,一般比较难用上吧


最好去看看帮助文档。
2005-12-28 23:06
0
雪    币: 817
活跃值: (1927)
能力值: ( LV12,RANK:2670 )
在线值:
发帖
回帖
粉丝
18
最初由 winndy 发布

没看到。不好意思。
写这篇文章的理由在破解说明中说得很清楚了。


呵呵,我回帖的时候忘了加一句,支持算法!
2005-12-29 03:19
0
雪    币: 1242
活跃值: (1684)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
19
这个版本刚出来时用了一下,我用USB键盘,win2k,跟踪键盘,系统崩溃
2005-12-29 08:30
0
雪    币: 440
活跃值: (832)
能力值: ( LV9,RANK:690 )
在线值:
发帖
回帖
粉丝
20
最初由 KuNgBiM 发布


呵呵,我回帖的时候忘了加一句,支持算法!


汗~
2005-12-29 08:46
0
雪    币: 440
活跃值: (832)
能力值: ( LV9,RANK:690 )
在线值:
发帖
回帖
粉丝
21
最初由 龙岱客 发布
这个版本刚出来时用了一下,我用USB键盘,win2k,跟踪键盘,系统崩溃

不知1.2的还会崩溃不?
2005-12-29 08:48
0
雪    币: 257
活跃值: (105)
能力值: ( LV8,RANK:130 )
在线值:
发帖
回帖
粉丝
22
强,学习……
2005-12-29 08:59
0
雪    币: 154
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
23
县支持一下再说
2005-12-29 14:43
0
雪    币: 248
活跃值: (10)
能力值: ( LV6,RANK:90 )
在线值:
发帖
回帖
粉丝
24
支持
2005-12-29 16:35
0
雪    币: 1242
活跃值: (1684)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
25
最初由 winndy 发布

不知1.2的还会崩溃不?


我用的就是1.2,,我是说1.2这个版本刚出来时试用的
2005-12-29 17:40
0
游客
登录 | 注册 方可回帖
返回
//