mlsanityData to 7 Oct 2026

LogPr'ecis: Unleashing Language Models for Automated Malicious Log Analysis

arXiv 2307.08309 ↗First posted 17 Jul 2023cs.CR cs.AI cs.NIcited by 8

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  4. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  5. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  6. 2023A Survey of Large Language Modelscited by 2,537
  7. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  8. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
  9. 2019Generalizing from a Few Examples: A Survey on Few-Shot Learningcited by 462
  10. 2018A Survey on Deep Learning for Named Entity Recognitioncited by 281
  11. 2022The Carbon Footprint of Machine Learning Training Will Plateau, Then Shrinkcited by 183
  12. 2020Dos and Don'ts of Machine Learning in Computer Securitycited by 98
8 more
  1. 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 97
  2. 2023A Survey on Long Text Modeling with Transformerscited by 47
  3. 2022An Exploration of Hierarchical Attention Transformers for Efficient Long Document Classificationcited by 38
  4. 2020Trex: Learning Execution Semantics from Micro-Traces for Binary Similaritycited by 34
  5. 2020Recurrent Chunking Mechanisms for Long-Text Machine Reading Comprehensioncited by 29
  6. 2023Log Parsing with Prompt-based Few-shot Learningcited by 28
  7. 2022A new hope for network model generalizationcited by 11
  8. 2021Identifying botnet IP address clusters using natural language processing techniques on honeypot command logscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 3.

8 papers.