Atlantiraptor Docs

Windows.Sys.CertificateAuthorities

Type: Client

Enumerates certificate authorities from Windows certificate stores.

Source

Defined in artifacts/definitions/Windows/Sys/CertificateAuthorities.yaml.

name: Windows.Sys.CertificateAuthorities
description: |
  Enumerates certificate authorities from Windows certificate stores.

sources:
  - precondition:
      SELECT OS From info() where OS = 'windows'
    query: |
        SELECT Store, IsCA, Subject,
               encode(string=SubjectKeyId, type='hex') AS SubjectKeyId,
               encode(string=AuthorityKeyId, type='hex') AS AuthorityKeyId,
               Issuer, KeyUsageString,
               IsSelfSigned, SHA1, SignatureAlgorithm, PublicKeyAlgorithm, KeyStrength,
               NotBefore, NotAfter, HexSerialNumber
        FROM certificates()