DITING:用于识别TEE应用中不良分区问题的静态分析器
DITING: A Static Analyzer for Identifying Bad Partitioning Issues in TEE Applications
AI总结:
针对TEE应用因不良分区导致的安全漏洞,提出静态分析工具DITING,通过分析安全世界与普通世界间参数的数据流并检查其违反安全规则的情况,结合输入/输出和共享内存全面评估,在110个测试用例上取得0.90的F1分数。
摘要:
可信执行环境(TEE)通过将敏感代码隔离在安全世界中,使其免受非安全普通世界的影响,从而增强移动应用和云服务的安全性。然而,TEE应用仍然面临由不良分区导致的漏洞。不良分区可能引发TEE的关键安全问题,例如将敏感数据泄露给普通世界,或受到来自普通世界的恶意输入的不利影响。为解决此问题,我们提出了一种检测TEE应用中分区问题的方法。首先,我们对由不良分区引起的TEE漏洞进行了调查,发现安全世界与普通世界之间交换的参数往往包含因不良分区实现而导致的不安全使用。其次,我们开发了一个名为DITING的工具,该工具能够分析这些参数的数据流,并识别它们对我们定义的安全规则的违反情况,从而发现不良分区问题。与现有研究仅关注对TEE的恶意输入不同,我们通过输入/输出和共享内存更全面地评估分区问题。最后,我们创建了首个针对不良分区的基准测试集,包含110个测试用例。实验表明,DITING在识别不良分区问题方面达到了0.90的F1分数。
英文摘要:
Trusted Execution Environment (TEE) enhances the security of mobile applications and cloud services by isolating sensitive code in the secure world from the non-secure normal world. However, TEE applications are still confronted with vulnerabilities stemming from bad partitioning. Bad partitioning can lead to critical security problems of TEE, such as leaking sensitive data to the normal world or being adversely affected by malicious inputs from the normal world. To address this, we propose an approach to detect partitioning issues in TEE applications. First, we conducted a survey of TEE vulnerabilities caused by bad partitioning and found that the parameters exchanged between the secure and normal worlds often contain insecure usage with bad partitioning implementation. Second, we developed a tool named DITING that can analyze data-flows of these parameters and identify their violations of security rules we defined to find bad partitioning issues. Different from existing research that only focuses on malicious input to TEE, we assess the partitioning issues more comprehensively through input/output and shared memory. Finally, we created the first benchmark targeting bad partitioning, consisting of 110 test cases. Experiments demonstrate that DITING achieves an F1 score of 0.90 in identifying bad partitioning issues.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。