AutoEx: A Log-Driven Framework for Automated Exception Rule Generation in OWASP CRS-Based Web Application Firewalls
Abstract
1. Introduction
- The design of AutoEx, a log-driven framework for the automated generation of endpoint-specific exception rules in OWASP CRS-based WAFs.
- A structured methodology for preprocessing and normalizing WAF audit logs to extract rule–variable–endpoint relationships relevant to false-positive mitigation.
- A safe-by-design exception generation strategy that avoids disabling core detection and anomaly correlation rules, preserving detection effectiveness.
- An experimental validation across multiple OWASP CRS paranoia levels (PL2–PL4), demonstrating effective false-positive reduction without compromising malicious traffic detection.
2. Related Works
2.1. Machine Learning-Based WAF Detection
2.2. Log-Driven WAF Analysis
2.3. Automated Rule Adaptation
2.4. Synthesis and Research Gap
3. AutoEx Framework Structure
- To reduce false positives generated by legitimate traffic under elevated CRS paranoia levels;
- To preserve the global detection capability of the WAF;
- To avoid aggressive mitigation strategies such as disabling entire rules;
- To ensure endpoint-level precision through parameter-specific exclusions.
3.1. Modular Conception
3.1.1. Input Data Acquisition Module
3.1.2. Log Normalization and Preprocessing Module
3.1.3. Event Consolidation Module
3.1.4. Exception Rule Generation Module
3.2. Design Principles
- Deterministic transformation: The same input dataset yields the same exclusion configuration.
- WAF engine independence: Through the SIR abstraction layer, downstream modules remain independent of the specific WAF implementation or audit log format.
- Minimal-impact exclusions: The framework avoids global rule removal and preserves anomaly scoring mechanisms.
- Execution under demand: AutoEx is intended to be executed per configuration snapshot and may be re-applied when application behavior changes.
4. Experimental Methodology
4.1. Framework Input Data
4.2. Generation of Exception Rules
- Audit log preprocessing: At stage 6 in Figure 2, the irrelevant sections such as A, E, F, and Z are removed as they contain administrative information or transaction delimiters which, although useful for traceability or forensic analysis, do not provide direct information about triggered rules or inspected variables—elements that are essential for exception generation. This early reduction in data volume helps minimize noise and optimize subsequent processing for the automated extraction of endpoints and rules focusing the analysis exclusively on sections that describe the request-submitted parameters and relevant blocking events.
- Secondary metadata cleanup in Section H: At stage 7 in Figure 2, the descriptive elements that do not provide direct value to the exception generation process are removed. These metadata include labels (e.g. tags), version identifiers (ver), and extensive explanatory texts (msg), as well as severity levels and generic messages associated with the triggered rule. While such fields are useful for classification reporting or forensic analysis, they do not influence the determination of which rule is triggered, on which endpoint the event occurs, or which specific variable is inspected. In contrast, only information strictly related to the blocking event is retained—namely, data that allows an unambiguous association between a transaction identifier of the triggered rule, the inspected variable, and the request context (HTTP method and endpoint).
- Systematic extraction of critical information associated with each blocking event: At stage 8 in Figure 2, data from multiple sections of the audit log are integrated. From Section B of the audit log structure, the HTTP method and the affected endpoint are extracted. This information allows us to contextualize each rule activation within a specific application functionality. In parallel, Section H of the audit log structure is analyzed to identify the triggered rule identifiers and all variables subjected to inspection by the WAF. Because a single rule may reference multiple variables within the same transaction, the procedure accounts for all detected occurrences across different message formats. This approach ensures full coverage of the inspection points involved.Table 1 illustrates the data frame consolidated at stage 8 in Figure 2. The extracted information is initially organized as a set of structured rows per transaction. Each row represents the relationship between an endpoint, a rule, and an inspected collection or variable. This data frame serves as an intermediate structure for analysis and exception generation. During this consolidation process, duplicates resulting from repeated log entries are removed. Key columns are normalized to ensure semantic and syntactic consistency across records. These columns include the transaction identifier (txid), HTTP method (method), accessed endpoint path (path), triggered rule identifier (rule_id), and inspected variable (var_kind).Table 1. Normalized data frame utilized for automated exception rule generation.
Txid Method Path Rule_id Var_kind 0733051d POST /program-scopes/add 920230 ARGS:_TOKEN[FIELDS]. 0733051d POST /program-scopes/add 920230 ARGS:_TOKEN[UNLOCKED]. 0733051d POST /program-scopes/add 949110 TX:ANOMALY_SCORE. 0733051d POST /program-scopes/add 980130 TX:INBOUND_ANOMALY_SCORE. 66161b65 POST /program-scopes/add 931120 ARGS:VERSION. 66161b65 POST /program-scopes/add 931120 ARGS. 66161b65 POST /program-scopes/add 949110 TX:ANOMALY_SCORE. 66161b65 POST /program-scopes/add 980130 TX:INBOUND_ANOMALY_SCORE. 50ea9e4f POST /program-scopes/add 941100 ARGS. 50ea9e4f POST /program-scopes/add 941100 ARGS:VERSION. 50ea9e4f POST /program-scopes/add 941120 ARGS. 50ea9e4f POST /program-scopes/add 941120 ARGS:VERSION. 50ea9e4f POST /program-scopes/add 949110 TX:ANOMALY_SCORE. 50ea9e4f POST /program-scopes/add 980130 TX:INBOUND_ANOMALY_SCORE. d432df62 POST /program-scopes/add 920230 ARGS:_TOKEN[FIELDS]. d432df62 POST /program-scopes/add 920230 ARGS:_TOKEN[UNLOCKED]. d432df62 POST /program-scopes/add 949110 TX:ANOMALY_SCORE. d432df62 POST /program-scopes/add 932200 MATCHED_VAR. d432df62 POST /program-scopes/add 980130 TX:INBOUND_ANOMALY_SCORE. In addition, this stage incorporates a semantic normalization process for variables. The goal is to distinguish between structural elements and request-specific content. Components that represent dynamic values or request-dependent data are removed. These include sequences containing symbols such as “=”, “%”, whitespace, numeric indices, or brackets. Such elements are unsuitable as exception targets due to their high variability. Only the actual structural variable is preserved, e.g., ARGS, REQUEST_BODY, or specific headers. This variable represents the appropriate target for an exclusion rule. - Automated generation of the .conf rule file: The rules generated at stage 9 in Figure 2 include SecRule and ctl:ruleRemoveTargetById directives for each endpoint and each problematic rule, as illustrated in Figure 4. All observed variables are grouped into a single exception per rule and per path. This approach preserves an ordered and consistent rule structure.A strategy based on auxiliary SecRule directives bound to the request URI (REQUES_URI) and ctl:ruleRemoveTargetById actions is deliberately selected. This approach is chosen instead of more aggressive mechanisms such as SecRuleRemoveById, direct modification of CRS rule files, or the use of global anomaly thresholds. During exploratory testing conducted in the development of the framework, it is observed that disabling entire rules through SecRuleRemoveById effectively reduces false positives. However, this comes at the cost of suppressing the detection of relevant attack patterns on other endpoints.Figure 4. Example of an automatically generated Modsecurity exception rule file.A similar effect is identified when relaxing global parameters such as tx.inbound_anomaly_score, anomaly_score, or threshold values, or when removing final correlation rules such as 949110. These actions tend to silence false positives; at the same time, they reduce sensitivity to genuinely malicious traffic. This outcome contradicts the core goal of the framework which is to preserve detection capability. The structure ctl:ruleRemoveTargetById=<rule_id>;<variable> enables the exclusion of only the specific parameters that have been shown to produce recurrent false positives on a given endpoint. Typical examples include selected fields within REQUEST_BODY or ARGS. This method does not disable the rule for the rest of the application and does not alter the overall behavior of the CRS.The developed script consolidates all observed variables for each ⟨path, rule_id⟩ pair into a single endpoint-level exception. It explicitly excludes final anomaly aggregation rules, namely 949110 and 980130. A prior normalization step is applied to variable collections in order to remove content rather than structure. This design allows precise exclusion of only those variables responsible for false positives on a specific endpoint. As a result, exceptions are restricted to only the strictly necessary parameters, preserving CRS consistency and facilitating long-term management.
5. Framework Validation Methodology
- (a)
- Legitimate traffic without special characters (Stage A). In the first stage, a set of POST requests is utilized to submit simple input values to Eramba fields. These inputs consist of short words without special characters. An automated script repeatedly send these requests in order to generate a sufficient volume of records. This process produces the input log data required by the proposed framework.
- (b)
- Enriched traffic with special characters (Stage B). In the second stage, a new set of POST requests is constructed utilizing more extensive and heterogeneous inputs. The payloads include alphanumeric combinations, special characters, and increased string lengths. This design simulates the type of content that users typically enter in descriptions, comments, or free-text fields within the application. Log records are generated utilizing a large dataset of approximately 5000 requests. These requests are sent randomly and distribute across all available endpoints of the web application. The aim here is to induce the activation of a broader spectrum of OWASP CRS rules under realistic application behavior. It is important to note that these request sets are not used as part of performance evaluation or false-positive counting experiments. They are utilized exclusively as a mechanism to collect representative logs for the generation of endpoint- and paranoia-level–specific exception rules.
6. Results and Discussion
6.1. Detections Associated with Patterns Considered Malicious by the CRS
6.2. False Positives Triggered by Benign Inputs
6.3. Evaluation Environment Limitations
- The validation is realized within a controlled testset consisting of a single web application (Eramba) protected by ModSecurity and the OWASP CRS. While this configuration reflects a common deployment scenario, results may vary in environments involving microservice architectures or high-concurrency production traffic conditions.
- The datasets utilized for exception rule generation are constructed to emulate representative legitimate interactions. Although functional coverage and semantic variability are ensured, the experiments do not incorporate long-term production traffic characterized by heterogeneous user behavior.
- The experimental validation does not include stress-testing scenarios with deployments protecting multiple heterogeneous applications under the same WAF instance.
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| WAF | Web Application Firewall |
| OWASP | Open Worldwide Application Security Project |
| PL | Paranoia Level |
| CRS | Core Rule Set |
| ICS | Industrial Control Systems |
| FP | False Positive |
| IDS | Intrusion Detection Systems |
| DoS | Denial of Service |
| DDoS | Distributed Denial of Service |
| ML | Machine Learning |
| DL | Deep Learning |
| GRU | Gated Recurrent Units |
| LSTM | Long Short-Term Memory |
| ADL-WAF | Adaptive Dual-Layer Web Application Firewall |
| ELK | Elasticsearch, Logstash and Kibana |
| SIR | Structured Intermediate Representation |
References
- Verizon. 2024 Data Breach Investigations Report (DBIR). Available online: https://www.verizon.com/business/resources/reports/dbir/ (accessed on 10 January 2026).
- European Union Agency for Cybersecurity (ENISA). Threat Landscape for the Financial Sector. Available online: https://www.enisa.europa.eu/publications/enisa-threat-landscape-finance-sector (accessed on 10 January 2026).
- World Health Organization. Global Strategy on Digital Health 2020–2025. Available online: https://www.who.int/publications/i/item/9789240020924 (accessed on 10 January 2026).
- National Institute of Standards and Technology (NIST). Guide to Operational Technology (OT) Security; Special Publication 800-82 Revision 3. Available online: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-82r3.pdf (accessed on 10 January 2026).
- OWASP Foundation. SQL Injection. Available online: https://owasp.org/www-community/attacks/SQL_Injection (accessed on 10 January 2026).
- OWASP Foundation. Command Injection. Available online: https://owasp.org/www-community/attacks/Command_Injection (accessed on 10 January 2026).
- OWASP Foundation. Cross-Site Scripting (XSS). Available online: https://owasp.org/www-community/attacks/xss/ (accessed on 10 January 2026).
- Clincy, V.; Shahriar, H. Web Application Firewall: Network Security Models and Configuration. In Proceedings of the 2018 IEEE 42nd Annual Computer Software and Applications Conference (COMPSAC); IEEE: Washington, DC, USA, 2018; pp. 835–836. [Google Scholar]
- OWASP Foundation. OWASP Core Rule Set Documentation. Available online: https://coreruleset.org (accessed on 10 January 2026).
- OWASP Foundation. OWASP ModSecurity Core Rule Set Project. Available online: https://owasp.org/www-project-modsecurity-core-rule-set/ (accessed on 10 January 2026).
- OWASP CRS Team. Paranoia Levels. OWASP Core Rule Set Documentation. Available online: https://coreruleset.org/docs/concepts/paranoia_levels/ (accessed on 10 January 2026).
- OWASP CRS Team. Anomaly Scoring. OWASP Core Rule Set Documentation. Available online: https://coreruleset.org/docs/2-how-crs-works/2-1-anomaly_scoring/ (accessed on 10 January 2026).
- OWASP Core Rule Set Project. False Positives and Tuning. Available online: https://coreruleset.org/docs/2-how-crs-works/2-3-false-positives-and-tuning/ (accessed on 11 January 2026).
- Reyes Narváez, A.; Curipallo Martínez, M.; Reyes Narváez, E.; Lara, F.; Reyes Narváez, E.P.; Barba Molina, H. Evaluation Framework for False Positives in Open-Source WAFs Based on OWASP CRS Paranoia Levels: A Systematic Approach for Comparative Measurement. Eng. Proc. 2025, 115, 1. [Google Scholar] [CrossRef]
- Anuvarshini, M.K.; Kommuri, S.S.B.; Sonti, S.S.T.; Jevitha, K.P. An Empirical Study on the Evaluation and Enhancement of OWASP CRS (Core Rule Set) in ModSecurity. Comput. Secur. 2026, 160, 104714. [Google Scholar]
- Ho, C.-Y.; Lai, Y.-C.; Chen, I.-W.; Wang, F.-Y.; Tai, W.-H. Statistical Analysis of False Positives and False Negatives from Real Traffic with Intrusion Detection/Prevention Systems. IEEE Commun. Surv. Tutor. 2012, 14, 1257–1271. [Google Scholar] [CrossRef]
- Coulibaly, K. An Overview of Intrusion Detection and Prevention Systems. arXiv 2020, arXiv:2004.08967. [Google Scholar] [CrossRef]
- Gupta, N.; Jindal, V.; Bedi, P. A Survey on Intrusion Detection and Prevention Systems. SN Comput. Sci. 2023, 4, 439. [Google Scholar] [CrossRef]
- Tariq, S.; Baruwal Chhetri, M.; Nepal, S.; Paris, C. Alert Fatigue in Security Operations Centres: Research Challenges and Opportunities. ACM Comput. Surv. 2025, 57, 224. [Google Scholar] [CrossRef]
- Chakir, O.; Sadqi, Y.; Maleh, Y. Evaluation of Open-source Web Application Firewalls for Cyber Threat Intelligence. In Big Data Analytics and Intelligent Systems for Cyber Threat Intelligence; River Publishers: Gistrup, Denmark, 2023; pp. 1–14. Available online: https://www.taylorfrancis.com/chapters/edit/10.1201/9781003373384-3 (accessed on 12 January 2026).
- Singh, J.J.; Samuel, H.; Zavarsky, P. Impact of Paranoia Levels on the Effectiveness of the ModSecurity Web Application Firewall. In Proceedings of the 2018 IEEE 1st International Conference on Information Technology, Information Systems and Electrical Engineering (ICITISEE); IEEE: Yogyakarta, Indonesia, 2018; pp. 1–6. Available online: https://ieeexplore.ieee.org/abstract/document/8367754/references#references (accessed on 12 January 2026).
- Durmuskaya, M.E.; Bayrakli, S. Web Application Firewall Based on Machine Learning Models. PeerJ Comput. Sci. 2025, 11, e2975. [Google Scholar] [CrossRef]
- Shaheed, A.; Kurdy, M.H.D.B. Web Application Firewall Using Machine Learning and Features Engineering. Secur. Commun. Netw. 2022, 2022, 5280158. [Google Scholar] [CrossRef]
- Otero-Mosquera, J.; López-Bravo, C.; Tubío-Figueira, P.; García de la Iglesia, A.I. Improving WAF Detection Capabilities Through Machine Learning Algorithms in Open-Source Technologies. Secur. Commun. Netw. 2025, 2025, 6021296. [Google Scholar] [CrossRef]
- Mani, K.; Shenoy, A.K.B. Machine Learning Models in Web Applications: A Comprehensive Review. ICT Express 2025, 11, 1110–1119. [Google Scholar] [CrossRef]
- Kumar, A.; Simha, J.B.; Agarwal, R. Machine Learning-Based Web Application Firewall for Real-Time Threat Detection. In Proceedings of the 2024 IEEE Conference on Engineering Informatics (ICEI), Melbourne, Australia, 20–28 November 2024; IEEE: Piscataway, NJ, USA, 2024. [Google Scholar] [CrossRef]
- Kilincer, I.F.; Ertam, F.; Sengur, A. Machine learning methods for cyber security intrusion detection: Datasets and comparative study. Comput. Netw. 2021, 188, 107840. [Google Scholar] [CrossRef]
- Andalib, A.; Babamir, S.M. Anomaly Detection of Policies in Distributed Firewalls Using Data Log Analysis. J. Supercomput. 2023, 79, 19473–19514. [Google Scholar] [CrossRef]
- Pyke, M.S.C.; Meng, W.; Lampe, B. Security on Top of Security: Detecting Malicious Firewall Policy Changes via K-Means Clustering. In Machine Learning for Cyber Security; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2024; Volume 14541, pp. 145–162. [Google Scholar] [CrossRef]
- Brighenti, D.; Marchetto, G.; Sisto, R.; Valenza, F.; Yusupov, J. Automated Firewall Configuration in Virtual Networks. IEEE Trans. Dependable Secur. Comput. 2023, 20, 1559–1576. [Google Scholar] [CrossRef]
- Rohith, R.; Athief, R.; Kishore, N.; Paranthaman, R.N. Web Application Firewall Using Machine Learning. In Proceedings of the 2024 International Conference on Advances in Computing, Communication and Applied Informatics (ACCAI), Chennai, India, 9–10 May 2024; IEEE: New York, NY, USA, 2024; pp. 1–6. [Google Scholar] [CrossRef]
- Muttaqin, R.Z.; Sudiana, D. Design of Realtime Web Application Firewall on Deep Learning-Based to Improve Web Application Security. J. Penelit. Pendidik. IPA (JPPIPA) 2024, 10, 11121–11129. [Google Scholar] [CrossRef]
- Chindrus, C.; Caruntu, C.F. Improving WAF Performance with Advanced ML Models: From RNN to GRU and LSTM. In Proceedings of the 2025 29th International Conference on System Theory, Control and Computing (ICSTCC), Cluj-Napoca, Romania, 9–11 October 2025; IEEE: New York, NY, USA, 2025. [Google Scholar] [CrossRef]
- Dawadi, B.R.; Adhikari, B.; Srivastava, D.K. Deep Learning Technique-Enabled Web Application Firewall for the Detection of Web Attacks. Sensors 2023, 23, 2073. [Google Scholar] [CrossRef] [PubMed]
- Sameh, A.; Selim, S. Adaptive Dual-Layer Web Application Firewall (ADL-WAF) Leveraging Machine Learning for Enhanced Anomaly and Threat Detection. arXiv 2025, arXiv:2511.12643. [Google Scholar] [CrossRef]
- Bruno, M.; Ibáñez, P.; Techera, T.; Calegari, D.; Betarte, G. Exploring the Application of Process Mining Techniques to Improve Web Application Security. In Proceedings of the 2021 XLVII Latin American Computing Conference (CLEI), Cartago, Costa Rica, 25–29 October 2021; IEEE: New York, NY, USA, 2021. [Google Scholar] [CrossRef]
- Sun, Y.; Zhou, P.; Peng, J.; Dai, D.; Wu, Y.; Feng, J. Research on Network Attack Monitoring Based on Application HTTP Traffic Parameter Analysis. In Proceedings of the 2025 IEEE 8th Information Technology and Mechatronics Engineering Conference (ITOEC), Chongqing, China, 14–16 March 2025; IEEE: New York, NY, USA, 2025. [Google Scholar] [CrossRef]
- Darmawan, I.; Nuridwan, A.; Rahmatulloh, A.; Gunawan, R.; Rizal, R. Real-time Web Application Firewall Monitoring uses the OWASP CRS Framework. In Proceedings of the 2024 Ninth International Conference on Informatics and Computing (ICIC), Medan, Indonesia, 24–25 October 2024; IEEE: New York, NY, USA, 2024. [Google Scholar] [CrossRef]
- Poat, M.D.; Lauret, J.; Fedele, D. Flexible visualization of a 3rd party Intrusion Prevention (Security) tool: A use case with the ELK stack. J. Phys. Conf. Ser. 2023, 2438, 012040. [Google Scholar] [CrossRef]
- Appelt, D.; Panichella, A.; Briand, L. Automatically Repairing Web Application Firewalls Based on Successful SQL Injection Attacks. In Proceedings of the 2017 IEEE 28th International Symposium on Software Reliability Engineering (ISSRE), Toulouse, France, 23–26 October 2017; IEEE: New York, NY, USA, 2017; pp. 28–38. [Google Scholar] [CrossRef]
- Wu, C.; Chen, J.; Zhu, S.; Feng, W.; He, K.; Du, R. WAFBooster: Automatic Boosting of WAF Security Against Mutated Malicious Payloads. IEEE Trans. Dependable Secur. Comput. 2025, 22, 1118–1131. [Google Scholar] [CrossRef]
- Babaey, V.; Ravindran, A. GenSQLi: A Generative Artificial Intelligence Framework for Automatically Securing Web Application Firewalls Against Structured Query Language Injection Attacks. Future Internet 2025, 17, 8. [Google Scholar] [CrossRef]
- Scano, C.; Floris, G.; Montaruli, B.; Demetrio, L.; Valenza, A.; Compagna, L.; Ariu, D.; Piras, L.; Balzarotti, D.; Biggio, B. ModSec-Learn: Boosting ModSecurity with Machine Learning. In Proceedings of the 21st International Conference on Distributed Computing and Artificial Intelligence; Springer: Berlin/Heidelberg, Germany, 2025; pp. 23–33. Available online: https://link.springer.com/chapter/10.1007/978-3-031-76459-2_3 (accessed on 27 February 2026).
- Floris, G.; Scano, C.; Montaruli, B.; Demetrio, L.; Valenza, A.; Compagna, L. ModSec-AdvLearn: Countering Adversarial SQL Injections With Robust Machine Learning. IEEE Trans. Inf. Forensics Secur. 2025, 20, 6693–6705. [Google Scholar] [CrossRef]
- OWASP ModSecurity Project. ModSecurity Reference Manual (v2.x): Audit Log. Available online: https://github.com/owasp-modsecurity/ModSecurity/wiki/Reference-Manual-(v2.x)#audit-log (accessed on 13 November 2025).
- Curipallo Martínez, M.; Guevara-Vega, A.; Reyes Narváez, A.; Raura, G.; Molina, H.; Barba Molina, H. Web Application Protection Optimization Through Coraza WAF: Performance Assessment Against OWASP Risks in Reverse Proxy Configurations. Eng. Proc. 2025, 115, 17. [Google Scholar] [CrossRef]





