Skip to content

amandajean119/cuckooVagrantBox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cuckoo Vagrant Box

This is used to build a cuckoo vm which can be used for malware analysis.

Prerequisites

  1. Download vagrant from here: http://www.vagrantup.com/downloads.html
  2. To install on a debian-based platform, use dpkg -i
  3. Download and install Virtual Box from here: https://www.virtualbox.org/wiki/Downloads

UNM specific instructions:

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

Installation of a cuckoo box

$ 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

Set up XP box for analysis

You should be in VirtualBox Manager at this point.

  1. Click File
  2. Click Import Appliance
  3. Input the following for the import path: /vagrant/vm/IE6.WinXP/IE6 - WinXP.ova
  4. Click import
  5. Go into the settings for the box
  6. Change the name to xp
  7. Upgrade the RAM to 1024 MB
  8. Change Adapter 1 to Host-only in vboxnet0
  9. Create shared folder at /home/vagrant/xpTransfer, tick auto mount
  10. Start the VM

Configure XP box

  1. Click start
  2. Click Control Panel
  3. Set the ip settings as follows:

License

Apache

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 99.8%
  • Pascal 0.2%