HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

EFI and Linux: the future is here, and it's awful - Matthew Garrett

Linux.conf.au 2012 -- Ballarat, Australia2 HN recommenders · recommended in 2 months, 2012-2017
YouTube
77K views · 14 years ago · talk · dated

Matthew Garrett's linux.conf.au 2012 talk covers EFI and UEFI from the Linux point of view: why the PC BIOS was bad, what EFI changes, the issues it brings, and Secure Boot.

Pointed to as an entertaining, informative explanation of why UEFI is troublesome, from a Linux UEFI developer.

Linux & open-source ecosystemsOperating systems & kernelsSecurity & hacking#uefi#efi#secureboot#linux#firmware#bios

5 comments from Hacker News

@sedachv2017 · in “Windows 10 will use protected folders to thwart crypto ransomware”

You can get around UEFI Secure Boot by installing an old signed bootloader with known exploits (if I understand correctly this is why the "Secure Golden Key Boot" exploit of last year[1] cannot be patched without changing public keys in the UEFI firmware). Not only that, the code that is shared by most UEFI implementations is garbage[2] with a large attack surface; exploits against the firmware is a possibility. The primary function of UEFI Secure Boot is for Microsoft to prevent other operating systems from being installed on as many systems as they can get away with (right now there is no provision that end users should be allowed to disable Secure Boot on ARM devices, for example). The "security" functionality is an unworkable side-effect that provides a convenient fiction to accomplish that goal. [1] link [2] ▶ this video

CitesView on HN
@dlitz2016 · in “A x64 OS #1: UEFI”

Yeah, Matthew Garrett also gave a pretty detailed talk about it Linux.conf.au 2012, which reaches a similar conclusion: ▶ this video

CitesView on HN
@forgottenpass2013 · in “Booting to Rust”

EFI even talks FAT and there exists licensing such that you can use FAT for EFI reasons without any patent worries. I'm not saying that's a bad decision, just pointing out it is another thing that happened. I heard that fact in a linux.conf.au talk by the guy what did UEFI work for linux [0]. If you're sad to hear about the Microsoft influence, dude isn't too hot on the implementation of this new standard in general. Interesting talk though, digging up the link to post it here means I'm going to give it another watch. [0] EFI and Linux: the future is here, and it's awful - Matthew Garrett ▶ this video

RecommendsView on HN
@keeperofdakeys2013 · in “Booting Linux using UEFI can brick Samsung laptops”

Sorry, but the BIOS had many issues, and UEFI provided a solution to them, even if it wasn't an inherently good system. 1.The BIOS isn't portable, you can compile UEFI for any platform by porting a small base module. Everything uses this module, so the compiler will take care of the rest. 2. BIOS was a heap of 16bit assembly code, with a small memory space. It was quite hard to add any kind of complex functionality. 3. You couldn't use a boot volume greater than 2TB due to MBR. A new one wasn't added because of number 2. 4. UEFI is more like a micro kernel then a generic BIOS, and provides the functionality for vendors to write 'better' interfaces. Here the interfaces aren't actually provided in the official UEFI sample implementation, and most can be arguably called worse then an average BIOS interface. However, you have to acknowledge the capability is there. 5. It added a framework for kernel verification (unlike what some people think, it only verifies the UEFI firmware and the kernel/boot loader it loads directly). The direction that Microsoft is taking it is quite unfortunate, but it's actually a good feature. 6. It has a limited capability as a boot loader, allowing multiple operating systems to be started directly. These are all features that aren't present in the BIOS, that UEFI has fixed. Unfortunately the current implementation has many bugs, and many features are arguably implemented badly. However is was created to fix real problems, and has been undeniably succe

CitesView on HN
@pserwylo2012 · in “More in the series of bizarre UEFI bugs”

Matthew gave an awesome talk on UEFI at linux.conf.au 2012 [0]. A thoroughly entertaining and informative talk on issues including secure boot, but also other issues with UEFI. It even got voted one of the best four talks at the conference, so he did the talk again at the end of the conference. This was great because I missed it the first time. My favourite quote from the talk was: "Files contain code, [and] code, as we all know, contains bugs. Always. So from this we can conclude that UEFI contains bugs. This shouldn’t surprise anyone, other than the Linux kernel which obviously contains no bugs at all ever." [1]. [0] - ▶ this video (Keep in mind this was in January, when there was still a lot of uncertainty about the UEFI Secure Boot/Linux situation). [1] - link

