Skip to main content
QUICK REVIEW

[Paper Review] Intrusion Alert Prediction Using a Hidden Markov Model

Udaya Sampath K. Perera Miriya Thanthrige, Jagath Samarabandu|arXiv (Cornell University)|Oct 24, 2016
Network Security and Intrusion DetectionComputer Science9 references9 citations
TL;DR

This paper proposes a Hidden Markov Model (HMM)-based framework for predicting future intrusion alerts using a bag-of-words model and k-means clustering to group alert attributes into clusters. It achieves 81% and 77% accuracy for single-step and five-step predictions of alert clusters, and 95% and 92% for alert categories, outperforming prior variable-length Markov chain methods by 5% in category prediction while providing richer contextual information for response actions.

ABSTRACT

Intrusion detection is only a starting step in securing IT infrastructure. Prediction of intrusions is the next step to provide an active defense against incoming attacks. Current intrusion prediction methods focus mainly on prediction of either intrusion type or intrusion category and do not use or provide contextual information such as source and target IP address. In addition most of them are dependant on domain knowledge and specific scenario knowledge. The proposed algorithm employs a bag-of-words model together with a hidden Markov model which not depend on specific domain knowledge. Since this algorithm depends on a training process it is adaptable to different conditions. A key advantage of the proposed algorithm is the inclusion of contextual data such as source IP address, destination IP range, alert type and alert category in its prediction, which is crucial for an eventual response. Experiments conducted using a public data set generated over 2500 alert predictions and achieved accuracy of 81% and 77% for single step and five step predictions respectively for prediction of the next alert cluster. It also achieved an accuracy of prediction of 95% and 92% for single step and five step predictions respectively for prediction of the next alert category. The proposed methods achieved a prediction accuracy improvement of 5% for alert category over existing variable length Markov chain intrusion prediction methods, while providing more information for a possible defense.

Motivation & Objective

  • To develop a domain-agnostic intrusion alert prediction system that does not rely on specific attack knowledge or predefined scenarios.
  • To improve intrusion response by predicting not only alert type or category, but also source IP, destination IP, and alert type for actionable defense.
  • To enhance prediction accuracy and contextual richness by integrating multiple alert attributes into a unified alert cluster representation.
  • To create a trainable, adaptable model that can evolve with changing network conditions and attack patterns.
  • To address limitations in existing methods that focus only on alert category or type, without considering attacker-victim context.

Proposed method

  • The method uses a bag-of-words (BoW) model to encode alert attributes such as alert type, category, source IP, and destination IP range into feature vectors.
  • k-means clustering is applied to group similar alerts into alert clusters, reducing dimensionality and enabling sequence modeling.
  • A Hidden Markov Model (HMM) is trained on sequences of alert clusters to model temporal dependencies and predict the next cluster.
  • The HMM is trained using the Baum-Welch algorithm to estimate transition and emission probabilities from historical alert sequences.
  • Prediction is performed using the Viterbi algorithm to find the most likely sequence of hidden states and corresponding alert clusters.
  • The framework supports both single-step and multi-step predictions, with evaluation based on precision in predicting the next alert cluster or category.

Experimental results

Research questions

  • RQ1Can a sequence-based HMM model effectively predict future intrusion alerts using only alert attributes and without domain-specific knowledge?
  • RQ2How does the inclusion of source IP, destination IP, and alert type in alert clusters improve the accuracy and actionability of intrusion predictions compared to category-only models?
  • RQ3What is the optimal number of alert clusters and hidden states for maximizing prediction accuracy in intrusion alert forecasting?
  • RQ4How does the proposed HMM-based alert cluster prediction method compare in performance to existing variable-length Markov chain methods for alert category prediction?
  • RQ5To what extent does the model generalize to unseen intrusion types not present in the training data?

Key findings

  • The proposed HMM-based alert cluster prediction achieved 81% accuracy for single-step prediction and 77% for five-step prediction on the DARPA dataset.
  • Alert category prediction reached 95% accuracy for single-step and 92% for five-step prediction, representing a 5% improvement over prior variable-length Markov chain methods.
  • Prediction accuracy was highest with fewer clusters (e.g., 5 clusters yielded 88% accuracy for level 3 prediction), but too few clusters risked merging distinct alert types.
  • The model showed that a higher number of hidden states (5–8) significantly improved prediction accuracy compared to fewer states (2–4), with a 24% difference in level 1 accuracy.
  • The framework successfully predicted full alert clusters including source and destination IPs, enabling targeted and context-aware intrusion responses.
  • The model is limited in predicting intrusion types not present in the training data and remains vulnerable to adversarial false alerts designed to mislead detection systems.

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.