TMA-ALIBABA-3.2
Ensure that SSH access is restricted from the internet
Description
Security groups provide stateful filtering of ingress/egress network traffic to Alibaba Cloud resources. It is recommended that no security group allows unrestricted ingress access to port 22 or port 3389. Removing unfettered connectivity to remote console services, such as SSH or RDP, reduces a server's exposure to risk. Reported as a manual review item: the benchmark audit needs console review or organisational judgement.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.
1. Logon to ECS Console 2. In the left-side navigation pane, choose Network & Security > Security Groups. 3. Ensure Port is not equal to 22 or 3389 and Action is not Allow. 4. Ensure IP Ranges is not equal to 0.0.0.0 under Source filters.
How it is fixed
Fix method: Guidance or infrastructure patch
1. Logon to ECS Console 2. Go to Security Group 3. Find the Security Group you want to modify 4. Modify Source IP range to specific IP 5. Save
Properties
- Operating systems
- Any
- Tags
- alibabanetwork
- Reference
- CIS Alibaba Cloud Foundation Benchmark v2.0.1 - 3.2 Ensure that SSH access is restricted from the internet