Skip to content

DET-21: Key administration granted to an external or wildcard principal

PutKeyPolicy granted key-administration actions (PutKeyPolicy, CreateGrant, ScheduleKeyDeletion or kms:*) to another account or '*': that principal can rewrite or destroy the attestation gate itself.

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 kms admin (kms:* / PutKeyPolicy) granted to an external 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.