rapid7 /metasploitable3
Metasploitable3 is a VM that is built from the ground up with a large amount of security vulnerabilities.
★ 5,789⑂ 1,272👁 309⑃ 179● 466▤ 0
+4
日增长
5,789
stars
1,272
forks
309
watchers
179
prs
466
issues
0
releases
README
Metasploitable3
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:
1. - 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.
2. 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
3. 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:
1. Clone this repo and navigate to the main directory.
2. Build the base VM image by running packer build --only= ./packer/templates/windows_2008_r2.json where 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.
3. 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.
4. Use vagrant plugin install vagrant-reload to install the reload vagrant provisioner if you haven't already.
5. 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 abTop issues
#207Failed to open a session for the virtual machine20 comments · 2017-11-22#246System error 67 has occurred - win2k811 comments · 2018-03-19#147phpMyAdmin as configured in VM not vulnerable to phpmyadmin_preg_replace module10 comments · 2017-06-01#215fail vagrant up provier8 comments · 2017-12-30#590SSL Validation failure while installing php57 comments · 2023-03-04#343Build 'virtualbox-iso' errored: Error executing Chef: Non-zero exit status: 17 comments · 2018-10-11#574Manage Engine not working6 comments · 2022-06-25#610The SSH connection was unexpectedly closed by the remote end.5 comments · 2023-10-11