CTL-066 · human

Lock Down Audit and Detection Settings

Use organization policies to deny anyone, including account admins, from stopping or narrowing logging and threat detection.

TechnicalEffort LowEffectiveness High

If an insider with admin rights can stop CloudTrail, they will. Service control policies in AWS, Azure Policy deny assignments and GCP organization policies can block those calls for every principal except a tightly held security role. Delegating detector administration to a separate security account adds another layer.

Test the policies in a sandbox account first, and document the break-glass path so the security team can still make planned changes.

Put it in place

  1. 01AWS: SCP denying cloudtrail:StopLogging, DeleteTrail, UpdateTrail, PutEventSelectors and guardduty:DeleteDetector, UpdateDetector, CreateFilter, DisassociateFromAdministratorAccount except for the security role.
  2. 02Run the organization trail and GuardDuty administrator from a dedicated security account.
  3. 03Azure: deny policy on deleting diagnostic settings for subscriptions and key resources.
  4. 04Send logs to a bucket with object lock in a separate account.

Counters 1 technique