How Do I Block Ping.exe?

To test the firewall, I created a simple custom rule for C:\Windows\System32\PING.EXE:
“Block TCP or UDP In/Out From MAC Any To MAC Any Where Source Port is Any and Destination Port Is Any”
However, when I tried:
C:\Windows\System32\ping, I got a response. Why isn’t ping blocked?

Comodo Internet Security doesn’t see “ping.exe” when youvping someone, it sees “System” so you need to create a rule for that “application” but be aware that the “System” application is a collection of other system executables, not only ping.exe.

It is only for testing purposes so it would be OK to block other system executables.
What is the path for “System” (like C:\Windows\System32\PING.EXE for ping)?

Also ping doesn’t use TCP/UDP protocol it uses ICMP (Internet Control Message Protocol), so your rule doesn’t block any of its outgoing traffic.

OK. Thanks. I guess that I will test it using an IP in the browser instead.

It’s just System it has no path (See screenshot)

Remember that you’ve then got to block the IP for the web browser executable in question and not Ping.exe/System.

Otherwise you could set up a temporary “Blocked Application” ruleset to the System application rule and then try to ping something, after testing you can remove the “Blocked Application” ruleset and set something else, otherwise some things may stop working.

[attachment deleted by admin]

OK. Thanks, Sanya!