Re:Inception: DMA Attack Against Linux, Windows, and Mac
by sweis on Tuesday March 31, 2015 @12:50AM
(#9294444)
Yep, we ran the entire Linux stack pinned in the L3 cache, so no data or code hit main memory which was not encrypted.
Ironically, we could test this by disabling VT-d and using a DMA device to read encrypted main memory. Here's an old demo video: https://www.youtube.com/watch?v=chvJpEmXvDk
For example, in a context of password storage app, the passwords and associated text should not remain in the clear in memory, and possibly even the character buffer of entry fields such as JPasswordField.
This is the reason for the MemCrypt code mentioned earlier.