arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1902.03256cs.CR
收藏

英特尔SGX实用飞地恶意软件

Practical Enclave Malware with Intel SGX

Michael Schwarz, Samuel Weiser, Daniel Gruss

摘要:

现代CPU架构以飞地的形式为用户应用程序提供了强大的隔离保证。例如,英特尔针对SGX的威胁模型假设完全受信任的飞地,但关于这种威胁模型是否现实存在持续的争论。特别是,目前还不清楚飞地恶意软件会在多大程度上损害系统。在这项工作中,我们实际上展示了第一个安全区恶意软件,它完全和偷偷地模仿其主机应用程序。与个人计算机上部署不良的应用程序隔离一起,这种恶意软件不仅可以窃取或加密文档以进行勒索,而且还可以代表用户行事,例如,发送网络钓鱼电子邮件或发动拒绝服务攻击。我们的SGX-ROP攻击使用新的基于TSX的内存泄露原语和write-anything-anywhere原语来构建来自飞地内的代码重用攻击,然后由主机应用程序无意中执行。使用SGX-ROP,我们绕过ASLR,堆栈金丝雀和地址消毒器。我们证明,SGX目前并没有保护用户免受伤害,而是构成了安全威胁,促进了所谓的超级恶意软件的攻击。通过我们的研究结果,我们试图揭开飞地恶意软件威胁的神秘面纱,并为未来研究和防御飞地恶意软件奠定坚实的基础。

英文摘要:

Modern CPU architectures offer strong isolation guarantees towards user applications in the form of enclaves. For instance, Intel's threat model for SGX assumes fully trusted enclaves, yet there is an ongoing debate on whether this threat model is realistic. In particular, it is unclear to what extent enclave malware could harm a system. In this work, we practically demonstrate the first enclave malware which fully and stealthily impersonates its host application. Together with poorly-deployed application isolation on personal computers, such malware can not only steal or encrypt documents for extortion, but also act on the user's behalf, e.g., sending phishing emails or mounting denial-of-service attacks. Our SGX-ROP attack uses new TSX-based memory-disclosure primitive and a write-anything-anywhere primitive to construct a code-reuse attack from within an enclave which is then inadvertently executed by the host application. With SGX-ROP, we bypass ASLR, stack canaries, and address sanitizer. We demonstrate that instead of protecting users from harm, SGX currently poses a security threat, facilitating so-called super-malware with ready-to-hit exploits. With our results, we seek to demystify the enclave malware threat and lay solid ground for future research on and defense against enclave malware.

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

↑