All of lore.kernel.org
 help / color / mirror / Atom feed
* Memory Read Only Enforcement: VMM assisted kernel rootkit mitigation for KVM
@ 2018-07-19 21:37 ` Ahmed Abd El Mawgood
  0 siblings, 0 replies; 31+ messages in thread
From: Ahmed Abd El Mawgood @ 2018-07-19 21:37 UTC (permalink / raw)
  To: kvm, Kernel Hardening, virtualization, linux-doc, x86
  Cc: Paolo Bonzini, rkrcmar, nathan Corbet, Thomas Gleixner,
	Ingo Molnar, hpa, Kees Cook, Ard Biesheuvel, David Hildenbrand,
	Boris Lukashev, David Vrabel, nigel.edwards, Rik van Riel

Hi,

This is my first set of patches that works as I would expect, and the
third revision I sent to mailing lists.

Following up with my previous discussions about kernel rootkit mitigation
via placing R/O protection on critical data structure, static data,
privileged registers with static content. These patches present the
first part where it is only possible to place these protections on
memory pages. Feature-wise, this set of patches is incomplete in the sense of:
- They still don't protect privileged registers
- They don't protect guest TLB from malicious gva -> gpa page mappings.
But they provide sketches for a basic working design. Note that I am totally
noob and it took lots of time and effort to get to this point. So sorry in
advance if I overlooked something.

[PATCH 1/3] [RFC V3] KVM: X86: Memory ROE documentation
[PATCH 2/3] [RFC V3] KVM: X86: Adding arbitrary data pointer in kvm memslot itterator functions
[PATCH 3/3] [RFC V3] KVM: X86: Adding skeleton for Memory ROE

Summery:

 Documentation/virtual/kvm/hypercalls.txt |  14 ++++
 arch/x86/include/asm/kvm_host.h          |  11 ++-
 arch/x86/kvm/Kconfig                     |   7 ++
 arch/x86/kvm/mmu.c                       | 127 ++++++++++++++++++++++---------
 arch/x86/kvm/x86.c                       |  82 +++++++++++++++++++-
 include/linux/kvm_host.h                 |   3 +
 include/uapi/linux/kvm_para.h            |   1 +
 virt/kvm/kvm_main.c                      |  29 ++++++-
 8 files changed, 232 insertions(+), 42 deletions(-)

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

end of thread, other threads:[~2018-07-20 14:44 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-19 21:37 Memory Read Only Enforcement: VMM assisted kernel rootkit mitigation for KVM Ahmed Abd El Mawgood
2018-07-19 21:37 ` Ahmed Abd El Mawgood
2018-07-19 21:37 ` Ahmed Abd El Mawgood
2018-07-19 21:38 ` [PATCH 1/3] [RFC V3] KVM: X86: Memory ROE documentation Ahmed Abd El Mawgood
2018-07-19 21:38 ` Ahmed Abd El Mawgood
2018-07-19 21:38   ` Ahmed Abd El Mawgood
2018-07-20  1:11   ` Randy Dunlap
2018-07-20  1:11     ` Randy Dunlap
2018-07-20  1:11     ` Randy Dunlap
2018-07-19 21:38 ` [PATCH 2/3] [RFC V3] KVM: X86: Adding arbitrary data pointer in kvm memslot itterator functions Ahmed Abd El Mawgood
2018-07-19 21:38   ` Ahmed Abd El Mawgood
2018-07-19 21:38 ` Ahmed Abd El Mawgood
2018-07-19 21:38 ` [PATCH 3/3] [RFC V3] KVM: X86: Adding skeleton for Memory ROE Ahmed Abd El Mawgood
2018-07-19 21:38   ` Ahmed Abd El Mawgood
2018-07-19 22:59   ` Jann Horn
2018-07-19 22:59     ` Jann Horn
2018-07-20  0:26     ` Ahmed Soliman
2018-07-20  0:26       ` Ahmed Soliman
2018-07-20  0:26       ` Ahmed Soliman
2018-07-20  1:28       ` Jann Horn
2018-07-20  1:28         ` Jann Horn
2018-07-20 14:44         ` Ahmed Soliman
2018-07-20 14:44           ` Ahmed Soliman
2018-07-20 14:44           ` Ahmed Soliman
2018-07-20  1:07   ` Randy Dunlap
2018-07-20  1:07     ` Randy Dunlap
2018-07-20  1:07     ` Randy Dunlap
2018-07-19 21:38 ` Ahmed Abd El Mawgood
2018-07-20  2:45 ` Memory Read Only Enforcement: VMM assisted kernel rootkit mitigation for KVM Konrad Rzeszutek Wilk
2018-07-20  2:45   ` Konrad Rzeszutek Wilk
2018-07-20  2:45   ` Konrad Rzeszutek Wilk

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.