arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2012.08835cs.CRcs.LG

一种用于检测PHP漏洞的混合图神经网络方法

A Hybrid Graph Neural Network Approach for Detecting PHP Vulnerabilities

Imperial College London(帝国理工学院);University of Malaya(马来亚大学)

Rishi Rabheru, Hazim Hanif, Sergio Maffeis

AI总结:

本文提出DeepTective,一种结合门控循环单元和图卷积网络的混合深度学习方法,用于检测PHP代码中的SQLi、XSS和OSCI漏洞,在合成数据集上近乎完美,在真实数据集上F1达88.12%,并发现4个WordPress插件新漏洞。

摘要:

本文提出了DeepTective,一种用于检测PHP源代码漏洞的深度学习方法。我们的方法实现了一种新颖的混合技术,结合了门控循环单元和图卷积网络,利用语法和语义信息来检测SQLi、XSS和OSCI漏洞。我们在一个成熟的合成数据集和一个从GitHub收集的新颖的真实世界数据集上评估了DeepTective,并将其与现有最先进的方法进行了比较。实验结果表明,DeepTective在合成数据集上达到了近乎完美的分类效果,在真实数据集上的F1分数为88.12%,优于相关方法。我们通过在成熟的WordPress插件中发现4个新漏洞,对DeepTective进行了实际验证。

英文摘要:

This paper presents DeepTective, a deep learning approach to detect vulnerabilities in PHP source code. Our approach implements a novel hybrid technique that combines Gated Recurrent Units and Graph Convolutional Networks to detect SQLi, XSS and OSCI vulnerabilities leveraging both syntactic and semantic information. We evaluate DeepTective and compare it to the state of the art on an established synthetic dataset and on a novel real-world dataset collected from GitHub. Experimental results show that DeepTective achieves near perfect classification on the synthetic dataset, and an F1 score of 88.12% on the realistic dataset, outperforming related approaches. We validate DeepTective in the wild by discovering 4 novel vulnerabilities in established WordPress plugins.

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

↑