Sunday, November 20th 2011
Windows 8 Secure Boot Feature: Not So Secure?
We have brought you the potential perils of the upcoming UEFI Forum-implemented - www.uefi.org - Windows 8 secure boot feature here, here and here. However, it appears that it may not be so 'secure' after all, since there appears to be a surefire way to circumvent it, at least for the moment, while it's in development.
Softpedia has scored an exclusive interview with security researcher Peter Kleissner, who has created various Windows (XP, Server 2003 etc) "bootkits", which allow OS infection at the highest privilege level, giving unrestricted access to the whole of the PC. His latest one, called Stoned Lite, shows how the Windows 8 secure boot process, still in development, can be subverted, as it stands. He is planning to release details of how the code works at the upcoming International Malware Conference (MalCon) - malcon.org - that will take place in India on November 25th. It appears that the real vulnerability exists in the legacy BIOS boot procedure, not in Microsoft's implementation of secure boot, as Kleissner said:
And as Softpedia put it:
Still, it makes Microsoft's bold claim in September, that:
Note that Kleissner will not be at MalCon in person, because he will be attending another conference held on the same day, the European Bitcoin Conference in Prague, where he will show "how to re-direct locally initiated BitCoin transactions, but also show how the BitCoin wallet can be secured better against theft." Therefore, someone else will go in his place to deliver the message, or he may pre-record it.
Finally, while this is a big step forward for PC security, like every other security improvement, there's always a hack to get around it with time somehow, somewhere, which can then be patched and hacked and patched... However, in this case, when the secure boot system goes live and a core vulnerability is found in the UEFI or some other low level component, patching won't be so simple, or maybe even impossible, due to its low level nature. So, once again the suspicion remains that this whole 'initiative' is a backdoor to locking out competing operating systems such as Linux and to DRM your whole PC to 'protect' the profits of big content, in a similar way they already do on games consoles.
There's a lot of big corporate interests riding on secure boot, so do not ever rule out the possibility that it will be subverted to further them.
Softpedia has scored an exclusive interview with security researcher Peter Kleissner, who has created various Windows (XP, Server 2003 etc) "bootkits", which allow OS infection at the highest privilege level, giving unrestricted access to the whole of the PC. His latest one, called Stoned Lite, shows how the Windows 8 secure boot process, still in development, can be subverted, as it stands. He is planning to release details of how the code works at the upcoming International Malware Conference (MalCon) - malcon.org - that will take place in India on November 25th. It appears that the real vulnerability exists in the legacy BIOS boot procedure, not in Microsoft's implementation of secure boot, as Kleissner said:
The problem with the legacy startup is that no one verifies the MBR, which makes it the vulnerable point. With UEFI and secure boot, all the boot applications and drivers have to be signed (otherwise they won't be loaded). You can compare it to TPM, although Arie van der Hoeven from Microsoft announced that the secure boot feature is mandatory for OEMs who want to be UEFI certified. It is a good message that security is not an option.
And as Softpedia put it:
Stoned Lite actually works by infecting the MBR, while storing its components "outside the normal file system." Startup files are "hooked" and "patched" before Windows starts, these files being changed in Windows 7.Kleissner explained that the basic way Stoned Lite works is by using command line escalation:
As payload I use the command line privilege escalation. Once whoami.exe is launched, it elevates the cmd.exe process rights to SYSTEM by overwriting its security token with a duplicated system process one.So, this problem is only present if someone has physical access to the computer and is able to boot off a CD or USB stick. Therefore, this security vulnerability will have no impact in many scenarios where the threat of this kind of attack is very low. Examples include the home environment (usually) and data centres with very good physical security and the other measures they have in place. The most likely place for problems could be in workplaces where someone boots a PC after hours and installs a keylogger or other malware on the system. A significant threat, to be sure. However, despite this vulnerability, secure boot still makes conventional malware attacks useless, such as drive-by downloads from malicious or hacked websites and opening attachments from spam emails, among the many infection vectors around.
Additionally it will patch the password validation function (MsvpPasswordValidate) so you can use any password for any local user account to log on. You will be able to start Stoned Lite from a USB flash drive or CD where it will be only active in memory.
Still, it makes Microsoft's bold claim in September, that:
Secured boot stops malware in its tracks and makes Windows 8 significantly more resistant to low-level attacks. Even when a virus has made it onto your PC, Windows will authenticate boot components to prevent any attempt to start malware before the operating system is up and running.a little less reassuring, doesn't it?
Note that Kleissner will not be at MalCon in person, because he will be attending another conference held on the same day, the European Bitcoin Conference in Prague, where he will show "how to re-direct locally initiated BitCoin transactions, but also show how the BitCoin wallet can be secured better against theft." Therefore, someone else will go in his place to deliver the message, or he may pre-record it.
Finally, while this is a big step forward for PC security, like every other security improvement, there's always a hack to get around it with time somehow, somewhere, which can then be patched and hacked and patched... However, in this case, when the secure boot system goes live and a core vulnerability is found in the UEFI or some other low level component, patching won't be so simple, or maybe even impossible, due to its low level nature. So, once again the suspicion remains that this whole 'initiative' is a backdoor to locking out competing operating systems such as Linux and to DRM your whole PC to 'protect' the profits of big content, in a similar way they already do on games consoles.
There's a lot of big corporate interests riding on secure boot, so do not ever rule out the possibility that it will be subverted to further them.
35 Comments on Windows 8 Secure Boot Feature: Not So Secure?
You could argue that you could encrypt your data, but very few of us actually do that. And I'm sure any method of encryption that allows decryption can also be circumvented (eg, using master keys and back doors that are always there, you just aren't informed about it).
Another issue with all these "reports" is that they talk about a pre-release alpha version of the OS. And this is nice and informative, but in no way representative about the final version of the OS. I will keep my tin-foil hat away until the OS actually ships.
If it's not encrypted then yeah, your PC and your data are toast, as you say.
Rainbow tables are making even high end encryption look like old WEP codes with modern computing power on the GPU.
this has nothing todo with Microsoft OR secure-boot this is by your own admission a bios flaw
and now that we know HOW the exploit is done its a simple matter to patch it
GG security researchers
another spun-thread by qubit ... nothing to see here move along people
See? My title says pretty much the same thing, don't it? And as you've said so yourself, my article explains why. Now here's that humble pie you've been meaning to eat... :shadedshu
Now say something that's other than thread crapping or keep quiet.
There's a great demo you can get on AMDS website for a rar archive password cracker I believe ( think it was there I saw it) performance is impressive.
I mean really complex stuff would still take a day to crack, but what's a day? Can leave it running whilst you do other stuff :laugh:
You are a news reporter, you should be able to get something this simple right!
Look, it's something that's implemented in Windows 8, so it's a Windows 8 feature. Nothing more, nothing less. It's obviously not a feature of any earlier versions of Windows, since they didn't implement it. The fact it also happens to be an industry standard that anyone can use is neither here nor there. And I did actually say "UEFI Forum-implemented - www.uefi.org - Windows 8 secure boot feature" to really clarify it, too.
I guess you would call x86-64 "Windows XP x86-64" then, since XP was the first Windows OS to support it. The logic is the same, right? The fact that it happens to be an industry standard developed and implemented completely outside of Windows by totally different companies is neither hear nor there...:rolleyes:
In fact, lets just go ahead and start calling UEFI "Windows Vista UEFI" since that was the first Windows OS to support UEFI. It is neither here nor there that Windows Vista has nothing to do with its implementation and design. Or for that matter it doesn't even matter that Windows Vista isn't even required to use the feature, it works with plenty of other OSes, that doesn't matter. It is a feature supported by Windows Vista, so you should just start referring to it as "Windows Vista UEFI".
Re your Windows example, I have the actual OEM DVD box of the 64-bit version of XP in my paw as we speak and you know what it's called? "Microsoft Windows XP Professional x64 Edition". Yup, industry standard feature of '64-bit processing' is embedded right there in the product name. You surely must have seen these in your shop? qubit 1, NT 0 ;)
Here, look at this snippet from InfoWorld: Exactly the same way I've said it. So they surely must be wrong as well? I guess you're gonna say that the quotes make a difference?
Anyway, I can't be bothered to argue it any more with you.
So again, why do you think Windows 8 Secure Boot is correct when secure boot is a UEFI feature, not a Windows 8 feature?
And just to be clear, you know it is incorrect, you even acknowledge that in the first sentence of your article. It is a UEFI feature, yet you made the title to sound like it is a feature of Windows 8.
Automotive safety bodies of government, or policies related to it, "IMPLEMENT" the installation of seatbelts and/or airbags in cars.
It would be even more obvious in the past where seatbelts have to be required by government.
Therefore seatbelts were "features" of the government policy and not "features" of the cars that have seatbelts?
Now he can start series of negative news posts about how Saab Seatbelts can actually cause deaths in car accidents.
So to answer the question, seatbelts are a George Cayley invention. So if anything they should be "George Cayley Seatbelts", or just "Seatbelts". But you certainly wouldn't refer to them as "Saab Seatbelts" just because Saab supported their use and implemented them in their cars, would you?
With Secure Boot, you can call it "UEFI Secure Boot" or just "Secure Boot", but calling it "Windows 8 Secure Boot" is wrong.
/rant
While qubit might be bringing a Charlie Demerjian vibe to TPU, I must give him the benefit of the doubt since he seems to be hating on the entire IT industry, not just the two or three companies. The "Secure Boot" feature seems to be misunderstood as we don't all know exactly what it is.
We browsed the "reports" (not just the TPU versions) and since all of them are heavily biased they try to make Windows 8 (and Microsoft) the bad guy here. It wouldn't be news if it wasn't about a new, shiny (unreleased) product.
The attack described in this article seems to not be geared towards Windows 8 to be fair. Since the attack patches the MBR and then uses an inherent OS problem to obtain elevated rights it looks like Vista, Windows 7, Windows Server 2008 (R1/R2) and possibly others that support UEFI (or any hybrid UEFI version) can be attacked in the exact same way, and I don't see it now how it is related to UEFI or the secure boot feature.
To this looks to be nothing more then a puny OS vulnerability (like hundreds before it and hundreds after it) made to look like UEFI/Microsoft are the bad guys here. It will get patched, before or after the OS ships. Even more it is a vulnerability that first attacks the legacy part of the OS, and I thought that UEFI is the step away from legacy.
So it looks to me like UEFI and Microsoft should make the secure boot feature even more closed and draconic in nature in order to protect their customers. And in this way the reports are contradicting in nature, since half of them complain about the feature locking out Linux and other fluffy things like that while the other half complain about it letting in governments and other not-so-fluffy things.
I remember the same reaction when Microsoft introduced the driver signature enforcement in Vista, everyone automatically switched to panic mode, but in the end all was good.
Like then, everyone is now overreacting, trying desperately for their 15 minutes in the spotlight, and in a way, "Windoze 8 is the D3vil" articles will bring in many visitors to any site, visitors that will translate into add revenue.
it still has a hole
no application that secure 100%