Visualize statistics from a Kippo SSH honeypot
PHP JavaScript CSS
Latest commit da45bdd Dec 24, 2016 @ikoniaris committed on GitHub Merge pull request #57 from siconic/patch-4
Allow sorting and display size for wget commands
Permalink
Failed to load latest commit information.
class Allow sorting and display size for wget commands Dec 19, 2016
generated-graphs Initial commit (version 0.7.6) Jul 7, 2013
images Add VirusTotal icon Jul 31, 2014
include Update xxs_clean Apr 23, 2016
scripts Change the tableSortOrder Dec 2, 2016
styles Added the option for static output in tty log payback Jan 26, 2016
.gitignore Add include/tor/tor_exit_node_list.txt to gitignore Feb 1, 2015
.htaccess Commit .htaccess with mod_rewrite rule to handle AV submissions to ga… Jul 16, 2014
LICENSE.txt Update LICENSE Feb 1, 2015
README.md Change structuring, add various checks, couple of new features Jan 5, 2016
TODO.txt Update TODO Apr 30, 2016
config.php.dist Update config.php.dist Jul 27, 2016
favicon.ico Add favicon.ico Feb 1, 2015
gallery.php Change structuring, add various checks, couple of new features Jan 5, 2016
gpl.txt Initial commit (version 0.7.6) Jul 7, 2013
index.php Change structuring, add various checks, couple of new features Jan 5, 2016
kippo-geo.php Change structuring, add various checks, couple of new features Jan 5, 2016
kippo-graph.php Change structuring, add various checks, couple of new features Jan 5, 2016
kippo-input.php Change structuring, add various checks, couple of new features Jan 5, 2016
kippo-ip.php Change structuring, add various checks, couple of new features Jan 5, 2016
kippo-play.php Add the reading of css Mar 19, 2016
kippo-playlog.php Change structuring, add various checks, couple of new features Jan 5, 2016
kippo-scanner.php Use the new xss_clean class based version Mar 9, 2016
robots.txt Added robots.txt file Jul 16, 2014

README.md

Kippo-Graph

Kippo-Graph is a full featured script to visualize statistics for a Kippo based SSH 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, MaxMind and geoPlugin geolocation technology.

REQUIREMENTS:

  1. PHP version 5.3.4 or higher.
  2. The following packages: libapache2-mod-php5, php5-mysql, php5-gd, php5-curl.

On Ubuntu/Debian:

apt-get update && apt-get install -y libapache2-mod-php5 php5-mysql php5-gd php5-curl

/etc/init.d/apache2 restart

QUICK INSTALLATION:

wget http://bruteforce.gr/wp-content/uploads/kippo-graph-VERSION.tar.gz

mv kippo-graph-VERSION.tar.gz /var/www/html

cd /var/www/html

tar zxvf kippo-graph-VERSION.tar.gz

mv kippo-graph-VERSION kippo-graph

cd kippo-graph

chmod 777 generated-graphs

cp config.php.dist config.php

nano config.php #enter the appropriate values

Browse to http://your-server/kippo-graph to view or generate the honeypot charts and statistics.

Note 1: If you choose to disable REALTIME_STATS in your config.php file it is advisable to setup a cron job to update the charts in the background. The recommended way to do that is to add the following line in your crontab with crontab -e (make sure to change the kippo-graph path if it's different):

@hourly cd /var/www/html/kippo-graph && php kippo-graph.php > /dev/null 2>&1

Note 2: If you want to use the Kippo-Scanner component you will have to allow Kippo-Graph's .htaccess file to take effect. You can do this by editing your Apache configuration file at /etc/apache2/apache2.conf and changing AllowOverride None to AllowOverride All for the /var/www/ Directory (only).

Note 3: To fully use the geolocation features (Intensity Map) you will need to give CREATE TEMPORARY TABLES rights to your MySQL database user (most likely it has already been done).