{"title":"Artificial Neural Network based Web Application Firewall for SQL Injection","authors":"Asaad Moosa","volume":40,"journal":"International Journal of Computer and Information Engineering","pagesStart":610,"pagesEnd":620,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/1001","abstract":"<p>In recent years with the rapid development of Internet and the Web, more and more web applications have been deployed in many fields and organizations such as finance, military, and government. Together with that, hackers have found more subtle ways to attack web applications. According to international statistics, SQL Injection is one of the most popular vulnerabilities of web applications. The consequences of this type of attacks are quite dangerous, such as sensitive information could be stolen or authentication systems might be by-passed. To mitigate the situation, several techniques have been adopted. In this research, a security solution is proposed using Artificial Neural Network to protect web applications against this type of attacks. The solution has been experimented on sample datasets and has given promising result. The solution has also been developed in a prototypic web application firewall called ANNbWAF.<\/p>\r\n","references":"[1] F. Ahmadi, Z. M. J. Valadan, H. Ebadi, and M. Mokhtarzade. \"The\r\nApplication Of Neural Networks, Image Processing And CAD-Based\r\nEnvironments Facilities In Automatic Road Extraction And\r\nVectorization From High Resolution Satellite Images\". The\r\nInternational Archives of the Photogrammetry, Remote Sensing and\r\nSpatial Information Sciences. Beijing, pp. 37, 2008.\r\n[2] A. Alfantookh, \"An automated universal server level solution for SQL\r\ninjection security flaw\". International Conference on Electrical,\r\nElectronic and Computer Engineering. pp. 131-135, 2004.\r\n[3] C. Anley, \"Advanced SQL Injection In SQL Server Applications\".\r\nWhite Paper. Next Generation Security Software, 2002.\r\n[4] C. Anley, \"(more) Advanced SQL Injection\". White Paper. Next\r\nGeneration Security Software, 2002.\r\n[5] C. Anley, \"Hackproofing MySQL\". White Paper. Next Generation\r\nSecurity Software, 2004.\r\n[6] M. Becher, Web Application Firewalls, Applied Web applications\r\nsecurity. Berlin, 2007.\r\n[7] D. Endler, \"The Evolution of Cross-Site Scripting Attacks\". White Paper\r\niDEFENSE Incorporation, 2002.\r\n[8] M. Gavin, J.A. Mulligan, L. Koetzle, and S. Bernhardt, ModSecurity's\r\nWeb Application Firewall Leads In Deployment Numbers But Lags In\r\nUsability. 2006, (Online) Available: http:\/\/www.forrester.com\/Research\/\r\nDocument\/Excerpt\/0,7211,39714,00.html\r\n[9] W. G. J. Halfond, A. Orso, and P. Manolios, \"WASP: Protecting Web\r\nApplications Using Positive Tainting and Syntax-Aware Evaluation\".\r\nSoftware Engineering, IEEE Transactions. vol. 34, no. 1, pp. 65-81,\r\n2008.\r\n[10] S. Haykin, \"Neural Networks, A Comprehensive Foundation\". 2nd\r\nEdition. New Jersey, USA. Prentice-Hall Inc, 1999.\r\n[11] T. Kubo, M. Obuchi, G. Ohashi, and Y. Shimodaira, \"Image processing\r\nsystem for direction detection of an object using neural network\". The\r\n1998 IEEE Asia-Pacific Conference on Circuits and Systems. pp. 571-\r\n574.\r\n[12] Y. Loh, W. Yau, C. Wong, and W. Ho, \"Design and Implementation of\r\nan XML Firewall\". International Conference on Computational\r\nIntelligence and Security. pp. 1147-1150, 2006.\r\n[13] O. Maor and A. Shulman, \"SQL Injection Signature Evasions\". White\r\nPaper. IMPERA Application Defense Center, 2004.\r\n[14] O. Maor and A. Shulman, \"Blind SQL Injection\". Imperva. (Online)\r\nhttp:\/\/www.imperva.com\/resources\/adc\/blind_sql_server_injection.html\r\n[15] Mathworks, Matlab\u00ae The MathWorks\u2122, (Online) Available:\r\nhttp:\/\/www.mathworks.com\/\r\n[16] F. Mavituna, \"Fast Way to Extract Data From Error Based SQL\r\nInjection\". Mavituna (Online) Available: http:\/\/ferruh.mavituna.com\/\r\nfast-way-to-extract-data-from-error-based-sql-injections-oku\/\r\n[17] F. Mavituna, \"Fast Way to Extract Data From Error Based SQL\r\nInjection\". Mavituna (Online) Available: http:\/\/ferruh.mavituna.com\/\r\nfast-way-to-extract-data-from-error-based-sql-injections-oku\/\r\n[18] F. Mavituna, \"SQL Injection Cheat Sheet\". Mavituna (Online)\r\nAvailable: http:\/\/ferruh.mavituna.com\/sql-injection-cheatsheet-oku\/\r\n[19] Breach Security, ModSecurity Open Source Web Application Firewall.\r\n(Online) Available: http:\/\/www.modsecurity.org\/\r\n[20] M. Moradi and M. Zulkernine, \"A Neural Network Based System for\r\nIntrusion Detection and Classification of Attacks\". Proceeding of the\r\n2004 IEEE International Conference on Advances in Intelligent Systems\r\n- Theory and Applications. Luxembourg. pp.148-153.\r\n[21] S. Mukkamala, G. Janoski, and A. Sung, \"Intrusion detection using\r\nneural networks and support vector machines\". Proceedings of the 2002\r\nInternational Joint Conference on Neural Networks. pp. 1702-1707.\r\n[22] M. Muthuprasanna, K. Wei, and S. Kothari, \"Eliminating SQL Injection\r\nAttacks - A Transparent Defense Mechanism\". Eighth IEEE\r\nInternational Symposium on Web Site Evolution. pp. 22-32, 2006.\r\n[23] N-Stalker\u00ae N-Stalker Web Application Security Scanner. (Online)\r\nAvailable: http:\/\/www.nstalker.com\r\n[24] Openwall Project, John the Ripper Password Cracker. (Online)\r\nAvailable: http:\/\/www.openwall.com\/john\r\n[25] OWASP, Top Ten 2007. (Online) Available:\r\nhttp:\/\/www.owasp.org\/index.php\/Top_10_2007\r\n[26] OWASP, Top Ten 2010. (Online) Available:\r\nhttp:\/\/www.owasp.org\/images\/0\/0f\/OWASP_T10_-_2010_rc1.pdf\r\n[27] J. Ryan, M. J. Lin, and R. Miikkulainen \"Intrusion Detection with\r\nNeural Networks\". Advances in Neural Information Processing Systems\r\n10. Cambridge, MA: MIT Press, 1998.\r\n[28] Securiteam, SQL Injection Walkthrough. (Online) Available:\r\nhttp:\/\/www.securiteam.com\/securityreviews\/5DP0N1P76E.html.\r\n[29] C. Snake, XSS (Cross Site Scripting) Cheat Sheet. (Online) Available:\r\nhttp:\/\/ha.ckers.org\/xss.html\r\n[30] SunForums, Sun Forums. (Online) Available:\r\nhttp:\/\/forums.sun.com\/index.jspa\r\n[31] Technicalinfo, HTML Code Injection and Cross-site scripting. (Online)\r\nAvailable: http:\/\/www.technicalinfo.net\/papers\/CSS.html\r\n[32] Unixwiz, SQL Injection Attacks by Example. (Online) Available:\r\nhttp:\/\/www.unixwiz.net\/techtips\/sql-injection.html\r\n[33] M. Valeur, D. Mutz, and G. Vigna, \"A Learning-Based Approach to the\r\nDetection of SQL Attacks\". Conference on Detection of Intrusions and\r\nMalware & Vulnerability Assessment. 2005.\r\n[34] M. C. Vittie, \"SQL Injection Evasion Detection\". White Paper. F5\r\nNetworks Inc. 2007.\r\n[35] WASC, Web Hacking Incidents Database. (Online) Available:\r\nhttp:\/\/www.webappsec.org\/projects\/whid\/\r\n[36] WASC, Web Security Glossary. (Online) Available:\r\nhttp:\/\/www.webappsec.org\/projects\/glossary\/\r\n[37] K. Wei, M. Muthuprasanna, and S. Kothari, \"Preventing SQL Injection\r\nAttacks in Stored Procedures\". Australian Software Engineer\r\nConference, Australia, 2006.\r\n[38] The Perl Web Server Project. Type-O-Serve (Online) Available:\r\nhttp:\/\/perlwebserver.sourceforge.net\/\r\n[39] Microsoft Corporation, Intelligent Application Gateway. United States:\r\nWhale Communications, 2007.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 40, 2010"}