Towards Understanding and Detecting File Types in Encrypted Files for Law Enforcement Applications

The (ab)use of encryption and compression in hiding illegal digital content complicates efforts by law enforcement agencies (LEAs) to procure evidence to support the elements of proof required in criminal prosecution. This reinforces the importance of designing solutions to determine the file type of an encrypted file (e.g., videos and still images in the context of illegal picture investigations), which can be used to build probable cause in a court order application to have the file decrypted. While machine learning (ML) has shown immense capabilities in several detection tasks, the suitability of ML for detecting file types in encrypted or compressed files has not been explored. Furthermore, since detecting file types in real-world LEA applications is a high-stake decision-making problem, existing ML techniques that do not provide prediction uncertainty are not as useful. In this work, we take the first step toward detecting file types in encrypted or compressed files using ML for LEA applications based on their Byte Frequency Distributions (BFD). We then compose a dataset <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup> of BFDs of 300,000 encrypted and compressed data from 12,000 diverse files for five different file types. We conduct an in-depth analysis of our dataset and demonstrate the utility of ML techniques in detecting file types of content in encrypted and compressed files based on BFDs. Informed by these findings, we present our proposed framework, eDefender, designed to facilitate the detection of file types in encrypted and compressed files for LEA applications, by employing uncertainty quantification of detection scores based on ensembling. eDefender successfully flags directories with encrypted or compressed image/video-type files with an F1-score of 90.7%.

Authors

Institutions

Publication Details

Published
2024-12-17
DOI
https://doi.org/10.1109/trustcom63139.2024.00210
Primary Topic
Digital and Cyber Forensics
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards Understanding and Detecting File Types in Encrypted Files for Law Enforcement Applications

Wenjian Huang, Kim‐Kwang Raymond Choo, Adam L. Hooker, Nishant Vishwamitra et al.
Digital and Cyber Forensics
article

Towards Understanding and Detecting File Types in Encrypted Files for Law Enforcement Applications

Wenjian Huang, Kim‐Kwang Raymond Choo, Adam L. Hooker, Nishant Vishwamitra, Shalini Kapali Kurumathur
article en

Abstract

The (ab)use of encryption and compression in hiding illegal digital content complicates efforts by law enforcement agencies (LEAs) to procure evidence to support the elements of proof required in criminal prosecution. This reinforces the importance of designing solutions to determine the file type of an encrypted file (e.g., videos and still images in the context of illegal picture investigations), which can be used to build probable cause in a court order application to have the file decrypted. While machine learning (ML) has shown immense capabilities in several detection tasks, the suitability of ML for detecting file types in encrypted or compressed files has not been explored. Furthermore, since detecting file types in real-world LEA applications is a high-stake decision-making problem, existing ML techniques that do not provide prediction uncertainty are not as useful. In this work, we take the first step toward detecting file types in encrypted or compressed files using ML for LEA applications based on their Byte Frequency Distributions (BFD). We then compose a dataset <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup> of BFDs of 300,000 encrypted and compressed data from 12,000 diverse files for five different file types. We conduct an in-depth analysis of our dataset and demonstrate the utility of ML techniques in detecting file types of content in encrypted and compressed files based on BFDs. Informed by these findings, we present our proposed framework, eDefender, designed to facilitate the detection of file types in encrypted and compressed files for LEA applications, by employing uncertainty quantification of detection scores based on ensembling. eDefender successfully flags directories with encrypted or compressed image/video-type files with an F1-score of 90.7%.

The University of Texas at San Antonio (US)
National Science Foundation, U.S. Department of Homeland Security
Peace, Justice and strong institutions
Openalex Percentile: Top 54%
Digital and Cyber Forensics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.