Commit Graph

30 Commits

Author SHA1 Message Date
Michel Oosterhof 41077d3664
Crash defaults (#1201)
* change defaults on crash reporter
2019-09-06 15:12:52 +01:00
Michel Oosterhof 7a48eda9ec
Telemetry (#1194)
* crashreporter uploads crashes to api.cowrie.org
2019-09-04 16:01:48 +01:00
Guilherme Borges d2fe36c44c
Add option to configure Qemu machine (#1189) 2019-08-27 20:05:24 +01:00
Guilherme Borges cdbb2ac2ab
Improve docs on backend pool (#1187)
* improve docs on backend pool
2019-08-27 18:40:33 +01:00
Guilherme Borges aeba97b4cc
Add a pool of backends for the proxy (#1181)
* add pool configs

* add pool interface from proxy branch

* add support for pool initialisation in plugin

* add pool to telnet

* backend pool as service

* move libvirt backend to own dir

* add NAT settings

* add guest backend config

* check for telnet in nmap if ssh is disabled

* add pool periodic cleanup

* add developer guide for backend pool

* add proxy documentation

* add backend pool docs

* docs on XML configs

* add method to check guest connectivity

* add telnet exec class

* update circle deps

* add tox libvirt dep
2019-08-26 12:11:58 +01:00
Guilherme Borges 34f8464732 Add a Telnet proxy for Cowrie (#1159)
* add telnet proxy
2019-07-01 21:41:03 +04:00
Guilherme Borges cc7d65adc0 Add an SSH proxy for Cowrie (#1154)
* add SSH proxy
2019-06-29 13:20:26 +04:00
Michel Oosterhof 8b7415cb1b
Move `auth_none` and `auth_keyboard_interactive_enabled` to [ssh] config section (#1153) 2019-06-20 11:33:38 +04:00
Mehtab Zafar 4ef3d18270 Remove deprecated options from config file (#1151) 2019-06-20 11:27:50 +04:00
Mehtab Zafar f2c899cb96 Handle timeout error (#1093)
* Handle timeout error
* Add debug option in config file
2019-04-21 11:41:21 +04:00
Mehtab Zafar 140c816569 Add output plugin for greynoise (#1065) 2019-03-23 20:18:42 +04:00
Mehtab Zafar bf46431456 Add output plugin for reverse DNS lookup (#1060)
* Add output plugin for reverse DNS lookup
2019-03-19 15:36:56 +04:00
Mayank Sharma ca45ef8d07 Expose SSH key exchange parameters in config file (#1051)
* Added support for getting encryption, compression, and hash methods from
config file
2019-03-14 10:14:15 +04:00
Mehtab Zafar ce6452c204 Disable keyboard-interactive authentication by default with option to enable (#1033) 2019-03-13 07:38:12 +04:00
Michel Oosterhof 3ce157548c change ssh version to [shell] ssh_version 2019-03-07 23:48:51 +04:00
Michel Oosterhof 0af74b9e97
Configurable timezone (#1032)
* configurable time zone for logging
2019-03-07 23:40:58 +04:00
noamkov 50b31b409b VT: scan only new files (#968) 2018-12-04 12:01:11 +04:00
Michel Oosterhof 305b9b73c3
remove legacy (splunksdk) splunk output plugin (#961) 2018-11-14 23:17:30 +04:00
Michel Oosterhof 8ca39676fd
document hec http/https (#954) 2018-11-07 18:54:14 +04:00
Michel Oosterhof 7aee48df3f
Fabiola busch unix timestamp (#886)
* Add UNIX millisecond epoch time format for logging timestamp by @FabiolaBusch
2018-09-17 11:11:06 +04:00
Michel Oosterhof 32d345f318 remove data_path, add warning on file not found 2018-09-07 18:49:09 +04:00
Florian Pelgrim 891f5da3b5 Refactor UserDB config files (#874)
The data_path has changed to etc/. I'm not really happy with this but
I didn't had a better idea since we allow configs to be in ., etc/ and
/etc. Maybe we wanna changes this behaviour when we have a stable docker
release.

If the userdb.txt is not found Cowrie will load a default list.
The parser is now also a bit less error prone when parsing this file.
2018-09-07 18:45:13 +04:00
Michel Oosterhof 63930fbd46 tty logs in state directory 2018-08-25 03:08:54 +04:00
Florian Pelgrim be3a7235a5 Small config changes (#845)
* Adding /etc/cowrie/cowrie.cfg to possible configurations

We want also to look for /etc/cowrie/cowrie.cfg as a possible
configuration.

* Write ssh host keys into /var/lib/cowrie

Dynamical data should be written into /var/lib/cowrie.
I know that OpenSSH is doing this but we are not OpenSSH and we should
have only stuff written below /var.
So /var/log/cowrie and /var/lib/cowrie.

* Moving log and dl below var/, cleanup old folders

This helps keeping the writes of the daemon in one place and makes it
easier later when building a cowrie package.

Old paths have been removed from the repository to keep it clean.

* Fixing wrong log path

Path should be var/log/cowrie not var/log

* Fixing json output

The json output was not configured to use the default log path. This has
been fixed now.

* Change order of config reads

According to @micheloosterhof there is an order of precedence here.
2018-08-25 03:02:56 +04:00
Michel Oosterhof 15bc61e519 reference log_path instead of directory name 2018-08-11 22:18:18 +04:00
Michel Oosterhof 07594c4add split readonly/readwrite, as suggested by @craneworks 2018-08-11 22:15:33 +04:00
Michel Oosterhof 48adc3160a doc/ -> docs/ 2018-07-20 22:12:30 +04:00
Michel Oosterhof b584287e3a .dist file goes to etc/ 2018-07-20 14:39:49 +04:00
Michel Oosterhof bd85817f2d Revert "move cfg.dist file"
This reverts commit 77d2744403.
2016-11-14 09:24:34 +04:00
Michel Oosterhof 77d2744403 move cfg.dist file 2016-11-14 09:19:15 +04:00