March 9, 2017

BUILD YOUR OWN LAB

Vitaly Ford

When I started learning cybersecurity, I quickly realized that by just reading the security books, materials, and forums online I cannot remember the concepts I have learnt for too long and with time, they fade away. As you may know, one of the best strategies to learn a subject is to teach it. Realistically, we can argue that active hands-on learning is as effective as teaching the subject (to some extent). Therefore, I decided to dedicate this blog post to the resources that can assist you in designing and developing your own virtual lab, where you can practice all those techniques you learn from the Internet, books, news, going to conferences, and networking with professionals.

First, you would definitely need to learn about how to install a virtual machine (and a hypervisor), which is typically done in Microsoft Hyper-V, Oracle VirtualBox, or VMWare Workstation/Fusion. Second, you can start thinking about developing a networking diagram that will help you keep on track when you start installing virtual machines and connecting them together.

Typically, for the attacking machine, you can set up a Kali box or download a pre-built image from OffensiveSecurity: https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-download/. You will also need to learn about firewalls and pfSense (https://pfsense.org/download/) can be a good start. Then, you can follow the guides that you can find in the Internet or books to install the other machines that will expand your lab environment. For instance, you could install an Ubuntu virtual machine and set it up as a DNS server. Afterwards, you could install a CentOS virtual machine and use it as your web server with the appropriate Apache (or nginx), MySQL, and PHP/Perl/Python (LAMP stack). The following steps could be grabbing the pre-built images from the web sites listed below or install some of those applications on the newly deployed virtual machines.

Some of the books that may help you in making the offensive-security lab are: “Advanced Penetration Testing for Highly-Secured Environments – Second Edition” (By: Lee Allen, Kevin Cardwell) and “The Hacker Playbook 2: Practical Guide To Penetration Testing” (By: Peter Kim). Some of the common ready-to-use virtual machine (VM) images you can deploy in your lab are:

Other resources that may help you develop your practical cybersecurity skills:

References

[1] Free Images: https://pixabay.com/en/monitor-binary-binary-system-1307227/