Honeyd-Viz is a full featured script to visualize statistics from a Honeyd honeypot.
It uses the Libchart PHP chart drawing library by Jean-Marc Trémeaux, QGoogleVisualizationAPI PHP Wrapper for Google’s Visualization API by Thomas Schäfer, RedBeanPHP library by Gabor de Mooij and geoPlugin’s geolocation technology (geoplugin.com).
- A MySQL database must have been setup and populated using the Honeyd2MySQL script.
- PHP version 5.3.4 or higher.
- The following packages: libapache2-mod-php5, php5-mysql, php5-gd.
apt-get update && apt-get install -y libapache2-mod-php5 php5-mysql php5-gd
mv honeyd-viz-VERSION.tar.gz /var/www
tar zxvf honeyd-viz-VERSION.tar.gz
mv honeyd-viz-VERSION honeyd-viz
chmod 777 generated-graphs
cp config.php.dist config.php
nano config.php #enter the appropriate values
Browse to http://your-server/honeyd-viz to generate the statistics.
Note 1: If you are on a VPS/server and don't want to use the default Apache document root, you will still need to add a new Apache vhost and enable the site.
Note 2: To fully use the geolocation features (Intensity Map) you will need to give CREATE TEMPORARY TABLES rights to your honeyd database user (most likely it has already been done).