Chucky: exposing missing checks in source code for vulnerability discovery
The DOI matches its Crossref record; 31 of the 31 references it cites were found in a registry or an index.
Abstract
Uncovering security vulnerabilities in software is a key for operating secure systems. Unfortunately, only some security flaws can be detected automatically and the vast majority of vulnerabilities is still identified by tedious auditing of source code. In this paper, we strive to improve this situation by accelerating the process of manual auditing. We introduce Chucky, a method to expose missing checks in source code. Many vulnerabilities result from insufficient input validation and thus omitted or false checks provide valuable clues for finding security flaws. Our method proceeds by statically tainting source code and identifying anomalous or missing conditions linked to security-critical objects.In an empirical evaluation with five popular open-source projects, Chucky is able to accurately identify artificial and real missing checks, which ultimately enables us to uncover 12 previously unknown vulnerabilities in two of the projects (Pidgin and LibTIFF).
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Introduction to Modern Information Retrieval
Salton, G., & McGill, M. J. (1983) · Virtual Defense Library (Ministerio de Defensa) · Cited by 11,650
Introduction to automata theory, languages and computation
(1981) · Mathematics and Computers in Simulation · doi:10.1016/0378-4754(81)90068-9 · Cited by 10,699
The use of the area under the ROC curve in the evaluation of machine learning algorithms
Bradley, A. P. (1997) · Pattern Recognition · doi:10.1016/s0031-3203(96)00142-2 · Cited by 7,217 · cited 1×
“We further investigate the effect of the number of neighbors on the detection performance by generating individual ROC curves for values of k between 1 and 100 using the Area Under Curve (AUC) as a performance measure [2].”
MethodNewsome, J., & Song, D. X. (2018) · Figshare · doi:10.1184/r1/6468716 · Cited by 1,270
Finding security vulnerabilities in java applications with static analysis
Livshits, V. B., & Lam, M. S. (2005) · USENIX Security Symposium · Cited by 773
Bugs as deviant behavior: a general approach to inferring errors in systems code
Engler, D., Chen, D. Y., Hallem, S., Chou, A., & Chelf, B. (2001) · Proceedings of the eighteenth ACM symposium on Operating systems principles · doi:10.1145/502034.502041 · Cited by 737 · cited 1×
“Several approaches seize the idea of inspecting the temporal properties of API usage [e.g., 6, 16, 38] and attempt to provide this information across projects [e.g., 10, 43].”
BackgroundPixy: a static analysis tool for detecting Web application vulnerabilities
Jovanovic, N., Kruegel, C., & Kirda, E. (2006) · 2006 IEEE Symposium on Security and Privacy (S&P'06) · doi:10.1109/sp.2006.29 · Cited by 722 · cited 1×
“Static taint tracking has been effectively used for detecting vulnerabilities such as format string vulnerabilities in C programs [30] or SQL injections and cross-site scripting [13, 17].”
MethodSchwartz, E. J., Avgerinos, T., & Brumley, D. (2010) · 2010 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2010.26 · Cited by 717 · cited 1×
“Throughout this paper, we adopt the terminology established in the field of taint analysis for discussing missing checks [see 29].”
MethodANTLR: A predicated‐LL(k) parser generator
Parr, T. J., & Quong, R. W. (1995) · Software: Practice and Experience · doi:10.1002/spe.4380250705 · Cited by 619 · cited 1×
“The parser is based on an island grammar [see 20] for the parser generator ANTLR [25] and provides abstract syntax trees (ASTs) for all functions of a code base even when declarations can only be resolved partially.”
MethodSAGE: whitebox fuzzing for security testing
Godefroid, P., Levin, M. Y., & Molnar, D. (2012) · Communications of the ACM · doi:10.1145/2093548.2093564 · Cited by 567
Cited by
Modeling and Discovering Vulnerabilities with Code Property Graphs
Yamaguchi, F., Golde, N., Arp, D., & Rieck, K. (2014) · 2014 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2014.44 · Cited by 808
Self-citationDeep Learning Based Vulnerability Detection: Are We There Yet?
Chakraborty, S., Krishna, R., Ding, Y., & Ray, B. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3087402 · Cited by 790
SySeVR: A Framework for Using Deep Learning to Detect Software Vulnerabilities
Li, Z., Zou, D., Xu, S., Jin, H., Zhu, Y., & Chen, Z. (2022) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2021.3051525 · Cited by 639
Software Vulnerability Detection Using Deep Neural Networks: A Survey
Lin, G., Wen, S., Han, Q.-L., Zhang, J., & Xiang, Y. (2020) · Proceedings of the IEEE · doi:10.1109/jproc.2020.2993293 · Cited by 457
Ghaffarian, S. M., & Shahriari, H. R. (2018) · ACM Computing Surveys · doi:10.1145/3092566 · Cited by 353
DeepWukong: Statically Detecting Software Vulnerabilities Using Deep Graph Neural Network
Cheng, X., Wang, H., Hua, J., Xu, G., & Sui, Y. (2021) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3436877 · Cited by 335
Data-Driven Cybersecurity Incident Prediction: A Survey
Sun, N., Zhang, J., Rimba, P., Gao, S., Zhang, L. Y., & Xiang, Y. (2019) · IEEE Communications Surveys & Tutorials · doi:10.1109/comst.2018.2885561 · Cited by 323
VCCFinder: Finding Potential Vulnerabilities in Open-Source Projects to Assist Code Audits
Perl, H., Dechand, S., Smith, M., Arp, D., Yamaguchi, F., Rieck, K., Fahl, S., & Acar, Y. (2015) · Proceedings of the 22nd ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/2810103.2813604 · Cited by 229
“For example, Yamaguchi et al. [36] introduce a to expose missing checks in C source code by combining static tainting and techniques for anomaly detection.”
MethodSelf-citationCross-Project Transfer Representation Learning for Vulnerable Function Discovery
Lin, G., Zhang, J., Luo, W., Pan, L., Xiang, Y., De Vel, O., & Montague, P. (2018) · IEEE Transactions on Industrial Informatics · doi:10.1109/tii.2018.2821768 · Cited by 217
“According to [4] and [26], one of the major causes of security incidents and breaches can be attributed to the exploitable vulnerabilities in software.”
BackgroundVulDeeLocator: A Deep Learning-Based Fine-Grained Vulnerability Detector
Li, Z., Zou, D., Xu, S., Chen, Z., Zhu, Y., & Jin, H. (2022) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2021.3076142 · Cited by 215
Automatic Inference of Search Patterns for Taint-Style Vulnerabilities
Yamaguchi, F., Maier, A., Gascon, H., & Rieck, K. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.54 · Cited by 189
“[62] present Chucky, an approach to the detection of missing checks that is also capable of dealing with sanitizers given by arbitrary condi-”
BackgroundSelf-citation
Metadata
- Authors
- Yamaguchi, F., Wressnegger, C., Gascon, H., & Rieck, K.
- Venue
- Proceedings of the 2013 ACM SIGSAC conference on Computer & communications security - CCS '13
- Publisher
- ACM Press
- Published
- 2013
- Pages
- 499-510
- OpenAlex
- W2028820179
- Cited by
- 161
- References
- 31
- FWCI
- 5.74
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.