mlsanityData to 7 Oct 2026

Anomaly Detection of Command Shell Sessions based on DistilBERT: Unsupervised and Supervised Approaches

arXiv 2310.13247 ↗First posted 20 Oct 2023cs.CL cs.CRcited by 2

Not on the map. Why?

Abstract (arXiv)

Anomaly detection in command shell sessions is a critical aspect of computer security. Recent advances in deep learning and natural language processing, particularly transformer-based models, have shown great promise for addressing complex security challenges. In this paper, we implement a comprehensive approach to detect anomalies in Unix shell sessions using a pretrained DistilBERT model, leveraging both unsupervised and supervised learning techniques to identify anomalous activity while minimizing data labeling. The unsupervised method captures the underlying structure and syntax of Unix shell commands, enabling the detection of session deviations from normal behavior. Experiments on a large-scale enterprise dataset collected from production systems demonstrate the effectiveness of our approach in detecting anomalous behavior in Unix shell sessions. This work highlights the potential of leveraging recent advances in transformers to address important computer security challenges.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 11 of its 36 references that are in the map. First posted on arXiv 20 Oct 2023.

Builds on

11 of 36 references.

References · 11

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  4. 2019PyOD: A Python Toolbox for Scalable Outlier Detectioncited by 221
  5. 2020COPOD: Copula-Based Outlier Detectioncited by 143
  6. 2022Efficient Few-Shot Learning Without Promptscited by 135
  7. 2021LogBERT: Log Anomaly Detection via BERTcited by 114
  8. 2018NL2Bash: A Corpus and Semantic Parser for Natural Language Interface to the Linux Operating Systemcited by 97
  9. 2021Log-based Anomaly Detection Without Log Parsingcited by 59
  10. 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 56
  11. 2020Deep Learning for Insider Threat Detection: Review, Challenges and Opportunitiescited by 18

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 1.

2 papers.