Byte-level generative predictions for forensics multimedia carving
Organizations: United States Naval Academy, 121 Blake Road, Annapolis, USA · Florida Atlantic University, 777 Glades Road, Boca Raton, USA
Abstract
Digital forensic investigations often face significant challenges when recovering fragmented multimedia files that lack file system metadata. While traditional file carving relies on signatures and discriminative deep learning models for fragment classification, these methods cannot reconstruct or predict missing data. We propose a generative approach to multimedia carving using bGPT, a byte-level transformer designed for next-byte prediction. By feeding partial BMP image data into the model, we simulate the generation of likely fragment continuations. We evaluate the fidelity of these predictions using different metrics, namely, cosine similarity, structural similarity index (SSIM), chi-square distance, and Jensen-Shannon divergence (JSD). Our findings demonstrate that generative models can effectively predict byte-level patterns to support fragment matching in unallocated disk space.
Figures & tables
| Metric | Mean | Std Dev | 95% CI (±) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| ( 1.8 kB) | ( 1.2 kB) | ( 0.6 kB) | ( 1.8 kB) | ( 1.2 kB) | ( 0.6 kB) | ( 1.8 kB) | ( 1.2 kB) | ( 0.6 kB) | |
| Chi-square | 409.58 | 335.61 | 174.97 | 161.23 | 139.24 | 61.96 | 23.12 | 19.96 | 8.88 |
| Cosine | 0.6690 | 0.6749 | 0.7641 | 0.1735 | 0.1605 | 0.1198 | 0.0249 | 0.0230 | 0.0172 |
| JSD | 0.1864 | 0.2338 | 0.2458 | 0.0798 | 0.1050 | 0.0938 | 0.0114 | 0.0151 | 0.0134 |
| SSIM | 0.0856 | 0.1016 | 0.3262 | 0.0738 | 0.0966 | 0.1628 | 0.0106 | 0.0138 | 0.0233 |
| Ranking Outcome | Count |
|---|---|
| Correct match ranked 1st | 20 |
| Correct match within top 5 (not 1st) | 4 |
| Correct match not within top 5 | 6 |
| Total predictions | 30 |
Digital Forensics
Digital forensics develops methods to recover, authenticate, and interpret digital evidence while preserving its integrity for investigations.
See all 71 papers