Recurrent Neural Network Language Models for Open Vocabulary Event-Level Cyber Anomaly Detection

Aaron Tuor, Ryan Baerwolf, Nicolas Knowles, Brian Hutchinson, Nicole Nichols +1 more
12/2/2017
cs.NEcs.CR

Official code: pnnl/safekit (144 stars, Python, MIT, last commit 2020-11-17).

Abstract

Automated analysis methods are crucial aids for monitoring and defending a network to protect the sensitive or confidential data it hosts. This work introduces a flexible, powerful, and unsupervised approach to detecting anomalous behavior in computer and network logs, one that largely eliminates domain-dependent feature engineering employed by existing methods.

Show full abstract

By treating system logs as threads of interleaved "sentences" (event log lines) to train online unsupervised neural network language models, our approach provides an adaptive model of normal network behavior. We compare the effectiveness of both standard and bidirectional recurrent neural network language models at detecting malicious activity within network log data. Extending these models, we introduce a tiered recurrent architecture, which provides context by modeling sequences of users' actions over time. Compared to Isolation Forest and Principal Components Analysis, two popular anomaly detection algorithms, we observe superior performance on the Los Alamos National Laboratory Cyber Security dataset. For log-line-level red team detection, our best performing character-based model provides test set area under the receiver operator characteristic curve of 0.98, demonstrating the strong fine-grained anomaly detection performance of this approach on open vocabulary logging sources.

View on arXivView PDF

Code Implementations(1)

pnnl/safekitOfficial100%
MIT
14452PythonNov 16, 20176 years agoMIT

Similar Papers

Cite this paper

@article{tuor2017recurrent,
  title  = {Recurrent Neural Network Language Models for Open Vocabulary Event-Level Cyber Anomaly Detection},
  author = {Aaron Tuor and Ryan Baerwolf and Nicolas Knowles and Brian Hutchinson and Nicole Nichols and Rob Jasper},
  year   = {2017},
  eprint = {1712.00557},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1712.00557}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1712.00557.svg)](https://codeofpaper.com/paper/1712.00557)

Discussion