Evaluation of Static Vulnerability Detection Tools With Java']Java Cryptographic API Benchmarks

被引:15
|
作者
Afrose, Sharmin [1 ]
Xiao, Ya [1 ]
Rahaman, Sazzadur [2 ]
Miller, Barton P. P. [3 ]
Yao, Danfeng [1 ]
机构
[1] Virginia Tech, Dept Comp Sci, Blacksburg, VA 24060 USA
[2] Univ Arizona, Dept Comp Sci, Tucson, AZ 85721 USA
[3] Univ Wisconsin Madison, Comp Sci Dept, Madison, WI 53706 USA
基金
美国国家科学基金会;
关键词
Cryptographic API misuses; benchmark; !text type='Java']Java[!/text;
D O I
10.1109/TSE.2022.3154717
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Several studies showed that misuses of cryptographic APIs are common in real-world code (e.g., Apache projects and Android apps). There exist several open-sourced and commercial security tools that automatically screen Java programs to detect misuses. To compare their accuracy and security guarantees, we develop two comprehensive benchmarks named CryptoAPI-Bench and ApacheCryptoAPI-Bench. CryptoAPI-Bench consists of 181 unit test cases that cover basic cases, as well as complex cases, including interprocedural, field sensitive, multiple class test cases, and path sensitive data flow of misuse cases. The benchmark also includes correct cases for testing false-positive rates. The ApacheCryptoAPI-Bench consists of 121 cryptographic cases from 10 Apache projects. We evaluate four tools, namely, SpotBugs, CryptoGuard, CrySL, and another tool (anonymous) using both benchmarks. We present their performance and comparative analysis. The ApacheCryptoAPI-Bench also examines the scalability of the tools. Our benchmarks are useful for advancing state-of-the-art solutions in the space of misuse detection.
引用
收藏
页码:485 / 497
页数:13
相关论文
共 50 条
  • [21] Partial Evaluation for Java']Java Malware Detection
    Singh, Ranjeet
    King, Andy
    [J]. LOGIC-BASED PROGRAM SYNTHESIS AND TRANSFORMATION (LOPSTR 2014), 2015, 8981 : 133 - 147
  • [22] A Vulnerability Detection Model for Java']Java Systems Based on Complex Networks
    Xiong, Ling
    Shan, Chun
    Hu, Changzhen
    Yu, Zijun
    Xiong, Wenjie
    [J]. 2019 IEEE SMARTWORLD, UBIQUITOUS INTELLIGENCE & COMPUTING, ADVANCED & TRUSTED COMPUTING, SCALABLE COMPUTING & COMMUNICATIONS, CLOUD & BIG DATA COMPUTING, INTERNET OF PEOPLE AND SMART CITY INNOVATION (SMARTWORLD/SCALCOM/UIC/ATC/CBDCOM/IOP/SCI 2019), 2019, : 1339 - 1347
  • [23] Example-Based Vulnerability Detection and Repair in Java']Java Code
    Zhang, Ying
    Xiao, Ya
    Kabir, Md Mahir Asef
    Yao, Danfeng
    Meng, Na
    [J]. 30TH IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2022), 2022, : 190 - 201
  • [24] JS']JSEFuzz: Vulnerability Detection Method for Java']Java Web Application
    Man, Hongpeng
    An, Jing
    Huang, Wei
    Fan, Wenqing
    [J]. 2018 3RD INTERNATIONAL CONFERENCE ON SYSTEM RELIABILITY AND SAFETY (ICSRS), 2018, : 92 - 96
  • [25] A Line-Level Explainable Vulnerability Detection Approach for Java']Java
    Mosolygo, Balazs
    Vandor, Norbert
    Hegedus, Peter
    Ferenc, Rudolf
    [J]. COMPUTATIONAL SCIENCE AND ITS APPLICATIONS - ICCSA 2022 WORKSHOPS, PART IV, 2022, 13380 : 106 - 122
  • [26] A Suite of Java']Java Message-Passing Benchmarks to Support the Validation of Testing Models, Criteria and Tools
    Dourado, George G. M.
    Souza, Paulo S. L.
    Prado, Rafael R.
    Batista, Raphael N.
    Souza, Simone R. S.
    Estrella, Julio C.
    Bruschi, Sarita M.
    Lourenco, Joao
    [J]. INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE 2016 (ICCS 2016), 2016, 80 : 2226 - 2230
  • [27] Industrial Strength Static Detection for Cryptographic API Misuses
    Xiao, Ya
    Zhao, Yang
    Allen, Nicholas
    Keynes, Nathan
    Yao, Danfeng
    Cifuentes, Cristina
    [J]. 2022 IEEE SECURE DEVELOPMENT CONFERENCE (SECDEV 2022), 2022, : 61 - 62
  • [28] Effective Techniques for Static Race Detection in Java']Java Parallel Loops
    Radoi, Cosmin
    Dig, Danny
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2015, 24 (04)
  • [29] Effective static race detection for Java
    Computer Science Department, Stanford University, United States
    [J]. Proc ACM SIGPLAN Conf Program Lang Des Implementation PLDI, (308-319):
  • [30] Static deadlock detection for Java libraries
    Williams, Amy
    Thies, William
    Ernst, Michael D.
    [J]. Lect. Notes Comput. Sci., 1600, (602-629):