Check ID: compute_firewall_rdp_access_from_the_internet_allowed
Provider: GCP
Service: compute
Severity: CRITICAL
Categories: internet-exposed
Resource type: compute.googleapis.com/Firewall

What 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

gcloud compute firewall-rules delete <FIREWALL_RULE_NAME>

References

Where this check fires

This check runs on every scheduled scan against your GCP account. Findings appear at Cloud Security → Findings filterable by Check 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