AndroVault: Constructing Knowledge Graph from Millions of Android Apps for Automated Analysis

Guozhu Meng, Yinxing Xue, Jing Kai Siow, Ting Su, Annamalai Narayanan, Yang LiuarXiv 2017

Introduction

AndroVault is a massive, automated framework designed to transform millions of raw Android APKs into a structured, searchable knowledge graph. By pre-computing 36 distinct attributes and mapping complex relationships between apps, authors, and markets, it enables researchers to bypass the labor-intensive "data cleaning" phase and proceed directly to extracting high-level insights, such as malware evolution and app piggybacking.

The Problem: Data Rich, Knowledge Poor

In Android security research, the community is often overwhelmed by data while remaining starved for actionable knowledge. While repositories like AndroZoo provide access to millions of apps, they typically function as "buckets of files" lacking necessary context. Researchers spend significant time on "janitorial" tasks: crawling markets, performing static analysis, and filtering noise. Furthermore, existing specialized datasets are frequently outdated. There is a critical need for a "Knowledge Vault" that understands relationships—such as identifying pirated versions of apps or developers known for injecting adware.

The AndroVault Pipeline

AndroVault operates through a robust four-stage pipeline designed for scale and automation:

  1. App Crawling: A vertical crawler active since 2013 pulls data from Google Play, 27 third-party markets, and various research repositories.
  2. Attribute Computation: The system extracts 36 attributes across categories including Manifest data (permissions, components), Dex files (hashes, API calls), Security reports (VirusTotal/AVClass normalization), and Crawl metadata (descriptions, developer info).
  3. Graph Construction: This core innovation builds a graph where nodes represent entities (Apps, Markets, Authors) and edges represent deterministic or probabilistic relationships.
  4. Fact Extraction: Using logical inference and machine learning, the system identifies high-order properties, such as "piggybacked" apps identified by matching package names but differing signing certificates.
The four-stage workflow of AndroVault, from app crawling to fact extraction.

Dataset Overview

The AndroVault dataset is among the most comprehensive in the field, featuring over 5 million APKs collected from 33 different sources. This includes over 1 million malware samples classified into 1,400 families. The system integrates and expands upon established sources like MalGenome, Drebin, VirusShare, and AndroZoo, capturing the rapid evolution of the Android ecosystem since 2013.

Key Insights and Results

The shift from a file-based repository to a "Fact Extraction" engine allows for complex queries. Instead of searching for apps with specific permissions, researchers can identify apps containing cloned malicious code from specific families.

A conceptual view of the AndroVault Knowledge Graph, illustrating relationships between apps, authors, markets, and malware families.

By connecting apps via shared libraries or similar Control Flow Graphs (3D-CFG), AndroVault tracks malware propagation across markets. Key results include:

  • Scale and Efficiency: Managing over 50TB of data; replicating this processing would take a single machine nearly 10 years.
  • Malware Mapping: Identified top malware families (e.g., kuguo, airpush) and their specific behaviors, such as IMEI privacy leaks.
  • Piggybacking Detection: Successfully identified 21,037 modified apps, a clear indicator of piracy.

Limitations and Future Work

Despite its scale, AndroVault faces a bottleneck in dynamic analysis, as testing a single app can take hours. Future work aims to extend analysis to native code (C/C++) and utilize Natural Language Processing (NLP) to detect "vow-breaking" apps—those whose market descriptions do not match their actual behavior.

Summary updated

BibTeX
@misc{meng2017androvault,
  author = {Guozhu Meng and Yinxing Xue and Jing Kai Siow and Ting Su and Annamalai Narayanan and Yang Liu},
  title = {{AndroVault: Constructing Knowledge Graph from Millions of Android Apps for Automated Analysis}},
  year = {2017},
  eprint = {1711.07451},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.07451},
}
Figure