• Magiilaro@feddit.org
    link
    fedilink
    arrow-up
    7
    ·
    3 days ago

    Loading BPF code from user space is, I hope, only possible with root access to the system. That would mean that an attacker needs root access to exploit BPF, but if an attacker has root access what stops him/her to do anything they want? At this time the system is lost anyway.

    Or am I missing anything?

    • ozymandias117@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 days ago

      If the executable binary has to be signed with a key, similar to the module signing key, Microsoft could sign their binaries

      This, along with secureboot, would prevent the owner of the machine from running eBPF programs Microsoft doesn’t want you to run, even with root