Giter Site home page Giter Site logo

arp_guard's Introduction

ARP Guard

ARP Guard it's a double edge sword. You could use it as a defensive tool to keep en eye on your network, or as an offensive tool to inspect your target's network. It's a CLI sniffer which sniffs ARP traffic to create its own ARP table. It lets you make and historic of all the hosts that go through your network, as well as tag them.

Some features are

-Identify live hosts within the network  
-Catch ARP spoofing tries or IP changes  
-Sniff ARP traffic  
-Generate an historic ARP table of the target network  
-Sniff the network both actively (with -d or --disc argument) or passively  
-Import/export function using CSV files  
-Email alerts when certain events trigger: on new hosts or ARP spoofing tries 

Getting started

Install python3 and pip.
Nmap is optional (if installed it will automatically grab NetBIOS names from remote hosts).

Install all requirements (Linux users):

pip3 install -r linux_requirements.txt

Install all requirements (Windows users):

pip3 install -r windows_requirements.txt

Start the program with:

python3 arp_guard.py

You could start the program with the following arguments:

-h, --help            show this help message and exit
-s, --sniff           start the program with the sniffer activated
-d, --disc            start the program launching an ARP discovery
--export filename     export ARP table to a CSV file
--import filename     import ARP table from a CSV file

Don't regret later

For using email alerts you will be asked for a valid SMTP email and password. A file with the provided SMTP credentials will be saved locally in an insecure manner (without proper encryption, just as plaintext) under config/. I obviously discourage using your real email in case any breach happens on your system. That said, my wise advice (if you are lazy and don't want to edit the script) is to create a new email and use that one as the sender.

arp_guard's People

Contributors

ajaxr3quest avatar

Watchers

 avatar

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.