Virtual lab for practicing netcat and NMAP in the course "CEG 3585 Communications de données et réseautage" (Data Communications and Networking) for the Summer 2023 academic term with Professor Miguel Garzon.
The followings tools were used.
- Hypervisor: Oracle Virtual Box
- Linux Distribution: Kali Linux
- Vulnerable Machine: Metasploitable
NOTE: The following instructions were written by me, Kien Do, in May 2023, as a self-note for learning purposes. These instructions may not be applicable in the future.
- Install VirtualBox: https://www.virtualbox.org/wiki/Downloads
- Install Kali Linux VirtualBox image: https://www.kali.org/get-kali/#kali-virtual-machines
- Download 7-zip: https://www.7-zip.org/
- Extract the .7z file
- Install Metasploitable VirtualBox image: https://sourceforge.net/projects/metasploitable/
- Extract the ZIP file
- Add Kali Linux VM
- Open Oracle Virtual Box (Oracle VM VirtualBox Manager)
- Click Add
- Select "kali-linux-2023.1-virtualbox-amd64"
- Double click on the newly added Kali Linux VM on the left column to open it
- To resize the window, go to the View tab -> Auto-resize Guest Display
- Username: kali
- Password: kali
- Add Metasploitable2 VM
- Open Oracle Virtual Box (Oracle VM VirtualBox Manager)
- Click New
- Select Expert Mode
- Name: Metasploitable -- Type: Linux -- Version: Ubuntu (64-bit)
- Under Hard Disk, select "Use an Existing Virtual Hard Disk File"
- Click the folder icon, navigate to your Metasploitable2 folder and select it
- Click Finish
- Username: msfadmin
- Password: msfadmin
- Additional Configurations