10 KnowledgeC Investigation
10 KnowledgeC Investigation
Investigation
iOS 13
Overview
• Introduction to KnowledgeC.db
• Understanding KnowledgeC.db
• Querying within KnowledgeC.db
Intro to KnowledgeC.db
What is KnowledgeC?
• KnowledgeC.db is an SQLite database that was introduced in iOS 11 that
tracks lots of different activity on the device ranging from Battery Level and
Bluetooth connections to which speaker is in use and what it is playing at
any given time. Because of the vast amount of data stored, the database is
only stored for a couple of months before it appears to purge records on a
first in/first out basis.
• The database is located
at ~/private/var/mobile/Library/CoreDuet/Knowledge/knowledgeC.db and
is made up of 16 tables.
What is KnowledgeC? (2)
• The knowledgeC database stores an event log of multiple processes that
run within an Apple device ranging from application usage to speaker
output switching. Which is a goldmine for digital forensic investigators.
• The knowledgeC database can become a digital intelligence goldmine as
it opens a window into a phone owner’s actual usage. Investigators can
then take a closer look at application activity that includes when an app
was installed, opened, and all of the spotlight searches performed.
• The purpose behind the KnowledgeC.db in iOS is meant to synchronize
states between apple products.
Kinds of data gathered from
KnowledgeC.db
What is keybag?
The device keybag is used to store the encryption keys used for operations involving device-specific data.
Since iOS devices are configured for use by a
single user (the default configuration), the device
keybag and the user keybag are one and the
same and are protected by the user’s passcode.
A closer look…
reflects what application
Usage in seconds was in focus (on screen)
(end timestamp –
ZVALUESTRING
Day of the week Start and End timestamp start timestamp)
which reflects
Timestamp when and offset from
the bundle id of
entry was created, GMT
the application
always matches end on screen
time.
• We can gather extra data from these columns which is useful for an investigation.
Conclusion
• KnowledgeC is a powerful and informative database which logs the
user's activity on their device.
• It can be a goldmine for forensic investigators as it can create a
timeline as to what was in use and when.