arrow
返回

Generative Pre-Trained Transformer-Based Reinforcement Learning for Testing Web Application Firewalls

delete2024-01-01
delete5
PRE
AI
H
Hongliang Liang
李翔宇 (Xiangyu Li)
D
Da Xiao *
刘杰 (Jie Liu)
Y
Yanjie Zhou
J
Jin Li
DOI:10.1109/TDSC.2023.3252523delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Web Application Firewalls (WAFs) are widely deployed to protect key web applications against multiple security threats, so it is important to test WAFs regularly to prevent attackers from bypassing them easily. Machine-learning-based black-box WAF testing is gaining more attention, though existing learning-based approaches have strict requirements on the source and scale of payload data and suffer from the local optimum problem, limiting their effectiveness and practical application. We propose GPTFuzzer, a practical and effective generation-based approach to test WAFs by generating attack payloads token-by-token. Specifically, we fine-tune a Generative Pre-trained Transformer language model with reinforcement learning to make GPTFuzzer have the least restrictions on payload data and thus more applicable in practice, and we use reward modeling and KL-divergence penalty to improve the effectiveness of our approach and mitigate the local optimum issue. We implement GPTFuzzer and evaluate it on two well-known open-source WAFs against three kinds of common attacks. Experimental results show that GPTFuzzer significantly outperforms state-of-the-art approaches, i.e., ML-Driven and RAT, finding up to 7.8x (3.2x on average) more bypassing payloads within 1,250,000 requests, or finding out all bypassing payloads using up to 8.1x (3.3x on average) fewer requests.
Keyword:
Payloads
Grammar
Testing
Reinforcement learning
Data models
Adaptation models
Security
Black-box testing
reinforcement learning
transformer
web application firewall

期刊

IEEE Transactions on Dependable and Secure Computing 封面图
IEEE Transactions on Dependable and Secure Computing
IF:
7.5
论文数:
2.4K
被引数:
9.6K

机构

B
beijing university of posts & telecommunications
学者数:
1.4W
论文数: 1.2W
被引数: 9
引用论文

引用论文

Neurogranin regulates sensorimotor gating through cortico-striatal circuitry
err2019-05-01
err0
errOAAI
errJohn M. Sullivan; Caleb A. Grant; Ashlie N. Reker; Lailun Nahar; Nicholas E. Goeders; Hyung W. Nam
err分享
err收藏
Enzymatic Esterification of Indole-3-acetic Acid to myo-Inositol and Glucose
err1974-12-01
err0
errOAAI
errJan Kopcewicz; Axel Ehmann; Robert S. Bandurski
err分享
err收藏
A Machine-Learning-Driven Evolutionary Approach for Testing Web Application Firewalls
err2018-09-01
err41
errOAAI
errAppelt, Dennis; Nguyen, Cu D.; Panichella, Annibale; Briand, Lionel C.
err分享
err收藏
ART4SQLi: The ART of SQL Injection Vulnerability Discovery
err2019-12-01
err23
PREAI
errZhang, Long; Zhang, Donghong; Wang, Chenghong; Zhao, Jing; Zhang, Zhenyu
err分享
err收藏
学者 查看更多内容