A Novel Forensics Analysis Method for Evidence Extraction from Unallocated Space

Zhenxing Lei, Theodora Dule, Xiaodong Line-Forensics 2010

TL;DR

This paper introduces a novel forensic analysis method for efficiently extracting fragmented and deleted files from unallocated disk space. By employing a space-efficient Fingerprint Hash Table (FHT) and hash trees for data storage, combined with group testing for fragment identification, the method significantly speeds up preliminary forensic investigations.

What Problem Does This Paper Address?

In digital forensics, investigators often need to sift through vast amounts of data, including unallocated disk space, to find evidence of crimes like child pornography. Traditional methods struggle with deleted or fragmented files, which can be intentionally hidden by suspects. Existing tools like COFEE are effective for existing files but falter when data is permanently deleted or split across multiple disk locations. This leads to time-consuming preliminary analyses, hindering rapid evidence collection at crime scenes. The challenge is to develop a portable, efficient method that can quickly identify relevant files, even those fragmented or deleted, to streamline the initial investigation and justify further, more in-depth analysis.

Methods

The paper proposes a two-pronged approach:

  1. Efficient Data Structures for Alert Databases:
    • Fingerprint Hash Table (FHT): Instead of storing full file hashes, the FHT stores compact "fingerprints" (short hash values) of file segments (clusters). This drastically reduces storage requirements for large alert databases. The FHT allows for quick testing of item existence with a controlled false positive rate.
  2. Hash Trees (Merkle Trees): These are used to index the fingerprints, enabling fast lookups and efficient verification of file integrity. The tree structure allows for quick computation of root values, facilitating comparisons.
  3. Group Testing for Fragment Identification:
    • Gap Statistics: The authors leverage statistical analysis of the gaps between file fragments, observed in previous studies, to predict the likely location of the next fragment. This significantly narrows down the search space.
  4. Group Testing: This technique, borrowed from medical screening, is adapted to efficiently identify fragmentation points. By testing groups of clusters, the method quickly isolates the location of file fragments.
  5. Algorithm: The proposed algorithm first searches for contiguous files. If a cluster is found in unallocated space, its fingerprint is checked against the alert database. If a match occurs, hash tree root values are compared. If they don't match, it indicates fragmentation. Group testing and gap statistics are then used to find fragmentation points and the start of subsequent fragments.

Datasets

Not discussed in the paper. The paper refers to "law enforcement databases" and "Garfinkel's corpus investigation" as sources of information and motivation, but does not detail specific datasets used for evaluation or training.

Key Insights and Ideas

  • Fingerprints over Full Hashes: The core idea of using compact fingerprints instead of full cryptographic hashes for file segments is a significant space-saving innovation for large forensic databases.
  • Leveraging Fragment Gap Statistics: The observation that file fragment gaps aren't entirely random and can be statistically modeled is crucial. This allows for intelligent, targeted searching rather than brute-force.
  • Adapting Group Testing: Applying group testing principles to digital forensics for fragment identification is a novel cross-disciplinary application that offers efficiency gains.
  • FHT + Hash Trees = Efficiency: The synergistic combination of FHT for compact storage and hash trees for fast indexing provides a powerful and efficient data structure for forensic alert databases.

Key Results

The paper focuses on the methodology and its theoretical advantages rather than presenting extensive quantitative results from a deployed system. However, it highlights:

  • Storage Efficiency: For 10 million images (1MB each), using a 256-bit hash algorithm would require 76.29GB, while the FHT approach with a desired false positive rate of $\epsilon=2^{-10}$ requires only 2.98GB, a substantial reduction.
  • Time Complexity: The proposed scheme offers improved time complexity for forensic analysis compared to traditional methods, particularly for fragmented files. For contiguous files, it's O(log(N)), and for bifragmented files, it's O(log(N) + log(d)), where N is the total number of items in the alert database and d is the number of fragments.

Limitations and Future Work

  • False Positives: The FHT approach, while space-efficient, can produce false positives. The paper discusses controlling this by adjusting fingerprint size and the number of tested clusters (d).
  • Unbalanced Hash Trees: Cases where file fragments don't form a perfect binary tree structure are addressed by promoting nodes, but this is a specific handling mechanism.
  • Slack Space: The paper assumes slack space can be detected and trimmed. However, slack space might contain remnants of deleted files, which could complicate analysis.
  • Overwritten Data: The method assumes deleted files are "wholly intact" and "no slack space exists" in the context of the basic algorithm. Cases involving partially overwritten files and slack space trimming are deferred to a later section (Section 4), indicating this is an area for further discussion and potential refinement.
  • Future Work: The paper suggests further discussions on partially overwritten files and slack space trimming, implying these are areas for future research and algorithm enhancement.

Summary updated

BibTeX
@inproceedings{lei2010novel,
  author = {Zhenxing Lei and Theodora Dule and Xiaodong Lin},
  title = {{A Novel Forensics Analysis Method for Evidence Extraction from Unallocated Space}},
  booktitle = {e-Forensics},
  year = {2010},
  doi = {10.1007/978-3-642-23602-0\_5},
}
Figure