Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Complete Metasploit Guide

You're reading from   The Complete Metasploit Guide Explore effective penetration testing techniques with Metasploit

Arrow left icon
Product type Course
Published in Jun 2019
Publisher Packt
ISBN-13 9781838822477
Length 660 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Sagar Rahalkar Sagar Rahalkar
Author Profile Icon Sagar Rahalkar
Sagar Rahalkar
Nipun Jaswal Nipun Jaswal
Author Profile Icon Nipun Jaswal
Nipun Jaswal
Arrow right icon
View More author details
Toc

Table of Contents (28) Chapters Close

Title Page
Copyright About Packt Contributors Preface 1. Introduction to Metasploit and Supporting Tools FREE CHAPTER 2. Setting up Your Environment 3. Metasploit Components and Environment Configuration 4. Information Gathering with Metasploit 5. Vulnerability Hunting with Metasploit 6. Client-side Attacks with Metasploit 7. Web Application Scanning with Metasploit 8. Antivirus Evasion and Anti-Forensics 9. Cyber Attack Management with Armitage 10. Extending Metasploit and Exploit Development 11. Approaching a Penetration Test Using Metasploit 12. Reinventing Metasploit 13. The Exploit Formulation Process 14. Porting Exploits 15. Testing Services with Metasploit 16. Virtual Test Grounds and Staging 17. Client-Side Exploitation 18. Metasploit Extended 19. Evasion with Metasploit 20. Metasploit for Secret Agents 21. Visualizing with Armitage 22. Tips and Tricks 1. Other Books You May Enjoy

Attacking Android with Metasploit

The Android platform can be attacked either by creating a simple APK file, or by injecting the payload into the existing APK. We will cover the first one. Let's get started by generating an APK file with msfvenom, as follows:

On producing the APK file, all we need to do is either convince the victim (perform social engineering) to install the APK, or physically gain access to the phone. Let's see what happens on the phone as soon as a victim downloads the malicious APK:

Once the download is complete, the user installs the file as follows:

Most people never notice what permissions an app asks for while installing a new application on the smartphone. So, an attacker gains complete access to the phone and steals personal data. The preceding screenshot lists the required permissions an application needs to operate correctly. Once the install...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime