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

使用机器学习检测 SQLi:数据源视角

SQLi Detection with ML: A data-source perspective

Budapest University of Technology and Economics(布达佩斯技术与经济大学);ELKH-BME Information Systems Research Group(ELKH-BME信息系统研究组);Laboratory of Cryptography and System Security(密码学与系统安全实验室)

Balazs Pejo, Nikolett Kapui

AI总结:

本文从数据源视角系统审视基于机器学习的 SQLi 检测,围绕评估、参数优化、数据分布和特征选择开展实证分析,并通过跨分布交叉验证与工业数据集验证模型的实际部署敏感性。

摘要:

在 SQL 发明近 50 年后,注入攻击仍是当今 ICT 系统中最严重的漏洞之一。因此,SQLi 检测仍然是一个活跃的研究领域,最新工作将机器学习技术纳入所提出的解决方案。本文聚焦四个方面指出以往基于机器学习的研究成果的不足:评估方法、模型参数优化、所用数据集的分布以及特征选择。由于没有任何一项工作令人满意地探讨了所有这些方面,我们填补了这一空白,并提供深入、全面的实证分析。此外,我们使用来自其他分布的数据对训练后的模型进行交叉验证。为 SQLi 检测训练的 ML 模型的这一方面此前从未被研究过。然而,模型性能对此的敏感性对于任何实际部署都至关重要。最后,我们在一个真实工业 SQLi 数据集上验证了研究发现。

英文摘要:

Almost 50 years after the invention of SQL, injection attacks are still top-tier vulnerabilities of today's ICT systems. Consequently, SQLi detection is still an active area of research, where the most recent works incorporate machine learning techniques into the proposed solutions. In this work, we highlight the shortcomings of the previous ML-based results focusing on four aspects: the evaluation methods, the optimization of the model parameters, the distribution of utilized datasets, and the feature selection. Since no single work explored all of these aspects satisfactorily, we fill this gap and provide an in-depth and comprehensive empirical analysis. Moreover, we cross-validate the trained models by using data from other distributions. This aspect of ML models (trained for SQLi detection) was never studied. Yet, the sensitivity of the model's performance to this is crucial for any real-life deployment. Finally, we validate our findings on a real-world industrial SQLi dataset.

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

↑