TMAegis베타
gcp 관련 규칙 더 보기

Google Cloud

TMA-GCP-2.13

Ensure That Cloud DNS Logging Is Enabled for All VPC Networks

높음레벨 1수동 검토gcp

설명

Cloud DNS logging records the queries from the name servers within your VPC to Stackdriver. Logged queries can come from Compute Engine VMs, GKE containers, or other GCP resources provisioned within the VPC. Security monitoring and forensics cannot depend solely on IP addresses from VPC flow logs, especially when considering the dynamic IP usage of cloud resources, HTTP virtual host routing, and other technology that can obscure the DNS name used by a client from the IP address. Monitoring of Cloud DNS logs provides visibility to DNS names requested by the clients within the VPC. These logs can be monitored for anomalous domain names, evaluated against threat intelligence, and Note: For full capture of DNS, firewall must block egress UDP/53 (DNS) and TCP/443 (DNS over HTTPS) to prevent client from using external DNS name server for resolution.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

From Google Cloud CLI 1. List all VPCs networks in a project: gcloud compute networks list --format="table[box,title='All VPC Networks'](name:label='VPC Network Name')" 2. List all DNS policies, logging enablement, and associated VPC networks: gcloud dns policies list --flatten="networks[]" -- format="table[box,title='All DNS Policies By VPC Network'](name:label='Policy Name',enableLogging:label='Logging Enabled':align=center,networks.networkUrl.basename():label='VPC Network Name')" Each VPC Network should be associated with a DNS policy with logging enabled.

조치 방법

조치 방식: 가이드 또는 인프라 패치

From Google Cloud CLI Add New DNS Policy With Logging Enabled For each VPC network that needs a DNS policy with logging enabled: gcloud dns policies create enable-dns-logging --enable-logging -- description="Enable DNS Logging" --networks=VPC_NETWORK_NAME The VPC_NETWORK_NAME can be one or more networks in comma-separated list Enable Logging for Existing DNS Policy For each VPC network that has an existing DNS policy that needs logging enabled: gcloud dns policies update POLICY_NAME --enable-logging -- networks=VPC_NETWORK_NAME The VPC_NETWORK_NAME can be one or more networks in comma-separated list

속성

운영 체제
모두
태그
cloudgcploggingnetwork
참고 자료
CIS Google Cloud Platform Foundation Benchmark v5.0.0 - 2.13 Ensure That Cloud DNS Logging Is Enabled for All VPC Networks