FEEBO: An Empirical Evaluation Framework for Malware Behavior Obfuscation

Sebastian Banescu, Tobias Wüchner, Marius Guggenmos, Martín Ochoa, Alexander PretschnerarXiv 2015

Abstract

Behavioral malware detection, which relies on runtime system call sequences, is widely regarded as a robust alternative to static signature-based methods. However, the resilience of these detectors against deliberate behavioral obfuscation is not well understood. This paper presents FEEBO (Framework for Empirical Evaluation of Behavior Obfuscation), a tool designed to systematically evaluate the robustness of $n$-gram based detectors. By applying automated transformations such as system call insertion and reordering, we demonstrate that even sophisticated behavioral classifiers can be significantly degraded. Our results show a characteristic quadratic decay in detection performance and highlight that higher-order $n$-grams are paradoxically more vulnerable to obfuscation.

Introduction

As malware authors increasingly employ static obfuscation techniques like encryption and packing to evade signature-based detection, the security industry has pivoted toward behavioral analysis. By monitoring the sequence of system calls—such as file operations, registry modifications, and network activity—detectors aim to identify malicious intent regardless of the code's appearance. The underlying assumption is that while the code can be hidden, its fundamental behavior cannot. FEEBO challenges this assumption by exploring "behavioral obfuscation," where a program's execution trace is modified without altering its core functionality.

The FEEBO Framework

FEEBO utilizes binary instrumentation (via the Intel Pin tool) to intercept and manipulate system calls in real-time. This approach allows for the modification of compiled x86 binaries without requiring access to source code. The framework implements two primary obfuscation strategies:

  1. System Call Insertion: Injecting "junk" calls into the execution trace. To maintain program stability, FEEBO modifies the parameters of these calls (e.g., redirecting a WriteFile operation to a dummy location).
  2. System Call Reordering: Buffering and executing calls in a non-sequential order. The framework is designed to be "side-effect aware," ensuring that dependencies between calls are respected to preserve the malware's original goals.
Mapping raw system call traces to n-gram feature vectors

As illustrated in the methodology, raw system call logs are transformed into $n$-gram representations. These can be ordered (preserving sequence) or unordered (tracking frequency), which then serve as the input features for behavioral classifiers.

Experimental Evaluation

The researchers evaluated FEEBO using a dataset of 100 real-world malware samples and 100 safe applications. By varying the intensity of obfuscation, they generated 375 unique "mutant" traces for each malware sample. These mutants were then tested against various $n$-gram detection models to measure the impact of obfuscation on precision and recall.

Results and Discussion

The empirical results reveal several critical vulnerabilities in current behavioral detection paradigms:

  • The Fragility of Length: Contrary to intuition, higher-order $n$-grams (e.g., 10-grams) are more susceptible to evasion than lower-order ones. While longer sequences capture more context, they are more easily disrupted by the insertion of a single junk call.
  • Quadratic Performance Decay: The relationship between the degree of obfuscation (measured by Levenshtein distance) and the detection rate follows a roughly quadratic curve. Small increases in obfuscation lead to rapid drops in detector accuracy.
  • Insertion vs. Reordering: System call insertion proved to be a far more effective evasion tactic than reordering, as it more fundamentally alters the statistical profile of the execution trace.
Detection rate decay across different n-gram configurations and obfuscation types

As shown in the experimental plots, detection rates for models that initially performed near 100% on clean samples plummeted as obfuscation increased. Furthermore, the variance in detector performance grew significantly, making the systems highly unpredictable under stress.

Conclusion

FEEBO demonstrates that behavioral detection is not the silver bullet it was once thought to be. The framework successfully exposes the fragility of $n$-gram based models to simple runtime transformations. Future work will focus on expanding the library of transformations to include system call substitution and conducting rigorous functionality testing to ensure that obfuscated malware remains fully operational. The findings suggest a need for more resilient behavioral features that go beyond simple sequence or frequency analysis.

Summary updated

BibTeX
@misc{banescu2015feebo,
  author = {Sebastian Banescu and Tobias Wüchner and Marius Guggenmos and Martín Ochoa and Alexander Pretschner},
  title = {{FEEBO: An Empirical Evaluation Framework for Malware Behavior Obfuscation}},
  year = {2015},
  eprint = {1502.03245},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1502.03245},
}
Figure