Metasploit Framework
v6.4.9Rapid7The best-known exploitation framework: a module library, payload generator (msfvenom), handlers and post modules. Defenders use it to reproduce an attack and confirm a detection fires. The range simulates the console, module search and the telemetry a run would produce — the artifacts a SOC would then hunt for.
- Category
- Exploitation frameworks
- Package
- metasploit-framework
- Runs on
- Linux · Windows
- Commands
- msfconsole, msfvenom, msfdb, searchsploit
Non-interactive: modules and payloads are described and their telemetry is generated. Nothing is compiled, launched or delivered.
Install it
The scripts below install the real Rapid7 package on your own machine — read them first, and run them somewhere you are allowed to change. Inside the range, one press puts the simulated package on your next machine.
On Linux
Debian, Ubuntu, Kali (apt)
- Refresh the package lists
sudo apt update - Install Metasploit Framework
sudo apt install -y metasploit-framework
RHEL, Fedora (dnf)
- Install Metasploit Framework
sudo dnf install -y metasploit-frameworkPackage names drift between distributions; search first if this one misses.
Arch (pacman)
- Install Metasploit Framework
sudo pacman -S --noconfirm metasploit-framework
Alpine (apk)
- Install Metasploit Framework
sudo apk add metasploit-frameworkPackage names drift between distributions; search first if this one misses.
Check it worked
- Confirm it landed on PATH
which msfconsole - Check the version
msfconsole --versionThe range reports 6.4.9.
Remove it
- Take it off again
sudo apt remove --purge metasploit-framework
On Windows
Windows Package Manager (winget)
- Search the catalog
winget search metasploit-framework - Install Metasploit Framework
winget install --id metasploit-framework -ePackage names drift between distributions; search first if this one misses.
Chocolatey (choco)
- Install Metasploit Framework
choco install metasploit-framework -yRun the shell as administrator.
Check it worked
- Confirm it resolves
where msfconsole - Check the version
msfconsole --versionThe range reports 6.4.9.
Remove it
- Take it off again
winget uninstall --id metasploit-framework
Inside the range
- Tick it on the launch screen
Under Metasploit Framework's category on the advanced tool shelf. A lab that depends on it locks the toggle on and says why.
- Or install it from a range terminal
sudo apt install -y metasploit-frameworkThe simulated package manager seeds the same binaries, config and receipt the shelf toggle does.
- Everything here is simulated
No software is downloaded and nothing executes — the range answers from authored fixtures.
Labs that use Metasploit Framework
No lab locks this one on yet — tick it on the launch screen and take it into any scenario.