Skip to content

Delete a Cloud DNS Logging Policy

Platform: GCP

Mappings

  • MITRE ATT&CK
    • Defense Evasion

Description

Deletes a Cloud DNS policy that has query logging enabled. Cloud DNS policies with logging record all DNS queries from VMs in the associated networks to Cloud Logging, providing visibility into DNS-based communication.

Warm-up:

  • Create a VPC network
  • Create a Cloud DNS policy with query logging enabled, attached to the VPC network

Detonation:

  • Delete the Cloud DNS policy, stopping query logging for the associated network

References:

Instructions

Detonate with Stratus Red Team
stratus detonate gcp.defense-evasion.delete-dns-logs

Detection

Identify when a Cloud DNS policy is deleted by monitoring for dns.policies.delete events in GCP Admin Activity audit logs.