Network misconfigurations

AWS EC2 instance allows public ingress access on NetBIOS port 138


NetBIOS port 138 is used for Network file sharing and shared printer in the LAN. Allowing inbound traffic from all external IP addresses to NetBIOS ports can be risky as your shared resources are exposed over the public internet. It is a best practice to block port 138 completely.