对 wine 的检测

   今天看到一种新的是沙箱 基于 wine 的 。看来以后 恶意软件得要检测下 自己是不是运行在wine 下面了

病毒行为分析工具 zerowine 给出了检测 wine 的方法

Detection of the WINE environment demonstrated to be extremely easy. In example, the registry key HKLM\Software\Wine or HKCU\Software\Wine can be opened to detect it. Another example: Check the file size of any Windows critical system file. When running under WINE, the files will be ridiculously small, while in a real Windows system it will have a (always) bigger size.

Another “advanced” detection technique: Open any critical Windows file and decompile the entry point. When running under WINE the function will decompile to the following 2 simple instructions:

.text:10001000                 public start

.text:10001000 start           proc near

.text:10001000                 mov     eax, 1

.text:10001005                 retn    4

.text:10001005 start           endp

For the lazy people: Just search for the following binary string B8 01 00 00 00 C2 04 00 at .text:10001000.

转载于:https://my.oschina.net/sincoder/blog/143443

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值