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
Learn Penetration Testing

You're reading from   Learn Penetration Testing Understand the art of penetration testing and develop your white hat hacker skills

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781838640163
Length 424 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Rishalin Pillay Rishalin Pillay
Author Profile Icon Rishalin Pillay
Rishalin Pillay
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Section 1: The Basics FREE CHAPTER
2. Introduction to Penetration Testing 3. Getting Started with Kali Linux 4. Section 2: Exploitation
5. Performing Information Gathering 6. Mastering Social Engineering 7. Diving into the Metasploit Framework 8. Understanding Password Attacks 9. Working with Burp Suite 10. Attacking Web Applications 11. Getting Started with Wireless Attacks 12. Section 3: Post Exploitation
13. Moving Laterally and Escalating Your Privileges 14. Antivirus Evasion 15. Maintaining Control within the Environment 16. Section 4: Putting It All Together
17. Reporting and Acting on Your Findings 18. Where Do I Go from Here? 19. Assessments 20. Other Books You May Enjoy

Working with MSFvenom

Earlier in this chapter, we focused on using the Metasploit Framework to exploit a vulnerability on a target system and take control of it. With MSFvenom, instead of relying on a vulnerability in the system, you are aiming to exploit the most common security issue in all organizations: users. This is a vulnerability that can never be fully patched.

MSFvenom is essentially used to build shellcode. Shellcode can be defined as code that, when it is run, creates a reverse remote shell back to the attacker.

Shellcode can be used by inserting it into a file and then sending that file off to your target. This can be done using a phishing campaign, as we learned in Chapter 4, Mastering Social Engineering. Once the file is run, you can obtain remote access to the target's computer. Real-world attackers leverage this technique too. Shellcode is not only limited...

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