Skip to content
0:00 / 0:00

#uefi#nerf#coreboot

Replace Your Exploit-Ridden Firmware with Linux - Ronald Minnich, Google

The Linux Foundation

215K subscribers • 9 videos on Hallway

YouTube
  • Recommended by 7 people: 6 on Hacker News and 1 in engineering communities.
  • A classic. People kept recommending it from 2017 to 2023.
  • Presented by Ronald Minnich, Software Engineer at Google

Advanced. Deep dive for people who know the field.

73K views9 years ago7 recommendations

Systems programmingSecurityOperating systemsLinuxEmbedded systems

Ronald Minnich explains how Google developed NERF to replace proprietary, exploit-prone UEFI firmware with a tiny Linux kernel.

Replace Your Exploit-Ridden Firmware with Linux - Ronald Minnich, Google 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 (u-root.tk/), which are written in the Go language. About Ronald G. Minnich Ron Minnich is a Software Engineer at Google. He has contributed to many open source projects in the last several decades, including the Linux kernel (9p file system); the FreeBSD kernel (rfork); and Plan 9 (many different areas). He directed the team that ported Plan 9 to the Blue Gene supercomputers. He invented LinuxBIOS (now called coreboot) in 1999. He is one of the core contributors to the Harvey operating system. His most recent Linux Foundation talk was on how to build your own signed version of ChromeOS and resign your Chromebook with your personal keys in 2016.

Why it's here

7 people recommend this

What people say. Highly recommended for its deep dive into firmware security risks and Google's efforts to replace UEFI with Linux.

SEJeffon Hacker News • Recommends

On ““We have obtained fully functional JTAG for Intel CSME via USB DCI””

Absolutely fantastic video from a google engineer (and the original author of LinuxBios / Coreboot) on how they replaced the UEFI firmware with Linux to get Dell servers to boot in 20 seconds: link to this video

anonym29on Hacker News • Recommends

On “GNU+Linux laptops with Libreboot preinstalled, based on coreboot”

…at even outside the context of a government backdoor conspiracy. There's a great talk on the risks posed by the capabilities of these security coprocessors by an extremely well-versed individual at Google who was (leading? involved at a high level?) working on Google's efforts to neutralize these dangerous subsystems at Embedded Linux Con in 2017: link to this video…

mmcclellanon Hacker News • Recommends

On “An Open Letter to Intel”

I first heard the Minix thing in this talk: link to this video which I found, I think via a HN thread. Anyway, most of the articles rehash this talk and IMO its a solid 30 minute investment.

jjevanoorschoton Hacker News • Recommends

On ““We have obtained fully functional JTAG for Intel CSME via USB DCI””

A recent talk 0 by Ronald Minnich from Google gives a nice overview of their efforts to replace parts of Intel ME and UEFI with Linux, mostly for security reasons. 0 link to this video

watersbon Hacker News • Recommends

On “Intel patches new ME vulnerabilities”

There seems to be confusion about vPro, AMT, BIOS, UEFI, Trusted Boot, and so on. This talk helped me: "Replace Your Exploit-Ridden Firmware with Linux" link to this video

ignoramouson Hacker News • Recommends

On “Ask HN: Where can I find a primer on how computers boot?”

…s, and the disk / filesystem are verified ("measured") for integrity eventually anchored on a "hardware root-of-trust". If you're a visual learner: How TI Beagleboard boots (33m): link / link How ARM Cortex M boots (9m): link / link Bootloader 101 (embedded devices; 38m): link / link Measured Boot (39m): link / link Coreboot (38m): link to this video / link to this video U-Boot (1h 25m): link UEFI for U-Boot (38m): link / link Device Trees (43m): link / link ARM Trust Zone (46m): link…

u/Zamicolin r/netsec • Recommends

Replace Your Exploit-Ridden Firmware with Linux - Ronald Minnich, Google

wolfgkeon Hacker News • Mentions

On “Forget iPhone X–Apple's Best Product Is Its Privacy Stance”

…eds Intel vPro), it exists on nearly all current Intel processors (except, I think, Intel, Quark; but this processor is built for completely different purposes). Thus there are rumors that it is a backdoor for, say, 3-letter agencies. I don't want to spread any rumors here, but just say: Because Intel ME is very large and complicated (according to link to this video 5 MB in size) it is a real concern that lots of security gaps will be found (and some have been found in the past), which, because of Intel ME's structure (according to link it runs on ring -3) can easily lead to really dangerous security holes. Just for this reason alone any responsible admin should try to disable Intel ME so that this s…

jstewartmobileon Hacker News • Mentions

On “Harvey – An effort to provide a modern, distributed, 64-bit operating system”

Why so many haters? Just the fact that they've got Ron Minnich0-1 on the team--one of the guys fighting the good fight against all of the voodoo BS in your Intel/AMD firmware--makes it worth a look IMHO. 0 link to this video 1 link

trendiaon Hacker News • Mentions

On “How to hack a turned-off computer, or running unsigned code in Intel ME [pdf]”

There were investigating flashing the ME for their compute cloud processors 0 to avoid the possibility of an ME vulnerability being exploited, which would greatly harm their reputation. 0 link to this video

josteinkon Hacker News • Mentions

On “Gokrazy: A pure-Go userland for Raspberry Pi 3 appliances”

> As someone who's worked in the consumer electronics industry for years, I think we desperately need to rethink our approach to Linux-based electronics with respect to both the userland and the primary application. Google has created a stack called NERF (Non-Extensible Reduced Firmware) for this: link There's a presentation about it on youtube: link to this video

matheusmoreiraon Hacker News • Mentions

On “Uefi-jitfuck – A JIT Brainfuck compiler running on x86_64 UEFI”

They run in ring -2. Proprietary software with networking stacks, file systems, device drivers, web servers, all running in a mode more privileged than the operating system. There's also the Intel Management Engine with pretty much the same features but running in ring -3. link to this video

joezydecoon Hacker News • Mentions

On “Intel energizes decades-old real-time Linux kernel project”

Intel had an opportunity to develop Zephyr as a usable RTOS, internally* and externally. If they thought that the technology was compelling, why did they let it go? *(Intel's Management Engine is still around, running....Minix. link to this video )