Tboot and PAX KERNEXEC
Posted: Wed Nov 07, 2012 7:59 am
Dear PaX-Team.
I am currently using grsecurity patchset with kernel 3.6.
Last month i tried to use tboot in combination with grsec, but i had problems with the suspend and tool txt-stat.
After 6 reboots, 1 hour of txt kernel documentation i figured out that tboot needs to execute special shared kernel pages in order to communicate with the tboot hypervisor.
I didn't really go into detail, because i hadn't much time. I guess it makes sense to place a warning message in the Kconfig help section of KERNEXEC.
Maybe it's possible to change the pax patch or the tboot hypervisor, otherwise tboot only can be used witout KERNEXEC.
Example KERNEXEC Kconfig changes:
Sorry for my poor english.
Regards Zaolin
I am currently using grsecurity patchset with kernel 3.6.
Last month i tried to use tboot in combination with grsec, but i had problems with the suspend and tool txt-stat.
After 6 reboots, 1 hour of txt kernel documentation i figured out that tboot needs to execute special shared kernel pages in order to communicate with the tboot hypervisor.
I didn't really go into detail, because i hadn't much time. I guess it makes sense to place a warning message in the Kconfig help section of KERNEXEC.
Maybe it's possible to change the pax patch or the tboot hypervisor, otherwise tboot only can be used witout KERNEXEC.
Example KERNEXEC Kconfig changes:
- Code: Select all
This is the kernel land equivalent of PAGEEXEC and MPROTECT,
that is, enabling this option will make it harder to inject
and execute 'foreign' code in kernel memory itself.
Warning !
If you use Intel TXT with tboot it is still incompatible
with KERNEXEC, because of shared memory pages
for kernel<->tboot hypervisor communication.
Also beware the tboot memory logging feature.
Sorry for my poor english.
Regards Zaolin