Skip to main content
QUICK REVIEW

[Paper Review] Android Malware Clustering through Malicious Payload Mining

Yuping Li, Jiyong Jang|arXiv (Cornell University)|Jul 15, 2017
Advanced Malware Detection TechniquesComputer Science26 references17 citations
TL;DR

This paper proposes a novel Android malware clustering approach that identifies and groups malware based on shared malicious payload versions rather than overall code similarity. By using a fingerprint-based library removal technique to isolate malicious code—even when disguised under popular library names—it achieves high precision (0.90) and recall (0.75) on the Android Genome dataset, with 0.98 average precision and 0.96 recall on manually verified ground truth.

ABSTRACT

Clustering has been well studied for desktop malware analysis as an effective triage method. Conventional similarity-based clustering techniques, however, cannot be immediately applied to Android malware analysis due to the excessive use of third-party libraries in Android application development and the widespread use of repackaging in malware development. We design and implement an Android malware clustering system through iterative mining of malicious payload and checking whether malware samples share the same version of malicious payload. Our system utilizes a hierarchical clustering technique and an efficient bit-vector format to represent Android apps. Experimental results demonstrate that our clustering approach achieves precision of 0.90 and recall of 0.75 for Android Genome malware dataset, and average precision of 0.98 and recall of 0.96 with respect to manually verified ground-truth.

Motivation & Objective

  • Address the limitations of conventional similarity-based clustering in Android malware analysis due to repackaging and third-party library bloat.
  • Overcome the failure of name-based whitelisting in excluding malicious payloads disguised as legitimate libraries.
  • Enable accurate malware clustering by identifying shared versions of malicious payloads across samples, even when injected into benign functions or libraries.
  • Develop a robust, scalable system that supports triage by grouping malware based on semantic similarity of malicious components rather than syntactic or structural similarity of entire apps.

Proposed method

  • Use a hierarchical clustering algorithm to group Android apps based on shared malicious payload versions.
  • Implement a novel fingerprint-based library removal technique that distinguishes legitimate from malicious libraries by content, not just name.
  • Extract malicious payloads at the instruction level to preserve all malicious components, even when injected into existing functions or libraries.
  • Represent Android apps efficiently using a bit-vector format to enable scalable comparison of payload similarity.
  • Iteratively mine and validate malicious payloads by checking for code-level equivalence across samples.
  • Apply feature hashing and n-gram bytecode features to enhance payload representation and comparison fidelity.

Experimental results

Research questions

  • RQ1Can payload-based clustering outperform overall similarity-based clustering in identifying Android malware families despite repackaging and library bloat?
  • RQ2To what extent can name-based whitelists fail to detect malicious payloads disguised under legitimate library names?
  • RQ3How effective is instruction-level payload extraction in capturing complete malicious behavior across diverse malware variants?
  • RQ4Can a fingerprint-based library removal method reliably isolate malicious code even when it is embedded under popular library namespaces?
  • RQ5What is the precision and recall of payload-sharing clustering compared to ground-truth malware family labeling?

Key findings

  • The proposed clustering approach achieves a precision of 0.90 and recall of 0.75 on the Android Genome malware dataset.
  • With respect to manually verified ground truth, the system achieves an average precision of 0.98 and recall of 0.96.
  • The fingerprint-based library removal technique successfully isolates malicious payloads even when they are injected under popular library names, addressing a key limitation of name-based whitelisting.
  • The method detects malicious payloads with high fidelity, including those injected into existing functions or across multiple functions, due to instruction-level granularity.
  • The system demonstrates robustness and consistency in clustering, outperforming traditional similarity-based approaches in real-world Android malware scenarios.
  • The approach enables effective malware triage by grouping samples based on shared malicious behavior, reducing manual analysis effort for security analysts.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.