Re: [PATCH 3/3] [RFC V3] KVM: X86: Adding skeleton for Memory ROE
From: Jann Horn <jannh@google.com>
Date: 2018-07-19 23:00:12
Also in:
kvm
From: Jann Horn <jannh@google.com>
Date: 2018-07-19 23:00:12
Also in:
kvm
On Thu, Jul 19, 2018 at 11:40 PM Ahmed Abd El Mawgood [off-list ref] wrote:
This patch introduces a hypercall implemented for X86 that can assist against subset of kernel rootkits, it works by place readonly protection in shadow PTE. The end result protection is also kept in a bitmap for each kvm_memory_slot and is used as reference when updating SPTEs. The whole goal is to protect the guest kernel static data from modification if attacker is running from guest ring 0, for this reason there is no hypercall to revert effect of Memory ROE hypercall. This patch doesn't implement integrity check on guest TLB so obvious attack on the current implementation will involve guest virtual address -> guest physical address remapping, but there are plans to fix that.
Why are you implementing this in the kernel, instead of doing it in host userspace? -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html