Ensure that Microsoft Azure network security groups (NSGs) do not allow unrestricted Internet Control Message Protocol (ICMP) access in order to protect against attackers that use brute force methods to gain access to Azure virtual machines associated with these NSGs. Internet Control Message Protocol (ICMP) is an error-reporting protocol that is typically used to troubleshoot TCP/IP networks by generating error messages for any issues with delivering IP packets. Even if ICMP is not a transport protocol, it can be used to exploit network vulnerabilities.
This rule resolution is part of the Conformity Security & Compliance tool for Azure.
Allowing unrestricted access to your Azure virtual machines (VMs) via network security groups (NSGs) can increase opportunities for malicious activities such as denial-of-service (DoS) attacks, Smurf and Fraggle attacks.
Audit
To determine if your Azure network security groups allow unrestricted access using Internet Control Message Protocol (ICMP), perform the following actions:
Remediation / Resolution
To update your Azure NSG rule(s) configuration in order to restrict ICMP access to trusted entities only, such as admin IP addresses or IP ranges, perform the following actions:
References
- Azure Official Documentation
- Azure network security overview
- Network security groups
- Create, change, or delete a network security group
- Azure best practices for network security
- Azure PowerShell Documentation
- az mysql server
- az network nsg list
- az network nsg rule list
- az network nsg rule update