Sign inSign up

kyberorg/honeypot

By kyberorg

Updated over 5 years ago

A simple SSH honeypot written on Go. Logs the IP address, username, and password.

Image
1

1.1K

kyberorg/honeypot repository overview

Honeypot

Maintainability Go Report Card

A simple SSH honeypot written on Go. Strictly not a honeypot as it doesn't trap or jail anything, it simply collects data on attempts to login to a generic SSH server open to the internet.

The tool runs an SSH server that rejects all login attempts. There is no session created it just allows a login attempt and records the username and password and source IP for later analysis.

Build

Making binary
   make binary

or direct way if make not an option for you

    CGO_ENABLED=0 go build github.com/kyberorg/honeypot/cmd/honeypot
Docker

See our DockerHub Repo

   docker pull kyberorg/honeypot:tagname

Run

   # (Optionally) creating host key
   ssh-keygen -t rsa -f honeypot.id_rsa
   # Run it
   bin/honeypot --hostkey honeypot.id_rsa
Help
   bin/honeypot --help

Tag summary

Content type

Image

Digest

Size

4.1 MB

Last updated

over 5 years ago

docker pull kyberorg/honeypot