Re: [patch] Add basic sanity checks to the syscall execution patch

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Friday, September 5, 2008 - 9:52 am

* pageexec@freemail.hu <pageexec@freemail.hu> wrote:


it takes less than 10 minutes to build a full kernel on recent hardware. 
Can be done in the background after install or so.


yes, in this area debuggability is in straight conflict. Since we can 
assume that both attacker and owner has about the same level of access 
to the system, making the kernel less accessible to an attacker makes it 
less accessible/debuggable to the owner as well.


well at least in the case of Linux we have a fairly good tally of what 
kernel code is supposed to be executable at some given moment after 
bootup, and can lock that list down permanently until the next reboot, 
and give the list to the checker to verify every now and then? Such a 
verification pass certainly wouldnt be cheap though: all kernel 
pagetables have to be scanned and verified, plus all known code (a few 
megabytes typically), and the key CPU data structures.

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch] Add basic sanity checks to the syscall executi ..., Benjamin Herrenschmidt, (Fri Sep 5, 3:14 am)
Re: [patch] Add basic sanity checks to the syscall executi ..., Benjamin Herrenschmidt, (Fri Sep 5, 3:57 am)
Re: [patch] Add basic sanity checks to the syscall executi ..., Ingo Molnar, (Fri Sep 5, 9:52 am)