Final Project-Exploiting An Android Device
Final Project-Exploiting An Android Device
Please note that any material or activity related to cybersecurity or hacking provided here is intended solely for educational purposes. The purpose of this material is to
increase awareness and understanding of cybersecurity concepts and principles. The activities described in this material should not be attempted outside of a
controlled educational setting. Any attempt to engage in illegal or unethical activities related to cybersecurity could result in serious legal and ethical consequences. It
is the responsibility of individuals to use this information in a responsible and ethical manner.
Objective: You will learn how to use MSFvenom and the Metasploit framework to exploit an Android mobile
device. You will build the payload using MSFvenom, save it as an .apk file, and add a listener to the Metasploit
system.
1. Create two VMs in VMware workstation, Kali Linux and Android emulator (LineageOS 14.1 R5)
Note: instead of using the android emulator you can use your personal device if you wish
In Kali, open the terminal and execute the following command to generate the malicious APK:
Jarsigner is a command-line tool used to digitally sign Java Archive (JAR) files, including APK files in the case of Android
applications. Signing the APK file is crucial as it ensures the integrity and authenticity of the application. Android devices
require properly signed certificates for app installation, and only signed APK files can be installed
Send the file 'singed_jar.apk' to the victim’s email (yourself in this project).
The victim will download the singed_jar.apk file and install it with 'Unknown sources' allowed on the
Android device. Then, run and install the .apk file. After complete installation, we will return to the Kali
machine and start the Meterpreter session.
6. Post-Exploitation Commands
Once a Meterpreter session is acquired on the Android device, execute only 10 commands from the following
for further exploration:
Marking schema
Task Mark
Task 1 2
Task 2 3
Task 3 5
Task 4 5
Task 5 5
Task 6 10
Student engagement* Excellent: 5 points
Good: 2 points
Poor: 0
Total 40
Active Participation: Is the student actively engaged in discussions, asking questions, and providing answers or contributions?
Frequency: How often does the student participate? Are they consistently engaged throughout the session?
Quality of Contributions: Are the student's contributions thoughtful, relevant, and constructive?
Engagement with Peers: Does the student interact with their classmates, providing feedback, encouragement, or assistance when needed?
Links
https://archanatulsiyani21.medium.com/how-to-exploit-any-android-device-using-msfvenom-and-metasploit-
framework-9e90af4a4d7b
https://www.osboxes.org/android-x86/