Responses to broadcast Internet Control Message Protocol (ICMP) echoes provide an attack vector for amplification attacks and can facilitate network mapping by malicious agents. Configuring your system to ignore ICMPv4 echoes provides protection against such attacks.

1

Run the # cat /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts command to verify that the system is not sending responses to ICMP broadcast address echo requests.

2

Configure the host system to deny ICMPv4 broadcast address echo requests.

a

Open the /etc/sysctl.conf file in a text editor.

b

If the value for this entry is not set to 1, add the net.ipv4.icmp_echo_ignore_broadcasts=1 entry.

c

Save the changes and close the file.