Home > Dionaea, Honeypot, Tool-Kit > gnuplotsql.py

gnuplotsql.py

Development of new features for Dionaea has been fairly impressive of late, and I’ve been lax in keeping up to date. When Markus asked if I’d tested the graph utility that he created and wrote about here, it served as a kick to stop putting off some of the jobs I’ve got on the growing to-do list.

I won’t go into too much detail about running the script as Markus has already done a better job than I could. However I will point out that if you run your Dionaea installation on Debian stable, then your out of luck; the standard packages for sqlite are too old to take the script. Best advice is to copy your logsql.sqlite database to a Ubuntu machine and work from there (oh, and in case you didn’t guess from the script name, make sure you’ve actually installed gnuplot…).

A powerful machine is recommended, the only Ubuntu system I had to hand whilst testing was my AA1 netbook, which took 85 minutes to crunch through the script and my database.

I have immediately found the graphs produced useful as they’ve highlighted a couple of obvious spikes (see below) in activity that I would have (and did) miss if solely relying on log files and databases. This really shows the power and importance of visualising security and log information.

dionaea-overview

dionaea-overview - from gnuplotsql.py

If you’re interested the output for the InfoSanity’s installation is now online here. I’m looking to expand the statistics from the InfoSanity honeypot environment that are publicly available, this makes a nice start. As always, big thanks to Markus and carnivore.it team for the effort.

– Andrew Waite

Advertisement
Categories: Dionaea, Honeypot, Tool-Kit
  1. Markus
    2010/10/01 at 19:22 | #1

    http://www.infosanity.co.uk/stats/dionaea/2010/08/index.php#overview_smbd
    This one is interesting.
    Basically way more malware downloads than accepted connections in August 2010.
    Using the sqlite db you can figure out which connection caused this and I’d be glad if you could hand me the bistream of this connection.

  2. sai
    2011/02/01 at 12:25 | #3

    can you give me detailed explanation on how to analyze the gnuplot sql graph please

    • 2011/02/03 at 08:51 | #4

      Sai,

      it’s a graph; time along the bottom, higher bar=more hits, legend explains what each colour represents

  3. sai
    2011/02/10 at 07:40 | #5

    how can i contact legend.please help me

  4. sai
    2011/02/14 at 05:44 | #6

    actually what i meant is can u explain me what is a offer,download and uniq from the legend please

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.