dockerized honeytrap
honeytrap is a low-interaction honeypot daemon for observing attacks against network services. In contrast to other honeypots, which often focus on malware collection, honeytrap aims for catching the initial exploit – It collects and further processes attack traces.
This repository contains the necessary files to create a dockerized version of honeytrap.
This dockerized version is part of the T-Pot community honeypot of Deutsche Telekom AG. For this setup, honeytrap is configured to use the logattacker module only.
The Dockerfile
contains the blueprint for the dockerized honeytrap and will be used to setup the docker image.
The honeytrap.conf
is tailored to fit the T-Pot environment.
The supervisord.conf
is used to start honeytrap under supervision of supervisord.
In case you want to run the dockerized honeytrap independently, you must modify the config files to match your environment and rebuild the docker image.
Using upstart, copy the upstart/honeytrap.conf
to /etc/init/honeytrap.conf
and start using
service honeytrap start
This will make sure that the docker container is started with the appropriate rights and iptables forwards are implemented. Further, it autostarts during boot. In the T-Pot setup, some ports are excluded as they need to be reserved for other honeypot daemons running in parallel.
By default all data will be stored in /data/honeytrap/
until the honeypot service will be restarted which is by default every 24 hours. If you want to keep data persistently simply rename /data/persistence.off
to /data/persistence.on
. Be advised to establish some sort of log management if you wish to do so.