Snort Meets Transformers: Accelerating Transformer-Based Network Traffic Classification for Real-Time Performance
2025 (English) In: Proceedings Of The 18th European Workshop On Systems Security, Eurosec 2025, New York: Association for Computing Machinery (ACM), 2025, p. 33-39Conference paper, Published paper (Refereed)
Abstract [en]
Transformer-based models have emerged as a powerful solution for network traffic classification, achieving high accuracy by autonomously learning patterns in raw traffic data. However, their high computational costs make real-time deployment impractical. In contrast, industry-proven tools like Snort and Suricata offer efficient network analysis but rely on manually crafted signatures, resulting in slower updates and limited adaptability to emerging threats. In this work, we propose a cascading model that leverages the strengths of both approaches. During training, a transformer-based model learns traffic patterns, which are then extracted using SHAP analysis to enhance the knowledge base of a signature-based IDS. In deployment, the IDS handles routine classifications, while only complex cases are escalated to the transformer model. Our experiments combining the analysis of ET-BERT with Snort demonstrate a four-fold performance improvement over running only ET-BERT without compromising false positive or false negative rates.
Place, publisher, year, edition, pages New York: Association for Computing Machinery (ACM), 2025. p. 33-39
Keywords [en]
Network Traffic Analysis, Network Pre-trained Models, Intrusion Detection Systems (IDS)
National Category
Computer and Information Sciences
Identifiers URN: urn:nbn:se:hh:diva-56062 DOI: 10.1145/3722041.3723098 ISI: 001477796300005 Scopus ID: 2-s2.0-105007283634 ISBN: 979-8-4007-1563-1 (print) OAI: oai:DiVA.org:hh-56062 DiVA, id: diva2:1983919
Conference 18th European Workshop on Systems Security, Rotterdam, The Netherlands, 31 Marsch, 2025
2025-07-142025-07-142025-10-01 Bibliographically approved