Hi guys, I’m going to write how to install Metasploit Framework in a Kali VM on Android and connect it to an app for a GUI front-end! Just follow the steps below. Good thing is that you don’t need to root your device, I will be using latest Android Samsung Z Fold 3 as an example.
- Install F-Droid from here: f-droid.org
F-Droid is an alternative app store, and more importantly it has the proper version of Termux
-
Install Termux (Terminal emulator with packages) f-droid.org/pacakges/com.termux and open it.
-
Run
pkg update
- Run the following command to download, install, and run a bare-bones kali (basically just Debian) distribution VM
pkg install wget openssl-tool proot -y && hash -r && wget https://raw.githubus…er/Kali/kali.sh && bash kali.sh
Allow Any Permissions Requested
Start Kali by running
./start-kali.sh
- Download and install Metasploit by running
curl https://raw.githubus…s/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall
- Run
msfconsole
(It may take a several minutes to start)
Next we need to connect it to the GUI!!
-
Install Mimas: Metasploit for android from Playstore
-
Go back to Metasploit inside Termux and run
load msgrpc
It will spit out your login information you need to login with Mimas.
- Open Mimas and click NO to installing Metasploit. It will take you to the login screen and enter the details from Metasploit,
Happy learning!