Results 1 to 15 of 15

Thread: Secure UEFI. Great for Windows, not so much for Linux

  1. #1
    (╯°□°)╯︵ɯnsdı-ɯǝɹoן Lorem-Ipsum's Avatar
    Join Date
    May 2010
    Location
    Birmingham
    Posts
    3,733
    Thanks
    543
    Thanked 326 Times in 255 Posts
    Rep Power
    1

    Default Secure UEFI. Great for Windows, not so much for Linux

    Quote Originally Posted by Matthew Garrett
    http://mjg59.dreamwidth.org/5552.html
    Since there are probably going to be some questions about this in the near future:

    The UEFI secure boot protocol is part of recent UEFI specification releases. It permits one or more signing keys to be installed into a system firmware. Once enabled, secure boot prevents executables or drivers from being loaded unless they're signed by one of these keys. Another set of keys (Pkek) permits communication between an OS and the firmware. An OS with a Pkek matching that installed in the firmware may add additional keys to the whitelist. Alternatively, it may add keys to a blacklist. Binaries signed with a blacklisted key will not load.

    There is no centralised signing authority for these UEFI keys. If a vendor key is installed on a machine, the only way to get code signed with that key is to get the vendor to perform the signing. A machine may have several keys installed, but if you are unable to get any of them to sign your binary then it won't be installable.

    This impacts both software and hardware vendors. An OS vendor cannot boot their software on a system unless it's signed with a key that's included in the system firmware. A hardware vendor cannot run their hardware inside the EFI environment unless their drivers are signed with a key that's included in the system firmware. If you install a new graphics card that either has unsigned drivers, or drivers that are signed with a key that's not in your system firmware, you'll get no graphics support in the firmware.

    Microsoft requires that machines conforming to the Windows 8 logo program and running a client version of Windows 8 ship with secure boot enabled. The two alternatives here are for Windows to be signed with a Microsoft key and for the public part of that key to be included with all systems, or alternatively for each OEM to include their own key and sign the pre-installed versions of Windows. The second approach would make it impossible to run boxed copies of Windows on Windows logo hardware, and also impossible to install new versions of Windows unless your OEM provided a new signed copy. The former seems more likely.

    A system that ships with only OEM and Microsoft keys will not boot a generic copy of Linux.

    Now, obviously, we could provide signed versions of Linux. This poses several problems. 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. It's almost certainly the case that some systems will ship with the option of disabling this. Equally, it's almost certainly the case that some systems won't.

    It's probably not worth panicking yet. But it is worth being concerned.
    Source: http://mjg59.dreamwidth.org/5552.html


    Personally I am not terribly worried as this sort of thing has come along before and the law has prevented it. This time M$ are also "investigating" dual boot and as large companies such as Novell, RedHat etc... are on the Linux side there shouldn't be a problem.

    Just making people aware.
    Last edited by Lorem-Ipsum; 22-09-11 at 17:48.

    (╯°O°) ╯< FUS, RO DAH > = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ┻━┻

  2. #2
    /dev/null Plan9's Avatar
    Join Date
    Aug 2011
    Location
    /root/
    Posts
    2,291
    Thanks
    315
    Thanked 253 Times in 197 Posts
    Rep Power
    1

    Default

    Spotted this on osnews.com
    It will be interesting to see how this is implemented

  3. #3
    (╯°□°) ╯︵ ┻━┻
    Join Date
    Jan 2010
    Location
    chickentown
    Posts
    7,385
    Thanks
    706
    Thanked 1,855 Times in 1,208 Posts
    Rep Power
    4

    Default

    Yeah, would be annoying to have to use custom firmware to boot a second O/S. However I can't see this getting pushed through, there was a big ruckus about the trusted computing platform back in 2003, and that never happened - and this is potentially even more draconian.

    Certainly something to keep an eye on though!

  4. #4
    /dev/null Plan9's Avatar
    Join Date
    Aug 2011
    Location
    /root/
    Posts
    2,291
    Thanks
    315
    Thanked 253 Times in 197 Posts
    Rep Power
    1

  5. #5
    (╯°□°)╯︵ɯnsdı-ɯǝɹoן Lorem-Ipsum's Avatar
    Join Date
    May 2010
    Location
    Birmingham
    Posts
    3,733
    Thanks
    543
    Thanked 326 Times in 255 Posts
    Rep Power
    1

    Default

    Quote Originally Posted by Plan9 View Post
    Interesting. Looks like I'm going to have to turn to cracking. Next Defcon could be a good one!

    (╯°O°) ╯< FUS, RO DAH > = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = ┻━┻

  6. #6
    Ubuntu-ized Mr Banana's Avatar
    Join Date
    May 2010
    Location
    Devon - England
    Posts
    2,261
    Thanks
    269
    Thanked 95 Times in 71 Posts
    Rep Power
    1

    Default

    This is just stupid, i have also been watching it on osnews (i read them everday without fail, i love Thom).

    I don't get how they can be sued by the EU for bundling IE and WMP with Windows and then this and see to be getting away with it so far...we need choice, not lock in.

    Good job i build my own computers though so it never affects me.
    GamingOnLinux.com - The number 1 Linux gaming community
    Steam: liamdawe - CS:GO, L4D2, DOTA 2, Killing Floor

  7. #7

    Join Date
    Feb 2010
    Posts
    1,858
    Thanks
    38
    Thanked 139 Times in 119 Posts
    Rep Power
    1

    Default

    http://www.theinquirer.net/inquirer/...e-boot-process

    The firm was keen to mention that the user is the person in control over whether Windows 8 secure boot is used, with Microsoft's Tony Mangefeste saying, "The security that UEFI has to offer with secure boot means that most customers will have their systems protected against boot loader attacks. For the enthusiast who wants to run older operating systems, the option is there to allow you to make that decision."
    not going to be a problem?

  8. #8
    Moderator wonderlust's Avatar
    Join Date
    Jan 2008
    Location
    Swale, Kent
    Posts
    17,859
    Thanks
    407
    Thanked 910 Times in 753 Posts
    Rep Power
    11

    Default

    Quote Originally Posted by Icm76 View Post
    In english that means those that use illicit ways to activate windows will be unhappy.
    I am not losing weight! I'm getting rid of it. I have no intention of finding it again!

    Growing old is inevitable. Growing up is optional

    VSG Club Member No.1

  9. #9

    Join Date
    Feb 2010
    Posts
    1,858
    Thanks
    38
    Thanked 139 Times in 119 Posts
    Rep Power
    1

    Default

    No doubt that's a big part of the motivation for MS, but as long I can keep dual booting I'll be happy.

    The OEM suppliers not providing the option to turn off secure boot does sound like it may be an anti-trust lawsuit waiting to happen.

  10. #10
    Ubuntu-ized Mr Banana's Avatar
    Join Date
    May 2010
    Location
    Devon - England
    Posts
    2,261
    Thanks
    269
    Thanked 95 Times in 71 Posts
    Rep Power
    1

    Default

    Yeah and it's supposed to be an option in the BIOS to turn it off/on isn't it? So unless OEM's are ripping that out of the BIOS it shouldn't be a problem. Certainly not a problem for any of us pc builders anyway.
    GamingOnLinux.com - The number 1 Linux gaming community
    Steam: liamdawe - CS:GO, L4D2, DOTA 2, Killing Floor

  11. #11
    /dev/null Plan9's Avatar
    Join Date
    Aug 2011
    Location
    /root/
    Posts
    2,291
    Thanks
    315
    Thanked 253 Times in 197 Posts
    Rep Power
    1

    Default

    Quote Originally Posted by Mr Banana View Post
    Yeah and it's supposed to be an option in the BIOS to turn it off/on isn't it? So unless OEM's are ripping that out of the BIOS it shouldn't be a problem. Certainly not a problem for any of us pc builders anyway.
    its more laptops i'm worried about. I've not built a desktop PC in years (well, not for desktop computing anyway.)

    There's also the issue of the ability to repurpose aging hardware (eg cheap media centres, home servers,etc)

  12. #12

    Join Date
    Sep 2011
    Location
    Edinburgh, in Scotland
    Posts
    227
    Thanks
    16
    Thanked 11 Times in 10 Posts
    Rep Power
    1

    Default

    I think that it's just Microsoft flexing their muscles again, they did something like this a few years back.

  13. #13
    /dev/null Plan9's Avatar
    Join Date
    Aug 2011
    Location
    /root/
    Posts
    2,291
    Thanks
    315
    Thanked 253 Times in 197 Posts
    Rep Power
    1

    Default

    Quote Originally Posted by GSVRasputin View Post
    I think that it's just Microsoft flexing their muscles again, they did something like this a few years back.
    The trusted computing thing, yeah. But that shouldn't mean we get complacent

  14. #14

    Join Date
    Sep 2011
    Location
    Edinburgh, in Scotland
    Posts
    227
    Thanks
    16
    Thanked 11 Times in 10 Posts
    Rep Power
    1

    Default

    Quote Originally Posted by Plan9 View Post
    The trusted computing thing, yeah. But that shouldn't mean we get complacent
    No I totally Agree, I for one will never back Ms Windows 8 nor a prebuild with any secure UEFI on it, You should be allowed to choose what software to run your hardware with.

    The only thing that worries me is if the *nix world has enough power to drag Microsoft through the courts on a Monopoly charge of some sort.
    If not, I am sure a work around will be in place quick enough.

  15. #15
    /dev/null Plan9's Avatar
    Join Date
    Aug 2011
    Location
    /root/
    Posts
    2,291
    Thanks
    315
    Thanked 253 Times in 197 Posts
    Rep Power
    1

    Default

    Quote Originally Posted by GSVRasputin View Post
    No I totally Agree, I for one will never back Ms Windows 8 nor a prebuild with any secure UEFI on it, You should be allowed to choose what software to run your hardware with.

    The only thing that worries me is if the *nix world has enough power to drag Microsoft through the courts on a Monopoly charge of some sort.
    If not, I am sure a work around will be in place quick enough.
    Opera managed to for IE, so I can't see why Canonical couldn't.

    Companies like Novell might not be able to due to patent agreements with MS though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •