TMAegis
gcp 관련 규칙 더 보기

Google Cloud

TMA-GCP-3.7

Ensure That RDP Access Is Restricted From the Internet

보통레벨 2수동 검토gcp

설명

GCP Firewall Rules are specific to a VPC Network. Each rule either allows or denies traffic when its conditions are met. Its conditions allow users to specify the type of traffic, such as ports and protocols, and the source or destination of the traffic, including IP addresses, subnets, and instances. Firewall rules are defined at the VPC network level and are specific to the network in which they are defined. The rules themselves cannot be shared among networks. Firewall rules only support IPv4 traffic. When specifying a source for an ingress rule or a destination for an egress rule by address, an IPv4 address or IPv4 block in CIDR notation can be used. Generic (0.0.0.0/0) incoming traffic from the Internet to a VPC or VM instance using RDP on Port 3389 can be avoided. GCP Firewall Rules within a VPC Network. These rules apply to outgoing (egress) traffic from instances and incoming...

점검 방법

감사 방식: 수동 검토

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

From Google Cloud Console 1. Go to VPC network. 2. Go to the Firewall Rules. 3. Ensure Port is not equal to 3389 and Action is not Allow. 4. Ensure IP Ranges is not equal to 0.0.0.0/0 under Source filters. From Google Cloud CLI gcloud compute firewall-rules list -- format=table'(name,direction,sourceRanges,allowed)' Ensure that there is no rule matching the below criteria: - SOURCE_RANGES is 0.0.0.0/0 - AND DIRECTION is INGRESS - AND IPProtocol is TCP or ALL - AND PORTS is set to 3389 or range containing 3389 or Null (not set) Note: - When ALL TCP ports are allowed in a rule, PORT does not have any value set (NULL) - When ALL Protocols are allowed in a rule, PORT does not have any value set (NULL)

조치 방법

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

From Google Cloud Console 1. Go to VPC Network. 2. Go to the Firewall Rules. 3. Click the Firewall Rule to be modified. 4. Click Edit. 5. Modify Source IP ranges to specific IP. 6. Click Save. From Google Cloud CLI 1.Update RDP Firewall rule with new SOURCE_RANGE from the below command: gcloud compute firewall-rules update FirewallName --allow=[PROTOCOL[:PORT[- PORT]],...] --source-ranges=[CIDR_RANGE,...]

속성

운영 체제
모두
태그
access-controlcloudgcp
참고 자료
CIS Google Cloud Platform Foundation Benchmark v5.0.0 - 3.7 Ensure That RDP Access Is Restricted From the Internet