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

利用生成模型增强SQL注入检测与预防

Enhancing SQL Injection Detection and Prevention Using Generative Models

University of Reading(雷丁大学)

Naga Sai Dasari, Atta Badii, Armin Moin, Ahmed Ashlam

AI总结:

本文提出利用VAE、CWGAN-GP和U-Net等生成模型合成SQL查询以扩充训练数据,从而提升SQL注入检测系统的准确性、自适应性和鲁棒性。

摘要:

SQL注入(SQLi)持续对Web应用程序的安全构成重大威胁,使攻击者能够在未经授权的情况下操纵数据库并访问敏感信息。尽管检测技术已取得进展,但传统的基于签名的方法仍难以识别那些规避预定义模式的高级SQL注入攻击。随着SQLi攻击不断演变,对更具自适应性的检测系统的需求变得至关重要。本文提出了一种创新方法,利用生成模型来增强SQLi检测与预防机制。通过引入变分自编码器(VAE)、带梯度惩罚的条件Wasserstein GAN(CWGAN-GP)以及U-Net,生成合成SQL查询以扩充机器学习模型的训练数据集。所提方法通过同时降低误报率和漏报率,展示了SQLi检测系统准确性的提升。大量实证测试进一步表明,该系统能够适应不断演变的SQLi攻击模式,从而提高了精确性和鲁棒性。

英文摘要:

SQL Injection (SQLi) continues to pose a significant threat to the security of web applications, enabling attackers to manipulate databases and access sensitive information without authorisation. Although advancements have been made in detection techniques, traditional signature-based methods still struggle to identify sophisticated SQL injection attacks that evade predefined patterns. As SQLi attacks evolve, the need for more adaptive detection systems becomes crucial. This paper introduces an innovative approach that leverages generative models to enhance SQLi detection and prevention mechanisms. By incorporating Variational Autoencoders (VAE), Conditional Wasserstein GAN with Gradient Penalty (CWGAN-GP), and U-Net, synthetic SQL queries were generated to augment training datasets for machine learning models. The proposed method demonstrated improved accuracy in SQLi detection systems by reducing both false positives and false negatives. Extensive empirical testing further illustrated the ability of the system to adapt to evolving SQLi attack patterns, resulting in enhanced precision and robustness.

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

↑