Atlantiraptor Docs

Windows.System.CatFiles

Type: Client

Parses Windows .cat catalog files and extracts certificate trust list hashes with signer information.

Windows stores many hashes in .cat files. These catalog files contain a set of trusted hashes for drivers and other binaries, even if the PE files do not themselves contain Authenticode signatures.

This artifact extracts all the trusted hashes from a system by parsing all the cat files.

Parameters

Name Type Default Description
CatGlobs string C:\Windows\System32\CatRoot\*\*.cat
SignerExcludeRegex regex Microsoft Exclude hashes from this Signer
SignerFilterRegex regex . Only show hashes from this signer.

Source

Defined in artifacts/definitions/Windows/System/CatFiles.yaml.

name: Windows.System.CatFiles
description: |
  Parses Windows `.cat` catalog files and extracts certificate trust
  list hashes with signer information.
  
  Windows stores many hashes in `.cat` files. These catalog files
  contain a set of trusted hashes for drivers and other binaries,
  even if the PE files do not themselves contain Authenticode
  signatures.

  This artifact extracts all the trusted hashes from a system by
  parsing all the cat files.

parameters:
   - name: CatGlobs
     default: C:\Windows\System32\CatRoot\*\*.cat
   - name: SignerExcludeRegex
     description: Exclude hashes from this Signer
     default: Microsoft
     type: regex

   - name: SignerFilterRegex
     description: Only show hashes from this signer.
     default: .
     type: regex

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

    query: |
        LET parsed_cats = SELECT Name, parse_pkcs7(data=read_file(filename=OSPath)) AS PKCS7
        FROM glob(globs=CatGlobs)

        -- Extract the CertificateTrustList and Subject who signed the cat file.
        LET extracted = SELECT Name, PKCS7.Signer.Subject AS Signer,
            PKCS7.CertificateTrustList.Hash AS CTL
        FROM parsed_cats
        WHERE Signer =~ SignerFilterRegex AND NOT Signer =~ SignerExcludeRegex

        -- Expand all the hashes in the same cat file to flatten the results
        SELECT * FROM foreach(row=extracted, query={
            SELECT * FROM foreach(row=CTL, query={
                SELECT Name, Signer, _value AS Hash FROM scope()
            })
        })

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.