CCSI

Lesson 9.1 · 11 min read

Monitoring attestation in production

Signals to collect, what normal looks like, and which events should page someone.

What to log

Every attestation decision is a security event. Log it from the verifier or key service, outside the TEE, so a compromised workload cannot suppress it.

SignalWhy it mattersAlert when
Attestation failures by reasonShows attacks, misconfiguration or stale reference valuesA burst of failures, or any failure due to debug mode or unknown measurement
Measurements seen in productionConfirms only approved builds are runningA measurement not in the approved list appears
TCB levels reportedShows platforms that are behind on firmwareA platform reports a TCB below your minimum
Key release eventsThe core control in the designRelease to an unexpected identity, region or at an unusual rate
Policy changesChanging a policy changes who gets keysAny change outside an approved change ticket

Key takeaways

  • Log attestation decisions from outside the TEE.
  • Alert on unknown measurements, debug evidence, low TCB and unexpected key releases.
  • Enable and retain cloud audit logs for key services in advance.