1 minute read

In a prior post we tested parsing a Cellebrite Reader UFDR file directly with ALEAPP. Although ALEAPP could process the file if we renamed it with a .zip extension, it had a bad performance. This is because most ALEAPP artifacts are somewhat directory-specific. UFDR files contain original data from a device but categorize all files. The original path structure is lost, and ALEAPP cannot match the expected file.

Luckily, UDFR kept a large log of original file information and moved them (the Local Path). We can parse report.xml from the root of the archive to get both items. Then use that information to recreate the original directory structure, and extract the local file data back into the original location.

You can find the Python script to do that here: https://github.com/DFIRScience/UFDR2DIR

Just point UDFR2DIR.py at a ufdr file, and it will create the original directory structure. Then you can process that directory with tools like ALEAPP, iLEAPP, Autopsy, etc.

:~/Documents/Projects/UFDR2DIR$ python3 ufdr2dir.py ~/Desktop/Cellebrite_Reader/Android_12_Cellebrite_Reader.ufdr
UFDR2DIR v0.1.1
[INFO] 2022-33-04T17:33:09 Extracting report.xml...
[INFO] 2022-33-04T17:33:10 Creating original directory structure...
|████████████████████████████████████████| 18821135 in 12:03.4 (26019.34/s)

Here are the ALEAPP results before reconstruction: ALEAPP with UFDR before reonstruction

Here are the ALEAPP results after reconstruction: ALEAPP with UFDR after reonstruction

Note

UFDR can contain some deleted file data. If it does not have a path, the script does not extract it (yet). We also do not try to reconstruct file and folder timestamps.

If this is something you would find useful, let me know.