Skip to content

Recover WebKit MediaCache video and audio resources - #2491

Merged
abrignoni merged 2 commits into
abrignoni:mainfrom
Forensik-IT-GmbH:feat/webkit-media-cache
Oct 16, 2026
Merged

abrignoni merged 2 commits into
abrignoni:mainfrom
Forensik-IT-GmbH:feat/webkit-media-cache

Conversation

@ForensikITGmbH

Copy link
Copy Markdown
Contributor

What this changes

Adds WebKit - Media Cache to reconstruct cached video/audio from CachedMedia-* block tables, including URLs, hashes and container context. Produces HTML/TSV/LAVA output and repository-level tl.db events without runtime FFmpeg or new dependencies.

For a new or changed artifact

  • Tested against a real extraction and verified row counts.
  • Ran python admin/scripts/check_artifact_output.py <report folder> and fixed or documented every finding.
  • Checked original Chrome and Gmail/SafariViewService containers; controlled duplication scaled exactly 2×.
  • Verified notes, description and sample_data against the final results.

Anything reviewers should know

The public MVS 2023 iOS 16.1.1 subset produced 11 rows, six recovered resources and three repository events. All six exports fully decoded without errors. A full-ZIP run was also manually confirmed.

The layout is experimentally inferred. Only fully covered stored resources are exported; cache presence and repository times do not establish playback.

35 module tests and three fixture comparisons passed. Fixtures, baselines and documentation are included. One unrelated GroupMe baseline mismatch also reproduces on unchanged upstream code and is documented in the validation report.

@abrignoni
abrignoni merged commit 90603c9 into abrignoni:main Oct 16, 2026
11 checks passed
@abrignoni

Copy link
Copy Markdown
Owner

Thank you for this parser. It is really good work.

Your commits are merged through #2499 with your authorship kept. I added some fixes from a run over 23 iOS images: a new artifact name (the cache is also used outside WebKit), MP3 support, a label for files with a zeroed header, and registered sample_data keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants