Re: [Qemu-devel] Design Decision for KVM based anti rootkit

2018-06-19 Thread Ahmed Soliman
On 19 June 2018 at 19:37, David Vrabel wrote: > It's not clear how this increases security. What threats is this > protecting again? It won't completely protect prevent rootkits, because still rootkits can edit dynamic kernel data structures, but it will limit what rootkits damage to only dynamic

Re: [Qemu-devel] Design Decision for KVM based anti rootkit

2018-06-19 Thread David Vrabel
On 16/06/18 12:49, Ahmed Soliman wrote: > > To wrap things up, the basic design will be a method for communication > between host and guest is guest can request certain pages to be read > only, and then host will force them to be read-only by guest until > next guest reboot, then it will impossibl

Re: [Qemu-devel] Design Decision for KVM based anti rootkit

2018-06-18 Thread David Hildenbrand
On 18.06.2018 18:35, Ahmed Soliman wrote: > Shortly after I sent the first email, we found that there is another > way to achieve this kind of communication, via KVM Hypercalls, I think > they are underutilised in kvm, but they exist. > > We also found that they are architecture dependent, but the

Re: [Qemu-devel] Design Decision for KVM based anti rootkit

2018-06-18 Thread Ahmed Soliman
Shortly after I sent the first email, we found that there is another way to achieve this kind of communication, via KVM Hypercalls, I think they are underutilised in kvm, but they exist. We also found that they are architecture dependent, but the advantage is that one doesn't need to create QEMU<-

Re: [Qemu-devel] Design Decision for KVM based anti rootkit

2018-06-18 Thread David Hildenbrand
On 16.06.2018 13:49, Ahmed Soliman wrote: > Following up on these threads: > - https://marc.info/?l=kvm&m=151929803301378&w=2 > - http://www.openwall.com/lists/kernel-hardening/2018/02/22/18 > > I lost the original emails so I couldn't reply to them, and also sorry > for being late, it was the end

[Qemu-devel] Design Decision for KVM based anti rootkit

2018-06-16 Thread Ahmed Soliman
Following up on these threads: - https://marc.info/?l=kvm&m=151929803301378&w=2 - http://www.openwall.com/lists/kernel-hardening/2018/02/22/18 I lost the original emails so I couldn't reply to them, and also sorry for being late, it was the end of semester exams. I was adviced on #qemu and #kerne