AMNESIA
Top Cited Papers
- 7 November 2005
- proceedings article
- Published by Association for Computing Machinery (ACM)
- p. 174-183
- https://doi.org/10.1145/1101908.1101935
Abstract
The use of web applications has become increasingly popular in our routine activities, such as reading the news, paying bills, and shopping on-line. As the availability of these services grows, we are witnessing an increase in the number and sophistication of attacks that target them. In particular, SQL injection, a class of code-injection attacks in which specially crafted input strings result in illegal queries to a database, has become one of the most serious threats to web applications. In this paper we present and evaluate a new technique for detecting and preventing SQL injection attacks. Our technique uses a model-based approach to detect illegal queries before they are executed on the database. In its static part, the technique uses program analysis to automatically build a model of the legitimate queries that could be generated by the application. In its dynamic part, the technique uses runtime monitoring to inspect the dynamically-generated queries and check them against the statically-built model. We developed a tool, AMNESIA, that implements our technique and used the tool to evaluate the technique on seven web applications. In the evaluation we targeted the subject applications with a large number of both legitimate and malicious inputs and measured how many attacks our technique detected and prevented. The results of the study show that our technique was able to stop all of the attempted attacks without generating any false positives.Keywords
This publication has 12 references indexed in Scilit:
- Defending Against Injection Attacks Through Context-Sensitive String EvaluationPublished by Springer Nature ,2006
- Finding application errors and security flaws using PQLPublished by Association for Computing Machinery (ACM) ,2005
- A Learning-Based Approach to the Detection of SQL AttacksPublished by Springer Nature ,2005
- Combining static analysis and runtime monitoring to counter SQL-injection attacksPublished by Association for Computing Machinery (ACM) ,2005
- A generic instrumentation framework for collecting dynamic informationACM SIGSOFT Software Engineering Notes, 2004
- Securing web application code by static analysis and runtime protectionPublished by Association for Computing Machinery (ACM) ,2004
- SQLrand: Preventing SQL Injection AttacksPublished by Springer Nature ,2004
- Countering code-injection attacks with instruction-set randomizationPublished by Association for Computing Machinery (ACM) ,2003
- Web application security assessment by fault injection and behavior monitoringPublished by Association for Computing Machinery (ACM) ,2003
- Abstracting application-level web securityPublished by Association for Computing Machinery (ACM) ,2002