mlsanityData to 7 Oct 2026

Reliable Detection of Compressed and Encrypted Data

arXiv 2103.17059 ↗First posted 31 Mar 2021cs.CR cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Several cybersecurity domains, such as ransomware detection, forensics and data analysis, require methods to reliably identify encrypted data fragments. Typically, current approaches employ statistics derived from byte-level distribution, such as entropy estimation, to identify encrypted fragments. However, modern content types use compression techniques which alter data distribution pushing it closer to the uniform distribution. The result is that current approaches exhibit unreliable encryption detection performance when compressed data appears in the dataset. Furthermore, proposed approaches are typically evaluated over few data types and fragment sizes, making it hard to assess their practical applicability. This paper compares existing statistical tests on a large, standardized dataset and shows that current approaches consistently fail to distinguish encrypted and compressed data on both small and large fragment sizes. We address these shortcomings and design EnCoD, a learning-based classifier which can reliably distinguish compressed and encrypted data. We evaluate EnCoD on a dataset of 16 different file types and fragment sizes ranging from 512B to 8KB. Our results highlight that EnCoD outperforms current approaches by a wide margin, with accuracy ranging from ~82 for 512B fragments up to ~92 for 8KB data fragments. Moreover, EnCoD can pinpoint the exact format of a given data fragment, rather than performing only binary classification like previous approaches.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 9 of its 58 references that are in the map. First posted on arXiv 31 Mar 2021.

Builds on

9 of 58 references.

References · 9

  1. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  2. 2017Self-Normalizing Neural Networkscited by 591
  3. 2016FMA: A Dataset For Music Analysiscited by 205
  4. 2016Parametric Exponential Linear Unit for Deep Convolutional Neural Networkscited by 32
  5. 2017On the ability of neural nets to express distributionscited by 26
  6. 2019The Naked Sun: Malicious Cooperation Between Benign-Looking Processescited by 8
  7. 2019HEDGE: Efficient Traffic Classification of Encrypted and Compressed Packetscited by 5
  8. 2020EnCoD: Distinguishing Compressed and Encrypted File Fragmentscited by 5
  9. 2018Detecting Compressed Cleartext Traffic from Consumer Internet of Things Devicescited by 2

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 2; 2023: 2; 2024: 2.

7 papers.