A
← All projects
completed April 2025 – May 2025

VirusTotal Android Malware Data Analysis

A data-analysis pipeline for transforming VirusTotal Android sample reports into statistical, geographic, temporal, relational, and predictive views. It combines MongoDB-backed ingestion, Python analytics, machine-learning experiments, and a static web interface for exploring exported results.

Role
Data Analyst and Developer
Timeline
April 2025 – May 2025
Python MongoDB pandas scikit-learn Folium NetworkX Matplotlib HTML

Objective

VirusTotal reports contain rich but deeply nested observations: antivirus verdicts, submission times, tags, file relationships, and geographic context. This project builds a repeatable path from those raw JSON reports to views that help an analyst understand a collection rather than one sample at a time.

The pipeline is intentionally split into ingestion, analysis, modelling, and presentation stages so the data can be refreshed without redesigning the visual output.

Data Pipeline

The initial loader imports report data into MongoDB, preserving the nested fields while making repeated queries practical. The analysis stage uses pandas and NumPy to flatten relevant attributes and calculate aggregates. Results are exported as CSV files and graphics, allowing the final website to remain static and easy to publish.

The generated analyses cover:

  • samples and detection activity over time;
  • geographic distributions and country-level rates;
  • comparative detection counts across antivirus engines;
  • tag frequency and co-occurrence;
  • parent/child or shared-child relationships between samples;
  • rankings of samples by selected risk and detection indicators.

Folium produces interactive maps, while Matplotlib and Seaborn generate statistical charts. NetworkX is used where the data represents relationships rather than independent records.

Modelling

The modelling stage extracts numeric features from each sample and trains a random-forest regressor to estimate the number of related child artefacts. It produces prediction comparisons and feature-importance output so the result can be inspected rather than treated as a black box. Dimensionality-reduction experiments are also used to explore patterns in engine detections.

These models are exploratory. Their value is in showing which metadata carries signal within the collected data; they are not intended to label previously unseen binaries as malicious or replace reverse engineering.

Presentation Layer

The repository includes a static HTML report that links the maps, plots, relationship graphs, tables, and downloadable CSV results. Keeping the presentation independent of MongoDB means readers can inspect the completed analysis without running the data pipeline or receiving access to the underlying database.

Limits and Data Ethics

The findings describe the sampled VirusTotal data and may inherit collection bias, vendor correlation, missing metadata, and changes in detections over time. API data must be handled according to the provider’s terms, and any shared outputs should avoid exposing sensitive sample or submitter information.