Re:Unhackable Kernel?
by nickpsecurity on Friday September 18, 2015 @01:22PM
(#10240529)
This is why you address system security holistically. There are countless projects that sprang from the Aegis processor that address the fact that RAM and devices aren't trustworthy. One had the start of an EAL7 argument for security of software from all those attacks via the hardware mechanism without modifying the processor's internal RTL. Another shows security of information flow of a design down to the gates. Others are about just synthesizing correct designs that arbitrary parties can produce for a fab and composing them into a trustworthy system.
The problem, if not specific attack, has been known a long time. The Tandem NonStop architecture assumed that its memory, I/O, and key components could fail. So, they designed system to work correctly regardless plus linear scaling of resources. My proposal was to integrate above technologies with older, non-patented version of NonStop for high security and availability.
Unfortunately, it's true that might not be enough to prevent attacks in some settings. For example, see Govindavajhala and Appel's "Using Memory Errors to Attack a Virtual Machine".
https://www.cs.princeton.edu/~appel/papers/memerr.pdf
In this case, they show that even given correct software safety guarantees, they can write a program which requires only one bit flip in any of a large number of RAM locations in order to achieve privilege escalation or violate the safety guarantees. They can then heat or irradiate the DRAM chips and make such a bit flip likely to occur. Since they can't control which bit will flip, it might sometimes crash the computer, but it's more likely to make their attack succeed.
So, one thing to study with systems like this is whether hardware fault injection can compromise the security guarantees in a way that would allow an attack to succeed.