hello friends, In this post, I’ll explain to you that how can you exploit into an Android device using open ADB ports. Android Debug Bridge (ADB) is a command line tool that lets you communicate with an emulator or connected Android device. for this, we will use an open source script. PhoneSploit uses Android Open Adb ports to exploit into it. So let’s start

Steps to enable Developer option in Android Device

Step 1: Go to about phone and then tap 7 times on Build Number as

 

Step 2: Now back to the setting and now you can see, there will be an Option of development setting. click on that and then Enable USB Debugging as

  PhoneSploit Android Open AdbPhoneSploit Android Open Adb

 

Steps to install ADB in Kali Linux

Step 1: open a terminal and then Install the ADB using the following command

sudo apt-get install adb

Step 2: Once ADB is installed in your Kali Machine, connect the Android device and allow the USB Debbuging when prompt. To verify the connection is successful or not, execute the following command

adb devices

PhoneSploit Android Open Adb
you can see that the device is now connected

Step 3: after that, we need to issues some command, so that we can exploit the Android devices using wifi. for that, type the following command

adb usb

Step 4: Again type the following command to enable tcpip in that Android Device

adb tcpip 5555

Step 5: Now connect your Android device to the same wifi Network and type the following command

adb connect xxx.xxx.xxx.xxxx

Note: Where xxx.xxx.xxx.xxx is the IP address of the device. a successful connection will look likePhoneSploit Android Open Adb

Steps to Install PhoneSploit Script into Kali Linux

PhoneSploit is able to Exploit into Android Open Adb ports. So the next step is to install Phonesploit script into Kali Linux. This script is available for both Linux and Windows. You can check the official repository of PhoneSploit here

Step 1: Execute the following command to clone the Phonesploit repository into your Kali Linux

git clone https://github.com/Zucccs/PhoneSploit.git

Step 2: Now install some required dependencies using the following command

pip install colorama

Step 3: Now run the script by the following command

python main_linux.py

Step 4: The default PhoneSploit prompt will look something like this

PhoneSploit Android Open Adb

Step 5: So the first step is to connect the device, for that type 3 in the terminal and enter the IP Address of the device

PhoneSploit Android Open Adb

Note: There are lots of exploits here you can do with that Android device. I can’t explain all of these exploits in a single post.


Rajesh Ranjan

I'm a tech enthusiast currently pursuing B.Tech in Computer Science & Engineering. trying to make things as simple as possible

Leave a Reply