While I plan out how my lab practice will look, it would be good to have something to actually test the security side of the CCIE Security. There is a Linux build, called Kali, designed with all sorts of penetration testing in mind, making it ideal for the job.
However, there is no ready-rolled Qemu build. So, I created one.
We start by creating a folder and downloading the latest ISO:
[email protected]:~# mkdir /opt/unetlab/addons/qemu/linux-kali [email protected]:~# cd /opt/unetlab/addons/qemu/linux-kali/ [email protected]:/opt/unetlab/addons/qemu/linux-kali# wget http://cdimage.kali.org/kali-2016.2/kali-linux-2016.2-amd64.iso --2017-04-05 20:39:36-- http://cdimage.kali.org/kali-2016.2/kali-linux-2016.2-amd64.iso Resolving cdimage.kali.org (cdimage.kali.org)... 22.214.171.124 Connecting to cdimage.kali.org (cdimage.kali.org)|126.96.36.199|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://ftp.hands.com/kali-images/kali-2016.2/kali-linux-2016.2-amd64.iso [following] --2017-04-05 20:39:37-- http://ftp.hands.com/kali-images/kali-2016.2/kali-linux-2016.2-amd64.iso Resolving ftp.hands.com (ftp.hands.com)... 188.8.131.52, 2001:1b40:5600:ff80:f8ee::1 Connecting to ftp.hands.com (ftp.hands.com)|184.108.40.206|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3076767744 (2.9G) [application/octet-stream] Saving to: 'kali-linux-2016.2-amd64.iso' kali-linux-2016.2-amd64.iso 100%[=====================================================>] 2.87G 1.17MB/s in 42m 21s 2017-04-05 21:21:58 (1.15 MB/s) - 'kali-linux-2016.2-amd64.iso' saved [3076767744/3076767744] [email protected]:/opt/unetlab/addons/qemu/linux-kali# mv kali-linux-2016.2-amd64.iso cdrom.iso [email protected]:/opt/unetlab/addons/qemu/linux-kali#
Now we need to create a qemu file to use:
[email protected]:/opt/unetlab/addons/qemu/linux-kali# /opt/qemu/bin/qemu-img create -f qcow2 hda.qcow2 30G Formatting 'hda.qcow2', fmt=qcow2 size=32212254720 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 [email protected]:/opt/unetlab/addons/qemu/linux-kali#
Next, create a Linux node (selecting the Linux-Kali image) in EVE-NG and start it up.
It should boot up:
I chose the graphical install, which was not easy to use as the graphics were a little screwed up, but your mileage may vary. Anyway, install it as you would any other Linux distro.
It does not take long to install, and when done, we have access to a plethora of cool tools!
Now the fun can begin!