← Lab /AI/ML

Static malware classifiers mainly learn packing artifacts instead of malicious semantics

Static ML malware classifiers rely on packing artifacts rather than true malicious behavior.

AI/ML arXiv 7 May 2026 Measurement Prototype evidence

Published as “Beyond the Wrapper: Identifying Artifact Reliance in Static Malware Classifiers using TRUSTEE”

Why it matters

High accuracy does not guarantee robust malware detection because models may fail under distribution shifts that disrupt artifact cues.

Summary

The study finds that static malware classifiers consistently rely on packing artifacts, certificate metadata, and other non-semantic features rather than true malicious behavior, even when dataset composition is varied. Using the TRUSTEE framework to obtain stable feature attributions and manual byte-level analysis, the authors show this artifact dependence persists across both TabNET and XGBoost models and generalizes to the public EMBER dataset. The evidence is strong, with multiple controlled experiments (six dataset ratios) and cross-model checks all reporting the same pattern.

What they found 1

  1. Static classifiers depend on packing and metadata artifacts rather than true binary behavior across all dataset compositions.

    “Across every dataset composition examined in this study, the malware classifier was depending on packing artifacts, certificate blocks or resource level metadata rather than learning true binary behavior.”

Caveats 3

  • Opcode and behavior-based features appeared only marginally and played a secondary role, indicating some behavioral signal was present.
  • While XGBoost incorporates a slightly broader range of features, its decision-making remains fundamentally driven by the same non-semantic artifacts.
  • further investigation across additional models and data distributions is required.

What’s new here 4

  • Combines TRUSTEE's stable XAI output with manual byte-level PE analysis to distinguish artifact vs. behavioral features.
  • Systematically varies dataset composition (UB, PB, UM, PM) to isolate bias effects on feature importance.
  • Demonstrates cross-model (TabNET vs. XGBoost) and cross-dataset (custom vs. EMBER) consistency of artifact reliance.
  • Provides a reproducible framework for controlled dataset construction and feature interpretation.