Skip to content
Cloud Security Risk Assessment

Is every SSH, RDP and database port closed to the whole internet (0.0.0.0/0 and ::/0)?

Question 9 of the assessment asks: Is every SSH, RDP and database port closed to the whole internet (0.0.0.0/0 and ::/0)? Open administrative ports are scanned within minutes of appearing, and a single weak or leaked credential is then enough.

Start the assessment ยท All 40 questions

Why it matters

Open administrative ports are scanned within minutes of appearing, and a single weak or leaked credential is then enough.

Answers and what each is worth

AnswerValue
Yes, none are open1
Open on a few exceptions0.5
No or not known0

How to check it in each cloud

AWS
Describe security groups with ip-permission.cidr 0.0.0.0/0 on ports 22, 3389, 3306, 5432 and 1433, or use the matching AWS Config managed rules.
Azure
In Network security groups, search inbound rules with source Any or Internet on those ports, or use the Defender for Cloud recommendation for management ports.
Google Cloud
List firewall rules (gcloud compute firewall-rules list) with source range 0.0.0.0/0 and allowed ports 22, 3389 or database ports.

The fix

Remove every inbound rule from 0.0.0.0/0 and ::/0 on ports 22, 3389 and database ports, and use brokered access instead. Effort: low.

Where it comes from

Sources

  1. Google Cloud security best practices VPC firewall rules, read 16 Nov 2026
  2. Microsoft cloud security benchmark NS-1, read 16 Nov 2026
  3. NIST SP 800-53 Rev. 5 SC-7, read 16 Nov 2026

Last reviewed 16 Nov 2026.