LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-30-2005, 12:39 PM   #1
ganz_friedrich
Member
 
Registered: Dec 2005
Posts: 47

Rep: Reputation: 16
Should I be worried - version of putty connecting on telnet


Over the holidays I was accessing a server using the putty ssh client from my holiday location on an rather awful windows set-up.

To cut a stupid windows story short: I accidently used an older version of putty installed by an innocent person. The problem is the next time I opened it I noticed it was defaulted to using Telnet and not ssh (nobody else would have used it in the mean time). So I'm assuming it had "connected" using Telnet the first time round. Except the telnet service is quite rightfully disabled on the server and so connections cannot be made.

Was this a rogue version of putty? Unfortunetly I can't now easily ask the person where it came from or check its md5sum.

Should I be worried? What can I do? Can I tell if the system has been compromised? Everything looks ok, but then again i am new to this.

Stupid stupid me.
 
Old 12-30-2005, 12:54 PM   #2
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
I wouldn't worry about it too much, since the machine you're logging into has telnet disabled. which system are you worried about being compromised?
 
Old 12-30-2005, 01:05 PM   #3
ganz_friedrich
Member
 
Registered: Dec 2005
Posts: 47

Original Poster
Rep: Reputation: 16
Thanks for your fast reply.

I'm worried about the server. That the version of putty fowarded my password on somewhere.

Is there any easy why of checking that a system is compromised? I guess probably not.

This is very frustrating, but I might be just paranoid.
 
Old 12-30-2005, 01:39 PM   #4
Freemor
Member
 
Registered: Aug 2005
Location: New Brunswick
Distribution: Trisquel
Posts: 70
Blog Entries: 8

Rep: Reputation: 15
Just wanted to add a few comments here..

When it comes to computer security it's not a Question of "am I paranoid" but rather "Am I paranoid enough" . I think it is great that you were aware enough to notice the setting and awake enough to question it. Unfortunately I cant offer advice on how to chek the version of putty. other then accessing it again while a program like Ethereal was running and seeing where it was making connections to.

I would suggest rotating you password for the account. (it's what I would do.. but then I know I'm paranoid ) Changing a password is relatively painless and can save a lot of problems. If you are very concerned that there might have been a breach I'd advise who ever admins the server. just let them know that you saw something possibly questionable and want to be sure. I'm sure they will be happy to look into it and happy for the heads up, as a compromised system is easier to fix the earlier it is caught.

another thing you might want to check is the ip addresss of you last few connections (if they are logged and you can go back that far) If you know the ip of the machine with the suspicious putty you can check and see if you actually connected from it.. you could also just scan the connection history for any "weird" ip addys conneting to your account.

Again.. Good work in noticing that it didn't seem right.. better work in questioning it.. I wish most of the people I did tech support for were as "paranoid" as you
 
Old 12-31-2005, 01:52 PM   #5
ganz_friedrich
Member
 
Registered: Dec 2005
Posts: 47

Original Poster
Rep: Reputation: 16
Thanks for the info. Luckily for me, I've managed to get hold of the person who installed that version and he has sent it to me for inspection.

Where can I find the connection history/logs?

Thanks
 
Old 12-31-2005, 02:20 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I'm running openssh version 4.2p1 on Slackware 10.2. Grepping through my logs shows entries for sshd in /var/log/messages and /var/log/secure.

The default Putty log setting is 'Logging turned off completely' so you probably won't be able to retrieve anything useful from the windows box, but since the default log name is 'putty.log' have a look in the directory that putty was installed in - just in case.
 
Old 01-01-2006, 07:14 AM   #7
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
A potential interloper would, at a minimum, have to install a sniffer somewhere between the client and server to intercept your packet. If the client and server are geographically close to one another (fewer hops) that'll reduce the odds even further.

I'd say that unless you've had security breaches in the past, or there's something else going on that makes you suspicious, you shouldn't be particularly worried. Change your password, do a virus scan, and if there aren't any backdoors or rootkits installed on your end just forget about it. If there are security problems on other end admins should have already changed all their passwords as part of their SOP. If they have poor security procedures and practices there's nothing you can do to help them anyway and you might even make yourself a scapegoat for their incompetence.
 
Old 01-03-2006, 04:49 PM   #8
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
There's nothing unusual about that in putty. Older versions of putty (up to some from 18months or 2 years ago or so) always defaulted to telnet. If your Linux machine doesn't have telnet running (and it shouldn't! ) then you must have set putty to ssh and forgot you'd done it when you connected.
 
Old 01-16-2006, 10:52 AM   #9
ganz_friedrich
Member
 
Registered: Dec 2005
Posts: 47

Original Poster
Rep: Reputation: 16
Thank you all for your informative answers. You have taken a weight of my shoulders. I will check the md5sum when I find it, but by what you have said it seems highly unlikely that something fishy went on - and its not like its a multi-million dollar corporation anyway

Thanks again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting through a 'putty' type system airswit Linux - Software 6 12-05-2005 11:55 AM
Using putty on windows connecting to Linux newlinfan Linux - Software 3 09-28-2005 08:19 AM
lose telnet session (timeout ? - putty) alexia AIX 7 08-17-2005 07:47 AM
Client for 'raw telnet mode' like PuTTY wies Linux - Networking 1 03-30-2005 10:20 AM
Putty telnet question (Login Screen goes away) wardialer Linux - Newbie 1 10-16-2004 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration