...
首页> 外文期刊>PLoS One >TAP: A static analysis model for PHP vulnerabilities based on token and deep learning technology
【24h】

TAP: A static analysis model for PHP vulnerabilities based on token and deep learning technology

机译:点击:基于令牌和深度学习技术的PHP漏洞静态分析模型

获取原文
           

摘要

With the widespread usage of Web applications, the security issues of source code are increasing. The exposed vulnerabilities seriously endanger the interests of service providers and customers. There are some models for solving this problem. However, most of them rely on complex graphs generated from source code or regex patterns based on expert experience. In this paper, TAP, which is based on token mechanism and deep learning technology, was proposed as an analysis model to discover the vulnerabilities of PHP: Hypertext Preprocessor (PHP) Web programs conveniently and easily. Based on the token mechanism of PHP language, a custom tokenizer was designed, and it unifies tokens, supports some features of PHP and optimizes the parsing. Besides, the tokenizer also implements parameter iteration to achieve data flow analysis. On the Software Assurance Reference Dataset(SARD) and SQLI-LABS dataset, we trained the deep learning model of TAP by combining the word2vec model with Long Short-Term Memory (LSTM) network algorithm. According to the experiment on the dataset of CWE-89, TAP not only achieves the 0.9941 Area Under the Curve(AUC), which is better than other models, but also achieves the highest accuracy: 0.9787. Further, compared with RIPS, TAP shows much better in multiclass classification with 0.8319 Kappa and 0.0840 hamming distance.
机译:随着Web应用程序的广泛使用,源代码的安全问题正在增加。暴露的漏洞严重危及服务提供商和客户的利益。有一些可以解决这个问题的模型。但是,大多数人都依赖于根据专家体验从源代码或正则表达式模式生成的复杂图形。在本文中,建议点击基于令牌机制和深度学习技术,作为发现PHP的漏洞:超文本预处理器(PHP)Web程序方便,轻松地进行分析模型。基于PHP语言的令牌机制,设计了一个自定义销识,它统一令牌,支持PHP的某些功能并优化解析。此外,销售器还实现参数迭代以实现数据流分析。在软件保证参考数据集(SARD)和SQLI-LABS数据集上,我们通过将WORD2VEC模型与长短期内存(LSTM)网络算法组合来训练了TAP的深度学习模型。根据CWE-89数据集的实验,Tap不仅可以实现曲线(AUC)下的0.9941面积,这比其他模型更好,但也实现了最高精度:0.9787。此外,与裂口相比,在多批次分类中,Tap在0.8319 kappa和0.0840汉明距离中显示得更好。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号