Opportunistic Diversity-Based Detection of Injection Attacks in Web Applications

Authors

DOI:

https://doi.org/10.4108/eai.11-12-2018.156032

Keywords:

Diversity, SQL Injection, Web Application Security, Intrusion Detection

Abstract

Web-based applications delivered using clouds are becoming increasingly popular due to less demand of client-side resources and easier maintenance than desktop counterparts. At the same time, larger attack surfaces and developers’ lack of security proficiency or awareness leave Web applications particularly vulnerable to security attacks. On the other hand, diversity has long been considered as a viable approach to detecting security attacks since functionally similar but internally different variants of an application will likely respond to the same attack in different ways. However, most diversity-by-design approaches have met difficulties in practice due to the prohibitive cost in terms of both development and maintenance. In this work, we propose to employ opportunistic diversity inherent to Web applications and their database backends to detect injection attacks. We first conduct a case study of common vulnerabilities to confirm the potential of opportunistic diversity for detecting potential attacks. We then devise a multi-stage approach to examine features extracted from the database queries, their effect on the database, the query results, as well as the user-end results. Next, we combine the partial results obtained from different stages using a learning-based approach to further improve the detection accuracy. Finally, we evaluate our approach using a real world Web application.

Downloads

Published

11-12-2018

How to Cite

Qu, W. ., Huo, W. ., & Wang, L. . (2018). Opportunistic Diversity-Based Detection of Injection Attacks in Web Applications. EAI Endorsed Transactions on Security and Safety, 5(16), e5. https://doi.org/10.4108/eai.11-12-2018.156032