In this article, we will learn how to install the MITMf framework in Kali Linux step by step. MITMF know as Framework for Man-In-The-Middle attacks. This project official no longer used in the Kali Linux official repository. So we have to install MITMf Framework manually in the latest version of Kali Linux.
MITMf
MITMf provides a one-stop-shop for Man-In-The-Middle and network attacks while updating and improving existing attacks and techniques. Originally it is based on other tools like Ettercap, Mallory, etc. It is written from scratch to provide a modular and easy framework that anyone can use it easily and complete their project based on this and they can easily implement their own MITM attack This project is outdated you should have using Bettercap which is updated from time to time and have many more features. But many viewers want this article. So I will show how to install the MITMf framework in Kali Linux.
Install MITMf Framework in Kali Linux
If we want to install MITMf in Kali Linux we have to install many external libraries that are recommended if we want to install MITMf Framework. So we will install this framework using virtualenvs which is to avoid the permission issues and conflicts with our system packages in Kali Linux.
Install required libraries
sudo apt install python2-dev python-setuptools libpcap0.8-dev libnetfilter-queue-dev libssl-dev libjpeg-dev libxml2-dev libxslt1-dev libcapstone4 libcapstone-dev libffi-dev file
Install pip in Kali Linux
For this framework, we have to install python-pip because this framework based on python 2.7 which is the end of life in Kali Linux 2020.
sudo apt install python3-pip -y
Install virtualenvwrapper
sudo pip install virtualenvwrapper
Edit your .bashrc or .zshrc file to source
No we have to edit the following line in your .bashrc or .zshrc file. Its depends on you which shell you are using
sudo nano /home/techdhee/.zshrc
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3.9 source /usr/local/bin/virtualenvwrapper.sh
Now after edit the .bashrc or .zshrc file, Restart your terminal or run the following command:
source /home/username/.zshrc
Create your virtualenv
mkvirtualenv MITMf -p /usr/bin/python2.7
Clone the MITMf repository from GitHub
git clone https://github.com/byt3bl33d3r/MITMf
Installation of MITMf Submodules
Now you have to go to the cloned directory and clone the repos submodules using this command.
cd MITMf && git submodule init && git submodule update --recursive
Install the dependencies
pip install -r requirements.txt
Now, You’re ready to Hunt! MITMf is installed in your Kali Linux 2020.3. Now you can use it.
python mitmf.py -v
Video
In this video I will show How to Install MITMf Framework in Kali Linux
Conclusion
This project is no longer updated. MITMf is 3 years old tool that has no update and many modern tools performing the Man-In-Middle-attack. Now we will get many tools that fulfill the need for this tool. Good luck!
Important Things To Remember:
The author of this article does not promote any illegal activities It is just for education purpose All the activities provided in this article, YouTube channel, and on the website techdhee.org are only for educational purposes. If you are using and follow this tutorial for any illegal purpose, techdhee.org can not be responsible for your action. My purpose is to educate or share the information who have not, how to secure your self from the Internet, and the world of digital. Also, read the Disclaimer
Finally
Thank you for reading this post and keep connected to TECH DHEE to continue enjoying excellent posts. Share your views about this post in the comment section below. If you still have any queries, throw it in the comment section. If you find this post helpful, don’t hesitate to share this post on your social network. It will only take a moment, and also it is quite easy and useful for others.
Related Post