Skip to content

A python-based tool to extract forensic info from ActivitiesCache.db (Windows Activity Timeline)

License

Notifications You must be signed in to change notification settings

bolisettynihith/ActivitiesCacheParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ActivitiesCacheParser

ActivitiesCacheParser is a python tool to extract forensics data from ActivitiesCache.db (Windows Activity Timeline).

The database is located at C:\Users\<user>\AppData\Local\ConnectedDevicesPlatform\<folder>\ActivitiesCache.db.

<folder> can be any of the following based on the type of user account:

  • Local user account: L.< local user account name > (eg, L.nihith).
  • Microsoft account: Microsoft ID number (e.g., cdd048cc6c17532e).
    • Microsoft ID is located at HKCU\software\Microsoft\IdentityCRL\UserExtendedProperties
  • Azure Active Directory account: AAD.XXXXX.

This tool currently parses the following tables from ActivitiesCache.db:

  • Activity
  • ActivityOperation
  • Activity_PackageId

Requirements

Python 3.9 or above. The older versions of Python 3.x should work fine as well.

Dependencies

These are the required libraries needed to run this script.

  • argparse
  • csv
  • os
  • sqlite3

Usage

This is a CLI based tool.

$ python ActivitiesCacheParser.py -f <Path-to-ActivitiesCache.db>

To view help:

$ python ActivitiesCacheParser.py -h

Here is a small GIF showing how use the tool.

References

Here are some of the resources referred while making this tool.

  1. https://www.cellebrite.com/en/exploring-the-windows-activity-timeline-part-1-the-high-points/
  2. https://blog.group-ib.com/windows10_timeline_for_forensics
  3. https://kacos2000.github.io/WindowsTimeline/WindowsTimeline.pdf

Thanks to everyone for making their research public, this tool wouldn't be possible with out that.

Author 👥

B. K. S. Nihith

About

A python-based tool to extract forensic info from ActivitiesCache.db (Windows Activity Timeline)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages