More Info:

No AWS EC2 security group should allow unrestricted inbound access to TCP port 139 and UDP ports 137 and 138 (NetBIOS).

Risk Level

High

Address

Security

Compliance Standards

HIPAA, NIST, SOC2, GDPR

Triage and Remediation

Remediation

To remediate the “Unrestricted Netbios Access Should Not Be Allowed” misconfiguration in AWS using the AWS console, you can follow these steps:

  1. Log in to your AWS Management Console.
  2. Go to the Amazon VPC dashboard.
  3. Click on “Security Groups” from the left-hand menu.
  4. Select the security group that has unrestricted NetBIOS access.
  5. Click on the “Inbound Rules” tab.
  6. Locate the rule that allows unrestricted NetBIOS access (usually port 137-139).
  7. Click on the “Edit” button next to the rule.
  8. Change the source IP address to a specific IP address or range of IP addresses that should be allowed to access NetBIOS.
  9. Click on the “Save” button to save the changes.

By following these steps, you have successfully remediated the “Unrestricted Netbios Access Should Not Be Allowed” misconfiguration in AWS.

Additional Reading: