Perparation for Security Workshop

General steps

Install VirtualBox

  1. Install VirtualBox from standard repository:

    sudo apt-get install virtualbox virtualbox-guest-additions-iso
  2. If it doesn't work properly:
    1. unininstall standard package:

      sudo apt purge virtualbox*
    2. Install additional drivers:

      sudo apt install virtualbox-dkms
    3. Download virtualbox package
    4. Install it:

      sudo dpkg -i virtualbox*.deb

Download VM images

  1. Download from bcserver following files:
    1. Hackathon server level 1.zip,
    2. Hackathon server level 2.zip,
    3. Hackathon server level 3.zip,
    4. Kali.ova.
  2. Check hash sums for downloaded files:
    1. enter command

      md5sum *.zip *.ova
    2. values should be following:

      6801f294177db73799b6fe3d14984a16  Hackathon server level 1.zip
      1d098b6c95e1eb332585cc24d0f02bfc  Hackathon server level 2.zip
      eaea5cc41a49bd4e097a7f56c6b1b44c  Hackathon server level 3.zip
      e582fcac7a199fec6fef73ef16e65fa4  Kali.ova

Configure VirtualBox

  1. Select start menu: Start— System Tools — Oracle VM VirtualBox
  2. If necessary, in VirtualBox, prepare new virtual network:
    1. select menu File— Preferences..., tabs Network and Host-only Networks
    2. Click on + to create vboxnet0 host-only adapter.
  3. Import Kali.ova file as new appliance into VirtualBox.
    1. Check Reinitialize the MAC address for all network cards
    2. Before starting Kali virtual machine, check Settings— Network that its network adapter is attached to Host-only Adapter vboxnet0
  4. Start Kali virtual machine and log in using user root and password toor

Optional task: change connections to NAT Network

By default images are assumed to be set into host-only network, which doesn't have uplink connection to the internet.
That means, you will not be able to do "googling" from Kali Linux machine. But you can change default network settings
for machines to NAT.

  1. Select File — Preferences — Network
  2. If there is no any entry there, press + icon and press OK
  3. Select virtual machine (e.g. Kali) and select Machine — Settings menu and Network tab
  4. from Adapter1 tab select Attached to: NAT and press OK

Note that all virtual machines should be connected on the same (NAT) network, and that with this configuration there will be other addresses (e.g. virtual router) responding in the network.
)))

Tagi:
Izveidojis Valdis Vītoliņš 2017-01-03 10:07
Pēdējais mainījis Valdis Vītoliņš 2018-11-29 10:27
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License