plaso
plaso copied to clipboard
OneDrive log parser
Add support for OneDrive logs. There is some recent research on the log format in the blog post https://www.swiftforensics.com/2022/02/reading-onedrive-logs.html?m=1
@sydp shall I assign this to you? looks like this would need the creation of test data and could benefit from a format specification.
Yes, I'll take a look at generating some test data in the next few weeks and implement a dtfabric definition.
Just a heads up. Newer versions of OneDrive no longer use ObfuscationStringMap.txt. It now uses a key to obfuscate the log. It is not known, at this time, how the key is used to obfuscate the data.
Checked the logs folder on a Windows 11 instance running OneDrive version 22.141.0703.0002 and there is now a "general.keystore" file.
Contents example:
[{"CreatedTime" : <unix seconds timestamp?>,"Key" : <base64 encoded 256-bit random blob>,"Version" : 1}]
ObfuscateStringMap.txt still exists, however as reported, it seems some strings in the logs are encrypted, most likely using the key in general.keystore.
Some updated research in a followup blog post:
https://www.swiftforensics.com/2022/11/reading-onedrive-logs-part-2.html