___ ________ ________ ___ _____ _____ _____ _ _____
| \/ |_ _|_ _| \/ | |_ _| _ || _ | | / ___|
| . . | | | | | | . . |______| | | | | || | | | | \ `--.
| |\/| | | | | | | |\/| |______| | | | | || | | | | `--. \
| | | |_| |_ | | | | | | | | \ \_/ /\ \_/ / |____/\__/ /
\_| |_/\___/ \_/ \_| |_/ \_/ \___/ \___/\_____/\____/
MITM-tools is a Python application designed to carry out Man-In-The-Middle (MITM) attacks on IPv6 devices. The application is structured into three main modes: MITM Gateway, Rogue DHCPv6 Server, and Rogue DNS Server.
- MITM Gateway: Intercepts and modifies traffic between devices.
- Rogue DHCPv6 Server: Acts as a fake DHCPv6 server to assign IP addresses.
- Rogue DNS Server: Provides false DNS information to redirect traffic.
- Operating System: Linux
- Python: Python 3.x
- Additional Dependencies:
python-scapyospython-threadingregexdhcpAMipaddress
To install MITM-tools, follow these steps:
- Clone the repository from GitHub:
git clone https://github.com/yourusername/MITM-tools.git- Navigate to the project directory:
cd MITM-tools- Install the required dependencies:
pip install -r requirements.txtTesting was only one on a Linux machine, for this reason it is recommended to not run on Windows, the script might not work properly if it works at all !!
Mitm-tools are made in Python so you will need it to run them.
You can choose one of three modes of to use. The fake gateway mode, the fake DHCPv6 server and the fake DNS server.
You can always use the --help option to get more information about what options the program needs.
user@laptop:~$ sudo python mitm.py dns --helpuser@laptop:~$ sudo python mitm.py gateway -t fe80::abcd:1 -gw fe80::1 -i eth07user@laptop:~$ sudo python mitm.py dhcp -T targets.txt -fA 9999::1 -lA 9999::ffff -i eth07user@laptop:~$ sudo python mitm.py dns -i eth07 -dns ~/Documents/dns.txt -T targets.txtContributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes and commit them (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature-branch). - Open a Pull Request.
For support or inquiries, please contact the project maintainer at branokad33@gmail.com.