A Systematic Comparison of Large Language Models Performance for Intrusion Detection
We explore the capabilities of Large Language Models (LLMs) to assist or substitute devices (i.e., firewalls) and humans (i.e., security experts) respectively in the detection and analysis of security incidents. We leverage transformer-based technologies, from relatively small to foundational sizes, to address the problem of correctly identifying the attack severity (and accessorily identifying and explaining the attack type). We contrast a broad range of LLM techniques (prompting, retrieval augmented generation, and fine-tuning of several models) using state-of-the-art machine learning models as a baseline. Using proprietary data from commercial deployment, our study provides an unbiased picture of the strengths and weaknesses of LLM for intrusion detection.
Authors
- Matteo Boffa (ORCID: https://orcid.org/0000-0003-3144-9065)
- Rodolfo Valentim (ORCID: https://orcid.org/0000-0002-7702-2991)
- Zied Ben Houidi (ORCID: https://orcid.org/0000-0002-7258-0919)
- Dario Rossi (ORCID: https://orcid.org/0000-0003-3936-8876)
- Fuxing Chen (ORCID: https://orcid.org/0000-0001-7240-2699)
- Xiaosheng Bao
- Minh-Thanh Bui (ORCID: https://orcid.org/0000-0002-2810-6056)
Institutions
- Politecnico di Torino (IT)
- Huawei Technologies (France) (FR)
- University of Turin (IT)
Publication Details
- Journal
- Proceedings of the ACM on Networking
- Published
- 2024-11-25
- DOI
- https://doi.org/10.1145/3696379
- Citations
- 11
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 3.84