Skip to content

DET-02: kms:Decrypt without a RecipientAttestation context

The attestation-gated key released plaintext to a caller that presented no enclave attestation document: key release outside the enclave.

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 == "Decrypt" AND keyId IN attested_keys AND requestParameters.recipient.attestationDocument IS NULL

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.