2022 IEEE Symposium on Security and Privacy (SP) · 2022 · 20 citations · 34 references
ComputingComputer EngineeringComputer ScienceApplication SecurityComputer SecurityCryptographyCryptography In ApplicationsMicroarchitectural SecurityCryptographic OperationsDomain-based Memory ProtectionInformation Flow AnalysisMemory IsolationMemory Leak VulnerabilitiesMemory Protection MechanismsProtectionSource Code Analysis
Protecting confidential data against memory disclosure attacks is crucial to many critical applications, especially those involve cryptographic operations. However, it is neither easy to identify involved cryptographic confidential data in a program nor to implement a fine-grained and yet efficient protection. Existing defensive techniques face many shortcomings such as coarse-grained protection or exorbitant overhead. As a result, real world crypto applications seldom applied this kind of protection in practice.To make the protection of cryptographic confidential data practical, we design and implement CRYPTOMPK, a source code analysis and transformation system to implement a domain-based memory isolation. CRYPTOMPK first automatically tracks and labels all sensitive memory buffers and operations in source code with a context-sensitive, crypto-aware information flow analysis. Then it partitions the source code into crypto and non-crypto domains with a context-dependent privilege switch instrumentation. By further utilizing Intel Memory Protection Keys (MPK), CRYPTOMPK generates executables with efficient domain switching, protecting them against typical memory disclosure vulnerabilities such as arbitrary memory read. In particular, by using CRYPTOMPK, a large number of intermediate memory buffers that have been previously ignored before are well protected, and thus the security risks are reduced significantly. We leveraged CRYPTOMPK to protect prevalent applications such as Apache and Nginx with widely used crypto libraries (e.g., OpenSSL, LibSodium). CRYPTOMPK only needs several minutes to analyze each of these complex cryptographic programs and incurs at most 9.53% performance overhead for the protected programs.
34
Modular Multiplication Without Trial Division
Peter L. Montgomery · Mathematics of Computation · 1985 · 1.1K citations · Full text
J. Alex Halderman, Seth David Schoen, Nadia Heninger et al. · Communications of the ACM · 2009 · 966 citations
László Szekeres, Mathias Payer, Tao Wei et al. · 2013 · 658 citations · Full text
Zakir Durumeric, Frank Li, James Kasten et al. · 2014 · 657 citations · Full text