sesa 18(16): e5

Research Article

Opportunistic Diversity-Based Detection of Injection Attacks in Web Applications

Download1367 downloads
  • @ARTICLE{10.4108/eai.11-12-2018.156032,
        author={Wenyu Qu and Wei Huo and Lingyu Wang},
        title={Opportunistic Diversity-Based Detection of Injection Attacks in Web Applications},
        journal={EAI Endorsed Transactions on Security and Safety},
        volume={5},
        number={16},
        publisher={EAI},
        journal_a={SESA},
        year={2018},
        month={12},
        keywords={Diversity, SQL Injection, Web Application Security, Intrusion Detection},
        doi={10.4108/eai.11-12-2018.156032}
    }
    
  • Wenyu Qu
    Wei Huo
    Lingyu Wang
    Year: 2018
    Opportunistic Diversity-Based Detection of Injection Attacks in Web Applications
    SESA
    EAI
    DOI: 10.4108/eai.11-12-2018.156032
Wenyu Qu1, Wei Huo2, Lingyu Wang2,*
  • 1: School of Computer Software, Tianjin University, Tianjin, China
  • 2: Concordia Institute For Information Systems Engineering, Concordia University, Montreal, Canada
*Contact email: wang@ciise.concordia.ca

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.