Re:Linux Kernel Lockdown and UEFI Secure Boot
by mjg59 on Thursday April 05, 2018 @04:42AM
(#16763029)
The kernel isn't able to determine whether you booted in a verifiable manner in all cases, so there's functionality that allows the bootloader to make that decision rather than the kernel. But if you don't have a verified boot environment and someone is deliberately attacking you, it's easy for them to fake up your early boot environment such that the kernel believes it's booted securely even if it hasn't been.
If you want to protect against accidents then you can do that in userspace. There's no need for the kernel to be involved.
Re:Linux Kernel Lockdown and UEFI Secure Boot
by Jasper_ on Thursday April 05, 2018 @04:47AM
(#16763046)
One would hope your system would complain loudly in the BIOS if Secure Boot wasn't on regardless of the operating system. If some malware manages to misconfigure Secure Boot, it can also patch your kernel to remove the complaining.
And just like that it stops being a magically enabled thing and becomes something you have to either have fully on or fully off.