Hidden Markov Models for Automated Protocol Learning

Sean Whalen, Matt Bishop, James P. Crutchfield · 2012

Abstract. Hidden Markov Models (HMMs) have applications in several areas of computer security. One drawback of HMMs is the selection of appropriate model parameters, which is often ad hoc or requires domainspecific knowledge. While algorithms exist to find local optima for some parameters, the number of states must always be specified and directly impacts the accuracy and generality of the model. In addition, domain knowledge is not always available or may be based on assumptions that prove incorrect or sub-optimal. We apply the ɛ-machine—a special type of HMM—to the task of constructing network protocol models solely from network traffic. Unlike previous approaches, ɛ-machine reconstruction infers the minimal HMM architecture directly from data and is well suited to applications such as anomaly detection. We draw distinctions between our approach and previous research, and discuss the benefits and challenges of ɛ-machines for protocol model inference.

Read the paper · More papers on PaperTik