吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 8256|回复: 5
收起左侧

[C&C++ 转载] 几段虚拟机检测代码(附工程)

  [复制链接]
JoyChou 发表于 2013-6-26 11:31
本帖最后由 JoyChou 于 2013-6-26 11:37 编辑

自己封装了一个类。
只是针对VMware,VMBox不涉及到。

主机效果:
1.jpg

VMware效果:
2.jpg

VMP反虚拟机就是通过IN特权指令,贴一个VMX过检测的几行代码:
[C++] 纯文本查看 复制代码
#Anti Anti VMWARE 过In检测,其他过不了
monitor_control.restrict_backdoor = "TRUE"
disable_acceleration = "TRUE"
isolation.tools.getPtrLocation.disable = "TRUE" 
isolation.tools.setPtrLocation.disable = "TRUE" 
isolation.tools.setVersion.disable = "TRUE" 
isolation.tools.getVersion.disable = "TRUE" 
monitor_control.disable_directexec = "TRUE" 
monitor_control.disable_chksimd = "TRUE" 
monitor_control.disable_ntreloc = "TRUE" 
monitor_control.disable_selfmod = "TRUE" 
monitor_control.disable_reloc = "TRUE" 
monitor_control.disable_btinout = "TRUE" 
monitor_control.disable_btmemspace = "TRUE" 
monitor_control.disable_btpriv = "TRUE" 
monitor_control.disable_btseg = "TRUE" 
#Anti Anti VMWARE End


附件: AntiVirtualMachine.zip (23.72 KB, 下载次数: 248)




本帖被以下淘专辑推荐:

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

RedAngel丶 发表于 2013-6-26 11:49
膜拜大大
下来学习源码,希望能看的懂
ゞ尒╭ァ駿ぃ 发表于 2013-7-5 00:56
www52pojiecn 发表于 2014-1-15 12:04
九零-鑫鑫 发表于 2014-1-17 23:51
这么强大! 谢谢楼主分享
flowerqina 发表于 2014-1-18 10:07
谢谢分享!
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

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

GMT+8, 2024-6-12 01:56

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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