Giter VIP home page Giter VIP logo

arpdefender's Introduction

arpdefender

MiTM (arp poisoning) prevention on LAN networks

Currently this script is only a small test script, do not use in production environments!

The script generate a IP+ARP association table and then checks every 5 seconds for changes, when it detects a change in the current ARP table it reverts the IP to the original MAC address with a static ARP entry, and prompts the user if he wants to keep the change blocked. If the user don't want to block the change, it deletes the previously created static ARP entry.

To run it, you need bash and zenity (for GUI interaction) and of course, root access.

Limitations:

  • Synchronous GUI! When the GUI is active, the process is stopped!
  • Blocking is not instantaneous, the ARP table can be poisoned up to 5 seconds (due to check rate).
  • Zenity requirements for GUI interaction, I didn't tested running the script from startup (i.e. /etc/rc.local)

Disclaimer:

I do not assure that the script will block ALL the MiTM attacks, nor even all the ARP spoofing attacks. This is only a small test script to implement further if it is successful, no more no less. I'm glad if it works well for you, but I'm not responsible or liable of any failure, loss of performance, loss of data or any other type of damage directly or indirectly derived from the use of this script. You use it at your very own responsability.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.