Reliable Detection of Compressed and Encrypted Data
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
- 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
- 2017Self-Normalizing Neural Networkscited by 591
- 2016FMA: A Dataset For Music Analysiscited by 205
- 2016Parametric Exponential Linear Unit for Deep Convolutional Neural Networkscited by 32
- 2017On the ability of neural nets to express distributionscited by 26
- 2019The Naked Sun: Malicious Cooperation Between Benign-Looking Processescited by 8
- 2019HEDGE: Efficient Traffic Classification of Encrypted and Compressed Packetscited by 5
- 2020EnCoD: Distinguishing Compressed and Encrypted File Fragmentscited by 5
- 2018Detecting Compressed Cleartext Traffic from Consumer Internet of Things Devicescited by 2
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 2; 2024: 2.
7 papers.
- 2021PassFlow: Guessing Passwords with Generative Flowscited by 10
- 2022FedComm: Federated Learning as a Medium for Covert Communicationcited by 3
- 2022TATTOOED: A Robust Deep Neural Network Watermarking Scheme based on Spread-Spectrum Channel Codingcited by 3
- 2024Do You Trust Your Model? Emerging Malware Threats in the Deep Learning Ecosystemcited by 3
- 2023Minerva: A File-Based Ransomware Detectorcited by 1
- 2024Have You Poisoned My Data? Defending Neural Networks against Data Poisoningcited by 1
- 2023Ransomware Detection and Classification using Machine Learningcited by 0
- 2024Have You Poisoned My Data? Defending Neural Networks against Data Poisoning20 Mar 2024
- 2024Do You Trust Your Model? Emerging Malware Threats in the Deep Learning Ecosystem6 Mar 2024
- 2023Ransomware Detection and Classification using Machine Learning5 Nov 2023
- 2023Minerva: A File-Based Ransomware Detector26 Jan 2023
- 2022TATTOOED: A Robust Deep Neural Network Watermarking Scheme based on Spread-Spectrum Channel Coding12 Feb 2022
- 2022FedComm: Federated Learning as a Medium for Covert Communication21 Jan 2022
- 2021PassFlow: Guessing Passwords with Generative Flows13 May 2021