Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1165521
| From | Theodore Ts'o <tytso@mit.edu> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: kexec_load(2) bypasses signature verification |
| Date | 2015-06-15 22:10 +0200 |
| Message-ID | <pBIRI-5m8-3@gated-at.bofh.it> (permalink) |
| References | <pBtJ0-8R-3@gated-at.bofh.it> <pBBwR-34f-1@gated-at.bofh.it> <pBCsW-4pR-23@gated-at.bofh.it> <pBCMi-4N0-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Jun 15, 2015 at 09:37:05AM -0400, Josh Boyer wrote: > The bits that actually read Secure Boot state out of the UEFI > variables, and apply protections to the machine to avoid compromise > under the SB threat model. Things like disabling the old kexec... I don't have any real interest in using Secure Boot, but I *am* interested in using CONFIG_KEXEC_VERIFY_SIG[1]. So perhaps we need to have something similar to what we have with signed modules in terms of CONFIG_MODULE_SIG_FORCE and module/sig_enforce, but for KEXEC_VERIFY_SIG. This would mean creating a separate flag independent of the one Linus suggested for Secure Boot, but since we have one for signed modules, we do have precedent for this sort of thing. - Ted [1] Yes, it doesn't buy all that much, since if the system is rooted the adversary can just replace the kernel in /boot and force a normal, slower reboot, but the same could be said for signed modules --- the adversary could just replace all of /boot/vmlinux-<kver> and /lib/modules/<kver>. But both measures make it a tad more bit difficult, especially for the adversary to do this replacement without being noticed (for example linode will send me e-mail if the system reboots normally, but not with a kexec-mediated reboot), and for cloud systems where we don't have secure boot anyway, it's about the best we can do. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
kexec_load(2) bypasses signature verification Theodore Ts'o <tytso@mit.edu> - 2015-06-15 06:00 +0200
Re: kexec_load(2) bypasses signature verification Theodore Ts'o <tytso@mit.edu> - 2015-06-15 22:10 +0200
Re: kexec_load(2) bypasses signature verification ebiederm@xmission.com (Eric W. Biederman) - 2015-06-16 21:50 +0200
Re: kexec_load(2) bypasses signature verification Vivek Goyal <vgoyal@redhat.com> - 2015-06-16 22:30 +0200
Re: kexec_load(2) bypasses signature verification Dave Young <dyoung@redhat.com> - 2015-06-18 03:20 +0200
Re: kexec_load(2) bypasses signature verification Dave Young <dyoung@redhat.com> - 2015-06-18 04:10 +0200
Re: kexec_load(2) bypasses signature verification Dave Young <dyoung@redhat.com> - 2015-06-19 08:30 +0200
Re: kexec_load(2) bypasses signature verification Dave Young <dyoung@redhat.com> - 2015-06-19 10:20 +0200
Re: kexec_load(2) bypasses signature verification Vivek Goyal <vgoyal@redhat.com> - 2015-06-19 15:10 +0200
Re: kexec_load(2) bypasses signature verification Dave Young <dyoung@redhat.com> - 2015-06-19 09:10 +0200
Re: kexec_load(2) bypasses signature verification Vivek Goyal <vgoyal@redhat.com> - 2015-06-19 15:10 +0200
Re: kexec_load(2) bypasses signature verification Dave Young <dyoung@redhat.com> - 2015-06-18 03:30 +0200
csiph-web