ANDROID MOBILE HACKS USING ANDROID DEBUG BRIDGE(ADB)

Hello friends, in this post, I will explain to you how you can exploit in Android device using open ADB port. 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 the Android Open Adb port to exploit it. Let’s get started.

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 black machine, connect the Android device and allow USB debugging at the prompt. To verify that the connection is successful, 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 like
PhoneSploit 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

Step 6: Now to verify that your Device is connected or not, just type 1 in the terminal and you can see the device IP address followed by the Port Number

Step 7: Now to access the shell on the Phone, simply type 4 i.e Access shell on a Phone. Next, you will be asked to the Device name, enter the socket address (IP + Port Number). in my case, it is 192.168.0.104:5555 as

Note: There are lots of exploits here you can do with that Android device. You can go through all of them one by one

 

20 thoughts on “ANDROID MOBILE HACKS USING ANDROID DEBUG BRIDGE(ADB)

  1. Thanks a bunch for sharing this with all of us you actually know what you’re talking about! Bookmarked. Please also visit my website =). We could have a link exchange contract between us!

  2. I haven’t checked in here for some time as I thought it was getting boring, but the last several posts are great quality so I guess I will add you back to my daily bloglist. You deserve it my friend 🙂

Comments are closed.