|| ||"H. Peter Anvin" <hpa-AT-zytor.com> |
|| ||Kees Cook <keescook-AT-chromium.org> |
|| ||Re: [PATCH 3/3] x86: kernel base offset ASLR |
|| ||Thu, 04 Apr 2013 13:58:06 -0700|
|| ||LKML <linux-kernel-AT-vger.kernel.org>,
Thomas Gleixner <tglx-AT-linutronix.de>, Ingo Molnar <mingo-AT-redhat.com>,
Jarkko Sakkinen <jarkko.sakkinen-AT-intel.com>,
Matthew Garrett <mjg-AT-redhat.com>,
Matt Fleming <matt.fleming-AT-intel.com>,
Eric Northup <digitaleric-AT-google.com>,
Dan Rosenberg <drosenberg-AT-vsecurity.com>,
Julien Tinnes <jln-AT-google.com>, Will Drewry <wad-AT-chromium.org>|
|| ||Article, Thread
It seems to me that you are assuming that the attacker is targeting a specific system, but a bot
might as well target 256 different systems and see what sticks...
Kees Cook <email@example.com> wrote:
>On Thu, Apr 4, 2013 at 1:12 PM, H. Peter Anvin <firstname.lastname@example.org> wrote:
>> On 04/04/2013 01:07 PM, Kees Cook wrote:
>>> However, the benefits of
>>> this feature in certain environments exceed the perceived
>> Could you clarify?
>I would summarize the discussion of KASLR weaknesses into to two
>1- it depends on address location secrecy and leaks are common/easy.
>2- it has low entropy so attack success rates may be high.
>For "1", as Julien mentions, remote attacks and attacks from a
>significantly contained process (via seccomp-bpf) minimizes the leak
>exposure. For local attacks, cache timing attacks and other things
>also exist, but the ASLR can be improved to defend against that too.
>So, KASLR is useful on systems that are virtualization hosts,
>providing remote services, or running locally confined processes.
>For "2", I think that the comparison to userspace ASLR entropy isn't
>as direct. For userspace, most systems don't tend to have any kind of
>watchdog on segfaulting processes, so a remote attacker could just
>keep trying an attack until they got lucky, in which case low entropy
>is a serious problem. In the case of KASLR, a single attack failure
>means the system goes down, which makes mounting an attack much more
>difficult. I think 8 bits is fine to start with, and I think start
>with a base offset ASLR is a good first step. We can improve things in
>Chrome OS Security
Sent from my mobile phone. Please excuse brevity and lack of formatting.
to post comments)