Commit Graph

1185 Commits

Author SHA1 Message Date
Michel Oosterhof
6fd4e43c59 formatting in README 2016-09-04 21:23:49 +04:00
RkG0
d42ac579c4 rewrite of install instructions (#235)
* untested improvements to Install.md

* fixed missing pycrypto in requirements.txt

* table of contents

* removing citation

* beautification

* remove red hat instructions (they were wrong)

* PYTHONPATH might need to be set regardless

* bugfix

* reorganize, sweeping improvements

* finishing touches
2016-08-31 22:31:12 +04:00
Michel Oosterhof
30b2d3c8b9 accept -P switch for wget 2016-08-26 14:13:28 +00:00
Michel Oosterhof
eb8d3033f9 update README 2016-08-22 17:14:17 +04:00
Michel Oosterhof
ea31ba515d Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2016-08-22 16:09:11 +04:00
Michel Oosterhof
a69fbf4aa2 telnet changelog 2016-08-22 16:08:49 +04:00
Michel Oosterhof
7da1b3479c listen_ssh_addr -> listen_addr 2016-08-22 12:07:24 +00:00
Michel Oosterhof
ef68617ec2 remove 'reset' starttime functionality 2016-08-22 15:58:25 +04:00
Michel Oosterhof
1602fa735a make telnet optional, small prompt fixes 2016-08-22 15:56:53 +04:00
Olivier Bilodeau
31bdc68b0d Fix: Removing timeout on login after a successful login
Timeout will then be defined by HoneyPotBaseProtocol class. Just like
for SSH.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
61318e3c21 New tasks for better customization of Telnet experience 2016-08-22 15:56:53 +04:00
Olivier Bilodeau
97b6cd1bbd Refactoring: tasks added and cleaned-up 2016-08-22 15:56:53 +04:00
Olivier Bilodeau
8374646843 Implemented an alternate code path for proper Telnet clients
Fixes access from both nc style clients and fat Telnet clients. Only
tested with python socket and telnet client from inetutils 1.9.4.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
b4bf14b43d Achieved maximum compatibility with nc like clients
Will figure out how to make it work with both Telnet and nc later.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
7e027fc8f5 Improve compatibility: No longer send a WILL SGA upon connection
These are still attempts at improving things.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
29facd6ffe Protocol changes to prevent Telnet data to appear before password prompt
Not perfect because there is no ECHO when entering Username... A proper
fix will need more testing but I need to gather data now.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
92cc6ee597 Refactoring: MyTelnet gets a proper name 2016-08-22 15:56:53 +04:00
Olivier Bilodeau
670274ad83 Naming fix: HoneyPotTelnetAuthTransport -> HoneyPotTelnetAuthProtocol 2016-08-22 15:56:53 +04:00
Olivier Bilodeau
1dfe826231 Removed debug code that I should have removed earlier
If repository wasn't working for you before, backport this patch.
Sorry.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
65ec25497d Fixed nested CRLF replacements
\r\r\n was sent instead of \r\n due to the protocol hiearchy
implementation. Fixed it by subclass TelnetTransport and removing the
extra \r.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
b11db57425 Fixed Telnet feature negotiation
- all echo bugs resolved with a Telnet client
- A dump client (like ncat) can still perform authentication and
  interact

This last point is important since I'm looking at malware right now
which doesn't understand Telnet special bytes and my previous
implementation was preventing it from reaching an authenticated state.
2016-08-22 15:56:53 +04:00
Olivier Bilodeau
640652207d Basic Telnet support implemented
A squash merge of GoSecure/cowrie telnet-poc branch:
https://github.com/GoSecure/cowrie/tree/telnet-poc

Rebased on current upstream master.

August 2016 update: Resolved several conflicts when rebasing
2016-08-22 15:56:53 +04:00
Michel Oosterhof
bae58890f5 Revert configparser to fix https://github.com/micheloosterhof/cowrie/issues/224 2016-08-22 10:47:12 +00:00
Michel Oosterhof
d23d5ce932 updated 2016-08-21 12:43:13 +04:00
Michel Oosterhof
27bf5345ee send to slack 2016-08-21 12:33:29 +04:00
Michel Oosterhof
28f7906756 only check py3.4 for now 2016-08-20 08:29:43 +00:00
Michel Oosterhof
b9a7e4e8ff explicit conch req 2016-08-20 08:24:05 +00:00
Michel Oosterhof
645f4fe6e5 add configparser dependency 2016-08-20 08:22:23 +00:00
Michel Oosterhof
6759c759e0 add service_identity to silence warnings, may also need for https output clients 2016-08-20 08:07:53 +00:00
Michel Oosterhof
72e34480b7 update dependencies 2016-08-20 08:07:41 +00:00
Michel Oosterhof
c3a0f42fb2 configparser switch 2016-08-20 08:01:56 +00:00
Michel Oosterhof
9e6c146be6 document py3 2016-08-16 12:46:52 +00:00
Michel Oosterhof
94d414b39e revert back to trial from nosetests 2016-08-16 12:46:11 +00:00
Michel Oosterhof
d03cf51549 get ready for py3 2016-08-16 12:37:47 +00:00
Michel Oosterhof
63d31aaee5 python3 updates 2016-08-16 12:35:42 +00:00
Michel Oosterhof
4a307e0c38 convert testing framework to python3 2016-08-16 12:15:44 +00:00
Michel Oosterhof
66384911c7 twisted does not support python 3.2 2016-08-16 12:08:56 +00:00
Michel Oosterhof
89fd2fb038 spelling error 2016-08-16 12:04:58 +00:00
Michel Oosterhof
00ccafe53b specify trusty. precise too old 2016-08-16 11:59:31 +00:00
Michel Oosterhof
319087eced let's try libmpc 2016-08-16 11:54:00 +00:00
Michel Oosterhof
2a6dfcc0d8 install libgmp-dev 2016-08-16 11:49:20 +00:00
Michel Oosterhof
7849fb9768 get package for library. 2016-08-16 11:44:08 +00:00
Michel Oosterhof
e2418366c9 no more python 2.6 2016-08-16 11:41:27 +00:00
Michel Oosterhof
6f2290ce84 change paths for unittests. get ready for travis 2016-08-16 11:39:32 +00:00
Michel Oosterhof
df042e9398 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2016-08-14 14:34:50 +04:00
Timothy-Barron
a56101f325 fixed do_chgrp in fsctl so it changes GID instead of UID (#220)
This bug was probably a result of copied code from do_chown
2016-08-11 13:04:58 +03:00
Michel Oosterhof
37d281ad79 add documentation to systemd entry 2016-07-28 15:17:34 +04:00
Michel Oosterhof
57bb3bc886 put pip reqs in requirements.txt 2016-07-28 15:10:04 +04:00
Michel Oosterhof
4cf4b9b1f4 Fix #206 2016-07-28 14:57:21 +04:00
Michel Oosterhof
ccdc056d50 fix #214 2016-07-28 14:47:30 +04:00