WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Implementing keystroke logger in VMM

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Implementing keystroke logger in VMM
From: ZelluX <zellux@xxxxxxxxx>
Date: Fri, 15 Jan 2010 20:20:19 +0800
Delivery-date: Fri, 15 Jan 2010 04:20:42 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=uN3dWl/AFt9r6yNicKLOZCeKksIbG9RuX7ioY1WUwrY=; b=YTK+ZmgC9lPr/gFilRkyWiU0Yy45O8txJR8a4orUnggvww4F8IamT5ohSnYxbHgZ4c +HHgYTl3XzU/oqzctiPo9g/ZESKX6SNYnMsfFJJ/RjjqFDP8xQgYp0f1GYPK0gPjPJfI PSwJuZwzSt1JGKl2mT+A855mxwEFXE6Zcz2nY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=b47TD3+v2WLSyki5JBHPF8qMlHPM+8v0zaJPLY89lhqj5BiizvOtEFyPW/P4N6cICs 75aRpA+z9AWN4LZBbfchH3rmV0x8T0Z9tknmT1CtnhtcRpleuJ6jZEjMRUK2FyQVWaHi Oy3UBgpBceqolhSTxrjElNEnAC+jOUaGJPnwc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, all

I want to sniffer keystrokes in Xen and filter some special characters before Domain 0 gets the keystrokes. It seems first I need to write a simple keyboard driver in Xen, and when an interrupt comes in, check whether it is keyboard interrupt. If  it is a keyboard interrupt, get the data by inb instruction, and do some logging and filtering work, then pass the interrupt again to Domain 0.

So my question is, after Xen calls inb to fetch the character, will Domain 0 be able to fetch the character again? If not, is it possible for Xen to fake a same character interrupt? 

Many thanks.

--
Best regards,
Wang Yuanxuan
Parallel Processing Institute, Fudan University
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Implementing keystroke logger in VMM, ZelluX <=