For OneDrive the most useful artifacts are stored locally. If you get access to the account online - may see the deleted items and their versions. C:\Users\%Username%\AppData\Local\Microsoft\OneDrive\logs. This folder contains Personal and Common. Neither has anything of particular interest, but may be an indicator, that the software was used.
β οΈ Business version of OneDrive adds a few lines of code to the start of every doc, thus MD5 hashes will differ.
π¦ Malware Analysis
Reversing malware is a complex topic and is beyond the scope of this article. If you are interested in reversing techniques - refer to the Reverse π§ section of this website. However, to reverse engineer something, one first needs to get that something. And to “catch” the malware, one needs to find it. To find it, one needs to know where to look. This article is to aid in that. I will also look into what evidence can be obtained from the malware.
π₯ System Information
Windows
Installed programs and applications
Key π:
Microsoft\Windows\CurrentVersion\Uninstall. There can be some data for programs that do not exist on the system anymore. The last write time is when the application was installed.Key π
Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStorefor installed Microsoft applications. Defines between those that were installed for a specific user or system-wide.Key π:
Wiw6432Node(SYSTEMhive root node) - those that run a 32-bit mode. Separate sub-keys for different versions of a program.π Network Traffic
Collection
Most of the devices keep some logs. As for the network-related issues are switches, routers, firewalls, IDS and IPS, web proxies, DC and authentication servers, DCHP servers and application servers.
SIEMs are log aggregators. When configured correctly, all logs and events from all systems in the enterprise flows to a centralised repository where they can then be analysed. Sometimes these SIEM analyse what’s normal and what’s not. However, they are quite costly π°.
π OSINT Techniques
This all about searching for the information publicly available.
π¬βοΈNotifications
Windows
Toast notifications on Windows 10:
C:\Users\%Username%\AppData\Local\Microsoft\Windows\Notificationscontainswpndatabase.dbandappdb.dat. Both can be opened with π SQLite Browser.Calendars
π£ Voice Assistants
Windows
Cortana is a great source of information.
C:\Users\%Username%\AppData\Local\Packages\Microsoft.Windows.Cortana_xxxx\LocalState\ESEDatabase_CortanaCoreInstance\CortanaCoreDb.dbcontains user locations, reminders etc. Use a π SQLite browser to see the contents, or export tocvsand work in Excel.π‘οΈ Defence Mechanisms
In this section, I will collect different defence mechanisms, bypass techniques and possible artefacts to look out for.
Misc
π User Statistics
This is about … .