From: "David Pilger" Subject: Re: Re: What is more secure? HVM or PV ? Date: Mon, 25 Dec 2006 15:15:43 +0200 Message-ID: <280848580612250515o243279f8ue9fbd5ad37b2ec8d@mail.gmail.com> References: <280848580612180840k666dde6fmb02a04b69cd75da@mail.gmail.com> <280848580612190035s27e91e67l81511abc50cfae91@mail.gmail.com> <200612231752.42296.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200612231752.42296.mark.williamson@cl.cam.ac.uk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mark Williamson Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > For PV: > The explicit hypercall API would be one possible attack vector - exploiting > any bugs in Xen. The memory mapping interface could also be an attack vector > (including both the paravirtualised and various shadowing code paths). > > PV also could be attacked in principle via the frontend / backend drivers - if > the backend driver could be compromised and made to execute arbitrary code > (or even write abitrary code to dom0's filesystem / swapfile for later > executation) then it would be possible to take over the whole machine. > > The PV components have been in place for longer and have probably received > more scrutiny. The HVM components are rather complex and have received, I > think, less eyeballing. I'd guess (and it is really a guess) that I'd have > more confidence in PV from a security point of view, but that's definitely > not to say that there's anything specifically *wrong* with the HVM code, just > that it's less mature. > I agree, I think that because the PV API is also exposed to HVMs (PV-on-HVM), we can conclude that HVMs are theoretically less secure, becuase they have more attack vectors. David.