2017 · 20 citations · 31 references
ComputingComputer EngineeringComputer ScienceComputer SecurityCryptographySoftware EngineeringCode Review For SecurityCryptographic VulnerabilitiesElliptic Curve CryptographySoftware Security EngineeringStatic Code AnalysisStatic Vulnerability AnalysisAutomated Security Code ReviewCase Study EvaluationCode Review For VulnerabilitiesCryptographic Code ReviewKey AgreementKey ManagementSecurity Code MetricsTool Selection
The incorrect use of cryptography is a common source of critical software vulnerabilities. As developers lack knowledge in applied cryptography and support from experts is scarce, this situation is frequently addressed by adopting static code analysis tools to automatically detect cryptography misuse during coding and reviews, even if the effectiveness of such tools is far from being well understood. This paper proposes a method for benchmarking static code analysis tools for the detection of cryptography misuse, and evaluates the method in a case study, with the goal of selecting the most adequate tools for specific development contexts. Our method classifies cryptography misuse in nine categories recognized by developers (weak cryptography, poor key management, bad randomness, etc.) and provides the workload, metrics and procedure needed for a fair assessment and comparison of tools. We found that all evaluated tools together detected only 35% of cryptography misuses in our tests. Furthermore, none of the evaluated tools detected insecure elliptic curves, weak parameters in key agreement, and most insecure configurations for RSA and ECDSA. This suggests cryptography misuse is underestimated by tool builders. Despite that, we show that it is possible to benefit from an adequate tool selection during the development of cryptographic software.
31
Why eve and mallory love android
Sascha Fahl, Marian Harbach, Thomas Muders et al. · 2012 · 491 citations
An empirical study of cryptographic misuse in android applications
Manuel Egele, David Brumley, Yanick Fratantonio et al. · 2013 · 437 citations
The most dangerous code in the world
Martin Georgiev, Subodh Iyengar, Suman Jana et al. · 2012 · 414 citations
Undecidability of static analysis
William Landi · ACM Letters on Programming Languages and Systems · 1992 · 382 citations · Full text
David Adrian, Karthikeyan Bhargavan, Zakir Durumeric et al. · 2015 · 334 citations · Full text