Having fun while learning about and pivoting into the world of DFIR.
by ogmini
Did a few of the tasks from a previous BelkaCTF as a warmup for this weekend. Solutions are written using Open Source or Free tools. I like to validate the findings from tools whenever possible. I’ve always appreciated that iLEAPP provides the location of where it found artifacts so that an analyst can manually parse if needed.
What is the Apple ID used on the imaged iPhone?
Using iLEAPP, we can check the Account Data section and locate the “Apple ID” as “billthemegakill@icloud.com”.
This information is stored in a SQLite database called Accounts3.sqlite located at \data\private\var\mobile\Library\Accounts. Manually examining the ZACCOUNT and ZACCOUNTTYPE table with DB Browser for SQLite verifies the information reported by iLEAPP. Example query below:
SELECT ZUSERNAME, ZACCOUNTTYPE.ZACCOUNTTYPEDESCRIPTION
FROM ZACCOUNT
INNER JOIN ZACCOUNTTYPE
ON ZACCOUNT.ZACCOUNTTYPE = ZACCOUNTTYPE.Z_PK
What is the iPhone owner’s full name?
Using ILEAPP, we can check the Address Book under the Contacts section. There is only one record of “William Phorger”.
This information is stored in a SQLite database called AddressBook.sqlitedb located at \data\private\var\mobile\Library\AddressBook. Manually examining the ABMultiValue and ABPerson table with DB Browser for SQLite verifies the information reported by iLEAPP. Example query below:
SELECT *
FROM ABMultiValue
INNER JOIN ABPerson
ON ABMultiValue.record_id = ABPerson.ROWID
Which Telegram accounts did the owner discuss shady stuff with?
Using ILEAPP, we can check the Telegram - Messages under the Telegram section. The individual conversed with the following:
Belkasoft has a very good writeup on how to manually parse this information at https://belkasoft.com/ios-telegram-forensics-acquisition-and-database-analysis.
Where does William live?
Apps such as Uber like to store your home location and other destinations locally. Using ILEAPP, we can check the Uber - Places under the Uber section. There is a location with the tag of “home”.
This information is stored in a SQLite database called database.db located at \data\private\var\mobile\Containers\Data\Application[GUID]\Documents. Manually examining the place table with DB Browser for SQLite verifies the information reported by iLEAPP.
What is the username of the laptop user?
Using Autopsy, we can look under OS Accounts and find a reference to “phorger”. We can also cross reference this to the names of the user folders under %SystemDrive%\Users.
Examining the SOFTWARE hive with Registry Explorer, we can examine the keys located at HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.