LogPr'ecis: Unleashing Language Models for Automated Malicious Log Analysis
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 20 of its 48 references that are in the map. First posted on arXiv 17 Jul 2023.
Builds on
20 of 48 references.
References · 20
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2023A Survey of Large Language Modelscited by 2,537
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
- 2019Generalizing from a Few Examples: A Survey on Few-Shot Learningcited by 462
- 2018A Survey on Deep Learning for Named Entity Recognitioncited by 281
- 2022The Carbon Footprint of Machine Learning Training Will Plateau, Then Shrinkcited by 183
- 2020Dos and Don'ts of Machine Learning in Computer Securitycited by 98
8 more
- 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 97
- 2023A Survey on Long Text Modeling with Transformerscited by 47
- 2022An Exploration of Hierarchical Attention Transformers for Efficient Long Document Classificationcited by 38
- 2020Trex: Learning Execution Semantics from Micro-Traces for Binary Similaritycited by 34
- 2020Recurrent Chunking Mechanisms for Long-Text Machine Reading Comprehensioncited by 29
- 2023Log Parsing with Prompt-based Few-shot Learningcited by 28
- 2022A new hope for network model generalizationcited by 11
- 2021Identifying botnet IP address clusters using natural language processing techniques on honeypot command logscited by 2
Built on by
Citing papers per year: 2025: 5; 2026: 3.
8 papers.
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Managementcited by 4
- 2025Evaluating Language Models For Threat Detection in IoT Security Logscited by 3
- 2025Cloud Investigation Automation Framework (CIAF): An AI-Driven Approach to Cloud Forensicscited by 3
- 2025OntoLogX: Ontology-Guided Knowledge Graph Extraction from Cybersecurity Logs with Large Language Modelscited by 3
- 2025L2M-AID: Autonomous Cyber-Physical Defense by Fusing Semantic Reasoning of Large Language Models with Multi-Agent Reinforcement Learning (Preprint)cited by 2
- 2026Automating Cloud Security and Forensics Through a Secure-by-Design Generative AI Frameworkcited by 1
- 2026GenTI: Benchmarking LLMs for Autonomous IDPS Rule Generation for Unseen Attackscited by 0
- 2026Agentic Cloud Decoys: A Deception-Driven Framework for Autonomous Intrusion Investigationcited by 0
- 2026Agentic Cloud Decoys: A Deception-Driven Framework for Autonomous Intrusion Investigation27 Jul 2026
- 2026GenTI: Benchmarking LLMs for Autonomous IDPS Rule Generation for Unseen Attacks4 Jun 2026
- 2026Automating Cloud Security and Forensics Through a Secure-by-Design Generative AI Framework5 Apr 2026
- 2025L2M-AID: Autonomous Cyber-Physical Defense by Fusing Semantic Reasoning of Large Language Models with Multi-Agent Reinforcement Learning (Preprint)8 Oct 2025
- 2025OntoLogX: Ontology-Guided Knowledge Graph Extraction from Cybersecurity Logs with Large Language Models1 Oct 2025
- 2025Cloud Investigation Automation Framework (CIAF): An AI-Driven Approach to Cloud Forensics1 Oct 2025
- 2025Evaluating Language Models For Threat Detection in IoT Security Logs3 Jul 2025
- 2025Mapping the Landscape of Generative AI in Network Monitoring and Management12 Feb 2025