Dionaea蜜罐部署

http://dionaea.readthedocs.io/en/latest/installation.html

0x00 系统的内核版本和发行版本

1
2
3
4
5
6
7
8
$ uname -a
Linux wsy-virtual-machine 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial

0x01 安装依赖

1
sudo apt-get install autoconf automake build-essential check cython3 libcurl4-openssl-dev libemu-dev libev-dev libglib2.0-dev libloudmouth1-dev libnetfilter-queue-dev libnl-3-dev libpcap-dev libssl-dev libtool libudns-dev python3 python3-dev python3-bson python3-yaml ttf-liberation

0x02 安装dionaea

下载源码:

1
2
git clone https://github.com/DinoTools/dionaea.git
cd dionaea

成功安装所有依赖关系后,运行autreconf来构建或重建构建脚本,要进入./dionaea目录

1
autoreconf -vi

configure:

1
./configure --disable-werror --prefix=/opt/dionaea --with-python=/usr/bin/python3 --with-cython-dir=/usr/bin --with-ev-include=/usr/include/ --with-ev-lib=/usr/lib --with-emu-lib=/usr/lib/libemu --with-emu-include=/usr/include --with-nl-include=/usr/include/libnl3 --with-nl-lib=/usr/lib
1
2
make
make install

蜜罐被装在了/opt/dionaea目录

1
2
/opt/dionaea# ls
bin etc lib var