All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC V4 0/5] Basic guest memory introspection support
@ 2014-08-04 11:30 Razvan Cojocaru
  0 siblings, 0 replies; 2+ messages in thread
From: Razvan Cojocaru @ 2014-08-04 11:30 UTC (permalink / raw)
  To: xen-devel
  Cc: Kevin Tian, Ian Campbell, Stefano Stabellini, Andrew Cooper,
	Ian Jackson, Jan Beulich, Eddie Dong, Jun Nakajima

Hello,

The issues discussed (thanks!) for the V3 series have been addressed in V4.

As stated originally, we had to modify Xen in order to be able to detect
rootkits in HVM guests, in a way that allows an application that runs in
dom0 (or a similarly privileged domain) to control what the guest is
allowed to do once a threat is detected. This has been done over the
mem_event mechanism.

To this end, we needed to:

1. Be able to execute the current instruction without allowing it to
write to memory. This is done based on new mem_event response
fields sent from the controlling application.

2. Have the guest as responsive as possible amid all the processing. So
we had to cache some information with each mem_event sent.

3. Not allow the hypervisor to disable sending information about
interesting MSR events.

4. Add an additional mem_event type, namely a VMCALL event - in order to
do its work, our application occasionally triggers VMCALLs in the guest
(not included in the current series, but included in the initial RFC
series).

5. Add an additional libxc function that allows triggering page faults
in the guest.

Changes since V3:
 - Addressed discussed issues (please see individual patches for
   details).

Patches:

xen: Handle resumed instruction based on previous mem_event reply
xen, libxc: Request page fault injection via libxc
xen: Force-enable relevant MSR events; optimize the number of sent MSR
events
xen: Optimize introspection access to guest state
xen: Emulate with no writes


Thanks,
Razvan Cojocaru

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH RFC V4 0/5] Basic guest memory introspection support
@ 2014-08-06 15:58 Razvan Cojocaru
  0 siblings, 0 replies; 2+ messages in thread
From: Razvan Cojocaru @ 2014-08-06 15:58 UTC (permalink / raw)
  To: xen-devel
  Cc: Kevin Tian, Ian Campbell, Stefano Stabellini, Andrew Cooper,
	Ian Jackson, Jan Beulich, Eddie Dong, Jun Nakajima

Hello,

Thank you for your comments (with special thanks to Jan Beulich), I've
addressed them and this is the V5 series.

As stated originally, we had to modify Xen in order to be able to detect
rootkits in HVM guests, in a way that allows an application that runs in
dom0 (or a similarly privileged domain) to control what the guest is
allowed to do once a threat is detected. This has been done over the
mem_event mechanism.

To this end, we needed to:

1. Be able to execute the current instruction without allowing it to
write to memory. This is done based on new mem_event response
fields sent from the controlling application.

2. Have the guest as responsive as possible amid all the processing. So
we had to cache some information with each mem_event sent.

3. Not allow the hypervisor to disable sending information about
interesting MSR events.

4. Add an additional mem_event type, namely a VMCALL event - in order to
do its work, our application occasionally triggers VMCALLs in the guest
(not included in the current series, but included in the initial RFC
series).

5. Add an additional libxc function that allows triggering page faults
in the guest.

Changes since V4:
 - Addressed discussed issues (please see individual patches for
   details).

Patches:

xen: Handle resumed instruction based on previous mem_event reply
xen, libxc: Request page fault injection via libxc
xen: Force-enable relevant MSR events; optimize the number of sent MSR
events
xen: Optimize introspection access to guest state
xen: Emulate with no writes


Thanks,
Razvan Cojocaru

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-06 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04 11:30 [PATCH RFC V4 0/5] Basic guest memory introspection support Razvan Cojocaru
2014-08-06 15:58 Razvan Cojocaru

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.