← Lab /AI/ML

MalTree infers malware evolution with 87% temporal consistency

MalTree’s phylogenetic trees accurately reflect real-world malware emergence timelines

AI/ML arXiv 4 Jun 2026 Method Prototype evidence

Published as “MalTree: Tracing Malware Evolution from Embeddings at Scale”

Why it matters

Automated lineage-aware analysis lets defenders anticipate fast-evolving malware families and adapt detection strategies before threats proliferate.

Summary

MalTree infers malware lineage with 87.1% temporal consistency on 103,883 samples across 538 families, showing that phylogenetic trees built from multimodal embeddings align closely with real-world emergence timelines. The evidence is based on VirusTotal timestamps and compares favorably to a random 50% baseline, though some rooting methods perform poorly.

What they found 5

  1. Temporal consistency of inferred trees reaches 87.1% on the full dataset.

    “We achieve 87.1% temporal consistency on 103,883 samples spanning 538 families”

  2. Combined multimodal embeddings achieve 93.69% family classification accuracy, while image embeddings reach 94.91%.

    “Combined embeddings (93.69%) outperform individual pseudo-static and dynamic embeddings, confirming that fusion preserves complementary information. Image embeddings achieve highest accuracy (94.91%)”

  3. Neighbor-Joining with outgroup rooting yields the highest temporal consistency (87.1%), slightly above UPGMA (86.0%).

    “NJ with outgroup rooting achieves the highest consistency (87.1%)”

  4. Removing 5,385 intra-family outliers raises consistency only to 88.5%, a +1.4 point change.

    “Removing 5,385 intra-family outliers (of 103,883) raises consistency only to 88.5%, a +1.4 point change”

  5. Certain families (e.g., Bashlite and Syslogk) evolve over ten times faster than others.

    “Bashlite and Syslogk exhibit over 10 times higher drift.”

Caveats 2

  • Midpoint rooting performs poorly for both methods, indicating the longest-path heuristic does not reflect malware evolution.
  • Temporal consistency of 87% still leaves 13% of sample pairs ordered incorrectly, showing the inferred trees are not perfectly accurate.

What’s new here 4

  • Applies large-scale phylogenetic tree construction (UPGMA and Neighbor-Joining) to over 100k malware samples.
  • Introduces a temporal validation framework using VirusTotal timestamps to assess evolutionary directionality.
  • Combines static, dynamic, and image embeddings to create distance matrices for tree building.
  • Provides open-source code and released embeddings for reproducibility.