Commit Graph

186 Commits

Author SHA1 Message Date
desaster 3912ffb603 Remove connection limit support for now, since adding a protocol wrapper
changes the logging in newer twisted versions, and breaks dblog.



git-svn-id: https://kippo.googlecode.com/svn/trunk@232 951d7100-d841-11de-b865-b3884708a8e2
2013-01-21 12:41:41 +00:00
desaster 9378c6ba22 Limit total number of concurrent connections. Configurable with
connection_limit (default 50).

Also fix logging downloads.



git-svn-id: https://kippo.googlecode.com/svn/trunk@229 951d7100-d841-11de-b865-b3884708a8e2
2013-01-08 21:40:19 +00:00
desaster d0ed22736d Limit number of new files on a filesystem to 10000
git-svn-id: https://kippo.googlecode.com/svn/trunk@228 951d7100-d841-11de-b865-b3884708a8e2
2013-01-08 20:01:25 +00:00
desaster 92f1dec5d6 Add support for limiting the file size of files downloaded with wget.
new kippo.cfg option: download_limit_size

as discussed @ issue 35


git-svn-id: https://kippo.googlecode.com/svn/trunk@227 951d7100-d841-11de-b865-b3884708a8e2
2013-01-08 19:31:20 +00:00
desaster bff1829e3c further fixing on issue 55 - do not set the initial cwd if the path doesn't exist
git-svn-id: https://kippo.googlecode.com/svn/trunk@226 951d7100-d841-11de-b865-b3884708a8e2
2013-01-08 17:52:21 +00:00
desaster 41363db9d4 Add support for specifying MySQL port (issue #61)
git-svn-id: https://kippo.googlecode.com/svn/trunk@225 951d7100-d841-11de-b865-b3884708a8e2
2013-01-08 17:39:02 +00:00
desaster 3a7bcc0ff5 Add support for logging downloaded files via dblog
New mysql table "downloads", see doc/sql/update7.sql



git-svn-id: https://kippo.googlecode.com/svn/trunk@224 951d7100-d841-11de-b865-b3884708a8e2
2013-01-08 17:31:29 +00:00
desaster 96265ebe03 Fix #55 - don't try to change cwd to a directory that doesn't exist
git-svn-id: https://kippo.googlecode.com/svn/trunk@222 951d7100-d841-11de-b865-b3884708a8e2
2012-11-10 16:07:13 +00:00
desaster 4fac0ac51e Make exxxit only available if the client IP is 127.0.0.*
git-svn-id: https://kippo.googlecode.com/svn/trunk@221 951d7100-d841-11de-b865-b3884708a8e2
2012-11-10 14:44:50 +00:00
desaster b53e8a65d1 Don't send key exchange prematurely
git-svn-id: https://kippo.googlecode.com/svn/trunk@220 951d7100-d841-11de-b865-b3884708a8e2
2012-07-08 16:30:32 +00:00
desaster 15777aca0e Another quick interact fix for Putty
git-svn-id: https://kippo.googlecode.com/svn/trunk@219 951d7100-d841-11de-b865-b3884708a8e2
2012-04-13 05:58:58 +00:00
desaster f756438e51 Fix the interact feature to correctly handle line returns when using windows
telnet or putty


git-svn-id: https://kippo.googlecode.com/svn/trunk@218 951d7100-d841-11de-b865-b3884708a8e2
2012-04-13 05:46:16 +00:00
desaster 0eaf51c48e Update the uptime command to display real uptime of the honeypot, and zero
load. This closes issue #47

Also added a small change to ps output.


git-svn-id: https://kippo.googlecode.com/svn/trunk@217 951d7100-d841-11de-b865-b3884708a8e2
2012-04-08 16:41:34 +00:00
desaster ace3015574 experiment: print out passed environment variables to the log
git-svn-id: https://kippo.googlecode.com/svn/trunk@216 951d7100-d841-11de-b865-b3884708a8e2
2012-03-27 07:05:28 +00:00
desaster 69b20c2282 Don't send banner if the banner file is not found (thanks mark)
git-svn-id: https://kippo.googlecode.com/svn/trunk@215 951d7100-d841-11de-b865-b3884708a8e2
2012-03-03 05:15:08 +00:00
desaster 8b336fbb96 don't delete a session from the sessions dict if it's not there
git-svn-id: https://kippo.googlecode.com/svn/trunk@213 951d7100-d841-11de-b865-b3884708a8e2
2011-10-23 16:40:49 +00:00
desaster 8845b2b0eb Fixes and restructuring for the session management code, as well as
disconnect handling in general


git-svn-id: https://kippo.googlecode.com/svn/trunk@212 951d7100-d841-11de-b865-b3884708a8e2
2011-10-23 12:27:01 +00:00
desaster f2488b4173 * Write input from the session manager to ttylog with a different ID
* playlog.py now able to colorify the output based on which streams the input
   is coming form


git-svn-id: https://kippo.googlecode.com/svn/trunk@211 951d7100-d841-11de-b865-b3884708a8e2
2011-10-21 18:35:41 +00:00
desaster 2bb4a198f8 Fix a little typo with the new configuration
git-svn-id: https://kippo.googlecode.com/svn/trunk@210 951d7100-d841-11de-b865-b3884708a8e2
2011-10-21 09:45:54 +00:00
desaster f8429dfd0f Added a telnet based session management interface for interacting with active
sessions


git-svn-id: https://kippo.googlecode.com/svn/trunk@209 951d7100-d841-11de-b865-b3884708a8e2
2011-10-21 09:29:06 +00:00
desaster 796dc1babb Typing ".." in shell raises an exception (Fixes #40)
git-svn-id: https://kippo.googlecode.com/svn/trunk@207 951d7100-d841-11de-b865-b3884708a8e2
2011-04-29 12:27:55 +00:00
desaster adf8346d5b Fix ps to resemble the real thing a bit more
git-svn-id: https://kippo.googlecode.com/svn/trunk@206 951d7100-d841-11de-b865-b3884708a8e2
2011-04-07 18:31:41 +00:00
desaster 6bf84474e6 Fix command_nop
git-svn-id: https://kippo.googlecode.com/svn/trunk@204 951d7100-d841-11de-b865-b3884708a8e2
2011-04-03 11:35:25 +00:00
desaster 432840fd4b Add support for custom commands that mimic actual malware based on their file
name or size


git-svn-id: https://kippo.googlecode.com/svn/trunk@203 951d7100-d841-11de-b865-b3884708a8e2
2011-04-03 11:33:46 +00:00
desaster df4cf41207 New command: yes
git-svn-id: https://kippo.googlecode.com/svn/trunk@202 951d7100-d841-11de-b865-b3884708a8e2
2011-03-15 10:51:50 +00:00
desaster 853c155bda #36: Support sending a banner before authentication
git-svn-id: https://kippo.googlecode.com/svn/trunk@201 951d7100-d841-11de-b865-b3884708a8e2
2011-02-10 16:33:59 +00:00
desaster ba5c073e44 Include general configuration parameters in the cfg instance passed to
DB loggers


git-svn-id: https://kippo.googlecode.com/svn/trunk@200 951d7100-d841-11de-b865-b3884708a8e2
2011-02-07 17:01:45 +00:00
desaster 3f74d2cd44 Workaround for missing log entries by adding a direct method to communicating
with the dbloggers, thus avoiding twisted context/scope problems


git-svn-id: https://kippo.googlecode.com/svn/trunk@199 951d7100-d841-11de-b865-b3884708a8e2
2011-02-06 09:04:44 +00:00
desaster dbf8e84d88 ls -a should at least display '. ..'
git-svn-id: https://kippo.googlecode.com/svn/trunk@198 951d7100-d841-11de-b865-b3884708a8e2
2011-02-06 08:14:31 +00:00
desaster 4fde1e5c52 Fix userdb to support passwords containing the ':' character
git-svn-id: https://kippo.googlecode.com/svn/trunk@197 951d7100-d841-11de-b865-b3884708a8e2
2011-02-06 07:55:35 +00:00
desaster 950ac23907 Initial support for non-root users. Check your root passwords!
Thanks to Walter de Jong for code
Thanks to Christian Rohling for the push



git-svn-id: https://kippo.googlecode.com/svn/trunk@196 951d7100-d841-11de-b865-b3884708a8e2
2011-02-05 21:53:54 +00:00
desaster 7b607acacb Add tab completion for shell
git-svn-id: https://kippo.googlecode.com/svn/trunk@195 951d7100-d841-11de-b865-b3884708a8e2
2011-02-05 18:44:00 +00:00
desaster 73661f1146 Simplified playlog.py
git-svn-id: https://kippo.googlecode.com/svn/trunk@194 951d7100-d841-11de-b865-b3884708a8e2
2011-02-04 13:21:23 +00:00
desaster b06ddcfced Don't perform fake exit on certain SSH clients
git-svn-id: https://kippo.googlecode.com/svn/trunk@193 951d7100-d841-11de-b865-b3884708a8e2
2011-02-03 16:35:54 +00:00
desaster 556a0962c5 Tweaks for symbolic links, display /etc/motd on login
git-svn-id: https://kippo.googlecode.com/svn/trunk@192 951d7100-d841-11de-b865-b3884708a8e2
2011-02-03 16:25:45 +00:00
desaster 524982cdec Add support for symbolic links in ls & cat
git-svn-id: https://kippo.googlecode.com/svn/trunk@191 951d7100-d841-11de-b865-b3884708a8e2
2011-02-03 15:45:52 +00:00
desaster b607e8640c support multiple dblog targets of same type (by common)
git-svn-id: https://kippo.googlecode.com/svn/trunk@186 951d7100-d841-11de-b865-b3884708a8e2
2011-01-17 12:15:24 +00:00
desaster 1b24c69b44 Add xmpp logging (by common)
git-svn-id: https://kippo.googlecode.com/svn/trunk@185 951d7100-d841-11de-b865-b3884708a8e2
2010-12-02 19:39:23 +00:00
desaster 9f33a5a3cb fix deprecated md5 calls (Tomasz Miklas)
git-svn-id: https://kippo.googlecode.com/svn/trunk@183 951d7100-d841-11de-b865-b3884708a8e2
2010-11-03 05:20:41 +00:00
desaster cc8aa24d88 Add some documentation to kippo.cfg.dist
git-svn-id: https://kippo.googlecode.com/svn/trunk@180 951d7100-d841-11de-b865-b3884708a8e2
2010-10-31 12:20:07 +00:00
desaster ce1ad9e87c Skip files if they cause trouble
git-svn-id: https://kippo.googlecode.com/svn/trunk@178 951d7100-d841-11de-b865-b3884708a8e2
2010-10-25 15:11:50 +00:00
desaster 0230b42805 New command: shutdown (jfbethlehem)
git-svn-id: https://kippo.googlecode.com/svn/trunk@177 951d7100-d841-11de-b865-b3884708a8e2
2010-10-25 15:08:53 +00:00
desaster 05b7471708 Add support for fake client IP address (Janne Snabb)
git-svn-id: https://kippo.googlecode.com/svn/trunk@176 951d7100-d841-11de-b865-b3884708a8e2
2010-10-25 14:57:14 +00:00
desaster 34a99b876f Fix exception on a command line without a command, like:
PATH=.


git-svn-id: https://kippo.googlecode.com/svn/trunk@174 951d7100-d841-11de-b865-b3884708a8e2
2010-10-25 14:11:55 +00:00
desaster b4a2e04d99 Add support for multiple long engines.
NOTE: .cfg changed!


git-svn-id: https://kippo.googlecode.com/svn/trunk@173 951d7100-d841-11de-b865-b3884708a8e2
2010-10-23 12:32:49 +00:00
desaster 4af62a5baf fix typo, thanks SURFkees
git-svn-id: https://kippo.googlecode.com/svn/trunk@171 951d7100-d841-11de-b865-b3884708a8e2
2010-10-18 15:31:16 +00:00
desaster b6d5844b71 add support for listening on multiple IP addresses
git-svn-id: https://kippo.googlecode.com/svn/trunk@169 951d7100-d841-11de-b865-b3884708a8e2
2010-08-19 18:21:47 +00:00
desaster 8f0eed20b3 remove unnecessary support for requesting terminal title
git-svn-id: https://kippo.googlecode.com/svn/trunk@168 951d7100-d841-11de-b865-b3884708a8e2
2010-08-19 18:19:54 +00:00
desaster e0a478c3b9 Use a common 32bit little-endian format for ttylog. Existing logs on 64bit
systems will be incompatible).

Added a conversion script (convert32.py).


git-svn-id: https://kippo.googlecode.com/svn/trunk@167 951d7100-d841-11de-b865-b3884708a8e2
2010-08-16 16:15:18 +00:00
desaster de1ee43102 re-add the reconnect hack
git-svn-id: https://kippo.googlecode.com/svn/trunk@166 951d7100-d841-11de-b865-b3884708a8e2
2010-08-14 14:15:57 +00:00