Cowrie SSH/Telnet Honeypot https://cowrie.readthedocs.io
Go to file
Michel Oosterhof 736dc90e23 remove link 2015-05-12 15:26:42 +00:00
cowrie cowrie rename 2015-05-12 14:57:29 +00:00
data cowrie rename 2015-05-12 14:57:29 +00:00
dl Added 'empty' folders … 2014-05-28 05:00:21 +01:00
doc add shasum to install data 2015-02-10 12:04:20 +00:00
honeyfs banner_file is now '/etc/issue.net' in honeyfs by default 2015-02-01 07:47:08 +00:00
log/tty Added 'empty' folders … 2014-05-28 05:00:21 +01:00
txtcmds make 2015-04-29 15:39:29 +00:00
utils cowrie rename 2015-05-12 14:57:29 +00:00
.gitattributes cowrie rename 2015-05-12 14:57:29 +00:00
.gitignore cowrie rename 2015-05-12 14:57:29 +00:00
CHANGELOG.md cowrie rename 2015-05-12 14:57:29 +00:00
INSTALL.md cosmetic changes on install.md 2015-05-12 15:22:15 +00:00
README.md remove link 2015-05-12 15:26:42 +00:00
cowrie.cfg.dist install 2015-05-12 15:17:42 +00:00
cowrie.tac cowrie rename 2015-05-12 14:57:29 +00:00
start.sh cowrie rename 2015-05-12 14:57:29 +00:00
stop.sh cowrie rename 2015-05-12 14:57:29 +00:00

README.md

Cowrie

Cowrie is a medium interaction SSH honeypot designed to log brute force attacks and, most importantly, the entire shell interaction performed by the attacker.

Cowrie is directly based on Kippo by desaster. Kippo is inspired, but not based on Kojoney.

Features

Some interesting features:

  • Fake filesystem with the ability to add/remove files. A full fake filesystem resembling a Debian 5.0 installation is included
  • Possibility of adding fake file contents so the attacker can 'cat' files such as /etc/passwd. Only minimal file contents are included
  • Session logs stored in an UML Compatible format for easy replay with original timings
  • Cowrie saves files downloaded with wget/curl or uploaded with SFTP and scp for later inspection

Additional functionality over standard kippo:

  • SFTP and SCP support for file upload
  • Support for SSH exec commands
  • Logging of direct-tcp connection attempts (ssh proxying)
  • Logging in JSON format for easy processing in log management solutions
  • Many, many additional commands

Requirements

Software required:

  • An operating system (tested on Debian, CentOS, FreeBSD and Windows 7)
  • Python 2.5+
  • Twisted 8.0+
  • PyCrypto
  • pyasn1
  • Zope Interface

Files of interest:

  • dl/ - files downloaded with wget are stored here
  • log/cowrie.log - log/debug output
  • log/cowrie.json - transaction output in JSON format
  • log/tty/ - session logs
  • utils/playlog.py - utility to replay session logs
  • utils/createfs.py - used to create fs.pickle
  • data/fs.pickle - fake filesystem
  • honeyfs/ - file contents for the fake filesystem - feel free to copy a real system here

Is it secure?

Maybe. See FAQ

I have some questions!

Please visit https://github.com/micheloosterhof/cowrie/issues