Skip to main content
QUICK REVIEW

[Paper Review] Extended Abstract: Mimicry Resilient Program Behavior Modeling with LSTM based Branch Models

Hayoon Yi, Gyuwan Kim|arXiv (Cornell University)|Mar 24, 2018
Network Security and Intrusion DetectionComputer Science14 references5 citations
TL;DR

This paper proposes a mimicry-resilient program behavior modeling approach using LSTM-based analysis of branch sequences extracted via hardware support (Intel PT). By leveraging the fine-grained divergence in branch traces following no-op system calls, the method effectively detects mimicry attacks that evade traditional system call-based models, achieving high anomaly detection accuracy with low false positives on real-world server applications.

ABSTRACT

In the software design, protecting a computer system from a plethora of software attacks or malware in the wild has been increasingly important. One branch of research to detect the existence of attacks or malware, there has been much work focused on modeling the runtime behavior of a program. Stemming from the seminal work of Forrest et al., one of the main tools to model program behavior is system call sequences. Unfortunately, however, since mimicry attacks were proposed, program behavior models based solely on system call sequences could no longer ensure the security of systems and require additional information that comes with its own drawbacks. In this paper, we report our preliminary findings in our research to build a mimicry resilient program behavior model that has lesser drawbacks. We employ branch sequences to harden our program behavior model against mimicry attacks while employing hardware features for efficient extraction of such branch information during program runtime. In order to handle the large scale of branch sequences, we also employ LSTM, the de facto standard in deep learning based sequence modeling and report our preliminary experiments on its interaction with program branch sequences.

Motivation & Objective

  • To address the vulnerability of system call-based program behavior models to mimicry attacks that evade detection by mimicking benign sequences.
  • To explore branch sequences as a more resilient, low-overhead alternative to system call sequences for runtime behavior modeling.
  • To evaluate the feasibility of using deep learning (LSTM) for modeling large-scale branch sequences in real-time.
  • To design and prototype a system (DeePBM) that efficiently captures branch traces and trains LSTM models for anomaly detection.
  • To assess the effectiveness of branch-based models in detecting known and potential mimicry attacks.

Proposed method

  • Employing Intel Processor Tracing (PT) to collect low-overhead, complete branch traces from both user and kernel mode during program execution.
  • Using Long Short-Term Memory (LSTM) networks to model the high-dimensional, large-scale branch sequences due to their strength in sequence modeling.
  • Training the LSTM model on normal execution traces of real programs (MySQL, Nagios, ProFTPD) to learn expected behavior patterns.
  • Evaluating model performance via perplexity and ROC curves on both normal and attack-injected sequences to detect anomalies.
  • Leveraging branch trace divergence after system calls—especially no-op calls—to distinguish between benign and mimicked behavior.
  • Designing a prototype system, DeePBM, to integrate hardware tracing, sequence collection, and real-time inference with the LSTM model.

Experimental results

Research questions

  • RQ1Can branch sequences extracted via hardware tracing effectively detect mimicry attacks that evade system call-based models?
  • RQ2How well can LSTM models generalize to large-scale, complex branch sequences in real-world programs?
  • RQ3To what extent do branch sequences reveal anomalies in system call behavior, particularly around no-op system calls?
  • RQ4Can a branch-based model achieve high detection rates with low false positive rates on modern server applications?
  • RQ5How does the expressiveness of branch sequences limit the feasibility of new mimicry attacks?

Key findings

  • The LSTM-based branch model achieved low perplexity on normal program sequences, indicating strong alignment with learned behavior patterns.
  • Attack sequences consistently showed high perplexity, demonstrating the model's ability to detect anomalous behavior with high sensitivity.
  • The model successfully identified no-op system calls by detecting divergent branch sequences following identical system calls, enabling detection of mimicry attacks.
  • Even rare or exceptional events (e.g., system crashes) were flagged as anomalies, showing robustness to out-of-distribution behavior.
  • ROC curves for all tested programs showed high detection rates with low false positive rates, indicating strong overall performance.
  • The use of branch sequences significantly reduces the attack surface for mimicry attacks, as forging realistic branch patterns is highly constrained.

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.