Is every SSH, RDP and database port closed to the whole internet (0.0.0.0/0 and ::/0)?
Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.
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
| Answer | Value |
|---|---|
| Yes, none are open | 1 |
| Open on a few exceptions | 0.5 |
| No or not known | 0 |
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
- Google Cloud security best practices VPC firewall rules: VPC firewall rules overview
- Microsoft cloud security benchmark NS-1: source
- NIST SP 800-53 Rev. 5 SC-7: source
Related pages
Sources
- Google Cloud security best practices VPC firewall rules, read 16 Nov 2026
- Microsoft cloud security benchmark NS-1, read 16 Nov 2026
- NIST SP 800-53 Rev. 5 SC-7, read 16 Nov 2026
Last reviewed 16 Nov 2026.