Slashdot Mirror


Hackers Bringing Telnet Back

alphadogg writes "A new report from Akamai Technologies (CT: Requires login) shows that hackers appear to be increasingly using the Telnet remote access protocol to attack corporate servers over mobile networks. The report, which covers the third quarter of 2010, shows that 10 percent of attacks that came from mobile networks are directed at Port 23, which Telnet uses. That marks a somewhat unusual spike for the aging protocol used to log into remote servers but that has been gradually replaced by SSH."

56 of 238 comments (clear)

  1. Re:who still uses telnet? by SirGarlon · · Score: 3, Interesting

    I use telnet clients from time to time, in the lab. You can use it connect and send data to any old port, not just 23. I would never run the telnet daemon though, and seven times never on a box that's exposed to the public Internet.

    --
    [Sir Garlon] is the marvellest knight that is now living, for he destroyeth many good knights, for he goeth invisible.
  2. Re:What's the problem? by dkleinsc · · Score: 3

    Right, but when you type hunter2, we just see *******.

    On another note, anybody who is not currently blocking access port 23, or even worse is running a telnet server, needs to hand in their sysadmin card right now.

    --
    I am officially gone from /. Long live http://www.soylentnews.com/
  3. Re:who still uses telnet? by maotx · · Score: 5, Informative

    I do whenever I need my Star Wars Fix. Just telnet to towel.blinkenlights.nl.

    --
    I'm a virgo and on Slashdot. Coincidence? Yes.
  4. Re:In other news by Rob+Kaper · · Score: 2

    Does it even count as hacking? Running a telnet service should count as granting random people authorised access.

    No more than running an FTP, SMTP, POP, IMAP or HTTP service without proper SSL/TLS/digest enhancements. All of them still industry standards, even the bare versions. But that's okay, the more ICT incompetence on this planet the more money I/we can make, right?

  5. People stopped using Telnet? by Raxxon · · Score: 4, Insightful

    I use telnet constantly. Port 110 to check for a broken email header, Port 25 to check for SMTP auth errors, Port 3200 to check for the present of a NetGen DSS unit, etc, etc... I love telnet. Simple 3-way handshake and boom, datastream.

    1. Re:People stopped using Telnet? by Notquitecajun · · Score: 5, Funny

      You play a MUD still, too. Admit it.

    2. Re:People stopped using Telnet? by omglolbah · · Score: 3, Interesting

      Lensmoor.org port 3500

      Shameless plug. Fun place to hang ;)

    3. Re:People stopped using Telnet? by mvar · · Score: 2

      Yes the telnet client is really useful, but its the server that has some..uhm.."issues".

    4. Re:People stopped using Telnet? by Ephemeriis · · Score: 4, Insightful

      I use telnet constantly. Port 110 to check for a broken email header, Port 25 to check for SMTP auth errors, Port 3200 to check for the present of a NetGen DSS unit, etc, etc... I love telnet. Simple 3-way handshake and boom, datastream.

      Sure, the telnet client is useful. I use it all the time for those very same reasons.

      But actually running a telnet server and allowing incoming connections on port 23? Nope. Stopped doing that for everything I could years ago, switched to SSH on everything that would support it. The things that wouldn't support it were all tucked away on our inside network. I've got nothing facing the world that'll accept connections on port 23.

      --
      "Work is the curse of the drinking classes." -Oscar Wilde
    5. Re:People stopped using Telnet? by SuricouRaven · · Score: 2

      muck.furry.com 8888

    6. Re:People stopped using Telnet? by vagabond_gr · · Score: 5, Funny

      I'm using telnet for ssh too. Doing RSA in your head is a bit tricky at first, but once you get used to it it's really convenient.

      PS. For a real challenge try to PPP authenticate over dial-up using your voice.

    7. Re:People stopped using Telnet? by SuricouRaven · · Score: 2

      Also spr.ctrl-c.liu.se 23. Lots of geeky types there.

    8. Re:People stopped using Telnet? by LordLimecat · · Score: 4, Informative

      So you mean telnet the program, not telnet the protocol-- what the article was about?

    9. Re:People stopped using Telnet? by enec · · Score: 3, Funny

      That's easy play. I surf the web by licking the ethernet cable.

      --
      I'm sorry, I only accept criticism in the form of sed expressions.
    10. Re:People stopped using Telnet? by XorNand · · Score: 4, Insightful

      netcat ("nc" on most Linux distros) provides the same functionality. However, it's also more flexible in that it allows you to test UDP ports and you can easily set it up to listen for incoming connections on an arbitrary port. It's a great tool for troubleshooting firewall issues.

      --
      Entrepreneur : (noun), French for "unemployed"
    11. Re:People stopped using Telnet? by annodomini · · Score: 2

      You might want to look into using Netcat (or socat) for this purpose; more flexible if you want to pipe the output through something like grep or tee, and it won't mistakenly try to interpret certain characters according to the Telnet protocol.

    12. Re:People stopped using Telnet? by TheRaven64 · · Score: 2

      Telnet is fine for testing whether a port is open, but most of the time you want to use SSL. openssl s_client -connect is roughly equivalent to telnet, but also does the TLS handshake for you.

      --
      I am TheRaven on Soylent News
    13. Re:People stopped using Telnet? by trollertron3000 · · Score: 2

      Of course I can. I got a captain crunch whistle embedded in my larynx.

      --
      Tiger Blooded Bi-Winning Machine
    14. Re:People stopped using Telnet? by nblender · · Score: 2

      You joke... When I was a kid, my 300 baud acoustic coupler had a little lever you had to lift up and pivot to simultaneously clamp down the handset and if you lifted it further, it would initiate outgoing carrier instead of listening for carrier... The contacts on the second level were trashed by some previous knucklehead so if you were trying to initiate a dialup session with someone calling you (a friend to trade some Apple-][ warez), I couldn't get my coupler to initiate... So I had to figure out how to whistle the 300baud carrier to get the other modem to start.. Then I could clamp down my handset and start xmodem... Get off my lawn.

  6. Re:who still uses telnet? by AaxelB · · Score: 2

    The only ones I'm aware of are those who play Nethack (or its variants) on a server like nethack.alt.org :)

  7. A tip for management by goodmanj · · Score: 5, Insightful

    If you manage your company or institution's IT department, please do the following:

    Step 1: Turn on "telnet" on your PC. (Of course you Windows, you're management, right?)
    Step 2: Try to "telnet" to your company's website, or to any other machine or service names your underlings bandy about.
    Step 3: If you don't see "Connection refused" every time, FIRE EVERYONE WHO REPORTS TO YOU.

    1. Re:A tip for management by dr2chase · · Score: 4, Funny

      I think it would be ok if it said, "Hello, I am Eliza."

    2. Re:A tip for management by Skater · · Score: 2

      Unfortunately I use a software package that requires telnet. Their SSH solution is basically unusable, and it's not feasible to switch away from that package. Pretty annoying, actually, because every new server is set up with telnet disabled (naturally), and we have to get it re-enabled, and they always put it on a random port number.

    3. Re:A tip for management by goodmanj · · Score: 2

      "websites run on port 80, right?)"

      If you know this, you are not an IT manager. Nice try!

    4. Re:A tip for management by hedwards · · Score: 2

      I take it that tunneling the telnet session via SSH isn't a reasonable option. Telnet at this point is antiquated and anybody that's providing software that requires it needs to be barred from the industry. It hasn't been a reasonable option in my memory, and it wasn't a reasonable option for quite some time when I started picking up FreeBSD in '99 or so.

    5. Re:A tip for management by marcosdumay · · Score: 2

      And how do you feel about GET / HTTP/1.1?

  8. Misleading headline by antifoidulus · · Score: 4, Insightful

    Um, the reason they are using telnet is because it's trivial to hack, in other words the headline should read "hackers hacking easiest to hack service on poorly configured machines, also water is wet, details at 11"

    1. Re:Misleading headline by kbielefe · · Score: 2

      However, there is no good reason to run a telnet daemon these days, especially on the public Internet.

      Interesting you should say that, because the article actually says they don't know if it's brute force login attempts or botnet traffic. A largely unused port with traffic that most people ignore makes sense to park a botnet on. It makes a lot more sense than a sudden spike in system administrator incompetence, which means most of the comments on this story are likely off the mark.

      --
      This space intentionally left blank.
  9. Hackers Bringing Telnet Back? by crow_t_robot · · Score: 5, Insightful

    How can hackers bring telnet attacks back if admins don't run telnet? Should the headline say "Admins are bringing telnet back and getting bitten in the ass for it?"

    1. Re:Hackers Bringing Telnet Back? by gsslay · · Score: 2

      Probably less a case of admins "bringing it back" and more a case of admins forgetting, or being oblivious to it being there in the first place. More and more admins will have scarcely used telnet ever in their professional lives, and so will overlook its presence on their servers. Ideal for hackers.

    2. Re:Hackers Bringing Telnet Back? by heathen_01 · · Score: 3, Insightful

      Its stretching credibility that admins won't know about telnet, but sure I can accept that. However I can't accept an admin missing that an unknown service is running and accepting connections on port 23 that the admin is oblivious about.

    3. Re:Hackers Bringing Telnet Back? by greed · · Score: 2

      Or an admin that has carefully secured a Solaris 10 machine, starting with shutting down telnet and the r* daemons, fingerd and all the other cruft. But then he installs a patch cluster... ...and suddenly all that crap is running again.

      Don't ask me how I know that.

  10. Re:who still uses telnet? by peragrin · · Score: 3, Informative

    SSH isn't always an available option.

    At work our primary application is a telenet app that logs into a specific server. Of course we aren't stupid enough not to use VPN's, and packet filtering to go outside the network(or back in). We tried to upgrade to more secure connection but found the clients to be lacking about 1/2 the features found in the simple telenet client. We were told some of those features might be in the next release or two in three - five years.

    Since businesses get locked into vendor lock-in pretty hard it is very tough to move out. You get stuck doing things insecurely or working around bad security because upgrading isn't possible without millions of dollars being spent uselessly(paying a vendor to bring their applications up to the year 2000 standards).

    I know of one company that used Win16 subsytem as a vital part of their application up until last year. they refused to upgrade it because it worked even though in order to install the application on windows XP often required rebooting into safe mode to bypass enough security to let it install. This Application was the only way to work with their product line too with quarterly updates to the data it contained. Oh and you have to upgrade the entire application in order to update the data inside.

    It is those kinds of practices that make obsolete tech like telenet still exist.

    --
    i thought once I was found, but it was only a dream.
  11. Re:who still uses telnet? by Chapter80 · · Score: 2

    I use telnet clients from time to time, in the lab. You can use it connect and send data to any old port, not just 23. I would never run the telnet daemon though, and seven times never on a box that's exposed to the public Internet.

    Telnet to other ports is a GREAT way to learn how protocols work.

    Here are some exercises: From a DOS prompt, try:

    C:> telnet www.google.com 80
    GET

    GET won't be echoed, but you can see the retrieval of a web page. You can try all commands that are part of the HTTP protocol, including the exchange of cookies, posting data, etc.

    Or try telnet-ing into a pop server.

  12. Re:who still uses telnet? by hydrofix · · Score: 3, Informative

    You might have better success with even a semi-valid HTTP/1.1 request such as

    GET / HTTP/1.1
    Host: www.google.com

    Also, using telnet here is redundant. You should consider using one of the several netcats available. Some even support nice features like SSL encryption, so you can make encrypted requests to to the https port (443).

  13. Re:who still uses telnet? by morgan_greywolf · · Score: 2

    In addition, a lot of switches and other network equipment still don't have SSH. Even switches only a couple of years old.

  14. Re:Good ole days by John+Hasler · · Score: 4, Insightful

    If telnet reminds you of when you were young you aren't old.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  15. Re:who still uses telnet? by Lumpy · · Score: 2

    Godaddy.com

    ALL of their hosting has telnet and open FTP you have to specially request SSH and SFTP.

    --
    Do not look at laser with remaining good eye.
  16. Re:What's the problem? by camperdave · · Score: 2

    ... anybody who is not currently blocking access port 23, or even worse is running a telnet server, needs to hand in their sysadmin card right now.

    Ever hear the term honeypot?

    --
    When our name is on the back of your car, we're behind you all the way!
  17. Re:who still uses telnet? by Onuma · · Score: 2

    I have to post this anonymously for the safety of my job.

    If you're worried about potentially losing your job over that type of comment, then I hope you're not posting this from work ...

    --
    What else can happen when an unstoppable force collides with an immovable object?
  18. Re:who still uses telnet? by Runaway1956 · · Score: 3, Insightful

    Right on target. I've witnessed many a clerk in a shipping/receiving department using telnet to connect to a server. Not just in-house, but often times across the country. People put those computers in place, and set up their systems 20 years ago, or more, and they aren't about to change. "Don't fix what ain't broke!"

    --
    "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
  19. Re:who still uses telnet? by zach_the_lizard · · Score: 3, Interesting

    This is the case with certain Cisco IOS versions. It has to be a crypto version of IOS to support SSH.

    --
    SSC
  20. Re:In other news by CastrTroy · · Score: 2

    Well, to be a little more precise, FTP, SMTP, POP and IMAP don't give you command line (root) access to the computer you happen to get access too. If you break into an FTP Server, you only have access to the files that are put up on the FTP directories of that server. And possibly the right to upload new files. Which is a little less problem then having root access to the entire server. Same goes for all the other services you mention. I will have to give you this. I don't think Telnet is really that bad of a thing overall. If it has a properly secure password on it that is changed often enough, it really isn't that much less secure than SSH. Sure there's the whole MITM attack vector, but that's way too complicated considering the number of easy to attack machines there are out there.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  21. Re:who still uses telnet? by MrVictor · · Score: 2
    Just a nitpick but that HTTP request is still invalid.

    GET / HTTP\1.1 Host: www.google.com

  22. Re:who still uses telnet? by Tanktalus · · Score: 3, Insightful

    That's not a good reason to use telnet. That's a good reason not to use Godaddy.

    (Using dreamhost.com here, and I use ssh and rsync-over-ssh to do all of that... I wonder if sshfs would work, I imagine it would.)

  23. Re:In other news by multisync · · Score: 2

    Does it even count as hacking?

    No.

    I saw the headline, and thought the story was about hackers finding some new and novel use for telnet. You know, hacking.

    But it's just another article about infected Windows machines using brute force attacks on port 445 and - apparently - 23. You know, "hacking."

    Here's my favorite part:

    Administrators are generally advised to disable Telnet if the protocol is not used to prevent attacks targeting it, but some forget.

    As Steve Martin once said, "I'm sorry officer, I forgot armed robbery was illegal."

    --
    I don't care why you're posting AC
  24. Re:who still uses telnet? by Yvanhoe · · Score: 2

    We were told some of those features might be in the next release or two in three - five years.

    I may sound like a preacher, but that is exactly why you want to use open source software in as many aspects of your company as possible : to develop the features you lack at a given point without depending on a dozen of third parties who can't agree with each others. I know you probably aren't the one making the decision, but that is a point to regularly make : "if you had used the open alternative, we could have added this feature. Now we can't and need to wait for another company's goodwill".

    --
    The Wise adapts himself to the world. The Fool adapts the world to himself. Therefore, all progress depends on the Fool.
  25. Get your hackin' on by llManDrakell · · Score: 4, Funny

    I'm bringin' telnet back.
    Them other protocols don't know how to act.
    I think it's special what's inside your rack.
    So enable the service and I'll begin to hack.

  26. Re:who still uses telnet? by mlts · · Score: 2

    I had to deal with a similar setup a few years ago. What I did was put them on their own Ethernet segment that was completely isolated from everything but one machine. Even the subnet had a separate hardware switch so there was no way (other than physical access or compromise of the telnet server) that the unencrypted traffic could be intercepted. This machine was what people telnetted into, then ssh-ed out from to do work. This way, the only real weak link were the paths from the terminals to the switch, and the switch to the telnet server.

    Of course, this may not be possible in all environments, but putting a box that is just used for telnetting into and either directly connecting terminals to that box via crossover cables, or using a good switch may help mitigate things.

  27. Know your RFCs (was Re:who still uses telnet?) by Xenophon+Fenderson, · · Score: 2

    Just to be clear, TELNET and TCP are not synonymous. The FTP command channel uses TELNET as a session protocol, transported by TCP with the server usually listening on port 21. Conversely, SMTP and HTTP are their own session protocols, probably because TELNET isn't 8-bit-clean. This is why netcat, which normally uses raw TCP sockets, has a command-line option specifically for interoperation with TELNET and TELNET-based protocols.

    Best wishes,
    Matthew

    --
    I'm proud of my Northern Tibetian Heritage
  28. Re:who still uses telnet? by SuricouRaven · · Score: 3, Insightful

    Would you like to drop the firewalls, then? Perimeter security isn't a complete security solution, but it's still a major part.

  29. They are forgetting something... by CoolVibe · · Score: 4, Insightful

    Seeing traffic on port 23 does not mean telnet is involved. I know some people who run their SSH daemon on that port to lessen the stupid ssh scans.

  30. Re:who still uses telnet? by blacklint · · Score: 2

    Maybe he means "safety of my job" as in "so no one knows to telnet into our horribly insecure systems"?
    In which case, being anonymous would seem like a good idea :)

  31. Re:who still uses telnet? by ThatMegathronDude · · Score: 3, Informative

    There are laws controlling the export and import of encryption technology in many countries. These laws restrict the sale and use of SSH; therefore, you have to differentiate your products if you want to sell in certain markets.

  32. Printers? by Culture20 · · Score: 4, Informative

    I just realized; almost every network printer out there uses telnet for remote configuration. Maybe there was a new vulnerability found on a specific type of printer that allows forwarding of the printed pages back to the script kiddies?

  33. Re:who still uses telnet? by hubie · · Score: 2

    Yeah, but dreamhost doesn't run commercials suggesting that Danica Patrick will take her top off for you.