Cowrie SSH/Telnet Honeypot https://cowrie.readthedocs.io
Go to file
Michel Oosterhof ea4070d0c7 remove trailing spaces 2015-11-19 09:39:44 +00:00
cowrie remove trailing spaces 2015-11-19 09:39:44 +00:00
data add cfg parameter to authdb call 2015-09-06 16:23:27 +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 /proc/version 2015-09-16 14:20:45 +00:00
log/tty Added 'empty' folders … 2014-05-28 05:00:21 +01:00
twisted/plugins move realm out of ssh 2015-11-04 17:32:10 +04:00
txtcmds remove txtcommands 2015-06-29 12:00:38 +04:00
utils add splunk readme 2015-09-25 19:44:18 +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 update changelog 2015-09-25 21:10:26 +00:00
INSTALL.md document workaround for TypeError: must be long, not mpz 2015-09-12 09:47:21 +00:00
README.md minimum supported python is now set to 2.7 2015-10-07 23:39:27 +04:00
cowrie.cfg.dist more instructions for dshield 2015-11-18 19:28:20 +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.7+
  • 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