Android Hacking Using Msfvenom
Android Hacking Using Msfvenom
Android Hacking Using Msfvenom
HOME PRACTICE TESTS FEATURED POSTS PENETRATION TESTING ETHICAL HACKING MOBILE HACKING ABOUT
Agenda
In this blog, you will learn how android hacking is performed so you can
practice that on your own. Also, everything you learn here is for
RECENT POSTS
educational purposes and not for any malicious purposes.
Android Phone (I’m using Huawei P20 Lite) OR Android Emulator Top 10 Commonly Overlooked Privacy
Kali Machine Concerns
Using msfvenom
msfvenom is a command-line utility combining the msfpayloads and
msfencode into a single framework. It is used to create payloads in
multiple output formats for multiple target architectures and operating
systems.
You can use the following command to create a malicious APK using
msfvenom
FEATURED POSTS
This will create an APK which does nothing which could be suspicious. To
overcome this, we can bind the payload to an existing APK like Facebook, How to get a security
Instagram, etc. For binding to an existing APK we can slightly change the clearance?
above command as follows
Sharing APK
You can share the APK with the victim through multiple channels
including Whatsapp, website, direct sending, etc.
I am using a simple python server to start the HTTP server and access it
from my phone to download the APK. For this start the server as shown
below
Now open the browser on your phone and type in the IP of the kali
machine (attacker) with port 8000 to download the APK as shown below
Installing APK
After downloading the APK, tap it to install it on the phone.
You might have to do some social engineering to make the victim install
the application accept all of the permissions and ignore the warnings.
Tap on Install and it will show play protect warning as shown below
Tap on Install Anyway to install the application. After that, you might see a
security warning as shown below
Now on the android phone, tap the installed application icon. As soon you
will tap, a connection will be received in metasploit as shown below
Exploring Features
After getting the shell, we can explore multiple features listed below
System Information
Use sysinfo command to get the android device information
Webcam Stream
We can start webcam stream for the front as well as the back camera.
Webcam Snapshot
You can easily take photos using webcam_snap command
Applications
You can list the installed applications on the phone using app_list
command
Copy the package name and use app_run command to run it on the phone
Mic Record
You can use record_mic -d SECONDS command to record the audio from
the mic provided the seconds. The seconds’ value should be doubled to
record the desired time length. i.e. if you want to record for 5 seconds, put
in 10 as the value of seconds.
You can then use any audio player to listen to the recording.
Contacts Dumping
SMS Dumping
Call Logs Dumping
Get Geo Location
Get Environment
Hide the application
Check Root Phone
Previous Post
How to get a security clearance?
Leave a Reply
Comment
Save my name, email, and website in this browser for the next time I
comment.
POST COMMENT
DISCLAIMER