Industrial Experience of Finding Cryptographic Vulnerabilities in Large-scale Codebases

07/12/2020
by   Ya Xiao, et al.
0

Enterprise environments need to screen large-scale (millions of lines of code) codebases for vulnerability detection, resulting in high requirements for precision and scalability of a static analysis tool. At Oracle, Parfait is one such bug checker, providing precision and scalability of results, including interprocedural analyses. CryptoGuard is a precise static analyzer for detecting cryptographic vulnerabilities in JavaTM1 code built on Soot. In this paper, we describe how to integrate CryptoGuard into Parfait, with changing intermediate representation and relying on a demand-driven IFDS framework in Parfait, resulting in a precise and scalable tool for cryptographic vulnerabilities detection. We evaluate our tool on several large real-world applications and a comprehensive Java cryptographic vulnerability benchmark, CryptoAPI-Bench. Initial results show that the new cryptographic vulnerability detection in Parfait can detect real-world cryptographic vulnerabilities in large-scale codebases with few false positives and low runtime.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset