A Windows Tool for backing up and restoring Chrome's encrypted cookies
Switch branches/tags
Nothing to show
Clone or download
Latest commit ccc955e Oct 21, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ChromeCookieBackup
.gitattributes
.gitignore Chocolatey update Sep 14, 2017
ChromeCookieBackup.sln sln update Oct 22, 2017
LICENSE
README.md

README.md

Chrome Cookie Backup

A Windows Tool for backing up and restoring Chrome's encrypted cookies

Background:

A change made to Chromium on 12/16/2013 introduced DPAPI to encrypt protected data including cookies and saved passwords on Windows. DPAPI generates unique encryption keys per user and domain or standalone Windows installation. If you move protected files (e.g. Cookies) to a different user account or a different domain or Windows installation, the protected data will become unusable.

This tool creates a decrypted SQLite backup file of the Cookies file in the Chrome User Data Profile folder, using the credentials of the logged on user's profile. The tool can restore from this backup file back into a Chrome User Profile Cookies using a different user account or domain or Windows installation, by re-encrypting the data using the other user's credentials.

Usage

  1. Install from chocolatey:
    choco install ChromeCookieBackup
  2. Run the tool using the Windows user account of the source user/computer and save a backup file
  3. Move the User Data folder in its entirety to a different user account or Windows installation, or simply create a new profile on the target computer.
  4. Run the tool on the target computer using the target user account, and restore the backup to the desired Chrome profile(s). You may map Chrome profiles from the backup file to profiles on the target computer.

Screenshot

Dev Notes:

Built With

  • Visual Studio 2017
  • .NET Framework 4.5.2
  • System.Data.Sqlite - ADO.NET provider for SQLite (Chrome stores cookies in a SQLite database)
  • Json.NET - For reading Chrome profile Preferences Json