Thug-Vagrant provides a Vagrant configuration file (Vagrantfile) and shell script to automate the setup of a Thug honeyclient in a virtual machine. The need for this project comes from the lengthy and somewhat difficult installation procedure of Thug which can be discouraging.
REQUIREMENTS:
- VirtualBox
- Vagrant
DOWNLOAD & INSTALL Thug-Vagrant:
git clone https://github.com/ikoniaris/thug-vagrant && cd thug-vagrant vagrant up
This will download (only the first time) a virtual disk, it will create a new Ubuntu 12.04 LTS VM on the fly and start it using VirtualBox. Then Thug and all of its dependencies will be installed on it. And that’s it!
You can then login into the machine by typing “vagrant ssh” or using an SSH client (e.g. PuTTY) and connect to localhost:2222 — username: vagrant, password: vagrant. Once inside the VM, you will find Thug in the /opt/thug/ directory and the main script located at: /opt/thug/src/thug.py. If you want to stop the machine type “vagrant halt” (on the outer terminal, not inside the machine).
Every time you want to start the honeypot VM a simple “vagrant up” issued inside the thug-vagrant directory is enough!