arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.11103cs.CRcs.SE
收藏

修复或不修复:对野生密码滥用的批判性研究

To Fix or Not to Fix: A Critical Study of Crypto-misuses in the Wild

Anna-Katharina Wickert, Lars Baumgärtner, Michael Schlichtig, Krishna Narasimhan, Mira Mezini

摘要:

最近的研究表明,使用加密API的Android应用程序中有87%到96%存在可能导致安全漏洞的滥用。由于以前的研究没有对结果的有效性和严重性进行定性检查,我们的目标是更深入地了解结果。我们分析了一组936个开源Java应用程序的加密滥用。我们的研究表明,88.10%的分析应用程序未能安全地使用加密API。通过对随机样本的手动分析,我们对有效的误报有了新的认识。例如,频繁误用的JCA类MessageDigest的每四次误用都是一次有效的误报,因为它发生在非安全上下文中。由于我们希望更深入地了解这些滥用的安全影响,我们为加密API滥用创建了一个广泛的漏洞模型。我们的模型包括以前未讨论的攻击,如DoS攻击的加密API的上下文中。该模型显示,近一半的滥用是高度严重的,例如,硬编码凭证和潜在的中间人攻击

英文摘要:

Recent studies have revealed that 87 % to 96 % of the Android apps using cryptographic APIs have a misuse which may cause security vulnerabilities. As previous studies did not conduct a qualitative examination of the validity and severity of the findings, our objective was to understand the findings in more depth. We analyzed a set of 936 open-source Java applications for cryptographic misuses. Our study reveals that 88.10 % of the analyzed applications fail to use cryptographic APIs securely. Through our manual analysis of a random sample, we gained new insights into effective false positives. For example, every fourth misuse of the frequently misused JCA class MessageDigest is an effective false positive due to its occurrence in a non-security context. As we wanted to gain deeper insights into the security implications of these misuses, we created an extensive vulnerability model for cryptographic API misuses. Our model includes previously undiscussed attacks in the context of cryptographic APIs such as DoS attacks. This model reveals that nearly half of the misuses are of high severity, e.g., hard-coded credentials and potential Man-in-the-Middle attacks.

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

↑