Type Google Hangout Database

From truxwiki.com
Revision as of 16:34, 18 May 2020 by Admin (talk | contribs) (Created page with "{| style="float:right;border:1px solid black" |+ Details | Defined Constant | <code>Type_Google_Hangout_Database</code> |- | File Type Value | 898 |- | Parent Type | Type_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Details
Defined Constant Type_Google_Hangout_Database
File Type Value 898
Parent Type SQLite
Expandable Yes
Carve Yes
Format Details Yes
MIME Type application/x-sqlite3
Filename Extension db

Google Hangouts uses SQLite as a data storage format.


Details

Other sources of information:

Filenames seen:

  • babel1.db

Queries

Here are the queries Truxton uses to exploit Google Hangout.

Gather the Chat Participants

This query gathers the details for the participants in all messages.

SELECT DISTINCT [conversation_id], [author_chat_id], [participants].[full_name]
FROM [messages]
JOIN [participants] ON ([participants].[chat_id] = [messages].[author_chat_id])
WHERE [author_chat_id] IS NOT NULL
ORDER BY [conversation_id], [author_chat_id];

Gather Messages

This query gathers the messages sorted by conversation and time.

SELECT [messages].[_id], 
[messages].[message_id], 
[messages].[conversation_id], 
[messages].[author_chat_id], 
[participants].[full_name], 
[messages].[text], 
[messages].[timestamp], 
[messages].[latitude], 
[messages].[longitude] 
FROM [messages] 
JOIN [participants] ON ([participants].[chat_id] = [messages].[author_chat_id]) 
ORDER BY [conversation_id],[timestamp]

Gather Contacts

This query gathers the contact list.

SELECT [merged_contacts].[_id], 
[merged_contacts].[contact_id], 
[merged_contacts].[display_name], 
[merged_contact_details].[lookup_data_standardized], 
[merged_contact_details].[lookup_data_label] 
FROM [merged_contacts] 
JOIN [merged_contact_details] ON ([merged_contact_details].[merged_contact_id] = [merged_contacts].[_id]) 
ORDER BY [merged_contacts].[contact_id]