Application of Hidden Markov Model in SQL Injection Detection
Authors:
- Peng LiPLPeng Li
- Lei LiuLLLei Liu
- Jing XuJXJing Xu
- Hongji YangHYHongji Yang
- Liying YuanLYLiying Yuan
- Chenkai GuoCGChenkai Guo
- Xiujuan JiXJXiujuan Ji
- 1 July 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- Vol. 52 (07303157) , 578-583
Abstract
Due to the increasing complexity of web and client application's structure, security problem has become more and more critical. Among all the threats reported, SQL Injection Attacks (SQLIAs) have always been top-ranked in recent years, and network logs, which are very important for the detection of SQLIA, are often utilized to analyze the user's attacking behaviors. However, the collection of network logs is often compromised due to the growing complexity of network structure, leading to a great challenge to the log-based SQLIA detection. In view of this, this paper proposes a novel approach to the detection of SQLIA based on log analyzing with Hidden Markov Model (HMM), combined with statistical characteristic and feature matching. At first, we build browsing behavior models of attackers and legal users. Furthermore, we use HMM to restore user's browsing procedure from the customised user logs. Finally, the method detects SQLIAs by analyzing the behavior of users in reality, without requiring sensitive information submitted by users. Our experiments show that the proposed method can detect possible SQLIAs and identify malicious users effectively, and has higher accuracy in comparison with the Kmeans method.Keywords
This publication has 13 references indexed in Scilit:
- Detection of SQL injection attacks using Hidden Markov Model2016
- SQLiGoT: Detecting SQL injection attacks using graph of tokens and SVMComputers & Security, 2016
- Risk-Sensitive Control Under Markov Modulated Denial-of-Service (DoS) Attack StrategiesIEEE Transactions on Automatic Control, 2015
- SQLPIL: SQL injection prevention by input labelingSecurity and Communication Networks, 2015
- SQLiDDS: SQL Injection Detection Using Query Transformation and Document Similarity2015
- Web Reviews and Events Matching Based on Event Feature Segments and Semi-Markov Conditional Random FieldsJournal of Software, 2014
- A novel model for user clicks identification based on hidden semi-MarkovJournal of Network and Computer Applications, 2013
- Diglossia2013
- Fuzzy Detection of Malicious Attacks on Web Applications Based on Hidden Markov Model Ensemble2012
- Anomaly Detection Based on Web Users’ Browsing BehaviorsJournal of Software, 2007