Skip to content

DET-20: Attestation-gated key shared cross-account or made public

PutKeyPolicy added a Decrypt-capable statement whose principal is another AWS account's root or '*': an enclave (or caller) outside this account can now obtain the key, which the attestation gate never anticipated.

Property Value
Severity critical
Platform AWS Nitro Enclaves
Group tee
Log source CloudTrail · KMS
Policy P-03
Related check KMS-01: KMS key policy enforces RecipientAttestation

Fires when

eventName == PutKeyPolicy AND keyId IN attested_keys AND policy grants an external account or "*" principal

How it runs

untrust detect --platform nitro reads CloudTrail in the region you pass with --region, over the last --since minutes (default 60).

A match is a detection event with this rule's ID. Upload it to the console to alert on it; see Runtime detections.