[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH V9 for-4.5 0/4] Basic guest memory introspection support
We need 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. Here is a summary of the series: a 1/4 xen: Emulate with no writes a 2/4 xen: Optimize introspection access to guest state A 3/4 xen, libxc: Force-enable relevant MSR events - 4/4 xen: Handle resumed instruction based on previous mem_event reply Key to symbols: * Updated in this version of the series. + New patch in this version. / Updated but only to remove changes into a separate patch. - Updated with style changes only. a Acked/reviewed by one reviewer. A Acked/reviewed by more than one reviewer. This new version adds explanatory comments for MEM_EVENT_FLAG_EMULATE and MEM_EVENT_FLAG_EMULATE_NOWRITE in patch 4/4, as recommended by Jan Beulich. 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. Extend libxc to allow triggering page faults in the guest (in order to be able to bring back in pages swapped out by the guest OS). For now, this patch has been skipped in favour of plain HVMOP_inject_trap. Thanks, Razvan Cojocaru _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |