Checking what Attestree ships: the image and the installers
Before you run our container image or install our agent, you want to check that our release pipeline built and signed it, without taking our word for it.
UPDATED
This page holds the detail behind two lines on the security page: the Community Edition image is signed with cosign, and the installers are Authenticode-signed. Both checks run on your machine, against public material, with no account. Checking what a vendor’s installer does is a different job, done by the detonation; what Attestree signs for each installer covers that.
The image: signature, provenance and SBOM
Every release of ghcr.io/attestree/community-edition is signed with cosign by our release workflow, keyless, and the signature is logged in the public Rekor transparency log. Since platform 26.11.1400 that log is Rekor v2, and earlier releases are on Rekor v1. The commands below are the same for both. You need cosign 3.0.6 or newer: from platform 0.235.0 on, images are signed in cosign 3’s format, which cosign 2.x cannot find.
Version 26.10.3100 was never released; its changes shipped in 26.10.3101. Until 24 November 2026, the registry also held an image tagged v26.10.3100, with no GitHub Release, SBOM attestation or provenance. If you pulled that image, it is not one of our releases. Use 26.10.3101 or later.
Check the signature by digest. The commands below check 26.11.300; for another release, change the version in the identity and the digest:
cosign verify \
--certificate-identity 'https://github.com/attestree/winget-enterprise-app/.github/workflows/release-platform.yml@refs/tags/platform-v26.11.300' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
ghcr.io/attestree/community-edition@sha256:08c57b638c5bfd4ace5258dd8e1a73c0f5a2868b348196f90c365c0f467d2848
The identity names the release workflow at that release’s tag. A signature made by any other workflow, branch or tag fails the check, including another release’s. The identity is a string inside the signing certificate. It names our build repository, which is private, so it is not a page you can open. cosign also takes a tag in place of the digest, and prints the digest it checked as docker-manifest-digest in its output. A tag can be moved, so compare that digest with the one your image was pulled at.
Verifying offline. If you verify with a saved trusted_root.json, save it again from a current cosign, for example with cosign trusted-root create --with-default-services --out trusted_root.json. A file saved before a release’s log was opened does not verify that release. Sigstore opens a new Rekor v2 log about every six months, so refresh the file whenever you take a newer release. The online commands above need no saved file.
Build provenance. Since platform 0.244.0 each image also carries SLSA v1 build provenance, signed with the same identity and logged in Rekor:
cosign verify-attestation --type slsaprovenance1 \
--certificate-identity 'https://github.com/attestree/winget-enterprise-app/.github/workflows/release-platform.yml@refs/tags/platform-v26.11.300' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
ghcr.io/attestree/community-edition@sha256:08c57b638c5bfd4ace5258dd8e1a73c0f5a2868b348196f90c365c0f467d2848
The provenance is in GitHub’s workflow build type. It names the workflow file, the tag, the commit the image was built from and the workflow run. The image carries a second provenance attestation too. That one is signed by GitHub’s own Sigstore instance and has no public Rekor entry, and the command above checks the public one.
Since platform 26.11.2301, provenance is enforced: when a release’s provenance is not made, not attached or does not verify with no registry login, the release pipeline publishes nothing. Before 26.11.2301 it was recorded, not enforced. Images before 0.244.0 have none. For an image without provenance, verify-attestation stops with “none of the attestations matched the predicate type”.
The SBOM. The same images carry the image’s CycloneDX SBOM as a signed attestation. The SBOM is made by Syft from the image, so it lists the operating-system packages too. This checks it and saves the SBOM:
cosign verify-attestation --type cyclonedx \
--certificate-identity 'https://github.com/attestree/winget-enterprise-app/.github/workflows/release-platform.yml@refs/tags/platform-v26.11.300' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
ghcr.io/attestree/community-edition@sha256:08c57b638c5bfd4ace5258dd8e1a73c0f5a2868b348196f90c365c0f467d2848 \
| jq -r .payload | base64 -d | jq .predicate > sbom.cdx.json
We ran all three commands with cosign 3.0.6 against 26.11.300 and 0.244.0, with no credentials, and each passed. From 26.11.1400 on, the release workflow runs cosign 3.0.6 against every signature and attestation of a release before it is published.
The release files, such as the MSIs, wep-bundle-verify and the kits, carry cosign signature bundles and provenance bundles of their own, which are published with the release, not in ghcr.io. The golden-image tools kit is about 320 MiB, over the 128 MiB attachment limit cosign applies by default, so cosign verify-blob-attestation on its provenance stops with “exceeded the limit” unless you set COSIGN_MAX_ATTACHMENT_SIZE to the file’s size in bytes for that one command. cosign still hashes the whole file. cosign verify-blob against its .bundle signature has no such limit.
The installers: Authenticode
Since platform 0.237.0 the agent and broker MSIs are Authenticode-signed and timestamped. So are our own programs and libraries inside them, and wep-bundle-verify for Windows. Every release before 0.237.0 is unsigned.
- Subject:
CN=Borer Marc Kevin - Issuing CA:
CN=Certum Code Signing 2021 CA, O=Asseco Data Systems S.A., C=PL, SHA-1 thumbprint8D57E2B4008BBE461470A69F3492BC5AE362A7A9, valid until 2036-05-18 - Root: Certum Trusted Network CA 2, SHA-1 thumbprint
D3DD483E2BBF4C05E8AF10F5FA7626CFD3DC3092 - Certificate: individual-validated code signing, not EV, with an RSA 4096 key. Its only enhanced key usage is code signing.
- Timestamp: every signature carries an RFC 3161 timestamp from Certum, so Windows still reports it valid after the certificate expires. The release pipeline fails a release whose signature has none.
Certum re-issues our certificate every year, with a new thumbprint each time. So pin the subject and the issuing CA, never our certificate’s thumbprint. The endpoint agent accepts its own shim, collector and update MSIs only when Windows trusts the chain and both names match exactly. From 26.11.800 on, it also checks that the issuing CA in that chain is Certum’s own certificate, by its SHA-256 fingerprint, so a CA that only copies Certum’s name is refused.
To check any signed release file, such as the agent MSI your console serves, run this in PowerShell on Windows. It works in Windows PowerShell 5.1 and PowerShell 7:
$file = '.\wep-agent-26.11.100.msi'
$sig = Get-AuthenticodeSignature -LiteralPath $file
if ($sig.Status -ne 'Valid') { throw "Not validly signed: $($sig.Status)" }
$subjectCn = $sig.SignerCertificate.GetNameInfo('SimpleName', $false)
$issuerCn = $sig.SignerCertificate.GetNameInfo('SimpleName', $true)
if ($subjectCn -cne 'Borer Marc Kevin') { throw "Signed by '$subjectCn', not by us" }
if ($issuerCn -cne 'Certum Code Signing 2021 CA') { throw "Issued by '$issuerCn', not by our CA" }
if ($null -eq $sig.TimeStamperCertificate) { throw 'The signature carries no timestamp' }
# Any CA this machine trusts can issue a certificate with those two names. Pin Certum's issuing CA
# itself, building the chain from the certificates the file carries so that it builds offline too.
$carried = [System.Security.Cryptography.X509Certificates.X509Certificate2Collection]::new()
$carried.Import((Resolve-Path -LiteralPath $file).Path)
$chain = [System.Security.Cryptography.X509Certificates.X509Chain]::new()
$chain.ChainPolicy.RevocationMode = 'NoCheck'
$chain.ChainPolicy.VerificationFlags = 'IgnoreNotTimeValid'
$null = $chain.ChainPolicy.ExtraStore.AddRange($carried)
if (-not $chain.Build($sig.SignerCertificate)) { throw "The chain does not build: $(($chain.ChainStatus | ForEach-Object Status) -join ', ')" }
$issuingCa = $chain.ChainElements[1].Certificate.Thumbprint
if ($issuingCa -ne '8D57E2B4008BBE461470A69F3492BC5AE362A7A9') { throw "Issued by a CA that only shares our CA's name: $issuingCa" }
"Signed by $subjectCn, issued by $issuerCn ($issuingCa)"
Valid means this machine trusts the chain. A file from a release before 0.237.0 stops at NotSigned, which is the right answer for an unsigned file.
The two names are not enough on their own, because any CA this machine trusts can issue a certificate with the same names. So the last check pins Certum’s issuing CA by its thumbprint.
- Offline. The chain is built from the two certificates every signature carries, so it builds without a network.
- No revocation or expiry checks.
Validis already Windows’ verdict on the signature, and the chain only shows which CA issued our certificate. Ignoring expiry keeps a timestamped file passing after our certificate expires. - The issuing CA, not the root. Certum Trusted Network CA 2 also exists as a cross-certificate under Certum’s older root. On a machine that holds it, Windows can build the chain through that older root, and a check on the root would stop on a genuine file. The issuing CA is the second certificate in the chain on either path.
On 2026-11-07 this check passed for the 26.11.701 agent MSI on a test VM, in both PowerShell versions: online, with the network cut, and with the cross-certificate installed.
Disconnected machines. Windows fetches the Certum root on demand, through automatic root certificate update. On a disconnected image, or one where Group Policy turns root update off, the root may be missing. Then our signatures do not read as valid. A signed agent also refuses its own shim, collector and update MSIs, because it requires a chain Windows trusts. The root is the only certificate to pre-stage. Each signature carries the leaf and the issuing CA, and each timestamp carries its own chain to the same root. Elevated:
# The root as Certum publishes it: the CA Issuers address in our issuing CA's certificate.
Invoke-WebRequest -Uri 'http://repository.certum.pl/ctnca2.cer' -OutFile .\ctnca2.cer -UseBasicParsing
# Read the file without adding anything. Certum publishes one certificate: refuse a file that holds more.
$certs = [System.Security.Cryptography.X509Certificates.X509Certificate2Collection]::new()
$certs.Import((Resolve-Path -LiteralPath .\ctnca2.cer).Path)
if ($certs.Count -ne 1) { throw "The file holds $($certs.Count) certificates; Certum publishes one" }
$root = $certs[0]
if ($root.Thumbprint -ne 'D3DD483E2BBF4C05E8AF10F5FA7626CFD3DC3092') { throw "Not Certum Trusted Network CA 2: $($root.Thumbprint)" }
# Add exactly the certificate you checked.
$store = [System.Security.Cryptography.X509Certificates.X509Store]::new('Root', 'LocalMachine')
$store.Open('ReadWrite')
try { $store.Add($root) } finally { $store.Close() }
The recipe adds only the certificate it checked. Import-Certificate would add every certificate in the file, and the address is plain HTTP, so the file can arrive changed. An earlier version of this page used Get-PfxCertificate and Import-Certificate. On a test VM, a crafted file carrying a second root passed that version’s thumbprint check, and both roots went into the trusted root store. The recipe above refused it, and three other crafted files, in both PowerShell versions. If you used the earlier version and kept the file, the three lines from $certs = to the count check tell you whether it held more than one certificate, without adding anything.
On a machine with no network, download the file elsewhere and copy it over, or deploy it by Group Policy, and check the thumbprint either way.
An App Control for Business (WDAC) publisher rule
A publisher rule pins the issuing CA and the subject. Both stay the same across the yearly renewal, so one rule keeps matching every later release. A hash rule stops matching at the next release.
Install a signed release on a reference machine, then scan what it installed. Use Windows PowerShell 5.1, elevated: the ConfigCI cmdlets do not work through PowerShell 7’s compatibility layer.
$scan = 'C:\Program Files\Wep\Agent' # the broker: C:\Program Files\Wep\DetonationBroker
$files = Get-SystemDriver -ScanPath $scan -UserPEs
$rules = New-CIPolicyRule -DriverFiles $files -Level Publisher -Fallback Hash
Merge-CIPolicy -PolicyPaths .\base-policy.xml -OutputFilePath .\base-policy.attestree.xml -Rules $rules
Merge into a copy of your base policy, then review and deploy it the way you deploy any policy. It gains one signer for our files, signers for the other publishers whose files ship signed (Microsoft’s, for the .NET runtime), and a hash rule for each unsigned file. One unsigned file is each MSI’s installer custom-action library, which is rebuilt every release, so regenerate the hash rules at each release. -Level FilePublisher gives a narrower rule that also pins each file’s name and a minimum version.
If you write policies by hand, this is our signer. Add it to Signers, and allow it in the user-mode signing scenario (SigningScenario Value="12"):
<Signer ID="ID_SIGNER_ATTESTREE" Name="Certum Code Signing 2021 CA">
<CertRoot Type="TBS" Value="FE3E46CAAE9B3738657E194D23BEC1433CE0F8C8C83136E6563C6DDEE64F58865A267B30A81D5114F3CC6D23A301B03F" />
<CertPublisher Value="Borer Marc Kevin" />
</Signer>
The TBS value is the SHA-384 hash of the issuing CA certificate’s to-be-signed part. It stays the same for as long as the issuing CA does. If a renewal ever came from a different issuing CA, this rule would stop matching, and so would the agent’s own check of its files.
Where this stops
- Provenance is enforced only since 26.11.2301. Releases before it were published whether or not their provenance step passed, and images before 0.244.0 have none.
- The source is private. The provenance proves which workflow, tag and commit built the image, and the SBOM lists what is inside it. You cannot read the commit itself.
- A signature is not a review. A cosign signature shows our release workflow signed the image at that tag; an Authenticode signature shows our certificate signed the file and that it has not changed since. Neither says the code in it is free of defects.
- Releases before 0.237.0 are unsigned, so a publisher rule matches none of their files. Allow those by hash.
- App Control under enforcement is not tested yet. The publisher rule has been generated and compiled, but not yet run on a machine where App Control is enforced, and which libraries App Control checks there has not been measured. Run it in audit mode first.
- Disconnected endpoints may need the root pre-staged, as above. Whether a disconnected image hardened by Group Policy needs it has not been tested.