[Paper Review] FEEBO: An Empirical Evaluation Framework for Malware Behavior Obfuscation
FEEBO is a novel empirical framework that systematically obfuscates the system call behavior of malware binaries to evaluate the resilience of n-gram-based behavioral detection techniques. It demonstrates that such detection approaches are highly sensitive to behavior obfuscation, with precision significantly reduced under insertion, reordering, or combined transformations, indicating limited robustness against real-world obfuscation tactics.
Program obfuscation is increasingly popular among malware creators. Objectively comparing different malware detection approaches with respect to their resilience against obfuscation is challenging. To the best of our knowledge, there is no common empirical framework for evaluating the resilience of malware detection approaches w.r.t. behavior obfuscation. We propose and implement such a framework that obfuscates the observable behavior of malware binaries. To assess the framework's utility, we use it to obfuscate known malware binaries and then investigate the impact on detection effectiveness of different $n$-gram based detection approaches. We find that the obfuscation transformations employed by our framework significantly affect the precision of such detection approaches. Several $n$-gram-based approaches can hence be concluded not to be resilient against this simple kind of obfuscation.
Motivation & Objective
- To address the lack of a standardized empirical framework for evaluating malware detection resilience against behavior obfuscation.
- To enable reproducible experiments on how behavioral obfuscation affects detection precision in n-gram-based approaches.
- To simulate real-world obfuscation techniques—such as system call insertion, reordering, and substitution—on known malware samples.
- To assess the effectiveness of these obfuscations in evading behavioral detection while preserving malware functionality.
- To provide a foundation for future research on detection robustness under evolving obfuscation techniques.
Proposed method
- FEEBO takes known malware binaries as input and applies controlled obfuscation transformations to their externally visible system call sequences.
- It uses Intel Pin to instrument and monitor system call traces during execution, enabling precise control over behavior modification.
- Obfuscation techniques include inserting spurious system calls, reordering existing calls, and substituting calls with semantically equivalent ones.
- The framework generates multiple obfuscated variants per malware sample, varying the intensity and combination of transformations.
- It evaluates detection precision using n-gram-based classifiers (e.g., n-gram frequency models) on both original and obfuscated traces.
- A saturation-based approach ensures diverse and dense sampling across the obfuscation spectrum, using Levenshtein distance to measure behavioral divergence.
Experimental results
Research questions
- RQ1To what extent do common behavior obfuscation techniques—such as system call insertion and reordering—affect the detection precision of n-gram-based behavioral detection systems?
- RQ2How does the combination of multiple obfuscation techniques (e.g., insertion and reordering) impact detection resilience compared to single techniques?
- RQ3Are n-gram-based detection approaches robust against semantically equivalent system call substitutions that preserve malware functionality?
- RQ4How does the density and distribution of obfuscated traces affect the reliability of detection evaluation across different obfuscation profiles?
- RQ5What are the implications of training classifiers on obfuscated malware samples, especially when ground truth becomes scarce?
Key findings
- FEEBO successfully generates a diverse set of 375 distinct obfuscated malware variants per sample, with high density across the obfuscation spectrum, particularly under combined insertion and reordering profiles.
- The precision of n-gram-based detection approaches drops significantly under behavior obfuscation, with the most severe degradation observed in combined insertion and reordering scenarios.
- Even with minimal obfuscation, the detection precision of n-gram models is substantially reduced, indicating high sensitivity to behavioral perturbations.
- The framework’s obfuscation transformations preserve malware functionality in all tested cases, as no obfuscated samples crashed during execution, supporting the validity of the evaluation.
- The choice of underlying classifier (e.g., Naïve Bayes, SVM, Random Forest) does not significantly alter the relative sensitivity of n-gram approaches to obfuscation, suggesting a fundamental vulnerability in the n-gram modeling approach itself.
- The study highlights a critical gap: current behavioral detection systems are not resilient to simple, yet effective, run-time behavior obfuscation, raising concerns for real-world deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.