All of lore.kernel.org
 help / color / mirror / Atom feed
From: big strong <fangtuo90@gmail.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Dario Faggioli <dario.faggioli@citrix.com>, xen-devel@lists.xen.org
Subject: Re: how can I find hypercall page address?
Date: Fri, 14 Aug 2015 11:13:38 +0800	[thread overview]
Message-ID: <CAFnE1f2KTJRo8F0BpXEKQuzjuEyg8fibiOr6xx100h=6GOy2Cw@mail.gmail.com> (raw)
In-Reply-To: <55C9BE93.7010203@citrix.com>


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

Sorry for replying so late. Libvmi is used to substract information of
guest, such as system calls. But I don't think it can be used to intercept
hypercalls as hypercall is a behavior between guest and hypervisor while
syscall is a behavior between guest applications and guest kernel. Anyway,
trying to intercept hypercalls need firstly locate the address of
hypercalls. Could you provides any hints any that?

2015-08-11 17:21 GMT+08:00 Andrew Cooper <andrew.cooper3@citrix.com>:

> 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>:
>
>> 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: 3545 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-14  3:13 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
2015-08-14  3:13                 ` big strong [this message]

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='CAFnE1f2KTJRo8F0BpXEKQuzjuEyg8fibiOr6xx100h=6GOy2Cw@mail.gmail.com' \
    --to=fangtuo90@gmail.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=dario.faggioli@citrix.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.