arXiv:2611.03323cs.CRNov 2026

Manuscript Offprint

arXiv:2611.03323

A Symbolic-Neural Framework for Context-Aware Evidence Extraction from Mobile SQLite Databases

Jeel Piyushkumar Khatiwala, Divyangkumar Patel, Dianxiang Xu, Weifeng Xu

Abstract

Reliable forensic evidence extraction from mobile SQLite databases is challenging because application schemas are undocumented, evolve across releases, and differ across operating systems, making schema-specific methods brittle and difficult to maintain. We present SNEEF, a symbolic-neural framework for context-aware evidence extraction that encodes each SQLite row as context-value pairs with standardized provenance metadata and column labels, uses a language model to recognize nine forensic entity types, and binds each accepted entity to its source table and row through the PA-EEP provenance protocol. We evaluate SNEEF against examiner-verified ground truth from five corpora built from public Android and iOS device images, spanning multiple application versions. SNEEF achieves an F1 score of 0.967 for evidence entities extracted from SQLite row content, excluding application names, compared with 0.728 for a context-free configuration, with consistent gains across all corpora. We also introduce an Evidence Failure Mode taxonomy to characterize why extraction errors occur.

Keywords: Digital forensics, SQLite databases, evidence extraction, large language models, provenance.

1. Introduction

Smartphones are among the richest sources of digital evidence because applications continuously record communications, locations, transactions, and social activity, most often in application-specific SQLite databases (Tamma et al., 2020). Extracting forensic evidence from these databases is difficult because a single seized device may contain hundreds of databases and thousands of tables, while schemas and encodings vary across applications, versions, and operating systems (Barmpatsalou et al., 2013). Many application databases are also undocumented, so even the relational structure needed to interpret their contents may need to be inferred (Khatiwala, Patel, & Xu, 2026). The forensic value of an extracted artifact depends not only on recovering it but also on being able to show, later and under challenge, exactly where it came from.

Existing evidence-extraction tools face a fundamental tradeoff. Rule-based pipelines based on regular expressions and schema-specific parsers are transparent and precise while a schema remains stable, but application updates that rename columns or change timestamp encodings can break field mappings and lead to missed or misattributed artifacts (Salamh et al., 2021). Large language models (LLMs) are more flexible when processing heterogeneous content (Nayerifard et al., 2023; Wickramasekara et al., 2025), but they can omit entities, alter extracted values, or generate unsupported content, and their outputs often lack a verifiable link to the source database row (Khatiwala et al., 2025; Ramadan et al., 2025). Existing LLM-based forensic approaches also primarily reason over documents, reports, logs, or tool-generated summaries. In contrast, SNEEF performs evidence extraction directly over SQLite rows, where contextual information and provenance can be explicitly represented and enforced.

This paper presents SNEEF, a symbolic-neural framework for context-aware evidence extraction from mobile SQLite databases. Its symbolic layer represents each SQLite row as context-value pairs that attach standardized provenance metadata (device image, database, path, table, and row line) together with the column labels of the table schema and optional per-column constraints such as declared type, timezone, or regular-expression validation. Its neural layer uses these contextualized records to recognize target forensic entity types rather than interpreting isolated values. The Provenance-Aware Evidence Extraction Protocol (PA-EEP) then binds each accepted entity to its source table and row through a deterministic identifier, enabling an examiner to verify an extracted entity through a targeted lookup rather than searching across thousands of rows.

Our contributions are threefold: (1) Context-aware evidence extraction. We introduce a symbolic-neural representation that encodes SQLite rows using Hierarchical Symbolic Context (HSC) and Constrained Symbolic Context (CSC), enabling evidence extraction across heterogeneous application schemas without relying on fixed field mappings; (2) Provenance-preserving evidence extraction. We develop the Provenance-Aware Evidence Extraction Protocol (PA-EEP), which binds each accepted entity to its source table and row for traceable verification, and use ESTRE, a recall-driven preselection stage, to reduce the number of rows requiring model-based extraction; and (3) Failure-oriented evaluation. We define an Evidence Failure Mode (EFM) taxonomy and Failure Mode Coverage (FMC) metric to characterize extraction failures, complementing conventional precision, recall, and F1 measures.

We evaluate SNEEF on examiner-verified ground truth from five corpora built from public Android and iOS device images, spanning multiple application versions, and release the evaluation artifacts to support reproducibility.

References (30)