官术网_书友最值得收藏!

Setting up Metasploitable 2 in a VM

The vulnerable virtual machine that we are going to use is Metasploitable 2. The famous H.D. Moore of Rapid7 created this vulnerable system.

There are other deliberately vulnerable systems besides Metasploitable 2 that you can use for your penetration testing learning process, as can be seen at the following site: https://www.vulnhub.com.

Metasploitable 2 has many vulnerabilities in the operating system, network, and web application layers.

Information about the vulnerabilities contained in Metasploitable 2 can be found on the Rapid7 site at https://community.rapid7.com/docs/DOC-1875.

To install Metasploitable 2 in VirtualBox, you can perform the following steps:

  1. Download the Metasploitable 2 file from http://sourceforge.net/projects/metasploitable/files/Metasploitable2/.
  2. Extract the Metasploitable 2 ZIP file. After the extraction process is completed successfully, you will find five files:
Metasploitable.nvram 
Metasploitable.vmdk 
Metasploitable.vmsd 
Metasploitable.vmx 
Metasploitable.vmxf 
  1. Create a new virtual machine in VirtualBox. Set the Name to Metasploitable2, the operating system to Linux, and the Version to Ubuntu.
  2. Set the memory to 1024MB.
  3. In the Virtual Hard Disk setting, select Use existing hard disk. Choose the Metasploitable files that we have already extracted in the previous step.
  4. Change the network setting to Host-only adapter to make sure that this server is accessible only from the host machine and the Kali Linux virtual machine. The Kali Linux virtual machine's network setting should also be set to Host-only adapter for pen testing local VMs.
  5. Start the Metasploitable2 virtual machine. After the boot process is finished, you can log in to the Metasploitable2 console using the following credentials:
    • Username: msfadmin
    • Password: msfadmin

The following is the Metasploitable 2 console after you have logged in successfully:

主站蜘蛛池模板: 牙克石市| 博罗县| 怀安县| 安仁县| 邓州市| 通辽市| 敦化市| 昆山市| 禹城市| 望奎县| 岫岩| 芮城县| 新昌县| 共和县| 政和县| 会泽县| 禄丰县| 博野县| 长汀县| 南通市| 那坡县| 来凤县| 叙永县| 瑞昌市| 屯昌县| 双峰县| 沙坪坝区| 辽源市| 平泉县| 大宁县| 石屏县| 云安县| 大城县| 庄浪县| 土默特左旗| 名山县| 阳朔县| 金华市| 睢宁县| 盐津县| 彝良县|