Skip to contentSkip to conversation

Implementing keystroke logger in VMM

DISCUSSION ZelluX 1 participant 1 message Jan 15, 2010

lore
Share & tools
lore

ZelluX

author
#0 lore raw

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.

Signature · 3 lines
Best regards,
Wang Yuanxuan
Parallel Processing Institute, Fudan University

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel