Friday, February 6, 2015

Install Cuckoo Sandbox Notes

I thought I would record my notes on installing the cuckoo sandbox.  These notes do not cover the setting up of the configuration files for the sandboxes. 

#!/bin/bash

# Created to install cuckoo Sandbox on Kali linux
# Taken from: http://cyberwarzone.com/perfect-cuckoo-sandbox-installation-guide
# Most of what is in the above link worked

#apt-get install python
#apt-get install python-sqlalchemy python-bson

# If the following repositories are not present they need to be added to /etc/apt/sources.list
# From: docs.kali.org/general-use/kali-linux-sources-list-repositories
#deb http://http.kali.org/kali kali main non-free contrib
#deb http://security.kali.org/kali-security kali/updates main contrib non-free
#deb-src http://http.kali.org/kali kali main non-free contrib
#deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
#deb http://repo.kali.org/kali kali-bleeding-edge main - This will install the kernel 3.18 headers you have to work with this...

# With the bleeding edge it installs the 3.14 linux-image and the 3.18 linux-headers...  Watch out for this mismatch.
#apt-cache search linux-image
#apt-cache search linux-headers


# apt-get upgrade
# apt-get update

## Reboot the Kali workstation

#apt-get install python-libvirt python-dpkt python-pefile python-jinja2 python-magic python-pymongo python-gridfs python-bottle python-chardet

#apt-get install python-pip

#pip install cybox
#pip install jinja2 pymongo bottle pefile django chardet

# Unable to install the below package using pip install ** Error **
#pip install maec==4.0.1.0

#apt-get install virtualbox tcpdump

#setcap cap_net_raw,cap_net_admin=eip /usr/sbin/tcpdump

#adduser cuckoo
#usermod -G vboxusers cuckoo

#apt-get install ssdeep python-pyrex subversion libfuzzy-dev

#pip install ssdeep

#svn checkout http://pyssdeep.googlecode.com/svn/trunk/ pyssdeep-read-only
#cd pyssdeep-read-only
#python setup.py build
#python setup.py install
#cd ..

#apt-get install python-pymongo mongodb

#apt-get install g++ libpcre3 libpcre3-dev  # These packages were already installed when I tried

#wget http://yara-project.googlecode.com/files/yara-1.6.tar.gz
#tar xvzf yara-1.6.tar.gz
#cd yara-1.6
#./configure
#make
#make check
#make install
#cd ..

#wget http://yara-project.googlecode.com/files/yara-python-1.6.tar.gz
#tar xvzf yara-python-1.6.tar.gz
#cd yara-python-1.6
#python setup.py build
#python setup.py install
#cd ..

#apt-get install git
#git clone git://github.com/cuckoobox/cuckoo.git
#wget https://github.com/cuckoobox/cuckoo/archive/master.zip

No comments:

Post a Comment

Test Authentication from Linux Console using python3 pexpect

Working with the IT420 lab, you will discover that we need to discover a vulnerable user account.  The following python3 script uses the pex...