首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >CrySL: An Extensible Approach to Validating the Correct Usage of Cryptographic APIs
【24h】

CrySL: An Extensible Approach to Validating the Correct Usage of Cryptographic APIs

机译:CrySL:验证密码API正确使用的可扩展方法

获取原文
获取外文期刊封面目录资料

摘要

Various studies have empirically shown that the majority of Java and Android apps misuse cryptographic libraries, causing devastating breaches of data security. It is crucial to detect such misuses early in the development process. To detect cryptography misuses, one must first define secure uses, a process mastered primarily by cryptography experts, and not by developers.In this paper, we present CrySL, a definition language for bridging the cognitive gap between cryptography experts and developers. CrySL enables cryptography experts to specify the secure usage of the cryptographic libraries that they provide. We have implemented a compiler that translates such CrySL specification into a context-sensitive and flow-sensitive demand-driven static analysis. The analysis then helps developers by automatically checking a given Java or Android app for compliance with the CrySL-encoded rules.We have designed an extensive CrySL rule set for the Java Cryptography Architecture (JCA), and empirically evaluated it by analyzing 10,000 current Android apps. Our results show that misuse of cryptographic APIs is still widespread, with 95% of apps containing at least one misuse. Our easily extensible CrySL rule set covers more violations than previous special-purpose tools with hard-coded rules, with our tooling offering a more precise analysis.
机译:各种研究凭经验表明,大多数Java和Android应用程序滥用加密库,导致破坏性的数据安全破坏。在开发过程的早期发现此类滥用至关重要。要检测密码滥用,必须首先定义安全使用,这一过程主要由密码专家而不是开发人员掌握。在本文中,我们介绍了CrySL,一种弥合密码专家与开发人员之间的认知鸿沟的定义语言。 CrySL使密码专家可以指定他们提供的密码库的安全使用。我们已经实现了一个编译器,将这种CrySL规范转换为上下文敏感和流敏感的需求驱动静态分析。该分析可通过自动检查给定的Java或Android应用程序是否符合CrySL编码规则来帮助开发人员。我们为Java密码体系结构(JCA)设计了广泛的CrySL规则集,并通过分析10,000个当前的Android应用程序进行了实证评估。我们的结果表明,滥用加密API的情况仍然很普遍,其中95%的应用程序至少包含一种滥用情况。与以前的带有硬编码规则的专用工具相比,我们易于扩展的CrySL规则集涵盖了更多的违规行为,并且我们的工具可提供更精确的分析。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号