Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • If someone has obtained root access to your PC you're already compromised irrevocably and any protections in place become meaningless. Commented Aug 14, 2020 at 14:49
  • Isn't it possible to confine the root user using mandatory access controls like selinux? Commented Aug 14, 2020 at 15:01
  • Secure boot does not protect against an attacker that has physical access to the machine. You need physical access to disable secure boot in the way you describe. If you can't prevent physical access by untrusted users, I suggest setting a BIOS password to prevent unauthorized reboots. Commented Aug 14, 2020 at 15:39
  • @JohanMyréen "An attacker could simply disable secure boot validation after shim loads, so the BIOS would have no idea, but unsigned kernel modules could load", this is possible via mokutil --disable-validation Commented Aug 14, 2020 at 15:56
  • 2
    @johndoe Yes, but finishing the disabling requires physical access. Commented Aug 14, 2020 at 18:17