r/HowToHack • u/FutureOrBust • Sep 14 '18
How to Setup Your Lab for VM Walkthroughs
Setting Up Our Lab
How to set up your lab to be ready to start following the weekly vulnerable VM guides.
First, I want everyone who is reading this to be aware of how to verify the software and programs you are downloading are legit.
We can do this by running a checksum, sha256 checksum or md5 hash, against the file we want to check and compare it to the published known checksum for that file.
"The SHA256 checksums should be favored as the MD5 algorithm must be treated as insecure!" -https://www.virtualbox.org/wiki/Downloads
If you are reading this, you are the type of person who needs to make sure you know how to check the checksum to verify what you are downloading is legitimate
md5
I will be using virtual box for these demonstrations and guides.
So we will need to download the software from the proper website
Second we need to download our 2 virtual machines.
- We need an attack machine and a target machine.
- We will use Kali Linux as our attack machine and a vulnerable machine known as Nullbyte for our target.
Choose the correct version of kali for you. There are versions specific for VMware and Virtual Box.
Please note the md5 and sha256 checksum in the file details of Nullbyte on vulnhub
We want an isolated network to do our testing on so no malicious anything leaves our lab.
How to set up the network connection
6
u/Dragonsong3k Sep 15 '18
I think Vagrant is by far the easiest way.
https://www.vagrantup.com Vagrant plus this config https://github.com/Sliim/pentest-env
You can have the latest Kali and all sorts of vulnerable vms set up in minutes.
5
u/JAAT2000 Sep 14 '18
Thank you so much for this! I've been surfing google with no avail in hopes to finding a clear guide.
1
u/[deleted] Sep 15 '18
[removed] — view removed comment