Check ID:
Provider: GCP
Service:
Severity: CRITICAL
Categories:
Resource type:
compute_firewall_rdp_access_from_the_internet_allowedProvider: GCP
Service:
computeSeverity: CRITICAL
Categories:
internet-exposedResource type:
compute.googleapis.com/FirewallWhat this check verifies
VPC firewall rules permitting inbound RDP (TCP 3389) from 0.0.0.0/0 are flagged, including ingress rules that allow all TCP ports or all protocols
Risk
Exposed RDP enables Internet-wide scanning and brute force. Exploits can yield remote code execution, followed by lateral movement and data theft. This endangers confidentiality, integrity, and availability (e.g., ransomware, service disruption).Recommendation
Restrict RDP to trusted IP ranges or a hardened bastion/IAP proxy; prefer private access with no public IPs. Apply least privilege and network segmentation, use just-in-time access and strong authentication, and monitor logs. Aim for defense in depth to minimize exposure.Remediation
- CLI
- Terraform
- Dashboard steps
gcloud compute firewall-rules delete <FIREWALL_RULE_NAME>
References
- https://cloud.google.com/vpc/docs/using-firewalls
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/gcp/CloudVPC/unrestricted-rdp-access.html
Where this check fires
This check runs on every scheduled scan against your GCP account. Findings appear at Cloud Security → Findings filterable byCheck ID = compute_firewall_rdp_access_from_the_internet_allowed. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to GCP checks