How To Install Kali And Metasploit On Android

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.

  1. 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

  1. Install Termux (Terminal emulator with packages) f-droid.org/pacakges/com.termux and open it.

  2. Run

pkg update

  1. 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

  1. Download and install Metasploit by running

curl https://raw.githubus…s/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall

  1. Run

msfconsole

(It may take a several minutes to start)

Next we need to connect it to the GUI!!

  1. Install Mimas: Metasploit for android from Playstore

  2. Go back to Metasploit inside Termux and run

load msgrpc

It will spit out your login information you need to login with Mimas.

  1. Open Mimas and click NO to installing Metasploit. It will take you to the login screen and enter the details from Metasploit,

Happy learning!

7 Likes