Cowrie SSH/Telnet Honeypot https://cowrie.readthedocs.io
Go to file
HonigBij 4afea8b187 Support of multiple symlink levels in command_cd 2015-08-25 13:12:26 +02:00
cowrie Support of multiple symlink levels in command_cd 2015-08-25 13:12:26 +02:00
data add /sbin/ethtool to pickle to activate command 2015-07-30 14:14:53 +00:00
dl Added 'empty' folders … 2014-05-28 05:00:21 +01:00
doc remove duplicate readme, add credit for desaster 2015-05-13 06:42:09 +00:00
honeyfs update version string 2015-05-13 06:40:21 +00:00
log/tty Added 'empty' folders … 2014-05-28 05:00:21 +01:00
twisted/plugins auth_none feature 2015-08-19 14:19:01 +00:00
txtcmds remove txtcommands 2015-06-29 12:00:38 +04: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 add syslog to changelog 2015-07-30 07:41:48 +00:00
INSTALL.md small fix 2015-06-23 08:20:12 +00:00
README.md document https://github.com/micheloosterhof/cowrie/issues/19 2015-07-30 21:15:25 +00:00
cowrie.cfg.dist auth_none feature 2015-08-19 14:19:01 +00:00
start.sh run as git plugin, no longer as .tac file 2015-06-03 16:38:01 +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 Upi Tamminen (desaster).

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 3.6.0+

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