Replacing exploit-ridden firmware with a Linux kernel

Two weeks ago, security researchers managed to disable the Intel Management Engine, and last week, Google held a talk at the Open Source Summit (née LinuxCon) in which they unveiled their plans to completely (well, almost completely) replace every bit of code between the operating system you know about (Windows, Linux, BSD, whatever) and the bare metal x86 processor (Intel-only, for now).

With the WikiLeaks release of the vault7 material, the security of the UEFI (Unified Extensible Firmware Interface) firmware used in most PCs and laptops is once again a concern. UEFI is a proprietary and closed-source operating system, with a codebase almost as large as the Linux kernel, that runs when the system is powered on and continues to run after it boots the OS (hence its designation as a “Ring -2 hypervisor”). It is a great place to hide exploits since it never stops running, and these exploits are undetectable by kernels and programs.

Our answer to this is NERF (Non-Extensible Reduced Firmware), an open source software system developed at Google to replace almost all of UEFI firmware with a tiny Linux kernel and initramfs. The initramfs file system contains an init and command line utilities from the u-root project (http://u-root.tk/), which are written in the Go language.

Both the slides from the talk and the video are available.

19 Comments

  1. 2017-10-29 7:00 pm
    • 2017-10-29 10:19 pm
      • 2017-10-30 12:18 am
        • 2017-10-30 3:41 am
          • 2017-10-30 11:26 pm
          • 2017-10-31 6:58 am
    • 2017-10-30 3:10 pm
      • 2017-10-30 3:20 pm
        • 2017-10-30 6:00 pm
  2. 2017-10-29 9:42 pm
    • 2017-10-29 10:01 pm
      • 2017-10-30 8:34 pm
        • 2017-10-30 8:46 pm
          • 2017-10-31 11:48 am
    • 2017-10-31 11:58 pm
  3. 2017-10-31 3:40 am
    • 2017-10-31 10:04 am
      • 2017-10-31 11:47 am
  4. 2017-10-31 4:08 am