Book Image

Mastering Metasploit - Third Edition

By : Nipun Jaswal
Book Image

Mastering Metasploit - Third Edition

By: Nipun Jaswal

Overview of this book

We start by reminding you about the basic functionalities of Metasploit and its use in the most traditional ways. You’ll get to know about the basics of programming Metasploit modules as a refresher and then dive into carrying out exploitation as well building and porting exploits of various kinds in Metasploit. In the next section, you’ll develop the ability to perform testing on various services such as databases, Cloud environment, IoT, mobile, tablets, and similar more services. After this training, we jump into real-world sophisticated scenarios where performing penetration tests are a challenge. With real-life case studies, we take you on a journey through client-side attacks using Metasploit and various scripts built on the Metasploit framework. By the end of the book, you will be trained specifically on time-saving techniques using Metasploit.
Table of Contents (14 chapters)

Summary and exercises

Throughout this chapter, we learned AV evasion techniques using custom encoders, we bypassed the signature matching of IDS systems, and we also avoided Windows firewall blocked ports using the all-TCP-ports Meterpreter payload.

You can try the following exercises to enhance your evasion skills:

  • Try delaying execution of the payload without using sleep() function in the decoder and analyze the detection ratio change
  • Try using other logical operations such as NOT, double XOR, and use simple ciphers such as ROT with the payloads
  • Bypass at least 3 signatures from Snort and get them fixed
  • Learn and use SSH tunneling for bypassing firewalls

The next chapter relies heavily on these techniques and takes a deep dive into Metasploit.