An open-source entry in TopGit's GitHub warehouse: rapid7/metasploitable3, 5.7k stars, HTML. Metasploitable3 is a VM that is built from the ground up with a large amount of security vulnerabilities.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Metasploitable3 is a VM that is built from the ground up with a large amount of security vulnerabilities. It is intended to be used as a target for testing exploits with metasploit.
Metasploitable3 is released under a BSD-style license. See COPYING for more details.
Quick-start
To use the prebuilt images provided at https://app.vagrantup.com/rapid7/ create a new local metasploitable workspace:
Linux users:
mkdir metasploitable3-workspace
cd metasploitable3-workspace
curl -O https://raw.githubusercontent.com/rapid7/metasploitable3/master/Vagrantfile && vagrant up
Windows users:
mkdir metasploitable3-workspace
cd metasploitable3-workspace
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/rapid7/metasploitable3/master/Vagrantfile" -OutFile "Vagrantfile"
vagrant up
Or clone this repository and build your own box.
Building Metasploitable 3
System Requirements:
OS capable of running all of the required applications listed below
VT-x/AMD-V Supported Processor recommended
65 GB Available space on drive
4.5 GB RAM
Requirements:
Packer
Vagrant
Vagrant Reload Plugin
VirtualBox, libvirt/qemu-kvm, or vmware (paid license required), or parallels (paid license required)
Internet connection
To build automatically:
On Linux/OSX run ./build.sh windows2008 to build the Windows box or ./build.sh ubuntu1404 to build the Linux box. If /tmp is small, use TMPDIR=/var/tmp ./build.sh ... to store temporary packer disk images under /var/tmp.
On Windows, open powershell terminal and run .\build.ps1 windows2008 to build the Windows box or .\build.ps1 ubuntu1404 to build the Linux box. If no option is passed to the script i.e. .\build.ps1, then both the boxes are built.
If both the boxes were successfully built, run vagrant up to start both. To start any one VM, you can use:
vagrant up ub1404 : to start the Linux box
vagrant up win2k8 : to start the Windows box
When this process completes, you should be able to open the VM within VirtualBox and login. The default credentials are U: vagrant and P: vagrant.
To build manually:
Clone this repo and navigate to the main directory.
Build the base VM image by running packer build --only=<provider> ./packer/templates/windows_2008_r2.json where <provider> is your preferred virtualization platform. Currently virtualbox-iso, qemu, and vmware-iso providers are supported. This will take a while the first time you run it since it has to download the OS installation ISO.
After the base Vagrant box is created you need to add it to your Vagrant environment. This can be done with the command vagrant box add packer/builds/windows_2008_r2_*_0.1.0.box --name=rapid7/metasploitable3-win2k8.
Use vagrant plugin install vagrant-reload to install the reload vagrant provisioner if you haven't already.
To start the VM, run the command vagrant up win2k8. This will start up the VM and run all of the installation and configuration scripts necessary to set everything up. This takes about 10 minutes.
Once this process completes, you can open up the VM within VirtualBox and login. The default credentials are:
Username: vagrant
Password: vagrant
ub1404 Development and Modification
Using Vagrant and a lightweight Ubuntu 14.04 vagrant cloud box image, you can
quickly set up and customize ub1404 Metasploitable3 for development or
customization. To do so, install Vagrant and a hypervisor such as VirtualBox,
VMWare, or libvirt.
Then, navigate to the chef/dev/ub1404 directory in this repository.
Examine the Vagrantfile there. Select a base box that supports your provider.
Metasploitable ub1404 uses the vagrant chef-solo provisioner. Configure the
chef_solo block in the Vagrantfile with the metasploitable chef recipes that you
desire -- you can browse them in the chef/cookbooks/metasploitable
folder. Or, add or edit your own cookbook and/or recipes there.
From the chef/dev/ub1404 directory, you can run vagrant up
to get a development virtual ub1404 instance. After the initial up build and provision,
when you edit the chef runlist or when you edit a chef recipe, run
vagrant rsync && vagrant provision from the same directory. For faster
development, you can comment-out recipes that you do not need to rerun -- but
even if they are all enabled, vagrant re-provisioning should not take longer than
one or two minutes. Chef aims to be idempotent, so you can rerun this command often.
Consider taking a snapshot (e.g., vagrant snapshot save fresh) before modifying
recipes, so that you can always return to an initial state (vagrant restore fresh).
If you want a totally fresh snapshot, you can do the initialization with
vagrant up --no-provision, then take a snapshot, followed by vagrant provision.
Vulnerabilities
See the wiki page
More Information
The wiki has a lot more detail and serves as the main source of documentation. Please check it out.
Acknowledgements
The Windows portion of this project was based off of GitHub user joefitzgerald's packer-windows project.
The Packer templates, original Vagrantfile, and installation answer files were used as the base template and built upon for the needs of this project.
Does rapid7/metasploitable3 have a project website?
No homepage URL was recorded for rapid7/metasploitable3 in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Does rapid7/metasploitable3 have any tags?
TopGit's last sync did not record any GitHub topics for rapid7/metasploitable3. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on rapid7/metasploitable3?
The most recent commit recorded on rapid7/metasploitable3 was 1.5 years ago, based on the GitHub push timestamp. The repository has 1.3k forks — one of the better signals of community interest.
How many stars does rapid7/metasploitable3 have?
rapid7/metasploitable3 has 5.7k GitHub stars — refresh the page for the live number, or check github.com/rapid7/metasploitable3. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is rapid7/metasploitable3 open source?
TopGit's metadata for rapid7/metasploitable3 does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
Where do I read more about rapid7/metasploitable3?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/rapid7/metasploitable3 is the definitive source.
Read full README in the tab above.
Curious whether metasploitable3 is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about metasploitable3.