Home » Defense Scripts

Defense Scripts

There is not any easy way to defend an entire network from ARP poisoning. However, the following batch script provides a simple and effective way defend your own system when you connect to public or untrusted network.

This script provides several advantages to simply setting up a static ARP table after you get connected to the network. First, the script is easier to use than setting up a static table. Additionally, the script will notify you if someone does attempt to poison your ARP cache. If ARP poisoning is detected the script will beep and notify you of the attackers IP and MAC address.

Save this batch script as “defendarp.bat” and run with “defendarp.bat <IP Addr to defend>”.

Batch ARP Defense Script

Shows the script being initialized, detecting an attack, and then resetting the ARP Table.

Leave a comment

Your email address will not be published. Required fields are marked *