Skip to content

Can Machine Learning Improve Snort's Detection?

Jul 2026 · International Seminar on Intelligent Technology and Its Applications · pp. 792-797 · 0 citations · 13 references

Abstract

Signature-based Intrusion Detection Systems such as Snort are widely deployed due to their transparency, but their dependence on manually crafted rules creates persistent blind spots against attack categories not covered by existing signatures. This paper investigates whether machine learning can meaningfully improve Snort's detection capability without replacing its rule-based architecture. Using the CICIDS2017 dataset, we evaluated Snort 3 in three configurations: default built-in rules, community rules, and a hybrid configuration in which rules are derived from a flow level SD-RNN classifier trained on CICIDS2017 features. The SD-RNN model is independently re-implemented and trained in this work, achieving 97.14% overall accuracy with a macro recall of 0.93 across 15 attack classes. Our experiments show that Snort's built-in rules detect only 30.27% of attack flows overall, with complete failure on FTP-Patator, PortScan, Bot, SQL Injection, and Infiltration. The community rules provide negligible additional coverage. ML-derived rules raise the overall detection rate to 58.36%, covering 9 of 14 attack classes above 80% detection, including 100% detection for brute-force and web application attacks that signature-only configurations miss entirely. We present a complete evaluation methodology and a reproducible flow level framework for aligning Snort's packet-level alerts with flow level ground truth, which can serve as a baseline for future work on ML-enhanced signature-based IDS.

View source

Similar papers

Open access Sep 2026

Real-Traffic Enrichment for Improved Minority Web Attack Detection in Network Intrusion Detection

This study enriches CICIDS2017 with authentic SQL Injection, Cross-Site Scripting (XSS), and Web Brute Force (WBF) traffic captured from a controlled DVWA/XAMPP environment, processed with CICFlowMeter to match the original feature space.

Zeyneb Berkat, Amina Fatima Zahra Yahiaoui, Mahfoud Aliouat et al. · 0 citations
Aug 2026

Comparison of Network Attack Detection Algorithms Based on NSL-KDD Dataset

The paper put three classical machine learning methods—Decision Tree, Random Forest, and K-Nearest Neighbors—through the same set of binary and five-class detection tests, arguing for treating rare-class detection as the main priority in future work.

Qi Wu · 0 citations
Open access Aug 2026

Explainable Machine Learning for DDoS Attack Detection with Physical Network Validation

This study evaluates two explainable ML classifiers, XGBoost and Random Forest, for DDoS detection and examines whether their near-perfect offline accuracy translates into reliable physical-network operation, indicating that offline benchmarks alone are insufficient for validating IDS readiness.

Muhammad Azzam Anshori, R. Amri · 0 citations
Conference Aug 2026

“Low-and-Slow„ DDoS Detection Using Traffic Flow Analysis

Low and slow distributed denial of service (DDoS) attacks are one of the toughest challenge for state-of-the-art network security systems due to their low aggression behavior and traffic rates close to valid user's activity. Signature-based or threshold-based intrusion detection schemes typically cannot effectively cap...

Sakib Ur Rahman, M. Foysal, Taukir Ahmed et al. · 0 citations
Open access Sep 2026

Enhanced Intrusion Detection System (IDS) Using Machine Learning

The findings support the adoption of hybrid IDS architectures as a balanced and practical solution that enhances detection capability, adaptability, and reliability in evolving cyber threat landscapes.

Bang-Chen Yu · 0 citations
Preprint Aug 2026

X-WAD: eXplainable Web Anomaly Detection

This paper investigates the effectiveness of Transformer-based Language Models in the detection of anomalies in HTTP requests, focussing on providing detailed explanations for the detected anomalies, and employs token-level logit-based surprisal mapping to provide both an anomaly score and a direct, detailed explanatio...

Matteo Bitussi, R. Doriguzzi-Corin · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.