Metasploit Inroduction
18 May 2025
• 2 min read
What is Metasploit?
**The Metasploit Framework is a set of tools that allow information gathering, scanning, exploitation, exploit development, post-exploitation, and more. While the primary usage of the Metasploit Framework focuses on the penetration testing domain, it is also useful for vulnerability research and exploit development.
Main Components
- **msfconsole
- **modules
- **tools
Things to know about Metasploit
- **Auxiliary
BASH
/opt/metasploit-framework/embedded/framework/modules# tree -L 1 auxiliary/
TEXT
2. **Encoders : to encode exploits to bypass signature based anti-virus
```bash
/opt/metasploit-framework/embedded/framework/modules# tree -L 1 encoders/- **Evasion
BASH
/opt/metasploit-framework/embedded/framework/modules# tree -L 2 evasion/- **Exploits
BASH
/opt/metasploit-framework/embedded/framework/modules# tree -L 1 exploits/- **NOPS : No operation used to make payloads with consistent size
BASH
/opt/metasploit-framework/embedded/framework/modules# tree -L 1 nops/- **Payloads: They are four types
BASH
/opt/metasploit-framework/embedded/framework/modules# tree -L 1 payloads/1. Adapters: can adapt a payload to different formats. powershell so the payload could be excuted with one command
2. Singels: self-contained payloads doesn't need a downloadable to run
3. Stagers: Responsible to set up connection between metasploit and target machine then downloads stage payload.
4. Stage: Allow large payload sizes
- **Post : Post-Exploitation Module
BASH
/opt/metasploit-framework/embedded/framework/modules# tree -L 1 post/