MASC: A Tool for Mutation-Based Evaluation of Static Crypto-API Misuse Detectors

被引:0
|
作者
Ami, Amit Seal [1 ]
Ahmed, Syed Yusuf [2 ]
Redoy, Radowan Mahmud [2 ]
Cooper, Nathan [1 ]
Ka, Kaushal [1 ]
Moran, Kevin [3 ]
Poshyvanyk, Denys [1 ]
Nadkarni, Adwait [1 ]
机构
[1] William & Mary, Dept Comp Sci, Williamsburg, VA 23185 USA
[2] Univ Dhaka, Inst Informat Technol, Dhaka, Bangladesh
[3] Univ Cent Florida, Dept Comp Sci, Orlando, FL 32816 USA
关键词
Crypto-API; static analysis; crypto-API misuse detector; mutation testing; mutation-based evaluation; security; software-engineering;
D O I
10.1145/3611643.3613099
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
While software engineers are optimistically adopting crypto-API misuse detectors (or crypto-detectors) in their software development cycles, this momentum must be accompanied by a rigorous understanding of crypto-detectors' effectiveness at finding crypto-API misuses in practice. This demo paper presents the technical details and usage scenarios of our tool, namely Mutation Analysis for evaluating Static Crypto-API misuse detectors (MASC). We developed 12 generalizable, usage based mutation operators and three mutation scopes, namely Main Scope, Similarity Scope, and Exhaustive Scope, which can be used to expressively instantiate compilable variants of the crypto-API misuse cases. Using MASC, we evaluated nine major crypto-detectors, and discovered 19 unique, undocumented flaws. We designed MASC to be configurable and user-friendly; a user can configure the parameters to change the nature of generated mutations. Furthermore, MASC comes with both Command Line Interface and Web-based front-end, making it practical for users of different levels of expertise. Code: https://github.com/Secure-Platforms-Lab-W-M/MASC
引用
收藏
页码:2162 / 2166
页数:5
相关论文
共 12 条
  • [1] A Systematic Evaluation of Static API-Misuse Detectors
    Amann, Sven
    Hoan Anh Nguyen
    Nadi, Sarah
    Nguyen, Tien N.
    Mezini, Mira
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2019, 45 (12) : 1170 - 1188
  • [2] Why Crypto-detectors Fail: A Systematic Evaluation of Cryptographic Misuse Detection Techniques
    Ami, Amit Seal
    Cooper, Nathan
    Kafle, Kaushal
    Moran, Kevin
    Poshyvanyk, Denys
    Nadkarni, Adwait
    [J]. 43RD IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2022), 2022, : 614 - 631
  • [3] Systematic Mutation-Based Evaluation of the Soundness of Security-Focused Android Static Analysis Techniques
    Ami, Amit Seal
    Kafle, Kaushal
    Moran, Kevin
    Nadkarni, Adwait
    Poshyvanyk, Denys
    [J]. ACM TRANSACTIONS ON PRIVACY AND SECURITY, 2021, 24 (03)
  • [4] Empirical evaluation of mutation-based test case prioritization techniques
    Shin, Donghwan
    Yoo, Shin
    Papadakis, Mike
    Bae, Doo-Hwan
    [J]. SOFTWARE TESTING VERIFICATION & RELIABILITY, 2019, 29 (1-2):
  • [5] Tailored mutation-based software fault injection tool (IM-FIT)
    Yayan, Ugur
    Baglum, Cem
    [J]. SOFTWAREX, 2023, 23
  • [6] Automated Mutation-based Test Case Evaluation for Semantic Web Services
    Jokhio, M. Shaban
    Dobbie, Gillian
    Hu, Tianming
    Sun, Jing
    [J]. 2014 23RD AUSTRALASIAN SOFTWARE ENGINEERING CONFERENCE (ASWEC), 2013, : 210 - 219
  • [7] Learning Finite-State Machines with Classical and Mutation-Based Ant Colony Optimization: Experimental Evaluation
    Chivilikhin, Daniil
    Ulyantsev, Vladimir
    [J]. 2013 1ST BRICS COUNTRIES CONGRESS ON COMPUTATIONAL INTELLIGENCE AND 11TH BRAZILIAN CONGRESS ON COMPUTATIONAL INTELLIGENCE (BRICS-CCI & CBIC), 2013, : 528 - 533
  • [8] ,uSE: Mutation -based Evaluation of Security -focused Static Analysis Tools for Android
    Ami, Amit Seal
    Kafle, Kaushal
    Nadkarni, Adwait
    Poshyvanyk, Denys
    Moran, Kevin
    [J]. 2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2021), 2021, : 53 - 56
  • [9] Towards a fair comparison and realistic evaluation framework of android malware detectors based on static analysis and machine learning
    Molina-Coronado, Borja
    Mori, Usue
    Mendiburu, Alexander
    Miguel-Alonso, Jose
    [J]. COMPUTERS & SECURITY, 2023, 124
  • [10] Static detection of equivalent mutants in real-time model-based mutation testing An Empirical Evaluation
    Basile, Davide
    ter Beek, Maurice H.
    Lazreg, Sami
    Cordy, Maxime
    Legay, Axel
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2022, 27 (07)