Using the Metasploit Framework
| Field | Value |
|---|---|
| Module ID | 39 |
| Difficulty | Easy |
| Tier | Tier 0 |
| Category | Offensive |
| Estimated Time | 5 hours |
| Cubes Earned | 0 |
| Experience Points | 495 |
| Creators | 0nenine9 |
| Last Updated | 2022-05-20T00:00:00.000000Z |
| URL | https://academy.hackthebox.com/app/module/39 |
Module Includes
- 15 Sections
- 4 Interactive Exercises
- 0 Assessments
- 0 Cubes
Module Description
The Metasploit Framework is an open-source set of tools used for network enumeration, attacks, testing security vulnerabilities, evading detection, performing privilege escalation attacks, and performing post-exploitation.
Module Summary
This module introduces the fundamentals of the Metasploit Framework with a retrospective analysis of the usage of automated tools in today's penetration testing environments. Despite the industry debates revolving around the level of security knowledge needed to operate a swiss army knife type tool such as Metasploit, frameworks such as this allow for in-depth exploration and auditing for which one might not have the necessary time given different circumstances. In this module, we will cover:
- A preface about using tools
- An overview of the Metasploit Framework
- Metasploit module types
- Setting targets and payloads
- Pivoting between sessions and jobs
- Importing new modules
- Creating a custom payload
- Creating a custom module
- Using Meterpreter and Kiwi
CREST CPSA/CRT-related Sections:
- All sections
CREST CCT APP-related Sections:
- All sections
CREST CCT INF-related Sections:
- All sections
This module is broken down into sections with accompanying hands-on exercises to practice each of the tactics and techniques we cover. The module ends with a practical hands-on skills assessment to gauge your understanding of the various topic areas.
As you work through the module, you will see example commands and command output for the various topics introduced. It is worth reproducing as many of these examples as possible to reinforce further the concepts presented in each section. You can do this in the Pwnbox provided in the interactive sections or your virtual machine.
You can start and stop the module at any time and pick up where you left off. There is no time limit or "grading," but you must complete all of the exercises and the skills assessment to receive the maximum number of cubes and have this module marked as complete in any paths you have chosen.
The module is classified as "Easy" but assumes a working knowledge of the Linux command line and an understanding of information security fundamentals.
A firm grasp of the following modules can be considered prerequisites for successful completion of this module:
- Networking Fundamentals
- Linux Fundamentals
- Web Requests
- Network Enumeration with Nmap
- Getting Started
Sections
15 sections - 4 Interactive
| # | Group | Type | Title |
|---|---|---|---|
| 1 | Introduction | theory | Preface |
| 2 | theory | Introduction to Metasploit | |
| 3 | theory | Introduction to MSFconsole | |
| 4 | MSF Components | interactive | Modules |
| 5 | theory | Targets | |
| 6 | interactive | Payloads | |
| 7 | theory | Encoders | |
| 8 | theory | Databases | |
| 9 | theory | Plugins & Mixins | |
| 10 | MSF Sessions | interactive | Sessions & Jobs |
| 11 | interactive | Meterpreter | |
| 12 | Additional Features | theory | Writing & Importing Modules |
| 13 | theory | Introduction to MSFVenom | |
| 14 | theory | Firewall and IDS/IPS evasion | |
| 15 | theory | Metasploit-Framework Updates - August 2020 |
Conclusion
In this module, we covered the basic functionality and structure of the Metasploit Framework. We have thus laid a foundation for using this tool and can use it as a basis for incorporating the tool into all other modules.
Module Key Takeaways:
- Metasploit Framework layout
- Search functions
- Configuration of exploits and payloads
- Working with the MSF database
- Handling sessions
- General usage of Meterpreter