cowrie
https://github.com/micheloosterhof/cowrie
Python
Cowrie SSH/Telnet Honeypot
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported0 Subscribers
Add a CodeTriage badge to cowrie
Help out
- Issues
- `$@` / `$*` as a whole unquoted word leaves a phantom empty-string argument when there are no positional parameters
- SFTP `upload close()` crashes on Windows with `PermissionError:` renames the temp file while it is still open
- `showPrompt()` crashes every session with a non-ASCII username, immediately after login
- `ftpget` CTRL-C does not stop the transfer: it still completes, updates the `honeyfs`, and logs a download after the shell has moved on
- SFTP upload size is computed from summed `writeChunk()` lengths instead of the real file, wrong for overlapping or sparse writes (and can suppress real-file linking)
- LLM system-prompt template formatting only catches `ValueError`, so several plausible operator-config typos crash every command in the session
- SSH-proxy SFTP packet reassembly desyncs permanently on small/fragmented writes or coalesced messages, silently losing SFTP audit logging for the rest of the connection
- Telnet-proxy login/password capture crashes with `IndexError` if a client sends a bare trailing CR with no follow-up byte in the same packet
- `createdynamicprocess.py` joins process `cmdline` arguments with "/" instead of a space, producing garbled COMMAND output in the honeypot's `ps` command
- `asciinema.py` crashes with `UnicodeDecodeError` converting a `ttylog` that contains any non-UTF-8 byte, aborting the whole conversion (and any remaining logfiles)
- Docs
- Python not yet supported