{"title":"The Journey of a Malicious HTTP Request","authors":"M. Mansouri, P. Jaklitsch, E. Teiniker","volume":93,"journal":"International Journal of Bioengineering and Life Sciences","pagesStart":1655,"pagesEnd":1662,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/9999380","abstract":"<p>SQL injection on web applications is a very popular<br \/>\r\nkind of attack. There are mechanisms such as intrusion detection<br \/>\r\nsystems in order to detect this attack. These strategies often rely on<br \/>\r\ntechniques implemented at high layers of the application but do not<br \/>\r\nconsider the low level of system calls. The problem of only<br \/>\r\nconsidering the high level perspective is that an attacker can<br \/>\r\ncircumvent the detection tools using certain techniques such as URL<br \/>\r\nencoding. One technique currently used for detecting low-level<br \/>\r\nattacks on privileged processes is the tracing of system calls. System<br \/>\r\ncalls act as a single gate to the Operating System (OS) kernel; they<br \/>\r\nallow catching the critical data at an appropriate level of detail. Our<br \/>\r\nbasic assumption is that any type of application, be it a system<br \/>\r\nservice, utility program or Web application, &ldquo;speaks&rdquo; the language of<br \/>\r\nsystem calls when having a conversation with the OS kernel. At this<br \/>\r\nlevel we can see the actual attack while it is happening. We conduct<br \/>\r\nan experiment in order to demonstrate the suitability of system call<br \/>\r\nanalysis for detecting SQL injection. We are able to detect the attack.<br \/>\r\nTherefore we conclude that system calls are not only powerful in<br \/>\r\ndetecting low-level attacks but that they also enable us to detect highlevel<br \/>\r\nattacks such as SQL injection.<\/p>\r\n","references":"[1] M. Bernaschi, \"Remus: a security-enhanced operating system,\u201d ACM\r\nTrans. on Information and System Security (TISSEC), 2002, pp.36-61.\r\n[2] S. Forrest, S. A. Hofmeyr, \"A Sense of Self for Unix Processes,\u201d in\r\nProc. IEEE Symposium on Security and Privacy, Washington, 1996, pp.\r\n120.\r\n[3] W. Robertson, G. Vigna, \"Using Generalization and Characterization\r\nTechniques in the Anomaly-based Detection of Web Attacks, \"in Proc.\r\nof the 13th Symposium on Network and Distributed System Security\r\nCalifornia, 2006.\r\n[4] C. Kruegel, G. Vigna, \"A multi-model approach to the detection of webbased\r\nattacks,\u201d Elsevier Computer Networks: The International Journal\r\nof Computer and Telecommunications Networking - Web security, New\r\nYork, 2005,pp. 717 - 738.\r\n[5] S. Peisert, M. Bishop, S. Karin, and K. Marzullo, \"Analysis of Computer\r\nIntrusions Using Sequences of Function Calls,\u201d in IEEE Trans. on\r\nDependable and Secure Computing, 2007, 137-150.\r\n[6] Gustavo Miguel Barroso Assis do Nascimento, \"Anomaly detection of\r\nweb-based attacks,\u201d Master Thesis. Lisboa, Portugal, Universidade de\r\nLisboa, 2010.\r\n[7] M. T. Jones, IBM, \"Kernel command using Linux system calls,\u201d from\r\nhttp:\/\/www.ibm.com\/developerworks\/linux\/library\/l-system-calls, 2010,\r\nRetrieved 12 11, 2013.\r\n[8] Oracle, \"The Native Authentication Plug-in,\u201d from\r\nhttp:\/\/dev.mysql.com\/doc\/refman\/5.5\/en\/native-authenticationplugin.\r\nhtml, 2013, Retrieved 12 11, 2013.\r\n[9] OWASP, \"2013 Top 10 List\u201d, from https:\/\/www.owasp.org\/\r\nindex.php\/Top_10_2013-Top_10, Retrieved 9 14, 2014\r\n[10] Oracle, \"Chapter 4 Java Servlet Technology: Filtering Requests and\r\nResponses\u201d, http:\/\/docs.oracle.com\/cd\/E19159-01\/819-3669\/bnafd\/\r\nindex.html","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 93, 2014"}