From: ZelluX <zellux@gmail.com>
To: xen-devel@lists.xensource.com
Subject: Implementing keystroke logger in VMM
Date: Fri, 15 Jan 2010 20:20:19 +0800 [thread overview]
Message-ID: <e487823f1001150420j3cf08bdbr9c09717bdb3d3715@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 679 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 790 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2010-01-15 12:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e487823f1001150420j3cf08bdbr9c09717bdb3d3715@mail.gmail.com \
--to=zellux@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).