From: Olivier Sessink <oliviersessink@gmail.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] unlocking dm-crypt from grub - kernel in crypted volume
Date: Tue, 23 Aug 2011 22:52:33 +0200 [thread overview]
Message-ID: <4E541311.6090809@gmail.com> (raw)
In-Reply-To: <20110823130508.GB21623@tansi.org>
On 08/23/2011 03:05 PM, Arno Wagner wrote:
>
> Quite frankly, I doubt this increses security significantly.
>
> An attacker could just manipulate the grub image and pretend to
> do decryption while really loading a compromised kernel.
> It would also be possible to patch grub so that it runs a
> kernel-patcher after decryption and before starting the kernel.
>
> I think both options are not really more difficult than
> patching a not encrypted kernel.
>
> The bottom line is still that if an attacker has access and
> then you continue to use your computer, you are screwed.
> Disk encryption only protects you if you know that the
> attacker had access, e.g. when your laptop is stolen. If
> you do not realize an attacker had access, anything is
> possible.
from a theoretical point of view I agree with you. However, given that
the attacker does not yet know which kernel is going to be started, has
very limited space for attack code, and has to change something (grub)
that needs to change the next thing (kernel) instead of directly
changing the kernel, it's really more difficult in my opinion. It's
beyond the level of a regular good C programmer I would say, while
changing the kernel is something any good C programmer should be capable
of.
Given that this is the most common setup (kernel in unencrypted /boot
and the rest of the OS in dm-crypt volume) I think it would be
worthwhile to make this setup work in a smooth way (but I can understand
it is a lot of work and people don't have the time to do it).
Olivier
next prev parent reply other threads:[~2011-08-23 20:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-23 9:14 [dm-crypt] unlocking dm-crypt from grub - kernel in crypted volume Olivier Sessink
2011-08-23 13:05 ` Arno Wagner
2011-08-23 20:52 ` Olivier Sessink [this message]
2011-08-24 7:51 ` Milan Broz
2011-08-24 7:58 ` Yves-Alexis Perez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E541311.6090809@gmail.com \
--to=oliviersessink@gmail.com \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.