Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having trouble with honeyd log; it grows way too fast. I started the honeyd daemon with

honeyd -l /var/log/honeypot/honey.log -u 1000 -g 1000 -f honeyd.conf

/var/log/honeypot/honey.log is 1+ GiB log after ~4 hours.

I'm using the following honeyd.conf file:

create default
set default default tcp action block
set default default udp action block
set default default icmp action block

create windows
set windows personality "Microsoft Windows XP Professional SP1"
set windows default tcp action reset
add windows tcp port 22 "scripts/" 
add windows tcp port 135 proxy $ipsrc:135 
add windows tcp port 137 proxy $ipsrc:137
add windows tcp port 138 proxy $ipsrc:138
add windows tcp port 139 proxy $ipsrc:139
add windows tcp port 445 proxy $ipsrc:445 
add windows tcp port 8008 "scripts/"
add windows udp port 137 proxy $ipsrc:137
add windows udp port 138 proxy $ipsrc:138
add windows udp port 445 proxy $ipsrc:445

set windows ethernet "realtek"
bind "" windows

In the logs I can find that it's logging also all packets sent to, and, which are the other IPs in this Ethernet segment.

Is there any way I can filter what's being logged? I only want to log packets directed to the honeypot (

Thanks in advance.

share|improve this question

Usually a large number of log entries from a honeypot are from one of two reasons:

  1. Your environment is getting scanned like a smudged barcode.
  2. You made the mistake of putting your honeypot on a non-dark network.

You've configured your honeypot as a pretty typical Windows desktop, so lots of Windows service active, open sharing, etc. What you are likely seeing is just how incredibly NOISY the NetBIOS protocol is. Windows is exceptionally chatty what with the file and print sharing discovery, Workgroup auto-configuration, and my personal favorite...Browser Elections.

Without actually seeing an analysis of your log files, I'm going to guess you're just being flooded by the honeypot reporting all of that Windows discovery nonsense. By and large honeypots are designed to sit on dark networks, that is a subnet in your address space that is otherwise unallocated. They assume that any traffic reaching the system is malicious, or at the very least invalid, and should be reported on.

share|improve this answer
Yes, it's the damn NetBIOS protocol chit-chat. But my main concern is that it is logging other IPs conversations. Is there any option/way to not log promiscuously? – m0skit0 Dec 20 '12 at 13:25

you could use splunk connect to your honeyd and using it to grap key value you need. as for the log from honeyd just delete it using cron. As splunk has it own DB to get the log

I find it much better and simpler to analyse logs and can help you cut down the amount of data from honeyd

share|improve this answer
Thanks! In fact this is the solution I tried before finding out the NETWORK filter, which is much better in my case and requires much less maintenance :) – m0skit0 Dec 20 '12 at 16:20
up vote 0 down vote accepted

You can tell honeyd to filter by IP (log only communications from/to one specific IP) by changing the NETWORK setting in /etc/defaults/honeyd. In my case:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.