一种新的SQL注入防护方法的研究与实现  被引量:10

New Approach for SQL-injecton Detection

在线阅读下载全文

作  者:石聪聪[1] 张涛[1] 余勇[1] 林为民[1] 

机构地区:[1]中国电力科学研究院,南京211106

出  处:《计算机科学》2012年第B06期60-64,共5页Computer Science

摘  要:当前Web应用安全问题日益严峻,而SQL注入是针对Web应用最为普遍的攻击手段之一。文中提出了一种新的SQL注入防护方法。该方法通过将静态模式匹配与动态特征过滤配合使用,避免单一方法存在的不足,从而达到良好的效果。该方法通过在安全环境下自动学习所有合法SQL语句,构建知识库;然后在实时工作环境下,利用模式匹配算法将SQL语句与知识库进行匹配,匹配成功则判定为合法SQL语句。对于匹配失败的SQL语句并不立即判定为非法,而是采用基于风险值的动态特征过滤算法进行深度特征检查,识别真正的非法SQL语句。基于本方法,设计并实现了一个原型系统。测试结果表明,该原型系统具有较好的性能优势,并能够很好地解决一般防注入方法带来的准确率与误报率之间的矛盾。Web application security is a serious isssue of information security,and SQL-injection is one of the most common attacks.This paper proposed an approach to counter SQL Injection which combines static mode-matching and dynamic feature-filtering.It learned automatically the structure feature of all legal SQL statements to construct knowledge library in safe environments,and then matched every SQL statement with knowledge library in real environments.If succeeded,this SQL statement was considered to be legitimate.If failed,it was not determined to be illegal immediately.We would take depth-feature check based on Value-at-Risk,and identitify the true illegal SQL statements.Experimental results prove that this proposed approach has good performance and perfect protection for SQL Injection.

关 键 词:自学习 SQL语法树 模式匹配 特征过滤 

分 类 号:TP393.08[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象