From: "Wu Bingzheng" Subject: Re: VMM detection Date: Thu, 5 Mar 2009 11:15:54 +0800 (CST) Message-ID: <28765877.152741236222954953.JavaMail.coremail@bj163app62.163.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0257034452==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0257034452== Content-Type: multipart/alternative; boundary="----=_Part_41265_25691339.1236222954952" ------=_Part_41265_25691339.1236222954952 Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 7bit > It would be impossible to hide virtualisation from a PV guest kernel of > course, and very hard to hide it from a PV guest application also. > > -- Keir So do you mean that in HVM guest, the SGDT will get the GDT of guest, but not Xen? It lists 17 instructions in Pentium instruction set, which is virtualization sensitive and unprivileged, including SGDT, at paper named Analysis of the IntelPentium's Ability to Support aSecure Virtual Machine Monitor . Using these instructions, we can detect VMM on a PV guest. I want to know if we can use these instructions to detect VMM on a HVM guest. Thanks, Wu ------=_Part_41265_25691339.1236222954952 Content-Type: text/html; charset=gbk Content-Transfer-Encoding: quoted-printable > It would be impossible to hide virt= ualisation from a PV guest kernel of
>&= nbsp;course, and very hard to hide it fr= om a PV guest application also.
> 
&= gt; -- Keir

So do you mean that i= n HVM guest, the SGDT will get the = GDT of guest, but not Xen?

It lists&nb= sp;17 instructions in Pentium instruction set,&nbs= p;which is virtualization sensitive
and unprivileged= , including SGDT, at paper named
Analysis = of the IntelPentium's Ability to Support aSec= ure Virtual Machine Monitor
<http://www.usenix.org/eve= nts/sec00/full_papers/robin/robin_html/index.html>.
Using these&= nbsp;instructions, we can detect VMM on a&nbs= p;PV guest.

I want to know if we = can use these instructions to detect VMM = ;on a HVM guest.

Thanks,
Wu

=
=CD=F8=D2=D7=D3=CA=CF=E4=A3=AC=D6=D0=B9=FA= =B5=DA=D2=BB=B4=F3=B5=E7=D7=D3=D3=CA=BC=FE=B7=FE=CE=F1=C9=CC
------=_Part_41265_25691339.1236222954952-- --===============0257034452== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0257034452==--