Why it matters
A rule admits SSH (22) or RDP (3389) from any address. These are the ports automated credential attacks scan for first, and a login prompt is all that stands behind them.
How to fix it
Remove the rule, or restrict its source to a bastion or VPN range; reach machines through a managed session service instead of an open port.
What TrustIvan reads
- Amazon Web Services: the collector reads what this check needs, so it passes or fails.
- Microsoft Azure: the collector reads what this check needs, so it passes or fails.
- Google Cloud: the collector reads what this check needs, so it passes or fails.
Cloud accounts are read with read-only access. These results describe configuration; they are not an attestation that a benchmark is met. The access to grant: Amazon Web Services, Microsoft Azure, Google Cloud.
Benchmark controls
- CIS Amazon Web Services Foundations Benchmark 3.0.0, control
5.2: No security group admits remote administration from 0.0.0.0/0 - CIS Amazon Web Services Foundations Benchmark 3.0.0, control
5.3: No security group admits remote administration from ::/0 - CIS Microsoft Azure Foundations Benchmark 2.1.0, control
6.1: RDP from the internet is restricted - CIS Microsoft Azure Foundations Benchmark 2.1.0, control
6.2: SSH from the internet is restricted - CIS Google Cloud Platform Foundation Benchmark 3.0.0, control
3.6: SSH is restricted from the internet - CIS Google Cloud Platform Foundation Benchmark 3.0.0, control
3.7: RDP is restricted from the internet
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- The VPC's default security group allows traffic
AWSSeverity: Medium
cloud.network.default-group-allows-traffic - The project still has its default network
Google CloudSeverity: Medium
cloud.network.default-network - Flow logs are kept for less than 90 days
AzureSeverity: Low
cloud.network.flow-log-retention - A rule admits HTTP(S) from any address to a host
AzureSeverity: Low
cloud.network.http-open-to-internet - The project uses a legacy network
Google CloudSeverity: Medium
cloud.network.legacy-network - A network ACL admits remote administration from any address
AWSSeverity: High
cloud.network.nacl-admin-port-open
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation