This is used to build a cuckoo vm which can be used for malware analysis.
- Download vagrant from here: http://www.vagrantup.com/downloads.html
- To install on a debian-based platform, use dpkg -i
- Download and install Virtual Box from here: https://www.virtualbox.org/wiki/Downloads
Set up VNC and get access to a trucks machine. If VNC is too painful to use then give teamviwer a shot by setting it up on the malwarrior box:
$ vagrant ssh
$ wget http://www.teamviewer.com/download/teamviewer_linux.deb
$ sudo dpkg --add-architecture i386
$ sudo apt-get update
$ sudo apt-get install gdebi
$ sudo gdebi teamviewer_linux.deb
$ git clone https://github.com/l50/cuckooVagrantBox.git
$ cd cuckooVagrantBox
$ vagrant plugin install vagrant-puppet-install
$ vagrant up
Wait while the VM is downloaded, which could take a bit of time. Eventually, the machine will boot and it will begin the configuration of cuckoo with all of its dependencies utilizing puppet and this script (which has been modified) - https://github.com/buguroo/cuckooautoinstall
If you're on the CS machines you will get an error. No worries. Open the VirtualBox GUI and uncheck 3D acceleration under the graphics settings for the machine. Go ahead and hook the machine up with 4 cores and 4096 MB of RAM while you're in there. Finally, run:
$ vagrant up
Once the machine is finished building (you might get an SSH timeout, who knows why), go to the open GUI window and shut down the machine (if you haven't given it more resources due to the aforementioned error, otherwise disregard this). Go ahead and hook the machine up with 4 cores and 4096 MB of RAM and reboot the machine with the vagrant up command. Open a terminal window and get to work:
$ sudo -s
# mkdir /home/vagrant/xpTransfer
# mkdir /vagrant/vm
# unzip ~/IE6.XP.For.Mac.VirtualBox.zip -d /vagrant/vm
# /usr/lib/virtualbox/VirtualBox
You should be in VirtualBox Manager at this point.
- Click File
- Click Import Appliance
- Input the following for the import path: /vagrant/vm/IE6.WinXP/IE6 - WinXP.ova
- Click import
- Go into the settings for the box
- Change the name to xp
- Upgrade the RAM to 1024 MB
- Change Adapter 1 to Host-only in vboxnet0
- Create shared folder at /home/vagrant/xpTransfer, tick auto mount
- Start the VM
- Click start
- Click Control Panel
- Set the ip settings as follows:
Apache