Quick install of Dionaea on Ubuntu
- Dionaea
Updated 05/03/2012: Improved instructions based upon another guide.
Dionaea is a great honeypot but I have found that getting it up and running is not exactly the quickest process in the world.
However, it seems that the honeynet project have started maintaining Ubuntu packages for Dionaea, which makes the install process a lot more simple. The following is how I got it up and running.
Install Dionaea on Ubuntu Natty Narwhal (11.04)
First set up the repository and install dionaea:
sudo add-apt-repository ppa:honeynet/nightly
sudo apt-get update
sudo apt-get install dionaea
Now, a little directory set up:
sudo mkdir -p /var/dionaea/wwwroot
sudo mkdir -p /var/dionaea/binaries
sudo mkdir -p /var/dionaea/log
sudo chown -R nobody:nogroup /var/dionaea/
Now we update our config file:
sudo mv /etc/dionaea/dionaea.conf.dist /etc/dionaea/dionaea.conf
sudo sed -i 's/var\/dionaea\///g' /etc/dionaea/dionaea.conf
sudo sed -i 's/log\//\/var\/dionaea\/log\//g' /etc/dionaea/dionaea.conf
Finally, launch dionaea:
sudo dionaea -c /etc/dionaea/dionaea.conf -w /var/dionaea -u nobody -g nogroup -D
And there you have it! As simple as that. I should note that this will get you up and running quickly but is not necessarily the most secure way to run Dionaea.
This makes it really easy for anyone interested in Dionaea to get it up and running - even Windows users can grab Virtualbox and an Ubuntu Image and be up and running in no time.
Comments !