| Before Applying AutoEx (1 Test Cycle per PL) | After Applying AutoEx (20 Test Cycles per PL) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Stage A | Stage B | Stage A | Stage B | ||||||||
| PL2 | PL3 | PL4 | PL2 | PL3 | PL4 | PL2 | PL3 | PL4 | PL2 | PL3 | PL4 |
| 100% | 100% | 100% | 100% | 100% | 100% | 54.3% | 28.3% | 24.3% | 0.0% | 0.0% | 0.0% |
| 47.0% | 36.3% | 24.0% | 2.7% | 0.0% | 0.0% | ||||||
| 58.7% | 25.7% | 53.0% | 0.0% | 3.0% | 0.0% | ||||||
| 43.3% | 23.7% | 35.3% | 0.0% | 0.0% | 0.0% | ||||||
| 51.0% | 32.3% | 31.0% | 0.0% | 0.0% | 0.0% | ||||||
| 45.3% | 36.7% | 25.0% | 0.0% | 3.3% | 0.0% | ||||||
| 36.0% | 25.3% | 35.7% | 0.0% | 3.3% | 0.0% | ||||||
| 37.3% | 44.0% | 30.3% | 0.0% | 4.3% | 0.0% | ||||||
| 49.0% | 47.7% | 25.3% | 4.0% | 0.0% | 0.0% | ||||||
| 46.3% | 19.3% | 39.0% | 0.0% | 2.0% | 0.0% | ||||||
| 50.3% | 28.7% | 40.0% | 0.0% | 4.0% | 2.0% | ||||||
| 29.3% | 24.3% | 26.0% | 0.0% | 0.0% | 0.0% | ||||||
| 40.3% | 37.3% | 35.3% | 0.0% | 0.0% | 0.0% | ||||||
| 49.7% | 34.0% | 31.3% | 0.0% | 2.3% | 0.0% | ||||||
| 37.3% | 41.3% | 44.0% | 0.0% | 0.0% | 0.0% | ||||||
| 48.3% | 47.0% | 25.0% | 0.0% | 6.3% | 3.0% | ||||||
| 39.7% | 26.0% | 39.7% | 0.0% | 4.3% | 3.3% | ||||||
| 48.3% | 38.3% | 32.7% | 0.0% | 0.0% | 0.0% | ||||||
| 55.0% | 44.7% | 34.0% | 0.0% | 4.3% | 0.0% | ||||||
| 48.7% | 27.3% | 18.7% | 0.0% | 0.0% | 0.0% | ||||||
| 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 45.8% | 33.4% | 32.5% | 0.3% | 1.9% | 0.4% |
| Condition | Evaluation Setting | PL | Logs | FP | Processing Latency | |||
|---|---|---|---|---|---|---|---|---|
| (ms) | σ (ms) | min (ms) | max (ms) | |||||
| Before applying AutoEx | Stage A (1 test cycle per PL) | PL2 | 5000 | 5000 | 4.569 | 0.982 | 2.280 | 11.673 |
| PL3 | 5000 | 5000 | 5.158 | 1.289 | 2.487 | 36.019 | ||
| PL4 | 5000 | 5000 | 5.583 | 1.215 | 2.768 | 15.593 | ||
| Stage B (1 test cycle per PL) | PL2 | 5000 | 5000 | 5.262 | 1.249 | 2.732 | 13.354 | |
| PL3 | 5000 | 5000 | 5.944 | 1.366 | 2.846 | 15.518 | ||
| PL4 | 5000 | 5000 | 6.408 | 1.719 | 3.061 | 61.274 | ||
| After applying AutoEx | Stage A (20 test cycles per PL) | PL2 | 6000 | 2746 | 6.385 | 1.548 | 3.943 | 40.556 |
| PL3 | 6000 | 2005 | 8.092 | 1.766 | 4.992 | 17.696 | ||
| PL4 | 6000 | 1949 | 17.239 | 4.652 | 2.423 | 38.126 | ||
| Stage B (20 test cycles per PL) | PL2 | 6000 | 20 | 9.886 | 2.098 | 5.925 | 21.631 | |
| PL3 | 6000 | 112 | 16.714 | 4.537 | 4.224 | 45.434 | ||
| PL4 | 6000 | 25 | 23.114 | 5.801 | 2.512 | 48.071 | ||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Reyes Narváez, A.; Curipallo Martínez, M.; Barba Molina, H. AutoEx: A Log-Driven Framework for Automated Exception Rule Generation in OWASP CRS-Based Web Application Firewalls. Electronics 2026, 15, 1877. https://doi.org/10.3390/electronics15091877
Reyes Narváez A, Curipallo Martínez M, Barba Molina H. AutoEx: A Log-Driven Framework for Automated Exception Rule Generation in OWASP CRS-Based Web Application Firewalls. Electronics. 2026; 15(9):1877. https://doi.org/10.3390/electronics15091877
Chicago/Turabian StyleReyes Narváez, Aldrin, Michael Curipallo Martínez, and Hernan Barba Molina. 2026. "AutoEx: A Log-Driven Framework for Automated Exception Rule Generation in OWASP CRS-Based Web Application Firewalls" Electronics 15, no. 9: 1877. https://doi.org/10.3390/electronics15091877
APA StyleReyes Narváez, A., Curipallo Martínez, M., & Barba Molina, H. (2026). AutoEx: A Log-Driven Framework for Automated Exception Rule Generation in OWASP CRS-Based Web Application Firewalls. Electronics, 15(9), 1877. https://doi.org/10.3390/electronics15091877

