本帖最后由 Tron 于 2011-3-10 16:08 编辑
fzq198776 发表于 2011-3-10 15:59
该主题帖里的样本有两个,一个是反vmware虚拟机的,另一个是经过修改后可在vmware里运行的,MJ,你能告诉 ...
跳过相关代码了吧,原始文件函数sub_401D65这里是利用vmware 的backdoor检测是否在VMWARE下运行,把这个跳走就可以了
.text:00401D65
.text:00401D65 sub_401D65 proc near ; CODE XREF: sub_401DEB+1Cp
.text:00401D65
.text:00401D65 var_1C = dword ptr -1Ch
.text:00401D65 var_18 = dword ptr -18h
.text:00401D65 var_10 = dword ptr -10h
.text:00401D65 var_4 = dword ptr -4
.text:00401D65
.text:00401D65 push ebp
.text:00401D66 mov ebp, esp
.text:00401D68 push 0FFFFFFFFh
.text:00401D6A push offset unk_403470
.text:00401D6F push offset loc_402260
.text:00401D74 mov eax, large fs:0
.text:00401D7A push eax
.text:00401D7B mov large fs:0, esp
.text:00401D82 sub esp, 0Ch
.text:00401D85 push ebx
.text:00401D86 push esi
.text:00401D87 push edi
.text:00401D88 mov [ebp+var_18], esp
.text:00401D8B and [ebp+var_4], 0
.text:00401D8F nop
.text:00401D90 nop
.text:00401D91 nop
.text:00401D92 nop
.text:00401D93 nop
.text:00401D94 nop
.text:00401D95 nop
.text:00401D96 nop
.text:00401D97 nop
.text:00401D98 nop
.text:00401D99 nop
.text:00401D9A nop
.text:00401D9B nop
.text:00401D9C nop
.text:00401D9D nop
.text:00401D9E nop
.text:00401D9F nop
.text:00401DA0 nop
.text:00401DA1 nop
.text:00401DA2 nop
.text:00401DA3 nop
.text:00401DA4 push ebx
.text:00401DA5 mov eax, 564D5868h
.text:00401DAA mov ebx, 8685D465h
.text:00401DAF mov ecx, 0Ah
.text:00401DB4 mov dx, 5658h
.text:00401DB8 in eax, dx
.text:00401DB9 mov [ebp+var_1C], ebx
.text:00401DBC pop ebx
.text:00401DBD or [ebp+var_4], 0FFFFFFFFh
.text:00401DC1 xor eax, eax
.text:00401DC3 cmp [ebp+var_1C], 564D5868h
.text:00401DCA setz al
.text:00401DCD jmp short loc_401DDC
|