News for hackers. Stuff that matters.
Re:Errata prompt Intel to disable TSX in Haswell, early Broa... by pgeorgi on Tuesday August 12, 2014 @04:23PM (#8169937)
And in exchange for that audit they gained permission to get their own microcode updates signed, too?
Re:Errata prompt Intel to disable TSX in Haswell, early Broa... by amluto on Tuesday August 12, 2014 @07:43PM (#8170784)
I'm not sure why they'd want it. Unless there's secret non-volatile storage on Intel chips, there's relatively little of value that you can do using a rogue microcode update. This is because Intel chips reset to factory microcode when rebooted.

It's plausible that a rogue microcode update could be used to bypass TPM static-root-of-trust protections, though, and a microcode update could certainly bypass TXT's dynamic root of trust. This might enable a bootable USB stick that would load malicious microcode and then reboot warmly enough to preserve the microcode and then launch the OS with a TXT bypass.

Even so, I don't really see the point. So far, essentially every BIOS can be freely (or freely using an exploit) reflashed from kernel mode, and a new image could contain malicious SMM code, and SMM code can also bypass both static and dynamic roots of trust.

Re:Errata prompt Intel to disable TSX in Haswell, early Broa... by xorcist on Wednesday August 13, 2014 @01:33AM (#8171584)
There are plenty interesting things you could do in processor firmware. Here are three examples:

Tamper with AES and randomness instructions.

Plant a very obscure privilege escalation exploit. Given the prevalence of java, activex and google nacl, escaping sandboxes is a big thing.

Tamper with the MMU to make a certain software invisible.

If they had the opportunity, it's not unlikely they did something like this. Perhaps just in a directed attack. They've done extensive firmware patching in the past in you believe last year's leaks.

A more interesting question is whether they didn't have to, because they had a say in making the silicon in the first place. The risk is there, it's not crazy to see it. Even FreeBSD who was the last mainstream OS to use the randomness instructions unadultered doesn't do that anymore.

Re:Errata prompt Intel to disable TSX in Haswell, early Broa... by pgeorgi on Wednesday August 13, 2014 @01:40AM (#8171596)
Make RDRAND less random, store AESNI key data in a place you can later exfiltrate it from, provide SMM capabilities to the current execution context with some magic opcode (I grant that the latter is easier done through a malicious firmware update - but that's also easier to detect, since x86 code is a known format)...

Modulo the microcode signature, flash is better locked down these days: Flash updates are typically arbitrated by the firmware (though that's also just one signature away), requiring a reboot, while microcode updates are still free for all (in ring0 - realtek already lost a driver signing key once, why not again?).

Re:Errata prompt Intel to disable TSX in Haswell, early Broa... by amluto on Thursday August 14, 2014 @02:29PM (#8178971)
Flash updates arbitrated by firmware? In theory, yes, but in most systems they're not. [1][2]

[1] http://www.syscan.org/index.php/download/get/6e597f6067493dd... [2] http://mjg59.dreamwidth.org/30773.html

Re:Errata prompt Intel to disable TSX in Haswell, early Broa... by pgeorgi on Friday August 15, 2014 @02:46AM (#8181222)
I have a board normally running UEFI Secure Boot with no flash lock enabled at all right here on my desk - with UEFI replaced by a sane coreboot implementation (which locks down flash and SMM memory and signals unconditionally on boot).

So yes, I'm quite aware of the immense set of faults in UEFI implementations (some of which are encouraged by UEFI's design, where more layers of UEFI are added to mitigate them).

But as an attacker I wouldn't want to assume that I run into any single of the many UEFI implementation quirks and adapt my attack to everyone of them.

And I really hope for Intel that Tianocore won't become an endless stream of portable UEFI security issues - otherwise the IBVs might get second thoughts about standardizing on a single codebase.