Author's Opinion

The views in this column are those of the author and do not necessarily reflect the views of iTWire.

Have your say and comment below.

Sunday, 03 February 2013 12:44

Could secure boot lead to Linux v Linux strife?

By

Could Microsoft's implementation of secure boot be, one day, the reason why Linux vendors get into strife with each other? Could Oracle one day go to Microsoft in order to get a key issued to Red Hat by Microsoft revoked?

Kernel developer Matthew Garrett raised this possibility last year, within the context of a discussion that focused on the additional measures that have to be implemented for Linux systems to satisfy all the requirements of secure boot, so that there is no door left open for Microsoft to revoke the key issued to any Linux distribution.

Secure boot is a feature of the Unified Extensible Firmware Interface, the replacement for the motherboard firmware or BIOS. It has been implemented by Microsoft in a manner that effectively prevents easy booting of other operating systems on machines which have secure boot enabled.

An exchange of cryptographic keys takes place at boot-time so that a system can verify that the operating system attempting to boot is a genuine one, and not malware. There are further key exchanges along the way. Microsoft controls the key-signing authority, and thus anyone who wishes to boot an operating system on hardware certified for Windows 8 has to buy a Microsoft key.

In order to satisfy Microsoft's requirements, there should be no possibility of using Linux to attack a Windows 8 system on the same machine, and while the discussion centred on this, Garrett, at the time an employee of Red Hat, wrote: "Linux vendors may care about Linux on Linux attacks. It's all fun and games until Oracle get Microsoft to revoke Red Hat's signature."

Earlier in the discussion, developer Eric Paris had raised the possibility of Linux on Linux attacks, to which another developer, James Bottomley, who is also affiliated with the Linux Foundation, wrote: "Microsoft doesn't really care about Linux on Linux attacks, so preventing or allowing them isn't going to get a distro key revoked."

In response to Garrett, Bottomley said: "I agree that's a possibility. However, I think the court of public opinion would pillory the first Commercial Linux Distribution that went to Microsoft for the express purpose of revoking their competition's right to boot. It would be commercial suicide."

Garrett elaborated on his point by saying: "Oracle are something of a vexatious litigant as far as the court of public opinion is concerned, but even without that it could be a customer who complains. If you're personally comfortable with a specific level of security here, that's fine - but it's completely reasonable for others to feel that there are valid technical and commercial concerns to do this properly."

Senior Linux developer Alan Cox did not think much of Garrett's comments, responding to the first post with "Fear uncertainty and doubt (and if you think Oracle are going to do that I suspect your lawyers should deal with it)".

Oracle Unbreakable Linux - the company's slogan for selling the operating system - is not a distribution per se. Oracle does what CentOS does - take Red Hat Enterprise Linux, strip out the trademarks and then provide it to customers.

When Garrett responded, claiming "Lawyers won't remove blacklist entries," Cox reiterated his statement, adding a friendly warning to Garrett: "Fear Uncertainty and Doubt. Courts do, injunctions do, the possibility of getting caught with theirs (sic) hands in the till does. But I suspect your lawyers should also deal with public comments about Oracle such as the one you've made before you make them in public 8)."

Meanwhile, the process of satisfying Microsoft's secure boot requirements is continuing to make demands on developers. Two recent moves have been the release of patches for disabling hibernation in the kernel and also disabling kexec.

Hibernation needs to be disabled because the Linux image that returns from such a state cannot be verified; this is a requirement of the secure boot security model. And kexec needs to be disabled because it is a system call that can replace the running kernel with a different program.

These patches will have to be the default for Linux distributions that want to conform to the requirements of secure boot and not get the keys they buy from Microsoft blacklisted.

In short, Microsoft is asking Linux developers to jump and they are merely asking, "how high?"

As senior Debian developer and veteran sysadmin Craig Sanders put it to Garret on another discussion forum: "You mean well and have good intentions, but you are enabling Microsoft in their aim to be gatekeeper of what software is permitted to execute.

"Aside from the old adage about the road to hell, the trouble with your work is that it is short-sighted and short-term pragmatism (you have what appears to be a technical problem and want to solve it now) with no regard for the long-term consequences. One day you will realise exactly what you have enabled and come to bitterly regret it. Unfortunately, you won't be the only one to suffer the consequences."

Both efforts to create a first-stage bootloader for Linux on secure boot-enabled machines - Garrett's shim and Bottomley's effort on behalf of the Linux Foundation - appear to be driven by corporate needs. As Sanders put it, "Appeasement on the secureboot issue may be good, cheap, and convenient policy for RH and other corporate linux vendors. Not for anyone else."

Bottomley, meanwhile, after failing to get his initial code submission for a first-stage bootloader through the Microsoft bureaucracy, has recrafted the solution and submitted it to Microsoft on January 21. Bottomley wrote in his own blog that the solution had to be recrafted so that it would work with the Gummiboot simple UEFI boot manager. The Linux Foundation's goal is to provide a first-stage bootloader that works with all distributions. Bottomley expects the recrafted solution to be available soon after it is passed by Microsoft.

It is slowly becoming apparent that appeasing Microsoft is not a one-day or one-month or even a one-year affair. It is a shameful state to be in, but the Linux community seems incapable of feeling shame anymore.


Please join our community here and become a VIP.

Subscribe to ITWIRE UPDATE Newsletter here
JOIN our iTWireTV our YouTube Community here
BACK TO LATEST NEWS here

PROMOTE YOUR WEBINAR ON ITWIRE

It's all about Webinars.

Marketing budgets are now focused on Webinars combined with Lead Generation.

If you wish to promote a Webinar we recommend at least a 3 to 4 week campaign prior to your event.

The iTWire campaign will include extensive adverts on our News Site itwire.com and prominent Newsletter promotion https://itwire.com/itwire-update.html and Promotional News & Editorial. Plus a video interview of the key speaker on iTWire TV https://www.youtube.com/c/iTWireTV/videos which will be used in Promotional Posts on the iTWire Home Page.

Now we are coming out of Lockdown iTWire will be focussed to assisting with your webinatrs and campaigns and assassistance via part payments and extended terms, a Webinar Business Booster Pack and other supportive programs. We can also create your adverts and written content plus coordinate your video interview.

We look forward to discussing your campaign goals with you. Please click the button below.

MORE INFO HERE!

INTRODUCING ITWIRE TV

iTWire TV offers a unique value to the Tech Sector by providing a range of video interviews, news, views and reviews, and also provides the opportunity for vendors to promote your company and your marketing messages.

We work with you to develop the message and conduct the interview or product review in a safe and collaborative way. Unlike other Tech YouTube channels, we create a story around your message and post that on the homepage of ITWire, linking to your message.

In addition, your interview post message can be displayed in up to 7 different post displays on our the iTWire.com site to drive traffic and readers to your video content and downloads. This can be a significant Lead Generation opportunity for your business.

We also provide 3 videos in one recording/sitting if you require so that you have a series of videos to promote to your customers. Your sales team can add your emails to sales collateral and to the footer of their sales and marketing emails.

See the latest in Tech News, Views, Interviews, Reviews, Product Promos and Events. Plus funny videos from our readers and customers.

SEE WHAT'S ON ITWIRE TV NOW!

BACK TO HOME PAGE
Sam Varghese

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.

Share News tips for the iTWire Journalists? Your tip will be anonymous

VENDOR NEWS