Manual examination of iOS SQLite database files is possible with the use of free tools. The following is an example of how to examine a database using native Mac commands in the Terminal:
- Make sure that your device image is mounted as read-only to prevent changes being made to the original evidence.
- To connect to an SQLite database from the command line, run the sqlite3 command in the Terminal by entering your database file. This will give you an SQL prompt where you can issue SQL queries, as shown in the following code block:
$ sqlite3 sms.dbSQLite version 3.28.0 2019-04-15 14:49:49Enter ".help" for usage hints.
- To disconnect, use the .exit command. This exits the SQLite client and returns to the Terminal.