3 ms·
I am not a CPU designer, so could someone explain the threat model of cpu microcode? Is it plausible that you could fit memory scraping code, including code tha
by belorn 12y ago
I am not a CPU designer, so could someone explain the threat model of cpu microcode? Is it plausible that you could fit memory scraping code, including code that interacts with OS network drivers, all inside the cpu microcode without causing catastrophically impact on performance?
- sp332 12y agoSure. The TPM is connected via a bus, but there's no reason you couldn't build something like it into any other chip, including the CPU itself. http://en.wikipedia.org/wiki/Trusted_Platform_Module http://en.wikipedia.org/wiki/Trusted_Platform_Module
- michaelt 12y agoYou don't need to - all you need is code that says if you're processing data and you see this special sequence of bytes, start executing whatever follows it as kernel-level code. This would be comparatively simple - you're just looking for a sequence of bytes and, if you see it, updating one or two registers. Then you just need to get the special sequence followed by your exploit into the target's memory, which is trivial. Send them an e-mail, embed it in a picture of a cat and post it to reddit, stick it on the end of a gif in a banner ad, whatever. If you check for the special sequence on the fast side of a fast/slow interface (like the interface between RAM and on-die cache) the speed impact would be all but invisible.
- comex 12y agoIn addition to michaelt's comment, it's worth noting that security issues are only one of many reasons to prefer free software - at least in the opinion of the GNU crowd they are appealing to.