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 week ago

Drata validates that no network access control lists (NACLs) allows unrestricted ingress access (source 0.0.0.0/0) to remote server administration ports, such as port 22 and port 3389, by checking each NACL’s inbound rules.

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 port22 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 find that one or more network access control lists (NACLs) allows unrestricted ingress access (0.0.0.0/0) to remote server administration ports (22 or 3389), 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.

While remediating the test, you are selecting the network ACL that is failing the test and reviewing the configuration of allow and deny rules that may be allowing unrestricted access to remote server administration ports (22 or 3389). When reviewing allow and deny rules, AWS evaluates rules in their numerical order.

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?