From: Shiva V Subject: Re: Logging Information Date: Wed, 13 Aug 2014 21:25:05 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from plane.gmane.org ([80.91.229.3]:42367 "EHLO plane.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753245AbaHMVZ0 (ORCPT ); Wed, 13 Aug 2014 17:25:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XHg2p-0004kh-TY for kvm@vger.kernel.org; Wed, 13 Aug 2014 23:25:20 +0200 Received: from 192.12.88.159 ([192.12.88.159]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Aug 2014 23:25:19 +0200 Received: from shivaramakrishnan740 by 192.12.88.159 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Aug 2014 23:25:19 +0200 Sender: kvm-owner@vger.kernel.org List-ID: Hello, I am exploring ideas for clients in cloud to be able to implement functions where there could verify the services offered by the cloud provider like metering services. Idea is I am using the concept of write execute protection scheme. And also I am using TamperEvident Log. I am making use of WP bit to protect pagetable entries so that any modifications is captured in the log. Code pages of the log are also read only and hence any modifications to it is also captured. My questions are: What are the important events that one needs to log so that one could have reasonable overhead? Currently, I have large overhead since any update to page table/modifications creates a trap and in cloud, this is huge. How can one create tamperevident logging mechanism? How could client and the provider verify that each events are logged as intended without a miss. How can one create a logging mechanism (say per client basis). In that case, if required we could replay the log so that we could capture the malicious event.