Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a general telnet server with templates and custom dialog flow #285

Open
adepasquale opened this issue Nov 9, 2015 · 4 comments

Comments

@adepasquale
Copy link
Member

commented Nov 9, 2015

As suggested by @glaslos it would be cool to have a single telnet server implementation with templates and an additional dialog flow mechanism that would easily allow to add more devices.

Ideally it could be a state diagram where:

  • states represent messages sent by the server; and
  • (different) transitions are triggered by (different) client input.

@adepasquale adepasquale self-assigned this Nov 9, 2015

@glaslos glaslos modified the milestone: 0.6.0 Nov 11, 2015

@adepasquale

This comment has been minimized.

Copy link
Member Author

commented Feb 2, 2016

@glaslos I think that telnetsrvlib could do the job.

It supports gevent StreamServer so it should be easy to fit into Conpot.

@glaslos

This comment has been minimized.

Copy link
Member

commented Feb 4, 2016

Ah, this looks great. Should be trivial to use it.

@adepasquale

This comment has been minimized.

Copy link
Member Author

commented Feb 4, 2016

Yes, should be. What if I start working on #282 using telnersrvlib and then eventually rewrite the Kamstrup management module with that same library?

@xandfury

This comment has been minimized.

Copy link
Collaborator

commented Jan 1, 2018

Team, as per discussion with @glaslos , I think it might be a good idea to start with a simple banner with a login prompt, catching username/pass.
I am not sure about the dialog/flow. But my suggestion is to display all the connected slaves, network info (displaying Conpot's IP, Gateway, etc. MAC address etc.) etc. to the connected client.

I have been able to successfully add 1st part to Conpot. Need your input for review and suggestions on part 2.

Some dorking keywords for telnet enabled PLCs to help with this: https://www.slideshare.net/qqlan/internet-connected-icsscadaplc/23
Looking for these keywords show results on shodan such as this:
https://www.shodan.io/search?query=Welcome+to+R230aw

@xandfury xandfury modified the milestones: 0.6.0, 0.6.1 Aug 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.