Google Cloud Logging Bucket deleted

Goal

Detect when a logging bucket is deleted in Google Cloud. An adversary may delete a logging bucket as a means of defense evasion.

Strategy

Monitor Google Cloud audit logs to determine when the following method is invoked:

  • google.logging.v2.ConfigServiceV2.DeleteBucket

Triage and response

Determine if the Google Cloud user {{@usr.id}} should be deleting the logging bucket identified in the @data.protoPayload.resourceName field.

PREVIEWING: may/unit-testing