When Entropy Is Not Enough: Multi-Modal Classification of Encrypted and Compressed Data Fragments

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: De Gaspari, Fabio, Hitaj, Dorjan, Salaris, Samuele, Mancini, Luigi V.
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917548072632320
author De Gaspari, Fabio
Hitaj, Dorjan
Salaris, Samuele
Mancini, Luigi V.
author_facet De Gaspari, Fabio
Hitaj, Dorjan
Salaris, Samuele
Mancini, Luigi V.
contents Reliable identification of encrypted data fragments is essential in cybersecurity, with applications to ransomware detection, digital forensics, and large-scale data analysis. Distinguishing encrypted from compressed fragments is particularly challenging, as short fragments lack structural data and exhibit low statistical redundancy. Traditional statistical methods based on byte-level distributions show limited effectiveness on this task. Recent machine learning approaches improve performance by learning subtle patterns from raw bytes, but predominantly rely on single-modal representations, implicitly assuming that a single view of the data is sufficient for accurate classification. This paper shows that this assumption becomes a fundamental limitation in low-information settings, when only small fragments of data are available (512--2048 Bytes). We propose Triumvir, a multi-modal, uncertainty-aware ensemble architecture that integrates statistical, sequential, and spatial representations of raw byte fragments. Extensive experimental analysis demonstrates that Triumvir consistently outperforms state-of-the-art methods with gains of up to +4.5pp in binary and +6.4pp in multiclass classification. Ablation studies confirm that combining modalities is critical, yielding improvements of up to +5pp over partial configurations.
format Preprint
id arxiv_https___arxiv_org_abs_2605_31337
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle When Entropy Is Not Enough: Multi-Modal Classification of Encrypted and Compressed Data Fragments
De Gaspari, Fabio
Hitaj, Dorjan
Salaris, Samuele
Mancini, Luigi V.
Cryptography and Security
Reliable identification of encrypted data fragments is essential in cybersecurity, with applications to ransomware detection, digital forensics, and large-scale data analysis. Distinguishing encrypted from compressed fragments is particularly challenging, as short fragments lack structural data and exhibit low statistical redundancy. Traditional statistical methods based on byte-level distributions show limited effectiveness on this task. Recent machine learning approaches improve performance by learning subtle patterns from raw bytes, but predominantly rely on single-modal representations, implicitly assuming that a single view of the data is sufficient for accurate classification. This paper shows that this assumption becomes a fundamental limitation in low-information settings, when only small fragments of data are available (512--2048 Bytes). We propose Triumvir, a multi-modal, uncertainty-aware ensemble architecture that integrates statistical, sequential, and spatial representations of raw byte fragments. Extensive experimental analysis demonstrates that Triumvir consistently outperforms state-of-the-art methods with gains of up to +4.5pp in binary and +6.4pp in multiclass classification. Ablation studies confirm that combining modalities is critical, yielding improvements of up to +5pp over partial configurations.
title When Entropy Is Not Enough: Multi-Modal Classification of Encrypted and Compressed Data Fragments
topic Cryptography and Security
url https://arxiv.org/abs/2605.31337