IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v18y2026i3p167-d1899971.html

A Multi-Source Feedback-Driven Framework for Generating WAF Test Cases

Author

Listed:
  • Pengcheng Lu

    (College of Electronic Engineering, National University of Defense Technology, Hefei 230037, China
    Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation, Hefei 230037, China)

  • Xiaofeng Zhong

    (College of Electronic Engineering, National University of Defense Technology, Hefei 230037, China
    Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation, Hefei 230037, China)

  • Wenbo Xu

    (College of Electronic Engineering, National University of Defense Technology, Hefei 230037, China
    Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation, Hefei 230037, China)

  • Yongjie Wang

    (College of Electronic Engineering, National University of Defense Technology, Hefei 230037, China
    Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation, Hefei 230037, China)

Abstract

Web application firewalls (WAFs) are critical defenses against persistent threats to web applications, yet their security evaluation remains challenging. Traditional manual testing methods are often inefficient and resource-intensive, while existing reinforcement learning (RL)-based automated approaches face two key limitations: (1) attackers cannot perceive opaque WAF rule logic; (2) boolean feedback from WAFs results in sparse/delayed rewards—sparse rewards trap agents in blind exploration, and delayed rewards hinder the association between early actions and final outcomes, adversely affecting learning efficiency. To address those challenges, we propose Ouroboros—a framework integrating genetic algorithm-based symbolic rule reconstruction (translating WAF rules into interpretable RNNs for fine-grained confidence scoring), timing side-channel analysis (evaluating rule-matching depth), and a multi-tiered reward mechanism to enable self-evolving RL testing. Experiments show that the framework reaches 89.2% bypass success rate on signature-based WAFs. This paper presents an efficient solution for automated WAF testing and delivers insights for optimizing rule logic and anomaly detection mechanisms.

Suggested Citation

  • Pengcheng Lu & Xiaofeng Zhong & Wenbo Xu & Yongjie Wang, 2026. "A Multi-Source Feedback-Driven Framework for Generating WAF Test Cases," Future Internet, MDPI, vol. 18(3), pages 1-26, March.
  • Handle: RePEc:gam:jftint:v:18:y:2026:i:3:p:167-:d:1899971
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/18/3/167/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/18/3/167/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:18:y:2026:i:3:p:167-:d:1899971. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.