[Paper Review] Robust and Effective Malware Detection through Quantitative Data Flow Graph Metrics
This paper proposes a robust malware detection approach using quantitative data flow graphs (QDFGs) to model system behavior through measurable data flows between resources. By applying graph metrics inspired by social network analysis and training a machine learning classifier on these features, the method achieves 98.01% detection rate and 0.48% false positive rate, with superior resilience to behavioral obfuscation like call reordering and injection compared to n-gram and raw system call-based methods.
We present a novel malware detection approach based on metrics over quantitative data flow graphs. Quantitative data flow graphs (QDFGs) model process behavior by interpreting issued system calls as aggregations of quantifiable data flows.Due to the high abstraction level we consider QDFG metric based detection more robust against typical behavior obfuscation like bogus call injection or call reordering than other common behavioral models that base on raw system calls. We support this claim with experiments on obfuscated malware logs and demonstrate the superior obfuscation robustness in comparison to detection using n-grams. Our evaluations on a large and diverse data set consisting of about 7000 malware and 500 goodware samples show an average detection rate of 98.01% and a false positive rate of 0.48%. Moreover, we show that our approach is able to detect new malware (i.e. samples from malware families not included in the training set) and that the consideration of quantities in itself significantly improves detection precision.
Motivation & Objective
- Address the challenge of detecting obfuscated malware that evades traditional signature- and behavior-based detection techniques.
- Improve detection robustness against common obfuscation techniques such as call reordering and bogus system call injection.
- Enhance detection precision by incorporating quantitative data flow information into graph-based behavioral models.
- Enable detection of previously unseen malware families (zero-day detection) through flexible metric-based profiling.
- Develop a scalable and efficient alternative to subgraph isomorphism and taint-tracking approaches in malware detection.
Proposed method
- Model system behavior using quantitative data flow graphs (QDFGs), where system calls are interpreted as quantified data flows between entities like processes, files, and sockets.
- Construct QDFGs by aggregating system call events over time intervals, representing data transfers with labeled directed edges and node/edge attributes for data volume and type.
- Compute graph metrics—such as degree centrality, betweenness, and eigenvector centrality—on process nodes to capture behavioral profiles.
- Use these metrics as input features for a machine learning classifier trained on labeled benign (goodware) and malicious (malware) process samples.
- Apply approximate similarity comparison via metric-based profiling instead of exact pattern matching, improving resilience to behavioral obfuscation.
- Leverage the high-level abstraction of QDFGs to detect unknown malware families without requiring prior knowledge of their behavior.
Experimental results
Research questions
- RQ1Can quantitative data flow graph metrics improve detection precision and robustness against behavioral obfuscation compared to raw system call sequences?
- RQ2To what extent can QDFG-based metrics detect previously unseen malware samples from families not present in the training data?
- RQ3How does the inclusion of data quantity (e.g., bytes transferred) in graph modeling affect false positive and false negative rates?
- RQ4How does the proposed method compare in robustness and efficiency to n-gram-based and subgraph isomorphism-based detection techniques?
- RQ5Can metric-based QDFG analysis outperform existing graph-based malware detection methods in terms of detection effectiveness and resilience to obfuscation?
Key findings
- The proposed QDFG-based approach achieves a 98.01% average detection rate and a 0.48% false positive rate on a dataset of approximately 7,000 malware and 500 goodware samples.
- Incorporating quantitative data flow aspects into the model reduces both false positive and false negative rates by approximately half compared to non-quantitative approaches.
- The method demonstrates superior robustness against common obfuscation techniques such as call reordering and injection of bogus system calls, due to the abstraction of data flow quantities.
- The approach successfully detects malware samples from previously unseen families, indicating strong generalization capability beyond known malware patterns.
- The QDFG metric-based method outperforms n-gram-based detection in obfuscation resilience, as n-grams are sensitive to call sequence variations.
- The use of graph metrics instead of exact subgraph matching enables efficient and scalable detection without relying on expensive isomorphism checks.
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.