directory the file was in was viewed in Finder. No additional information can be determined. If there is an entry in
the thumbnails table for a file of interest, it is possible to determine:
• The date and time the thumbnail was last shown (“last_hit_date”)
• Total number of times the thumbnail was shown (“hit_count”)
• Possibly if a Finder view other than Icon view was used for the directory, depending on the file type
• If Cover Flow was used to view the folder
In the thumbnails table, multiple entries for the same file indicate different sizes of the thumbnail were generated.
This can happen if different Finder views are used, or if a user changes the Icon view thumbnail size for the
directory. When changing the Icon size, a slide bar is provided.
Analysis of the QuickLook Thumbnail Cache Database
The index.sqlite database can grow very large. The files table can contain thousands of records. The thumbnails
table contains fewer entries, but needs to be linked with the files table. Keep in mind the process for parsing
information from the binary plist stored in the files table is very manual. Whenever possible, use the CNID to link
an entry to a file instead of parsing this information. For files that are no longer on the system, parsing the binary
plist will provide the size and the modified date of the file. If information for the files of interest stored in the
thumbnails table, it can be used to determine the last time the thumbnail for a particular file was shown and the
number of times the thumbnail was accessed. Though an Excel spreadsheet can be used, the manual work of
matching entries from the files and thumbnails tables can be eliminated by importing exported spreadsheets into a
database and setting up the relationship between the tables.
Sample Analysis
To create this sample, a new account was created in OS X, actions were documented, and the results of those actions
on index.sqlite were reviewed.
When looking at actual data, the first step is to identify the files of interest. For this example files of interest were
created on two CDs with the volume labels Pictures and Shoes. The Pictures CD contains four directories in the root
of the volume: Choos, Degas, Monet, and Photos. The Shoes CD contains ten JPEG files at the root of the volume.
The information stored in the files table created by OS X when these volumes were accessed was exported to a csv
file from BlackLight.
The entries with “folder” paths beginning with /Volumes, indicate the entries relate to a volume other than the OS
volume. In OS X mounted media may include additional volumes on internal hard drive(s), USB thumb drives,
external hard drives, optical media, network connected shares, and disk image (dmg) files. The media used to create
the /Volumes/Pictures and /Volumes/Shoes entries were both optical media, but to determine the exact type of media
during an examination look at other OS artifacts and, if possible, examine the media that created the entries.
If during an examination it is determined that the media used to create these entries is formatted with HFS+, or
HFSX, the CNIDs in the “fs_id” field should be used to link the entries to a specific volume on the media. This can
only be done if there is media with a volume to compare. For volumes not formatted with HFS+ or HFSX, the
volume name, files and folders listed for the entire volume, and information stored in the “version” field of the files
table can be used to link the entries to specific media; the version field tracks the modified date and size of the file.
Similarly to the situation when a file is no longer present in the active file system, for missing media the “version”
field may provide a timeframe of activity.
In this example optical media was used, which is not formatted in HFS+ or HFSX. Multiple pieces of information
can be used to link the entries in the files table and the media using the following information:
• Volume name