Atlantiraptor Docs

Windows.Applications.Chrome.Cookies

Type: Client

Enumerates Chrome/Edge/Brave/Vivaldi browser cookies including host key, name, timestamps, and encrypted values.

Since Chrome 96 the cookie database is stored in the Network subdirectory of each profile. The default glob searches both the current and the older location.

The cookies are typically encrypted by the DPAPI using the user’s credentials. Since Velociraptor is typically not running in the user context we cannot decrypt these. It may be possible to decrypt the cookies off line.

The pertinent information from a forensic point of view are the user’s Created and LastAccess timestamps, and the fact that the user has actually visited the site and obtained a cookie.

NOTES

This artifact is deprecated in favor of Generic.Forensic.SQLiteHunter and will be removed in future.

Precondition: SELECT OS From info() where OS = 'windows'

Parameters

Name Type Default Description
cookieGlobs string (see the artifact source)
cookieSQLQuery string (see the artifact source)
userRegex regex .

Source

Defined in artifacts/definitions/Windows/Applications/Chrome/Cookies.yaml.

name: Windows.Applications.Chrome.Cookies
description: |
  Enumerates Chrome/Edge/Brave/Vivaldi browser cookies including host
  key, name, timestamps, and encrypted values.

  Since Chrome 96 the cookie database is stored in the `Network`
  subdirectory of each profile. The default glob searches both the
  current and the older location.

  The cookies are typically encrypted by the DPAPI using the user's
  credentials. Since Velociraptor is typically not running in the user
  context we cannot decrypt these. It may be possible to decrypt the
  cookies off line.

  The pertinent information from a forensic point of view are the
  user's Created and LastAccess timestamps, and the fact that the user
  has actually visited the site and obtained a cookie.

  **NOTES**

  This artifact is deprecated in favor of
  `Generic.Forensic.SQLiteHunter` and will be removed in future.

parameters:
  - name: cookieGlobs
    default: \AppData\Local\{Google\Chrome,Microsoft\Edge,BraveSoftware\Brave-Browser,Vivaldi}\User Data\*\{Network\Cookies,Cookies}
  - name: cookieSQLQuery
    default: |
      SELECT creation_utc, host_key, name, value, path, expires_utc,
             last_access_utc, encrypted_value
      FROM cookies
  - name: userRegex
    default: .
    type: regex

precondition: SELECT OS From info() where OS = 'windows'

sources:
  - query: |
        LET cookie_files = SELECT * from foreach(
          row={
             SELECT Uid, Name AS User,
                    expand(path=Directory) AS HomeDirectory
             FROM Artifact.Windows.Sys.Users()
             WHERE Name =~ userRegex
          },
          query={
             SELECT User, OSPath, Mtime
             FROM glob(root=HomeDirectory, globs=cookieGlobs)
          })

        SELECT * FROM foreach(row=cookie_files,
          query={
            SELECT User,
                   timestamp(winfiletime=creation_utc * 10) as Created,
                   timestamp(winfiletime=last_access_utc * 10) as LastAccess,
                   timestamp(winfiletime=expires_utc * 10) as Expires,
                   host_key, name, path, value,
                   base64encode(string=encrypted_value) as EncryptedValue,
                   OSPath
            FROM sqlite(
              file=OSPath,
              query=cookieSQLQuery)
          })

Edit this page on GitHub

© 2026 Atlant Security EOOD. Atlantiraptor is free software under the GNU Affero General Public License v3. It is based on Velociraptor by Velocidex, and keeps its copyright notices. Velociraptor is a trademark of its owner; Atlantiraptor is not affiliated with or endorsed by it.