System Misuse Detection via Informed Behavior Clustering and Modeling

Linara Adilova, Livin Natious, Siming Chen, Olivier Thonnard, Michael Kamp · DOI

Introduction

In the realm of cybersecurity, the sheer volume of interaction logs often obscures actionable insights, creating a "semantic gap" where machine learning outputs remain opaque to security experts. Traditional anomaly detection systems frequently fail due to the high diversity of "normal" behavior in complex systems, leading to excessive false alarms. Furthermore, sophisticated attackers exploit these weaknesses through mimicry attacks, blending malicious actions into standard user workflows. This research presents an "informed machine learning" framework that bridges this gap by integrating human expert knowledge with Long Short-Term Memory (LSTM) neural networks to create specialized, semantically meaningful models of system behavior.

Methodology

The proposed pipeline is divided into two distinct stages: the Training Phase and the Monitoring Phase. This structure ensures that the system is both grounded in expert domain knowledge and capable of real-time detection.

The Training Phase: Human-in-the-Loop

The training process begins with Topic Modeling (LDA), where user sessions are treated as documents and individual actions (e.g., "SearchItem", "DeleteUser") as words. Latent Dirichlet Allocation (LDA) identifies underlying themes within these logs.

Crucially, the system employs an Interactive Visual Interface—utilizing t-SNE projections and chord diagrams—to allow security experts to group these LDA topics into semantically coherent clusters. For instance, an expert might aggregate specific administrative actions into a "User Role Modification" cluster. For each identified cluster, two models are trained:

  1. One-Class SVM (OC-SVM): Used to determine if a new session belongs to that specific behavioral cluster.
  2. LSTM Neural Network: Acts as a "language model" for actions, learning the sequential patterns and dependencies unique to that specific group.
The informed machine learning pipeline, illustrating the interaction between the Training Phase (expert-driven clustering) and the Monitoring Phase (real-time detection).

The Monitoring Phase

During live operation, new sessions are evaluated in real-time. The system uses the pre-trained OC-SVMs to identify the most appropriate cluster for the ongoing interaction. The sequence of actions is then processed by that cluster's specific LSTM. If the LSTM assigns a low likelihood (high loss) to the sequence, the session is flagged as potential misuse.

Experimental Setup and Datasets

The framework was evaluated using a real-world dataset from the DiSIEM project, encompassing 31 days of administrative logs. This dataset included approximately 15,000 sessions, 1,400 users, and nearly 300 unique actions. To test the system's detection capabilities in the absence of real-world malicious data, the researchers generated an artificial test set of random action sequences to simulate anomalous behavior.

Key Results

The study demonstrated that specialized cluster models significantly outperform generic, "global" models. By subdividing behavior into expert-defined categories, the LSTMs captured tighter, more accurate representations of specific workflows.

Comparison of model accuracy when tested on its own cluster versus the average performance on other clusters, highlighting the benefit of specialized modeling.

Key findings include:

  • Superior Accuracy: Models trained on specific clusters showed higher accuracy on their respective test sets compared to their performance on data from other clusters, justifying the specialized approach.
  • Effective Anomaly Detection: There was a stark difference in likelihood scores between legitimate user data and artificial attack data, allowing for clear threshold setting.
  • Early Identification: The researchers found that identifying the behavioral cluster within the first 15 actions provided the most stable results for real-time monitoring.

Conclusion and Future Work

This informed machine learning approach demonstrates that context is vital for effective misuse detection. By treating system actions as a language and utilizing expert knowledge to define the "vocabulary" of different roles, the system achieves a high degree of precision. Future research will focus on testing the framework against public benchmarks with known malicious interactions, such as the ADFA dataset, and exploring weighted ensembles to further refine normality scores.

Summary updated

BibTeX
@inproceedings{adilova2019system,
  author = {Linara Adilova and Livin Natious and Siming Chen and Olivier Thonnard and Michael Kamp},
  title = {{System Misuse Detection via Informed Behavior Clustering and Modeling}},
  booktitle = {DSN Workshops},
  year = {2019},
  doi = {10.1109/dsn-w.2019.00011},
}
Figure