arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1504.06920cs.DBcs.CR
收藏

利用模式匹配算法防止SQL注入攻击

Preventing SQL Injection attack using pattern matching algorithm

Swapnil Kharche, Jagdish patil, Kanchan Gohad, Bharti Ambetkar

摘要:

SQL注入攻击是一类注入漏洞,其中特制的输入字符串导致对数据库的非法查询,是Web应用程序的最大威胁之一。已经开发了一些研究原型和商业产品,在Web应用程序中维护查询结构。但这些技术要么无法解决问题的全部范围,要么有局限性。根据我们的观察,SQL注入攻击中注入的字符串在不同的数据库上有不同的解释,注入攻击是一种可以在原始字符串上注入任何类型的恶意字符串或异常字符串的方法。模式匹配是一种可用于从顺序动作中识别或检测任何异常数据包的技术。大多数基于模式的技术都使用静态分析,并且模式是从被攻击的语句中生成的。提出了一种基于AhoCorasick模式匹配算法的SQL注入攻击检测与防范技术。在本文中,我们提出了一个概述的架构。在初始阶段的评估中,我们考虑了一些标准的攻击模式的样本,它表明所提出的算法是很好地抵抗SQL注入攻击。

英文摘要:

SQL injection attacks, a class of injection flaw in which specially crafted input strings leads to illegal queries to databases, are one of the topmost threats to web applications. A Number of research prototypes and commercial products that maintain the queries structure in web applications have been developed. But these techniques either fail to address the full scope of the problem or have limitations. Based on our observation that the injected string in a SQL injection attack is interpreted differently on different databases.Injection attack is a method that can inject any kind of malicious string or anomaly string on the original string. Pattern matching is a technique that can be used to identify or detect any anomaly packet from a sequential action. Most of the pattern based techniques are used static analysis and patterns are generated from the attacked statements. In this paper, we proposed a detection and prevention technique for preventing SQL Injection Attack using AhoCorasick pattern matching algorithm. In this paper, we proposed an overview of the architecture. In the initial stage evaluation, we consider some sample of standard attack patterns and it shows that the proposed algorithm is works well against the SQL Injection Attack.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