Cuckoo Sandbox Kali安装记录

官方文档:https://cuckoo.sh/docs/installation/host/requirements.html#installing-python-libraries-on-ubuntu-debian-based-distributions

环境:Kali

Python环境:2.7.13 (pyenv install 2.7.13)

1. 安装指定版本Python

The Cuckoo host components is completely written in Python, therefore it is required to have an appropriate version of Python installed. At this point we only fully support Python 2.7. Older version of Python and Python 3 versions are not supported by us (although Python 3 support is on our TODO list with a low priority).

大概意思:

Cuckoo的主机组件是用python编写的, 且只支持python2.7版本. 不支持的python版本是 2.7以下和python3全系版本.

1.1 安装Python2.7.13

pyenv install 2.7.13

1.2 安装依赖文件

// 我是在root权限下运行的
apt-get install python-virtualenv python-setuptools
apt-get install libjpeg-dev zlib1g-dev swig

为了支持Django的界面,需要安装Mongodb

1.3 安装Mongodb

下载地址:https://www.mongodb.com/try/download/community

下载版本server版本,安装包的deb的

dpkg -i <packagename>

1.4 安装PostgreSql

apt-get install postgresql libpq-dev

1.5 安装tcpdump

为了了解软件在执行期间的网络活动,我们需要正确的配置网络嗅探器用来捕获网络流量并存储为文件.

apt-get install tcpdump apparmor-utils

干活去了, 未完待续