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
Metasploit 5.0 for Beginners

You're reading from   Metasploit 5.0 for Beginners Perform penetration testing to secure your IT environment against threats and vulnerabilities

Arrow left icon
Product type Paperback
Published in Apr 2020
Publisher
ISBN-13 9781838982669
Length 246 pages
Edition 2nd Edition
Arrow right icon
Author (1):
Arrow left icon
Sagar Rahalkar Sagar Rahalkar
Author Profile Icon Sagar Rahalkar
Sagar Rahalkar
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Introduction and Environment Setup
2. Chapter 1: Introduction to Metasploit and Supporting Tools FREE CHAPTER 3. Chapter 2: Setting Up Your Environment 4. Chapter 3: Metasploit Components and Environment Configuration 5. Section 2: Practical Metasploit
6. Chapter 4: Information Gathering with Metasploit 7. Chapter 5: Vulnerability Hunting with Metasploit 8. Chapter 6: Client-Side Attacks with Metasploit 9. Chapter 7: Web Application Scanning with Metasploit 10. Chapter 8: Antivirus Evasion and Anti-Forensics 11. Chapter 9: Cyber Attack Management with Armitage 12. Chapter 10: Extending Metasploit and Exploit Development 13. Chapter 11: Case Studies 14. Other Books You May Enjoy

Using browser autopwn

An interesting auxiliary module for performing client-side attacks is browser_autopwn. This auxiliary module works in the following sequence:

  1. The attacker executes the browser_autopwn auxiliary module.
  2. A web server is initiated (on the attacker's system), which hosts a payload. The payload is accessible over a specific URL.
  3. The attacker sends the specially generated URL to his victim.
  4. The victim tries to open the URL, which is when the payload gets downloaded on his system.
  5. If the victim's browser is vulnerable, the exploit is successful and the attacker gets a Meterpreter shell.

From msfconsole, select the browser_autopwn module using the auxiliary/server/browser_autopwn command, as in the following screenshot. Then, configure the value of the LHOST variable and run the auxiliary module:

Figure 6.22 – Using the browser_autopwn auxiliary module

Running the auxiliary module will create many...

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