RecommendsView on HN
Replace Your Exploit-Ridden Firmware with Linux - Ronald Minnich, Google38:03

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

The Linux Foundation
73K views • 9 years ago
The Tragedy of systemd47:18

The Tragedy of systemd

linux.conf.au
1.3M views • 7 years ago
Benno Rice: The Tragedy of systemd -- BSDCan 201832:30

Benno Rice: The Tragedy of systemd -- BSDCan 2018

BSDCan
25K views • 8 years ago
XFS: Recent and Future Adventures in Filesystem Scalability - Dave Chinner49:16

XFS: Recent and Future Adventures in Filesystem Scalability - Dave Chinner

Linux.conf.au 2012 -- Ballarat, Australia
29K views • 14 years ago
"What UNIX Cost Us" - Benno Rice (LCA 2020)34:14

"What UNIX Cost Us" - Benno Rice (LCA 2020)

linux.conf.au
218K views • 6 years ago
Joanna Rutkowska: Towards (reasonably) trustworthy x86 laptops1:02:52

Joanna Rutkowska: Towards (reasonably) trustworthy x86 laptops

media.ccc.de
27K views • 10 years ago
A Narrative History of BSD, Dr. Kirk McKusick53:55

A Narrative History of BSD, Dr. Kirk McKusick

bsdconferences
30K views • 17 years ago
[Linux.conf.au 2013] - The real story behind Wayland and X45:35

[Linux.conf.au 2013] - The real story behind Wayland and X

HackersOnBoard
35K views • 13 years ago
My personal fight against the modern laptop44:50

My personal fight against the modern laptop

linux conf au 2017 - Hobart, Australia
121K views • 9 years ago
The State of Kernel Self Protection Project by Kees Cook, Google45:47

The State of Kernel Self Protection Project by Kees Cook, Google

The Linux Foundation
7K views • 9 years ago
"A Political History of X" - Keith Packard (LCA 2020)45:33

"A Political History of X" - Keith Packard (LCA 2020)

linux.conf.au
52K views • 6 years ago
Linux for Chromebooks: Secure Development (Google I/O ’19)33:53

Linux for Chromebooks: Secure Development (Google I/O ’19)

Chrome for Developers
239K views • 7 years ago
GOD MODE UNLOCKED - Hardware Backdoors in x86 CPUs51:00

GOD MODE UNLOCKED - Hardware Backdoors in x86 CPUs

Black Hat
319K views • 8 years ago
DebConf 14: QA with Linus Torvalds1:11:44

DebConf 14: QA with Linus Torvalds

Adnan Hodzic
737K views • 12 years ago
Linux HATES Me – Daily Driver Challenge Pt.121:02

Linux HATES Me – Daily Driver Challenge Pt.1

Linus Tech Tips
4.5M views • 5 years ago
Linus Torvalds: Nvidia, Fuck You!0:41

Linus Torvalds: Nvidia, Fuck You!

SiliconNews
1.9M views • 14 years ago
Bloat: How and Why UNIX Grew Up (and Out) - Rusty Russell,Matt Evans42:39

Bloat: How and Why UNIX Grew Up (and Out) - Rusty Russell,Matt Evans

Linux.conf.au 2012 -- Ballarat, Australia
21K views • 14 years ago
RustConf 2017 - Closing Keynote: Safe Systems Software and the Future of Computing by Joe Duffy42:45

RustConf 2017 - Closing Keynote: Safe Systems Software and the Future of Computing by Joe Duffy

Confreaks
2K views • 9 years ago
Linus Torvalds on why desktop Linux sucks11:07

Linus Torvalds on why desktop Linux sucks

gentooman
2.2M views • 5 years ago
Run containers on bare metal already!41:12

Run containers on bare metal already!

Bryan Cantrill
40K views • 10 years ago