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

CamBench --加密API误用检测工具基准套件

CamBench -- Cryptographic API Misuse Detection Tool Benchmark Suite

Michael Schlichtig, Anna-Katharina Wickert, Stefan Krüger, Eric Bodden, Mira Mezini

摘要:

上下文:加密API在现实世界的应用程序中经常被滥用。因此,许多加密API误用检测工具被引入。然而,目前还没有一个既定的参考基准,可供对这些工具进行公平和全面的比较和评价。虽然有基准测试,但它们通常只针对领域的一个子集,或者只用于评估现有误用检测工具的一个子集。目的:为了公平地比较加密API误用检测工具,并推动该领域的未来发展,我们将设计这样一个基准。生成过程的公开性和透明度是公平生成和建立所需基准的关键因素。方法:我们提出了一种方法,我们从文献中获得的基准生成方法,其中包括一般的最佳实践基准和特定领域的基准生成。这种方法的一部分是生成过程的透明度和公开性,这是通过预先登记这项工作来实现的。基于我们的方法,我们设计了CamBench,一个公平的“加密API滥用检测工具基准套件”。我们将实现CamBench的第一个版本,将域限制为Java、JCA和静态分析。最后,我们将使用CamBench比较当前的误用检测工具,并将CamBench与其领域的相关基准进行比较。

英文摘要:

Context: Cryptographic APIs are often misused in real-world applications. Therefore, many cryptographic API misuse detection tools have been introduced. However, there exists no established reference benchmark for a fair and comprehensive comparison and evaluation of these tools. While there are benchmarks, they often only address a subset of the domain or were only used to evaluate a subset of existing misuse detection tools. Objective: To fairly compare cryptographic API misuse detection tools and to drive future development in this domain, we will devise such a benchmark. Openness and transparency in the generation process are key factors to fairly generate and establish the needed benchmark. Method: We propose an approach where we derive the benchmark generation methodology from the literature which consists of general best practices in benchmarking and domain-specific benchmark generation. A part of this methodology is transparency and openness of the generation process, which is achieved by pre-registering this work. Based on our methodology we design CamBench, a fair "Cryptographic API Misuse Detection Tool Benchmark Suite". We will implement the first version of CamBench limiting the domain to Java, the JCA, and static analyses. Finally, we will use CamBench to compare current misuse detection tools and compare CamBench to related benchmarks of its domain.

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

↑