Kippo in Docker

Lightweight Kippo SSH Honeypot (81 MB) based on Alpine Linux

Move your real ssh port from default 22 to another (for ex. 22000)

Run this docker image by command:

sudo docker run -p 22:2222 -d \
  --name kippo vensder/alpine-kippo

You can view kippo logs from host by commands:

sudo docker logs kippo
sudo docker logs -f --tail 10 kippo 

Also you may use volume mounting for host user with uid:gid 1001:1001

sudo mkdir -p /home/kippo/log/tty
sudo chown -R 1001:1001 /home/kippo
sudo docker run -p 22:2222 -v /home/kippo/log:/home/kippo/log -d \
   --name kippo vensder/alpine-kippo

If you use SELinux on host system, you must change file SELinux security context:

sudo chcon -Rt svirt_sandbox_file_t /home/kippo

Logs will be write to /home/kippo/log/tty/ directory on your host system.

Go Top
comments powered by Disqus