Securing Runtime Memory via MMU Manipulation
Description
t is often useful for a code component (e.g., a library) to be able to maintain information that is hidden from the rest of the program (e.g., private keys used for signing, or usage counters used for behavioral monitoring of the program). In this paper, we present an extension to a previously developed mechanism for controlling access to libraries, in order to implement a scheme that allows each library to have its own private storage space. When running code outside the address space of a given library, the pages containing the private memory of that library are not mapped into the program’s address space, hence are not accessible to the rest of the program. Finally, we present an API that allows library developers to utilize private storage.