[Paper Review] Maat: Automatically Analyzing VirusTotal for Accurate Labeling and Effective Malware Detection
Maat proposes an automated, machine learning-based method to generate stable and accurate labeling strategies for Android apps using VirusTotal scan reports, overcoming the limitations of ad hoc threshold-based approaches. It outperforms threshold-based labeling in both labeling accuracy and effectiveness of downstream malware detection models.
The malware analysis and detection research community relies on the online platform VirusTotal to label Android apps based on the scan results of around 60 antiviral scanners. Unfortunately, there are no standards on how to best interpret the scan results acquired from VirusTotal, which leads to the utilization of different threshold-based labeling strategies (e.g., if ten or more scanners deem an app malicious, it is considered malicious). While some of the utilized thresholds may be able to accurately approximate the ground truths of apps, the fact that VirusTotal changes the set and versions of the scanners it uses makes such thresholds unsustainable over time. We implemented a method, Maat, that tackles these issues of standardization and sustainability by automatically generating a Machine Learning (ML)-based labeling scheme, which outperforms threshold-based labeling strategies. Using the VirusTotal scan reports of 53K Android apps that span one year, we evaluated the applicability of Maat's ML-based labeling strategies by comparing their performance against threshold-based strategies. We found that such ML-based strategies (a) can accurately and consistently label apps based on their VirusTotal scan reports, and (b) contribute to training ML-based detection methods that are more effective at classifying out-of-sample apps than their threshold-based counterparts.
Motivation & Objective
- Address the lack of standardized, sustainable labeling strategies for Android malware using VirusTotal scan reports.
- Overcome the instability of threshold-based labeling due to VirusTotal's dynamic scanner sets and version changes.
- Develop an automated method that generates reliable, time-consistent labeling strategies for research datasets.
- Evaluate whether ML-based labeling improves the performance of downstream malware detection models compared to threshold-based methods.
- Provide actionable insights into scanner correctness and stability for more effective malware analysis using VirusTotal.
Proposed method
- Collect and analyze VirusTotal scan reports of ~53K Android apps over a 13-month period (2018–2019).
- Extract features from scan reports, including individual scanner outputs and aggregate statistics, to train ML models.
- Train a machine learning model (e.g., random forest or similar) to predict app labels (malicious/benign) based on scanner signals.
- Use a certainty score to assess label stability and identify consistently reliable scanners over time.
- Compare ML-based labeling strategies against various threshold-based strategies (e.g., ≥1, ≥2, ≥10 scanners) using performance metrics.
- Evaluate the impact of ML-based labels on training downstream detection models (e.g., Drebin classifier) using out-of-sample test sets.
Experimental results
Research questions
- RQ1How do threshold-based labeling strategies perform when VirusTotal dynamically changes its set of scanners?
- RQ2Can a machine learning-based labeling strategy be automatically generated to produce more accurate and stable labels than threshold-based methods?
- RQ3Which scanners on VirusTotal are consistently correct and stable in detecting Android malware across different datasets and time periods?
- RQ4Does using ML-generated labels improve the performance of downstream malware detection models compared to threshold-based labels?
- RQ5To what extent does label stability correlate with label correctness in VirusTotal scan reports?
Key findings
- Maat's ML-based labeling strategies achieve consistently high accuracy over time, unlike threshold-based strategies that degrade due to VirusTotal's dynamic scanner sets.
- The ML-based labeling strategy outperforms the best-performing threshold-based strategy (e.g., ≥10 scanners) in labeling accuracy across all evaluated time windows.
- No universal set of scanners is correct across all datasets; the optimal set of scanners varies based on dataset composition and time period.
- BitDefender and other scanners were found to be replaced with less effective versions by VirusTotal, reducing detection accuracy for Android malware.
- While most scanners maintain stable labels over time, label stability does not guarantee correctness, as some stable scanners are inaccurate.
- Malware detection models trained on Maat-generated labels (e.g., Drebin classifier) achieve significantly higher classification accuracy on out-of-sample malware than those trained on threshold-based labels.
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.