Shuttleworth: Why Windows 8 made us ditch GPL Linux loader
theregister.co.uk
theregister.co.uk
Does anybody serious believe that UEFI will "block viruses" from meddling with any boot process? Are boot-sector viruses even a problem any more, because it was pretty obvious that boot-time viruses (like "Brain") were only widely spread by MS-DOS and early Windows, that required a lot of boots. Boot-time viruses never made inroads in other populations of computers, just like Macro viruses never made inroads except in "Word" dominated environments.
UEFI is a power play, pure and simple, just like Digital Rights Management (a.k.a. "copy protection").
"UEFI reimplements a full networking stack, unlike many BIOSes, and therefore is a target for remote security exploits" [http://catless.ncl.ac.uk/Risks/26.18.html#subj13]
Disclaimer: Not a programmer and not into details of hardware, just interested
Notes, though:
* All BIOS-based PCs and many ARM-based PCs (as well as other CPU-based units) are currently vulnerable. As others have noted, this is not a very active threat vector compared to, say, Flash bugs and infected software ("...to view this p0rn, you have to install this codec" - bam! you are pwned).
* Ability to bypass the key signing via a stolen key is necessary but not sufficient for an attack. You also have to get (trick) the user into installed infected boot-type code. The advantage is that you can then install rootkit-class software, which is very very hard to detect and eradicate.
* People with "powerful" keys take extensive measures to protect them. Having said that, people with "powerful" keys have slipped up, which causes a lot of problems. Examples: Microsoft's key (an old one) was hacked and used to sign the "Flame" virus, Mozilla's private key revealed, the RSA key token hack.
References:
http://news.cnet.com/8301-10805_3-57446466-75/flame-virus-sp...
http://www.itnews.com.au/News/252766,comodo-hacker-reveals-m...
http://blogs.computerworld.com/17995/rsa_securid_hacked_2fa_...
As you mentioned, ZeroAccess is spyware that installs itself to the master boot record to avoid detection or removal. Boot sector viruses are indeed still an unfortunately common issue.
The implementation of UEFI needs to be flawless for the keys and the signing to make any difference, leaked or not, except for control of the consumer marketplace. Look at "rooting" Android smartphones, or putting alternate OSes on the Wii. Imperfect implementations spoil the security.
Even if "bootkits" are making a boot sector virus comeback, UEFI will not make much more than a temporary difference.
I have addressed this in a previous comment here. http://news.ycombinator.com/item?id=4190483
"ohh i have money. I can buy into the game and finally have more installs than Debian"
Let's see how that plays out later, since we all know this boot shenanigans do nothing it advertised (virus, security) and only serve to harden the installation of non windows os
I'm not saying I'm happy about any of this, but complaining about the money makes you sound exactly as credible as someone calling Ubuntu suckers because they pay for SSL certificates. (Especially because SSL has all the same issues of root keys owned by rapacious trusted third parties, and a security benefit that isn't obviously that big, these days...)
now back to the sucker part. thanks to ubuntu, everyone now instead of complaining or not buying hardware because free drivers aren't provided, will just and gladly use binary ones. and then complain that linux is unstable. i know it's a fine line to walk since otherwise they will just complain linux is not compatible with anything... but i think the later is fixable.
As a more extreme example, lets say I have software with a license that requires you to punch yourself in the face in order to use it. If I find you've used it without punching yourself in the face; I can't compel you to punch yourself in the face, I can only collect monetary damages and get a court to forbid you from using my software anymore.
When you've tightly tied yourself to a single GPL product, it may be easier to just comply with the GPL than to switch to using non-GPL software, but a bootloader is hardly a tightly integrated part of an OS; they could release with grub 2 and switch to elflinux if it is determined that they were violating the GPL3 by not divulging their keys.
There are certain conditions under which specific performance is not an option. One of those is if it would cause undo hardship on the defendant. That would be sufficient to rule out a court ordering you to punch yourself in the face.
Offhand, I can't think of any of these conditions that would apply in the case of the GPLv3 requirement to disclose signing keys, and so don't see why specific performance would not be a possible outcome there.
[1] There is some question as to whether or not free and open source licenses should be treated as contracts in litigation, or if such cases should be treated as copyright infringement cases with the license only coming up as a possible defense.
See: http://www.softwarefreedom.org/resources/2008/compliance-gui... (5.2, Termination)
Also, as a Linux vendor, you really don't want to get caught violating the GPL voluntarily.
Canonical is not really a small-time player in the Linux world.
My point was that it is not true that you can just pay up when convicted and continue as before if you are found to be in violation of the GPL.
It's like saying Americans will be forced to buy health insurance soon. They don't have to if they quit their job and keep their income below the poverty level, but that's not really a viable alternative for most, so "forced to buy health insurance" remains an accurate summary.
FSF's stance on this seems to be different from yours.
Quoting from the blog post[1]:
>This fear is unfounded and based on a misunderstanding of GPLv3. We have not been able to come up with any scenario where Ubuntu would be forced to divulge a private signing key because a third-party computer manufacturer or distributor shipped Ubuntu on a Restricted Boot machine. In such situations, the computer distributor -- not Canonical or Ubuntu -- would be the one responsible for providing the information necessary for users to run modified versions of the software.
See the last line? So basically FSF is claiming that the private key must be divulged, just not by Ubuntu, but the OEM. What if the OEM is a Ubuntu partner? They would be in a bind, having to chose between divulging the key(and probably having it revoked when a rootkit starts using it) and throwing their OEM partner under the bus.
As you said, if the bootloader is easily replaceable with something with a more open license, why subject yourself to this possible headache?
[1] https://www.fsf.org/campaigns/secure-boot-vs-restricted-boot...
https://www.fsf.org/campaigns/secure-boot-vs-restricted-boot...
Now because FSF is also the copyright holder of GRUB, their interpretation of the GPLv3 is trustworthy in this context, but in other contexts, the FSF doesn't get to issue retroactive interpretations about the text of the GPLv3. So seeking the advice of actual lawyers about what the actual text means is entirely reasonable.
Does anyone know what he's talking about here?
In this case it would be as simple as allowing the user to install their own key or disable secure boot. If an OEM didn't do that and pre-installed Ubuntu on the machine there is no way that Ubuntu would be required to reveal their private key, they did nothing wrong, the OEM is the one who violated the license and they are on the hook for damages.
GRUB is a decent bootloader, but it's not sufficiently better than the alternatives to justify the additional costs keeping it would have imposed. (These additional costs would likely not be actual expenditures, but reserves booked pursuant to accounting standards).
Heck and i always seen gpl extremists as crazy and release all my code under mit... And even so i refuse to use Ubuntu anymore.
You can never have everything; Ubuntu cares more about things that lead to adoption (i.e. usability), Debian cares more about purity.
The reason is that there is a proper organization that people trust and understand behind it (Canonical). People with incentives, money and ads.
Idealism has little to do with it. Granted, Ubuntu would be a bit less popular if they were as pure, but I don't think it makes much of a difference in the end.
Ubuntu wouldn't lose on mere "popularity" by being less pragmatic, they'd lose on hardware compatibility. It's pretty easy for a technical user who knows they want Linux to find hardware well-supported on Linux before they buy it, but the average user will come with a computer already purchased, and ask if Ubuntu works on their computer.
* excluding unity