PDA

View Full Version : Windows 8 secure boot would 'exclude' Linux



Ares
21st September 2011, 11:10 AM
Microsoft wants firmware to only start authorised OSes

Computer scientists warn that proposed changes in firmware specifications may make it impossible to run “unauthorised” operating systems such as Linux and FreeBSD on PCs.

Proposed changes to the Unified Extensible Firmware Interface (UEFI) firmware specifications would mean PCs would only boot from a digitally signed image derived from a keychain rooted in keys built into the PC. Microsoft is pushing to make this mandatory in a move that could not be overridden by users and would effectively exclude alternative operating systems, according to Professor Ross Anderson of Cambridge University and other observers.

UEFI is a successor to the BIOS ROM firmware designed to shorten boot times and improve security. The framework, a key part of Windows 8, is designed to work on a variety of CPU architectures.

If the draft for UEFI is adopted without modification, then any system that ships with only OEM and Microsoft keys will not boot a generic copy of Linux. A signed version of Linux would work, but this poses problems, as tech blogger Matthew Garrett explains.

Garrett writes:

Firstly, we'd need a non-GPL bootloader. Grub 2 is released under the GPLv3, which explicitly requires that we provide the signing keys. Grub is under GPLv2 which lacks the explicit requirement for keys, but it could be argued that the requirement for the scripts used to control compilation includes that. It's a grey area, and exploiting it would be a pretty good show of bad faith.

Secondly, in the near future the design of the kernel will mean that the kernel itself is part of the bootloader. This means that kernels will also have to be signed. Making it impossible for users or developers to build their own kernels is not practical. Finally, if we self-sign, it's still necessary to get our keys included by ever OEM.

There's no indication that Microsoft will prevent vendors from providing firmware support for disabling this feature and running unsigned code. However, experience indicates that many firmware vendors and OEMs are interested in providing only the minimum of firmware functionality required for their market.

Garrett concluded that there is no need to panic just yet.

The upshot of the changes is that considerable roadblocks might be placed in the way of running alternative operating systems on PCs. Anderson describes this as a return to the rejected Trusted Computing architecture – which at that point involved force-feeding DRM copy-protection restrictions – which may be far worse than its predecessor.

The professor said:

These issues last arose in 2003, when we fought back with the Trusted Computing FAQ and economic analysis. That initiative petered out after widespread opposition. This time round the effects could be even worse, as 'unauthorised' operating systems like Linux and FreeBSD just won’t run at all. On an old-fashioned Trusted Computing platform you could at least run Linux – it just couldn’t get at the keys for Windows Media Player.

The extension of Microsoft’s OS monopoly to hardware would be a disaster, with increased lock-in, decreased consumer choice and lack of space to innovate.


http://www.theregister.co.uk/2011/09/21/secure_boot_firmware_linux_exclusion_fears/

Gaillo
21st September 2011, 11:17 AM
If this is implemented, anybody care to guess as to how many MINUTES it will take Linux hackers to write a crack for this? ;D

Ares
21st September 2011, 11:18 AM
If this is implemented, anybody care to guess as to how many MINUTES it will take Linux hackers to write a crack for this? ;D


Will take a while, if it happens at all. They'll need the OEM to "leak" the keys the firmware is looking for in order to work with the OS.

Gaillo
21st September 2011, 11:22 AM
Will take a while, if it happens at all. They'll need the OEM to "leak" the keys the firmware is looking for in order to work with the OS.

No leak required - just some clever disassembly of the Windoze 8 install package/boot code.

Hell... I'd do it the fast and brutal way - connect a logic analyzer and watch the firmware I/O. Keys within a day or so if I was serious enough about it! ;D

Ares
21st September 2011, 11:27 AM
No leak required - just some clever disassembly of the Windoze 8 install package/boot code.

Hell... I'd do it the fast and brutal way - connect a logic analyzer and watch the firmware I/O. Keys within a day or so if I was serious enough about it! ;D

What if the keys are AES encrypted? Which microsoft does like to tout when it talks about internal "security".

Gaillo
21st September 2011, 11:30 AM
What if the keys are AES encrypted? Which microsoft does like to tout when it talks about internal "security".

Then intercept the encrypted data from Win8 and send it from your hack... who cares if you know what the ACTUAL keys are. The software is talking to the firmware (BIOS), which is expecting to get certain data. Give it what it wants - it won't have any clue where it's coming from! ;)

The only way to TRULY secure an OS is to put it all in hardware (firmware)... software solutions will ALWAYS be exploitable.

Gaillo
21st September 2011, 11:52 AM
A blast from the past:

(Actually, this sounds a lot like just about every OS that Microsoft releases! ;D)


cDc introduces the most VIOLENT operating system ever!

Welcome to a new era. Welcome to the next generation in operating systems:

BS/2

You're in a hurry, so you want PCs to respond faster. You do many things at
once and wish your PCs could too. You want software that's more powerful, but
also easier to use. You'd like more color. You're eager for your systems to
communicate with other systems. You want improved reliability. And you want
all this without obsoleting your investment in equipment, software and
training.

Well TOO BAD! STOP WHINING!

cDc brings you B0VINE SYSTEM/2, the fastest and most gut-wrenchingly powerful
operating system ever!

EUNUCHS, PMS, Mac System x, AmigaDOS, Windoze NT, etc... don't even think
about it! Give it up and GO HOME! We scoff! HA! All other operating systems
cower and DELETE THEMSELVES due to their incredible relative lameness! Check
it out!

Real multitasking! Hundreds... even thousands of processes all running
simultaneously in a non-stop BATTLE to the DEATH! The eventual winner
burns itself into an EPROM and REIGNS FOREVER!!

Over 500,000 levels of HIERARCHAL FILESYSTEM to be explored, complete with
hundreds of SECRET INVISIBLE FILES!!

An astounding 3-D GUI! Windows HURTLE open at BLINDING speeds to display
cracked glass, piles of oozing gore, and UGLY HAGS who glare at users
with the EVIL EYE! The GUI also features a mouse pointer shaped like a
BLOODY KNIFE! The scroll bars are covered with MYSTICAL RUNES! Every
file has TEN ICONS... but NINE of them are DEADLY TRAPS!!

AUTOMATIC DISEASE SIMULATION! Every week, BS/2 will create a new
VIRUS to PLAGUE your valuable files! Each new virus is MORE POWERFUL than
the last! Don't slack off... with BS/2, DOOM lurks around EVERY CORNER!

Virtual reality? OLD NEWS! BS/2 creates REAL reality with HIGH-SPEED
SUBLIMINAL MESSAGES that ATTACK and DEVOUR the very MIND of the user!
The world of BS/2 will become your world too... AND YOU'LL LIKE IT!