LogPrécis: Unleashing language models for automated malicious log analysis
Computers & Security · 2024-06 · 141 · 103805
DOI: 10.1016/j.cose.2024.103805 ↗Kurz gefasst
Fachartikel in der Zeitschrift Computers & Security, 2024-06. Verfasst von Matteo Boffa und 6 weiteren Autor:innen. Die Arbeit wurde bisher 44-mal zitiert (Crossref) und nennt 50 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Ministero dell'Istruzione dell'Università e della Ricerca.
Abstract (Originalsprache)
The collection of security-related logs holds the key to understanding attack behaviors and diagnosing vulnerabilities. Still, their analysis remains a daunting challenge. Recently, Language Models (LMs) have demonstrated unmatched potential in understanding natural and programming languages. The question arises whether and how LMs could be also useful for security experts since their logs contain intrinsically confused and obfuscated information. In this paper, we systematically study how to benefit from the state-of-the-art in LM to automatically analyze text-like Unix shell attack logs. We present a thorough design methodology that leads to LogPr\'ecis. It receives as input raw shell sessions and automatically identifies and assigns the attacker tactic to each portion of the session, i.e., unveiling the sequence of the attacker's goals. We demonstrate LogPr\'ecis capability to support the analysis of two large datasets containing about 400,000 unique Unix shell attacks. LogPr\'ecis reduces them into about 3,000 fingerprints, each grouping sessions with the same sequence of tactics. The abstraction it provides lets the analyst better understand attacks, identify fingerprints, detect novelty, link similar attacks, and track families and mutations. Overall, LogPr\'ecis, released as open source, paves the way for better and more responsive defense against cyberattacks.
Förderung
- Ministero dell'Istruzione dell'Università e della Ricerca
Zitieren
APA
Boffa, M., Drago, I., Mellia, M., Vassio, L., Giordano, D., Valentim, R., & Houidi, Z. B. (2024). LogPrécis: Unleashing language models for automated malicious log analysis. Computers & Security, 141, 103805. https://doi.org/10.1016/j.cose.2024.103805
Vancouver
Boffa M, Drago I, Mellia M, Vassio L, Giordano D, Valentim R, et al. LogPrécis: Unleashing language models for automated malicious log analysis. Computers & Security. 2024;141:103805. doi:10.1016/j.cose.2024.103805
BibTeX
@article{Boffa2024,
author = {Boffa, Matteo and Drago, Idilio and Mellia, Marco and Vassio, Luca and Giordano, Danilo and Valentim, Rodolfo and Houidi, Zied Ben},
title = {LogPrécis: Unleashing language models for automated malicious log analysis},
journal = {Computers & Security},
year = {2024},
volume = {141},
pages = {103805},
doi = {10.1016/j.cose.2024.103805}
}
EUVIMED