All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: big strong <fangtuo90@gmail.com>,
	Dario Faggioli <dario.faggioli@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: how can I find hypercall page address?
Date: Tue, 11 Aug 2015 10:21:23 +0100	[thread overview]
Message-ID: <55C9BE93.7010203@citrix.com> (raw)
In-Reply-To: <CAFnE1f0aYVktuy8fNFVjjcDnngpWnjkY-E5+pc5mz5Z4kh-2vA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1374 bytes --]

On 11/08/15 03:44, big strong wrote:
> My goal is to intercept hyprcalls to detect malicious calls. So I need
> firstly find where the hypercalls are.

As I have said before, a guest may have an arbitrary number of hypercall
pages.  Furthermore, the hypercall page is merely a convenience; nothing
prevents a guest manually issuing hypercalls.

> My plan is to locate hypercall page first, then walk through the
> hypercall page to get address of hyperccalls. If there is any other
> solutions, please let me know. Thanks very much.

It sounds like you want VM introspection, but it doesn't work like
this.  try http://libvmi.com/ as a starting point.

~Andrew

>
> 2015-08-10 23:04 GMT+08:00 Dario Faggioli <dario.faggioli@citrix.com
> <mailto:dario.faggioli@citrix.com>>:
>
>     On Sat, 2015-08-08 at 08:02 +0800, big strong wrote:
>     > I think I've stated clearly what I want to do.
>     >
>     Well...
>     >
>     > |I want to locate the hypercall page address when creating a new
>     domU,
>     > so as to locate hypercalls.
>     >
>     Ok. What for?
>
>     Dario
>
>     --
>     <<This happens because I choose it to happen!>> (Raistlin Majere)
>     -----------------------------------------------------------------
>     Dario Faggioli, Ph.D, http://about.me/dario.faggioli
>     Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
>
>


[-- Attachment #1.2: Type: text/html, Size: 3243 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  reply	other threads:[~2015-08-11  9:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06  9:46 how can I find hypercall page address? big strong
2015-08-06  9:49 ` Andrew Cooper
2015-08-07  1:45   ` big strong
2015-08-07  1:52     ` big strong
2015-08-07 13:06       ` Andrew Cooper
2015-08-08  0:02         ` big strong
2015-08-10 15:04           ` Dario Faggioli
2015-08-11  2:44             ` big strong
2015-08-11  9:21               ` Andrew Cooper [this message]
2015-08-14  3:13                 ` big strong

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=55C9BE93.7010203@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=dario.faggioli@citrix.com \
    --cc=fangtuo90@gmail.com \
    --cc=xen-devel@lists.xen.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.