arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1705.04706cs.CR
收藏

利用英特尔SGX创建保密加密库

Leveraging Intel SGX to Create a Nondisclosure Cryptographic library

Mohammad Hasanzadeh Mofrad, Adam Lee

摘要:

确保用户应用程序代码和数据的完整性和机密性是任何从事在线生产级服务的软件开发人员都面临的一项具有挑战性的任务。由于密码学不是一个广泛理解的主题,研究和行业前沿的人们总是在寻找新技术来自然地扩展他们的程序和系统的安全性。英特尔Software Guard Extension(英特尔SGX)是一项英特尔技术,面向希望保护其软件二进制文件免受使用硬件指令的合理攻击的开发人员。英特尔SGX将敏感代码和数据放入CPU强化的受保护区域(称为安全区)。在此项目中,我们利用英特尔SGX生成安全加密库,将生成的密钥保存在安全区域内,限制机密加密密钥的使用和传播。使用安全区来存储密钥,我们维护了一个小的可信计算基础(TCB),在那里我们还在临时缓冲区上执行计算,并从不可信的应用程序代码。作为概念证明,我们在安全区中实现了哈希和对称加密算法,在安全区中存储了哈希、哈希向量(IV)和随机密钥,并开源了代码(https://github.com/hmofrad/CryptoEnclave)。

英文摘要:

Enforcing integrity and confidentiality of users' application code and data is a challenging mission that any software developer working on an online production grade service is facing. Since cryptology is not a widely understood subject, people on the cutting edge of research and industry are always seeking for new technologies to naturally expand the security of their programs and systems. Intel Software Guard Extension (Intel SGX) is an Intel technology for developers who are looking to protect their software binaries from plausible attacks using hardware instructions. The Intel SGX puts sensitive code and data into CPU-hardened protected regions called enclaves. In this project we leverage the Intel SGX to produce a secure cryptographic library which keeps the generated keys inside an enclave restricting use and dissemination of confidential cryptographic keys. Using enclaves to store the keys we maintain a small Trusted Computing Base (TCB) where we also perform computation on temporary buffers to and from untrusted application code. As a proof of concept, we implemented hashes and symmetric encryption algorithms inside the enclave where we stored hashes, Initialization Vectors (IVs) and random keys and open sourced the code (https://github.com/hmofrad/CryptoEnclave).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