Cowrie SSH/Telnet Honeypot https://cowrie.readthedocs.io
Go to file
Michel Oosterhof 821abdf934 rename to 'localsyslog', conflicts with builtin 2015-07-30 07:38:46 +00:00
cowrie rename to 'localsyslog', conflicts with builtin 2015-07-30 07:38:46 +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 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 remove trailing whitespace 2015-06-23 08:20:38 +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 remove trailing whitespace 2015-06-23 08:20:38 +00:00
INSTALL.md small fix 2015-06-23 08:20:12 +00:00
README.md remove duplicate readme, add credit for desaster 2015-05-13 06:42:09 +00:00
cowrie.cfg.dist add ipv6 instructions 2015-06-29 11:36:04 +04: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

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