Metasploit

πŸ”§ Tool Note β€” Category: Exploitation Framework | Open Source


πŸ“Œ Quick Overview

What is it? The world’s most used penetration testing framework β€” provides exploit code, payloads, and post-exploitation tools in a unified platform.

Official Website: https://www.metasploit.com/ License: Metasploit Framework (BSD, free) / Pro (commercial) Used in: EHPT

🎯 What Problem Does It Solve?

  • Automates exploitation of known vulnerabilities
  • Provides ready-to-use exploit modules for thousands of CVEs
  • Generates payloads (reverse shells, Meterpreter)
  • Post-exploitation: privilege escalation, persistence, pivoting
  • Standardised penetration testing workflow

πŸ—οΈ Architecture

Metasploit Framework
β”œβ”€β”€ Auxiliary     β†’ Scanning, fuzzing, sniffing
β”œβ”€β”€ Exploit       β†’ Attack code for vulnerabilities
β”œβ”€β”€ Payload       β†’ Code that runs after exploitation
β”œβ”€β”€ Encoder       β†’ Obfuscation to evade antivirus
β”œβ”€β”€ NOP           β†’ Padding for exploits
└── Post          β†’ Post-exploitation modules

πŸ’» Installation

# Kali Linux β€” pre-installed
msfconsole    # Launch
 
# Other Linux β€” use installer
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
chmod 755 msfinstall && ./msfinstall

⚑ Quick Reference

β†’ Metasploit Commands Cheatsheet