Sunday , February 17 2019
Breaking News
Home / How-To's / How-To Build a Hacking Lab For Wireshark Training

How-To Build a Hacking Lab For Wireshark Training

Installation – continued…

If you have already grabbed your coffee, and you are somewhere in this part of the installation script, I suggest taking a break to listen to some music or maybe step outside for a minute. This is when the script starts actually building the Docker images. Depending on your system performance level, this part could also take a bit of time.

[*] Not enough w4sp/labs images found, building now
['docker', 'build', '-t', 'w4sp/labs:base', 'base']
['docker', 'build', '-t', 'w4sp/labs:inet', 'inet']
['docker', 'build', '-t', 'w4sp/labs:ftp_tel', 'ftp_tel']
['docker', 'build', '-t', 'w4sp/labs:vrrpd', 'vrrpd']
['docker', 'build', '-t', 'w4sp/labs:switch', 'switch']
['docker', 'build', '-t', 'w4sp/labs:elk', 'elk']
['docker', 'build', '-t', 'w4sp/labs:samba', 'samba']
['docker', 'build', '-t', 'w4sp/labs:victims', 'victims']
['docker', 'build', '-t', 'w4sp/labs:temp', 'temp']
['docker', 'build', '-t', 'w4sp/labs:wireless', 'wireless']

When the script finally completes the installation process you will see confirmation output similar to that below. Your web browser should open up automatically to the lab’s main page as seen in the first screenshot.

 * Serving Flask app "w4sp_webapp" (lazy loading)
 * Environment: production
   WARNING: Do not use the development server in a production environment.
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on (Press CTRL+C to quit)
[*] Lab Launched, Starting Browser
[*] Do not close this terminal. Closing Terminal will terminate lab.

How to build a hacking lab

Go ahead and start up the lab network by clicking on the red “Setup” button on the left side of the lab home page. After a few moments you should notice the red “Kali” dot in the center of your screen will start to update with new machines in a networked topology. Once all hosts are loaded, your hosts should look similar to those in the following screen shot.

Build a Wireshark for Security Professionals Hacking Lab

Clicking the remaining red buttons on the right side of the homepage will continue to add more hosts and reconfigure the lab environment accordingly. The You can play around with your new lab setup by opening up a terminal on your Kali Linux virtual machine and running nmap scans on the Docker subnets to see what ports and services are running.

How to Build a hacking lab for Wireshark training

In this lesson you have learned the necessary steps to get your first hacking lab installed and configured. While this environment was not built primarily for testing the exploitation of vulnerabilities, it should get you started with basic skills like running port scans with NMAP and performing packet captures using tools like Wireshark and tcpdump. You can continue to expand your skills with this lab setup by completing the training steps found in the Wireshark for Security Professionals book. Please share this article with anyone that you think might benefit from the information, and be sure to leave your comments below…

Leave a Reply

Your email address will not be published. Required fields are marked *,