“衔尾蛇”:基于符号增强网络与深度强化学习的自动化WAF安全测试框架
作者:
作者单位:

1.国防科技大学电子对抗学院,安徽合肥 230037 ;2.网络空间安全态势感知与评估安徽省重点实验室,安徽合肥 230037

作者简介:

陆鹏程男,1996年生,硕士研究生,研究方向为人工智能赋能网络安全E-mail:lupc@nudt.edu.cn
钟晓峰男,1981年生,博士,高级工程师,研究方向为网络安全与人工智能E-mail:zhongxiaofeng17@nudt.edu.cn
陈杰男,1992年生,博士,研究方向为多智能体任务分配、演化博弈论以及复杂网络系统的博弈优化E-mail:jchen202209@163.com
许文博男,2000年生,硕士研究生,研究方向为智能渗透测试E-mail:xuwenbo19@nudt.edu.cn
王永杰男,1971年生,博士,教授,研究方向为网络空间安全、智能渗透测试与自动化移动目标防御E-mail:wangyongjie17@nudt.edu.cn

通讯作者:

中图分类号:

TP309

基金项目:

国家自然科学基金资助项目(62271496);军队装备综合研究项目(KY24N011)


“Ourboros”:an automated WAF security testing framework based on symbol-enhanced networks and deep reinforcement learning
Author:
Affiliation:

1.College of Electronic Engineering, National University of Defense Technology, Hefei 230037 , China ;2.Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation, Hefei 230037 , China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    Web应用防火墙(Web application firewall, WAF)是应对持续性威胁的关键防御机制,但其安全评估长期面临挑战。传统人工测试方法效率低下且资源耗费大,而现有基于强化学习(reinforcement learning, RL)的自动化方案存在两大局限:一是攻击者因无法感知WAF的不透明规则逻辑,导致黑盒测试效率低下;二是WAF的布尔值反馈引发稀疏/延迟奖励问题,稀疏奖励易使智能体陷入盲目探索,延迟奖励则阻碍早期操作与最终结果的关联,严重影响学习效率。为突破上述瓶颈,首次提出“衔尾蛇”——黑盒WAF测试框架,其核心在于将提取的WAF规则转化为可解释循环神经网络(recurrent neural network, RNN),以提供细粒度置信度评分,并融合该评分与最终结果级奖励来驱动强化学习测试。实验表明,该框架在基于特征的WAF上最高可实现89.2%的规避成功率,这不仅缓解稀疏奖励问题,提供了高效的黑盒测试方案,还为优化WAF规则提供了重要参考。

    Abstract:

    Web application firewall(WAF) is critical defensive mechanisms against persistent threats, yet its security assessment has long been challenging. Traditional manual testing methods are inefficient and resource-intensive, while existing reinforcement learning (RL) based methods suffer from two major limitations: first, attackers cannot perceive the opaque rule logic of WAF, leading to low efficiency in black-box testing; second, the Boolean feedback of WAF causes the problem of sparse/delayed rewards—sparse rewards tend to trap intelligent agents in blind exploration, and delayed rewards hinder the association between early actions and final outcomes, seriously impairing learning efficiency. To break through these bottlenecks, this study proposed “Ouroboros”—a black-box WAF testing framework—for the first time. Its core lies in converting the extracted WAF rules into an interpretable recurrent neural network (RNN) to provide fine-grained confidence scores, and integrating these scores with outcome-level rewards to drive RL-based testing. Experiments show that this framework can achieve a maximum bypass success rate of 89.2% on feature-based WAF. This not only alleviates the sparse reward problem and provides an efficient black-box testing solution, but also offers important references for optimizing WAF rules.

    参考文献
    相似文献
    引证文献
引用本文

“衔尾蛇”:基于符号增强网络与深度强化学习的自动化WAF安全测试框架[J]. 信息对抗技术,2025, 4(5):66-76.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-07-11
  • 最后修改日期:2025-08-20
  • 录用日期:
  • 在线发布日期: 2025-10-24
  • 出版日期:
文章二维码
×
喜报
《信息对抗技术》入选中国科学引文数据库来源期刊列表
(2025-2026年度)