Skip to main content
QUICK REVIEW

[Paper Review] Detecting Anomalous User Behavior Using an Extended Isolation Forest Algorithm: An Enterprise Case Study

Li Sun, Steven Versteeg|arXiv (Cornell University)|Sep 21, 2016
Network Security and Intrusion DetectionComputer Science7 references38 citations
TL;DR

This paper proposes an extended Isolation Forest algorithm to detect anomalous user behavior in enterprise environments without requiring labeled anomalies in training data. By adapting the algorithm to handle categorical features and combining multiple behavioral features, the system achieves high recall (up to 99.91%) in identifying abnormal user actions, particularly when time-based access patterns are included.

ABSTRACT

Anomalous user behavior detection is the core component of many information security systems, such as intrusion detection, insider threat detection and authentication systems. Anomalous behavior will raise an alarm to the system administrator and can be further combined with other information to determine whether it constitutes an unauthorised or malicious use of a resource. This paper presents an anomalous user behaviour detection framework that applies an extended version of Isolation Forest algorithm. Our method is fast and scalable and does not require example anomalies in the training data set. We apply our method to an enterprise dataset. The experimental results show that the system is able to isolate anomalous instances from the baseline user model using a single feature or combined features.

Motivation & Objective

  • To develop an unsupervised anomaly detection system for user behavior that does not require labeled anomalous examples during training.
  • To extend the Isolation Forest algorithm to support categorical data features commonly found in user access logs.
  • To evaluate the effectiveness of single and combined features in detecting anomalies across real enterprise log data.
  • To assess the system's ability to distinguish between normal and anomalous behavior patterns of individual users in a large-scale enterprise setting.

Proposed method

  • Parse and preprocess enterprise log files, extracting user-specific behavioral features such as match rule, signature, device, browser, and access time.
  • Build a baseline user model using an extended Isolation Forest algorithm that supports categorical features by encoding them into numerical representations.
  • Train the Isolation Forest on a training set (80% of user logs) to construct isolation trees that model normal behavior.
  • Map new user records into the trained isolation trees and compute an anomaly score based on the average path length to leaf nodes.
  • Flag records with anomaly scores above a threshold (set at 0.80) as potential anomalies.
  • Use a 10-fold cross-validation approach with 10 random runs to evaluate system performance, measuring true positives, false positives, precision, recall, and accuracy.

Experimental results

Research questions

  • RQ1Can an extended Isolation Forest algorithm effectively detect anomalous user behavior in enterprise log data without requiring labeled anomalies in the training set?
  • RQ2How does the inclusion of categorical features (e.g., device, browser, match rule) affect the detection performance of the anomaly detection system?
  • RQ3Does combining multiple behavioral features improve the system’s ability to distinguish between normal and anomalous user behavior compared to using single features?
  • RQ4How effective is the system at detecting anomalies that are specific to individual users versus those that resemble behavior from other users?
  • RQ5What role does access time play in identifying anomalous user behavior patterns?

Key findings

  • The system achieved a recall rate of 99.91% when using a single feature (Device Check), indicating strong detection of actual anomalous behaviors.
  • The combined feature system (four features) achieved a recall of 99.02% and a precision of 51.43%, demonstrating effective detection across diverse behavioral patterns.
  • The inclusion of access time as a feature improved detection performance, with the system using time and four other features achieving a recall of 98.92%.
  • False positive rates were high across all systems (ranging from 94.03% to 99.75%), indicating that many normal behaviors were incorrectly flagged as anomalous, especially when features had low variance.
  • The histogram of false positives showed that 258 out of 495 users had no false positives, while 122 had only one, suggesting that most users had stable behavior patterns.
  • An example user (ID 58376) had two records with high anomaly scores (0.9307), which were confirmed as anomalous based on feature changes, validating the system’s ability to detect subtle behavioral deviations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.