DEKANT: a static analysis tool that learns to detect web application vulnerabilities
Open Access
- 18 July 2016
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-11
Abstract
The state of web security remains troubling as web applications continue to be favorite targets of hackers. Static analysis tools are important mechanisms for programmers to deal with this problem as they search for vulnerabilities automatically in the application source code, allowing programmers to remove them. However, developing these tools requires explicitly coding knowledge about how to discover each kind of vulnerability. This paper presents a new approach in which static analysis tools learn to detect vulnerabilities automatically using machine learning. The approach uses a sequence model to learn to characterize vulnerabilities based on a set of annotated source code slices. This model takes into consideration the order in which the code elements appear and are executed in the slices. The model created can then be used as a static analysis tool to discover and identify vulnerabilities in source code. The approach was implemented in the DEKANT tool and evaluated experimentally with a set of open source PHP applications and WordPress plugins, finding 16 zero-day vulnerabilities.Keywords
Funding Information
- Fundação para a Ciência e a Tecnologia (UID/CEC/50021/2013 (INESC-ID),UID/CEC/00408/2013 (LaSIGE))
- European Commission (FP7-607109 (SEGRID))
This publication has 12 references indexed in Scilit:
- Detecting and Removing Web Application Vulnerabilities with Static Analysis and Data MiningIEEE Transactions on Reliability, 2015
- Experience report: an empirical study of PHP security mechanism usage2015
- phpSAFE: A Security Analysis Tool for OOP Web Application Plugins2015
- A Practical Experience on the Impact of Plugins in Web Security2014
- Simulation of Built-in PHP Features for Precise Static Code Analysis2014
- Mining input sanitization patterns for predicting SQL injection and cross site scripting vulnerabilities2012
- What's It All About?2011
- Precise alias analysis for static detection of web application vulnerabilities2006
- A tutorial on hidden Markov models and selected applications in speech recognitionProceedings of the IEEE, 1989
- Error bounds for convolutional codes and an asymptotically optimum decoding algorithmIEEE Transactions on Information Theory, 1967