Skip to main content
QUICK REVIEW

[Paper Review] FamDroid: Learning-Based Android Malware Family Classification Using Static Analysis

Wenhao Fan, Liang Zhao|arXiv (Cornell University)|Jan 11, 2021
Advanced Malware Detection TechniquesComputer Science17 references6 citations
TL;DR

FamDroid proposes a learning-based Android malware family classification framework using static analysis, combining explicit features (permissions, components, intent filters) and an implicit API call relationship feature to capture malware family behaviors. It employs an adaptive weighted ensemble classifier that dynamically assigns sample-specific weights to base classifiers, achieving 98.92% accuracy and 99.12% F1-score on the Drebin dataset, outperforming state-of-the-art methods.

ABSTRACT

Android is currently the most extensively used smartphone platform in the world. Due to its popularity and open source nature, Android malware has been rapidly growing in recent years, and bringing great risks to users' privacy. The malware applications in a malware family may have common features and similar behaviors, which are beneficial for malware detection and inspection. Thus, classifying Android malware into their corresponding families is an important task in malware analysis. At present, the main problem of existing research works on Android malware family classification lies in that the extracted features are inadequate to represent the common behavior characteristics of the malware in malicious families, and leveraging a single classifier or a static ensemble classifier is restricted to further improve the accuracy of classification. In this paper, we propose FamDroid, a learning-based Android malware family classification scheme using static analysis technology. In FamDroid, the explicit features including permissions, hardware components, app components, intent filters are extracted from the apk files of a malware application. Besides, a hidden feature generated from the extracted APIs is used to represents the API call relationship in the application. Then, we design an adaptive weighted ensemble classifier, which considers the adaptability of the sample to each base classifier, to carry out accurate malware family classification. We conducted experiments on the Drebin dataset which contains 5560 Android malicious applications. The superiority of FamDroid is demonstrated through comparing it with 5 traditional machine learning models and 4 state-of-the-art reference schemes. FamDroid can correctly classify 98.92% of malware samples into their families and achieve 99.12% F1-Score.

Motivation & Objective

  • To address the limitation of existing Android malware family classification methods that rely on insufficient or non-comprehensive features, especially missing implicit behavioral patterns.
  • To overcome the restricted performance of single or static ensemble classifiers in multi-class malware family classification.
  • To enhance classification accuracy by integrating both explicit and implicit features, particularly API call relationships reflecting malicious behavior patterns.
  • To design a classifier that adapts to individual sample characteristics through dynamic weight assignment to base classifiers.
  • To demonstrate superior performance on real-world malware datasets compared to existing state-of-the-art schemes.

Proposed method

  • Extract explicit features—permissions, hardware components, app components, and intent filters—from AndroidManifest.xml and smali files using static analysis.
  • Generate an implicit feature by constructing an API call relationship matrix from high-importance APIs identified via Random Forest-based feature evaluation.
  • Apply feature selection using Random Forest to reduce dimensionality and retain the most discriminative features.
  • Cluster training samples using an improved K-means algorithm to form distinct groups for base classifier generation.
  • Design an adaptive weighted ensemble classifier that assigns sample-specific weights to base classifiers based on their compatibility with each sample.
  • Use the adaptive weighting mechanism during testing to dynamically select the most reliable base classifiers per sample, improving multi-class classification robustness.

Experimental results

Research questions

  • RQ1Can combining explicit and implicit features, particularly API call relationships, improve the representation of malware family behaviors in static analysis?
  • RQ2How does an adaptive weighted ensemble classifier outperform static or single classifiers in multi-class Android malware family classification?
  • RQ3To what extent can feature selection based on Random Forest improve the performance of malware family classification models?
  • RQ4How does sample clustering via improved K-means enhance the effectiveness of base classifier construction in ensemble learning?
  • RQ5Does the proposed framework achieve superior classification accuracy and F1-score compared to existing state-of-the-art malware family classification methods?

Key findings

  • FamDroid achieves a classification accuracy of 98.92% on the Drebin dataset, significantly outperforming traditional machine learning models and existing reference schemes.
  • The framework attains an F1-score of 99.12%, indicating strong balance between precision and recall across all malware families.
  • The inclusion of API call relationship as an implicit feature significantly enhances the model’s ability to capture common malicious behaviors across malware families.
  • The adaptive weighted ensemble classifier improves generalization by dynamically assigning weights based on sample-specific compatibility with base classifiers.
  • Compared to state-of-the-art methods like C-DFG (96.79% accuracy) and FalDroid (95.3% accuracy), FamDroid demonstrates superior performance.
  • The feature selection process using Random Forest effectively identifies and retains the most informative features, contributing to high classification efficiency and accuracy.

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.