Skip to content

Delete a GCP Log Sink

Platform: GCP

Mappings

  • MITRE ATT&CK
    • Defense Evasion

Description

Deletes a Cloud Logging sink that exports audit logs to a storage destination. Simulates an attacker disrupting audit log export to impair forensic investigation and detection.

Warm-up:

  • Create a GCS bucket
  • Create a log sink exporting audit logs (cloudaudit.googleapis.com) to the bucket

Detonation:

  • Delete the log sink

References:

Instructions

Detonate with Stratus Red Team
stratus detonate gcp.defense-evasion.delete-logging-sink

Detection

Identify when a log sink is deleted using the GCP Admin Activity audit log event google.logging.v2.ConfigServiceV2.DeleteSink.