Skip to main content
All CollectionsMonitoringTests
Test 227: AWS Network ACLs Public Remote Server Administration Access Restricted
Test 227: AWS Network ACLs Public Remote Server Administration Access Restricted
Updated over a month ago

Drata validates that no network access control lists (NACLs) allow unrestricted ingress access (from 0.0.0.0/0) to remove server administration ports such as SSH to port 22 and RDP to port 3389, using either the TDP (6), UDP (17) or ALL (-1) protocols.

The Network Access Control List (NACL) function provide stateless filtering of ingress
and egress network traffic to AWS resources. It is recommended that no NACL allows
unrestricted ingress access to remote server administration ports, such as SSH to port
22 and RDP to port 3389, using either the TDP (6), UDP (17) or ALL (-1) protocols

Public access to remote server administration ports, such as 22 and 3389, increases
resource attack surface and unnecessarily raises the risk of resource compromise.

ASSOCIATED DRATA CONTROL

This test is part of the Access to Remote Server Administration Ports Restricted control (DCF-73) that network security controls are in place to restrict public access to remote server administration ports (e.g., SSH, RDP) to authorized IP addresses or address ranges only.

WHAT TO DO IF A TEST FAILS

If Drata finds that one or more network access control lists (NACLs) allow unrestricted access to remote server administration ports, the test will fail. Public access to remote server administration ports, such as 22 and 3389, increases resource attack surface and unnecessarily raises the risk of resource compromise.

STEPS TO REMEDIATE

From the AWS Management Console, under 'Network ACLs', perform the following steps for each network ACL to remediate:

  1. Select the network ACL.

  2. Click the 'Inbound Rules' tab.

  3. Click the 'Edit inbound rules' button.

  4. Either update the 'Source' field to a range other than 0.0.0.0/0, or click 'Delete' to remove the rule.

Center for Internet Security (CIS)

This test aligns with the Center for Internet Security’s (CIS) foundation benchmarks which provides prescriptive guidance for establishing a secure baseline configuration for Amazon Web Services. To learn more, refer to the Center for Internet Security (CIS) section.

Did this answer your question?