SQLite Forensic Viewer for Visual Queries and Recovery

Have a SQLite database from an extraction that your forensic suite didn’t parse? Open it in Firefly’s SQLite Analyzer. Firefly works read-only on a copy of the database and automatically includes any matching -wal, -shm, or -journal files it finds alongside it. Your original evidence stays untouched.

Join related tables visually without writing SQL by hand. The generated SQL stays visible and editable, so another examiner can rerun the query on the same data. When deleted or earlier records survive in a WAL, a rollback journal, or unused space in the database, examine them alongside the live rows. Use Hex Workbench to check the underlying bytes and verify the source file, page, and byte offset where available. Then share your working view in an interactive HTML report a colleague can open without Firefly.

How do you find the right tables in an unparsed SQLite database?

Start with a known message, contact, or timestamp to narrow down which tables to query. Check which columns link related records before interpreting the results. If the live rows leave a gap, check the WAL, rollback journal, or recoverable space in the main file. Record which file supports each finding. The SQLite WAL viewer guide shows how to read a frame and identify a transaction boundary.

From a visual query to a finding you can check

Investigation stepWhat to do in Firefly
Find the live records that answer your questionUse the visual query builder to select fields and join related tables, such as messages and contacts. Check the generated SQL, including the join keys and filters, before interpreting the results.
Look for earlier or deleted dataReview any matching WAL or rollback journal from the extraction. Where data survives in the main file, examine recoverable bytes in freeblocks, freelist pages, and unallocated space. Record which source supported the result.
Make the finding reviewableCheck important values against the underlying bytes in Hex Workbench. Capture the source file and available page and offset information, then retain the analysis context in the report.

See what a checkable Firefly result looks like

In Elusive Data’s 2.02 GiB synthetic SQLite test, Firefly 1.0.3.2 recovered a deliberately deleted record as a complete 39-byte cell from unallocated space. It reported page 3 and file offset 12,213 (0x2FB5), which matched the test manifest. The SHA-256 of the working copy matched before and after the run.

Firefly’s Unallocated view showing complete recovery of control row 4 on page 3 at file offset 0x2FB5.
Firefly’s Unallocated view shows the complete control record, its page, and the source offset.

For a different source type, see Elusive Data’s self-reported SQLite recovery results using the NIST CFTT test cases. That article shows the raw hex of a deleted row and an earlier version of a modified row in a rollback journal.

Test the workflow with a known SQLite sample

  1. Build a query you can check. Join two tables from a known sample. Save the query and verify that a colleague can reproduce the expected rows.
  2. Check where each result came from. Include a fixture with a deliberately deleted row and a control without that deletion. Preserve any available WAL, SHM, or rollback journal. Compare the tool’s reported source, row status, and offset with the expected result and the raw bytes.
  3. Hand a finding to another examiner. Include the source and the reasoning for your interpretation. Check what survives into the report and how a reviewer can confirm it.

For a longer evaluation checklist, see what to look for in a SQLite forensic tool.

Bring one SQLite question to a Firefly demo

Bring a representative SQLite examination question or ask us to walk through one of our published test cases. You can see how a visual join is built, how the generated SQL is checked, and how a recoverable record is verified against its source bytes.

Book a Firefly demo · Explore the Firefly workspace

Facebook
Twitter
Email
Print

Subscribe to stay updated!

Never miss a post – get notified whenever we publish a new blog article, forensic guide, or share important updates.

Latest Post