arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.23610cs.CR
收藏

基于WAMM的增强型Web负载分类:一种基于AI的框架用于数据集精炼和模型评估

Enhanced Web Payload Classification Using WAMM: An AI-Based Framework for Dataset Refinement and Model Evaluation

Cyshield Company(Cyshield公司);Coventry University – Egypt Branch(考文垂大学埃及分校)

Heba Osama, Omar Elebiary, Youssef Qassim, Mohamed Amgad, Ahmed Maghawry, Ahmed Saafan, Haitham Ghalwash

AI总结:

WAMM通过AI驱动的数据集精炼和模型评估,提升Web攻击检测的准确性和效率,适用于生产级WAF环境。

摘要:

随着Web应用日益面临逃避和多态攻击负载,传统基于静态规则集(如OWASP核心规则集CRS)的Web应用防火墙(WAF)往往在没有大量手动调整的情况下遗漏了混淆或零日模式。本文引入WAMM,一种基于AI的多类Web攻击检测框架,旨在通过将HTTP请求重新分类到与特定技术栈对齐的类别中,揭示基于规则系统的局限性。WAMM应用一个多阶段增强管道对包含大规模去重、LLM引导的重新标记、现实攻击数据增强和LLM引导的过滤的SR-BH 2020数据集进行处理,产生三个精炼的数据集。使用统一的特征空间(基于统计和文本表示)评估了四种机器和深度学习模型。结果表明,在相同的技术栈上使用增强和LLM过滤的数据集,XGBoost达到99.59%的准确率,具有微秒级推理速度,而深度学习模型在噪声增强下性能下降。当使用未见过的增强数据集测试OWASP CRS时,WAMM在真阳性阻断率方面达到96至100%,改进高达86%。这些发现揭示了广泛部署的基于规则的防御中的缺陷,并证明了结合精心编排的训练管道和高效机器学习模型可以实现更稳健、实时的Web攻击检测方法,适用于生产WAF环境。

英文摘要:

Web applications increasingly face evasive and polymorphic attack payloads, yet traditional web application firewalls (WAFs) based on static rule sets such as the OWASP Core Rule Set (CRS) often miss obfuscated or zero-day patterns without extensive manual tuning. This work introduces WAMM, an AI-driven multiclass web attack detection framework designed to reveal the limitations of rule-based systems by reclassifying HTTP requests into OWASP-aligned categories for a specific technology stack. WAMM applies a multi-phase enhancement pipeline to the SR-BH 2020 dataset that includes large-scale deduplication, LLM-guided relabeling, realistic attack data augmentation, and LLM-based filtering, producing three refined datasets. Four machine and deep learning models are evaluated using a unified feature space built from statistical and text-based representations. Results show that using an augmented and LLM-filtered dataset on the same technology stack, XGBoost reaches 99.59% accuracy with microsecond-level inference while deep learning models degrade under noisy augmentation. When tested against OWASP CRS using an unseen augmented dataset, WAMM achieves true positive block rates between 96 and 100% with improvements of up to 86%. These findings expose gaps in widely deployed rule-based defenses and demonstrate that curated training pipelines combined with efficient machine learning models enable a more resilient, real-time approach to web attack detection suitable for production WAF environments.

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

↑