← Lab /Security & privacy

Static analysis achieves 0.87 F1 malware detection while avoiding user data

The proposed privacy-by-design pipeline detects Android malware with 0.87 F1 without accessing sensitive information

Security & privacy arXiv 2 Jun 2026 Method Prototype evidence

Published as “Don't Trust Us: A privacy-by-design android malware detection pipeline”

Why it matters

The work shows that effective Android malware detection can be achieved without accessing user data, but practical deployment will need better automated dynamic analysis to avoid human effort and reduce false positives.

Summary

The proposed pipeline attains a malware F1 score of 0.87 while deferring only 6.7% of test samples, demonstrating strong detection performance without accessing user data. It uses static Drebin features with a dual-threshold SVM and forwards uncertain apps to a sandboxed dynamic analysis that runs on synthetic data. Evaluation on a temporally split VirusTotal dataset (38,992 training, 4,760 test samples) shows the dual-threshold configuration improves accuracy to 0.89 and F1 to 0.87 compared to the original Drebin baseline, but the dynamic stage detects only 14% of malware automatically and yields many false positives on benign apps without manual interaction.

What they found 2

  1. Static stage achieves 0.87 malware F1 with only 6.7% of samples deferred to dynamic analysis

    “the pipeline achieves an F1 score of 0.87 with the first static analysis stage, deferring only 6.7% of test samples to secondary dynamic analysis.”

  2. Dynamic analysis produces many false positives on benign samples (40% flagged malicious with manual interaction)

    “Manual interaction does not improve this: 40% are still flagged as malicious and 38% as suspicious, leaving only 22% correctly cleared.”

Caveats 6

  • Automated dynamic analysis detects only a small fraction of deferred malware (14%)
  • Dynamic stage yields a high false-positive rate on benign apps (up to 40% flagged malicious even with manual interaction)
  • The dynamic analysis relies on manual interaction to achieve reasonable detection rates, limiting scalability.
  • Automated sandboxing shows low malware detection (14%) and high false positives on benign apps.
  • The evaluation uses a limited number of deferred samples (50 per class) due to sandbox quotas.
  • The approach depends on an external sandbox service (ANY.RUN), which may not be available in all settings.

What’s new here 4

  • Integrates privacy-by-design requirements so that no sensitive user data is ever accessed during static analysis.
  • Introduces a dual-threshold SVM that abstains on uncertain samples and defers them to a sandboxed dynamic analysis stage.
  • Demonstrates that a privacy-preserving pipeline can achieve high detection performance on a realistic temporal split dataset.
  • Uses synthetic sandbox execution (ANY.RUN) to avoid exposing real user data during dynamic analysis.