paper-with-me

Papers

ModSec-AdvLearn: Countering Adversarial SQL Injections with Robust Machine Learning

2023-08-09 · Giuseppe Floris, Christian Scano, Biagio Montaruli, Luca Demetrio, Andrea Valenza, Luca Compagna, Davide Ariu, Luca Piras, Davide Balzarotti, Battista Biggio

Many Web Application Firewalls (WAFs) leverage the OWASP CRS to block incoming malicious requests. The CRS consists of different sets of rules designed by domain experts to detect well-known web attack patterns. Both the set of rules and the weights used to combine them are manually defined, yielding four different default configurations of the CRS. In this work, we focus on the detection of SQLi attacks, and show that the manual configurations of the CRS typically yield a suboptimal trade-off between detection and false alarm rates. Furthermore, we show that these configurations are not robust to adversarial SQLi attacks, i.e., carefully-crafted attacks that iteratively refine the malicious SQLi payload by querying the target WAF to bypass detection. To overcome these limitations, we propose (i) using machine learning to automate the selection of the set of rules to be combined along with their weights, i.e., customizing the CRS configuration based on the monitored web services; and (ii) leveraging adversarial training to significantly improve its robustness to adversarial SQLi manipulations. Our experiments, conducted using the well-known open-source ModSecurity WAF equipped with the CRS rules, show that our approach, named ModSec-AdvLearn, can (i) increase the detection rate up to 30%, while retaining negligible false alarm rates and discarding up to 50% of the CRS rules; and (ii) improve robustness against adversarial SQLi attacks up to 85%, marking a significant stride toward designing more effective and robust WAFs. We release our open-source code at https://github.com/pralab/modsec-advlearn.

📄 PDF Abstract BibTeX arXiv:2308.04964

Code (2)

pralab/modsec-advlearn 공식 구현
pralab/modsec-learn 공식 구현

Tasks

Adversarial Robustness

Similar Papers 제목 키워드 기반

ModSec-Learn: Boosting ModSecurity with Machine Learning

2024-06-19 · Christian Scano, Giuseppe Floris, Biagio Montaruli, Luca Demetrio 외

ModSecurity is widely recognized as the standard open-source Web Application Firewall (WAF), maintained by the OWASP Foundation. It detects malicious requests by matching them against the Core Rule Set (CRS), identifying…

Adversarial SQL Injection Generation with LLM-Based Architectures

2026-05-11 · Ali Karakoc, H. Birkan Yilmaz arxiv

SQL injection (SQLi) attacks are still one of the serious attacks ranked in the Open Worldwide Application Security Project (OWASP) Top 10 threats. Today, with advances in Artificial Intelligence (AI), especially in Larg…

Adversarial Attack

SLACK: Attacking LiDAR-based SLAM with Adversarial Point Injections

2025-04-03 · Prashant Kumar, Dheeraj Vattikonda, Kshitij Madhav Bhat, Kunal Dargan 외

The widespread adoption of learning-based methods for the LiDAR makes autonomous vehicles vulnerable to adversarial attacks through adversarial \textit{point injections (PiJ)}. It poses serious security challenges for na…

Autonomous VehiclesContrastive Learning

A Survey on Adversarial Robustness of LiDAR-based Machine Learning Perception in Autonomous Vehicles

2024-11-21 · Junae Kim, Amardeep Kaur

In autonomous driving, the combination of AI and vehicular technology offers great potential. However, this amalgamation comes with vulnerabilities to adversarial attacks. This survey focuses on the intersection of Adver…

Adversarial RobustnessAutonomous DrivingAutonomous Vehicles

Adversarial Reinforcement Learning for Large Language Model Agent Safety

2025-10-06 · Zizhao Wang, Dingcheng Li, Vaishakh Keshava, Phillip Wallis 외 arxiv

Large Language Model (LLM) agents can leverage tools such as Google Search to complete complex tasks. However, this tool usage introduces the risk of indirect prompt injections, where malicious instructions hidden in too…

Reinforcement Learning