Slashdot Mirror


IoT Devices With Default Telnet Passwords Used As Botnet (securityaffairs.co)

Slashdot reader stiebing.ja writes: IoT devices, like DVR recorders or webcams, which are running Linux with open telnet access and have no passwords or default passwords are currently a target of attacks which try to install malware which then makes the devices a node of a botnet for DDoS attacks. As the malware, called Linux/Mirai, only resides in memory, once the attack has been successful, revealing if your device got captured isn't so easy, and also analyzing the malware is difficult, as it will vanish on reboot.
Plus the malware lays low at first, though "it is obvious that the main purpose is still for a DDoS botnet," according to MalwareMustDie, and it's designed to spread rapidly to other IoT devices using a telnet scanner. "According to the experts, several attacks have been detected in the wild," according to the article, which warns that many antivirus solutions are still unable to detect the malware, and "If you have an IoT device, please make sure you have no telnet service open and running."

57 comments

  1. Telnet? by Anonymous Coward · · Score: 0

    Why is telnet used to access these IoT devices? At the very least a secure shell session (ssh) with a strong default password randomly generated the first time the device is switched on after connecting it to a notebook or desktop computer via USB cable. The newly generated password could be transferred automatically to the computer as a text file and then the device's USB port automatically disabled by the device itself and the only way to change the password is by locally logging into the device via SSH. The owner can re-enable the USB port if they choose although best not to do so.

    1. Re:Telnet? by sjames · · Score: 1

      Why so complicated? The problem is automated remote access. Just use ssh and a unique password set at the factory and printed on a sticker.

      Bonus points for avoiding lockout, a jumper inside the unit allows password-less access.

      Alternatively, a user accessible button. Pressing it opens a 5 minute window for login. Otherwise, no access.

    2. Re:Telnet? by gweihir · · Score: 1

      Simple: The design was done by the cheapest morons available. This is so obviously completely incompetent, that the ones responsible must be management for hiring the wrong people.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  2. Re: Wait, the story is in error by Anonymous Coward · · Score: 1

    Sorry and unimaginative trolling

  3. Damn millennials by Anonymous Coward · · Score: 1

    Are all of those IOT devices designed by millennials ??

    1. Re:Damn millennials by Anonymous Coward · · Score: 1

      IOT === Idiots or Twats.
      IMHO that describes the designer of pretty well all IoT devices released so far.

  4. Security is hard by Anonymous Coward · · Score: 0

    Security is hard but it is really disconcerting to see companies fail to even try to create secure IoT devices.

    1. Re:Security is hard by gweihir · · Score: 1

      Well, yes, security is hard, but these people are not even trying.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    2. Re: Security is hard by Anonymous Coward · · Score: 0

      That was my point?

  5. Port 23 is script kiddie heaven by Anonymous Coward · · Score: 0

    Never EVER have open telnet (port 23). Unless you run a honeypot VM don't do it. Add a firewall rule to block all port 23 traffic on your LAN.

    1. Re:Port 23 is script kiddie heaven by SeriousTube · · Score: 1

      Any sane firewall will have all ports blocked except the ones you need.

    2. Re:Port 23 is script kiddie heaven by arth1 · · Score: 1

      Many devices have a telnet or ssh listener on different ports, precisely because they tend to be blocked.

    3. Re:Port 23 is script kiddie heaven by Anonymous Coward · · Score: 1

      A home router? Block outgoing ports?

      I think not. If any home IoT devices are pwned, most people would never know it.

      Also I think the article suggestion to shut off telnet on devices like DVRs and such is laughable. Exactly how does the average home user do this?

      Frankly, why should they care. If DVR and other device manufacturers are leaving security holes, it's their problem to fix it with a software patch.

    4. Re:Port 23 is script kiddie heaven by Anonymous Coward · · Score: 0

      Telnet and SSH are two different things regarding the sophistication level of malware. Any device that uses telnet should be considered a trojan penetration device. In 2016 there is absolutely no reason to use telnet. Telnet is the equivalent of leaving your keys in your car in the ghetto. If you use telnet it's just a matter of when you'll get hacked not if. Telnet should be banned. Think home router/firewalls block telnet traffic by default? Think again.

    5. Re:Port 23 is script kiddie heaven by Anonymous Coward · · Score: 0

      SSH with admin/admin isn't much better

    6. Re:Port 23 is script kiddie heaven by gweihir · · Score: 1

      Aaaaaand, fail! You can run a telnet server on the default port an be completely secure. Depends entirely on what you do with it. The primary problem here is not "telnet", but "default password".

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    7. Re:Port 23 is script kiddie heaven by beanpoppa · · Score: 1

      A telnet port isn't vulnerable if it's not used. If it's used locally (as a backdoor console) then it's only vulnerable if your network is already owned.

    8. Re:Port 23 is script kiddie heaven by Opportunist · · Score: 1

      The combination is scary. Even if I don't know the default password, I know it after sniffing the traffic for a while.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    9. Re:Port 23 is script kiddie heaven by Anonymous Coward · · Score: 0

      IoT devices may also use the cell networks for the initial call home and/or demographics (read as "telemetry").

    10. Re:Port 23 is script kiddie heaven by arth1 · · Score: 1

      Telnet and SSH are two different things regarding the sophistication level of malware.

      Indeed. You can find dozens of script kiddie programs for attacking ssh, but not a single one I can find for attacking telnet with TLS and SASL.

      Any device that uses telnet should be considered a trojan penetration device. In 2016 there is absolutely no reason to use telnet.

      Quite a few devices have a serial interface, and on those, ssh is not an option. Good old telnet still rules for that.

      And, yes, there are devices out there that can only be reached by modem too. Park forest stations, meteorological equipment and light houses, for example. Sometimes not even pots and 56k, but 9600 bps. You really don't want to run ssh over that.

    11. Re:Port 23 is script kiddie heaven by gweihir · · Score: 1

      And then look at where you actually _can_ sniff passwords today. It is not in many situations. Not secured wireless LAN is basically the only one or it gets pretty expensive and high effort. But I am most certainly not arguing for log-ins from a non-encrypted WLAN on the other side of the world over telnet. There are other scenarios where it still makes sense, for example if you are already in a secure network.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    12. Re:Port 23 is script kiddie heaven by Opportunist · · Score: 1

      Considering that the biggest threats to privacy these days are actually sitting in the data stream and able to take a close look at any and all data transmitted, it's not really comforting that Joe Scriptkid cannot.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  6. Follow the money by sjbe · · Score: 2

    Silly question. Why telnet? Because it is cheap and they don't give a crap if you get hacked. Not their problem if you do.

    1. Re:Follow the money by dargaud · · Score: 2

      Programmers who install telnet servers anywhere should be shot. 15 years ago it was already common knowledge that telnet was completely insecure and only a matter of time before it got owned. So why isn't there a daemon on all linux variants that monitors for the presence of a telnet server and KILLS IT ?!?

      --
      Non-Linux Penguins ?
    2. Re:Follow the money by Anonymous Coward · · Score: 2, Informative

      So why isn't there a daemon on all linux variants that monitors for the presence of a telnet server and KILLS IT ?!?

      There is. If you run systemd, it will eventually bring down your entire machine, including any errant telnet servers.

    3. Re:Follow the money by Anonymous Coward · · Score: 0

      First of all, there is no legal responsibility for a device maker to make anything secure at all. They could be just fine having bash spawn on the port as root. It is the buyer's responsibility to maintain security. Physically, it would be similar to using a luggage lock versus an Abus U-lock. The lock maker isn't responsible; it is the person who bought and used it.

      Plus, IoT makers require agreeing with a ToS or EULA, which also absolves them of responsibility. This is a contract... first semester law school stuff, and even if a device was left open to the world, the buyer waived their rights to sue, and has to go through binding arbitration.

      Caveat emptor.

      What really is needed is something like UL, but for device security. If you want companies to sit up and take notice, other companies have to step in. Look how PCI-DSS 3.2 has done more for corporate security than anything passed by governments.

    4. Re:Follow the money by mlts · · Score: 2

      One ideal might be having good in and out firewall rules on the machine. It takes time for initial setup and maintaining, but isn't that bad (it can be put in your playbooks or .pp files.) That way, a telnet server will be not accessible by anything.

    5. Re:Follow the money by dbIII · · Score: 1

      Programmers who install telnet servers anywhere should be shot

      Some legacy software needs it. I had to use some like that until around ten years ago on some machines that were heavily firewalled off from the rest of the world.
      Developers who make their software depend on telnet are the ones that should be shot. All these expected IoT failures are due to software developers out of their depth taking shortcuts and fucking up badly. The fucking MSDOS single user don't give a shit about security mindset is how this shit happens.

    6. Re:Follow the money by Hognoxious · · Score: 1

      Probably. Telnet is text, and systemduh hates text.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  7. Defective Product by SeattleLawGuy · · Score: 5, Insightful

    In this day and age, a device with telnet and no password is fundamentally a defective product.

    --
    Real lawyers write in C++
    1. Re:Defective Product by zifn4b · · Score: 1

      In this day and age, a device with telnet and no password is fundamentally a defective product.

      If you're really a lawyer, you should start a class action lawsuit against the offending companies for gross negligence.

      --
      We'll make great pets
    2. Re:Defective Product by Anonymous Coward · · Score: 0

      I don't even understand why telnet is on any devices after 2000.

    3. Re:Defective Product by gweihir · · Score: 1

      Indeed. "Gross negligence" seems to be too tame a description for it.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    4. Re:Defective Product by gweihir · · Score: 1

      It has its uses. Some devices cannot support ssh (too small), or ssh cannot get though an internal firewall, for example. Sure, you need to limit usage to secure networks or networks where anybody sniffing passwords is rather unlikely for other reasons, but telnet still has its uses.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    5. Re:Defective Product by Aqualung812 · · Score: 1

      It has its uses.

      Telnet with NO password has uses outside botnet fertilizer?
      I'd love to hear them.

      As for your other points, I still argue Telnet is useless. Firewalls that can't pass Telnet are also defective in 2016, along with any device that can't handle a few more bits of ram or storage for SSH.

      --
      Grammer Nazis - I mod you "troll" unless you actually add something on-topic. Yes, I know I have mispellings in my sig.
    6. Re:Defective Product by Anonymous Coward · · Score: 0

      My first job, I contracted to a communication hardware company. I'm certain that my experience isn't typical of a hardware company, but there is at least one instance. Essentially, the codebase and security were a mess because the company culture prohibited hiring software people for "real engineering projects." I just happened to luck in to seeing how bad things were because I was a contractor.

    7. Re:Defective Product by gweihir · · Score: 1

      And where dis you see me talking about telnet "with no password"? Can you point that out to me? Because I am pretty sure I did not.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    8. Re:Defective Product by Aqualung812 · · Score: 1

      My bad. From my POV, you were replying to the GP in defense:

      In this day and age, a device with telnet and no password is fundamentally a defective product.

      However, I can see now that you were replying to an AC reply to that, which was hidden by default on my settings.

      That said, I'd really like to understand why a product made *today* would have any reason for Telnet.

      --
      Grammer Nazis - I mod you "troll" unless you actually add something on-topic. Yes, I know I have mispellings in my sig.
  8. Actually there are millions of such devices by beda · · Score: 1

    "According to the experts, several attacks have been detected in the wild," - well, have a look at this article. It is about more than 6 million devices, 1 million of it being for sure IoT stuff like cameras and the likes. It is very likely they are talking about the same attack described here.

    1. Re:Actually there are millions of such devices by Anonymous Coward · · Score: 0

      I remain convinced the biggest push for IoT devices come from those who want to exploit shoddy merchandise such as these botnet owners, and from power-hungry small time bureaucrats who see bad sci-fi where people get killed over the internet by "evil hackers" and get an erection lasting more than four hours.

  9. How to test it by beda · · Score: 1

    Here is a website where you can test if your device has such a problem, because it has been observed in Telnet honeypots for quite some time - https://amihacked.turris.cz/

  10. Everything old is new again! by Anonymous Coward · · Score: 0

    Like the early, early internet, when nearly everything was crazy wide open. Who could have known IoT would be just as nuts? How could anyone guess such a thing would ever happen! Stay in school kids.

  11. Re:Wait, the story is in error by gweihir · · Score: 3, Insightful

    If the sysadmin is stupid (like you are, for example), then any Unix is less secure than even unpatched Windows. Linux security is what you get when you combine a competent sysadmin and Linux. The same effect exists on Windows, but the results are not nearly as good and that is what makes Linux a secure OS and Windows a problematic one.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  12. Product recall? by davidwr · · Score: 1

    Except for devices where the buyer WANTS this open - say, for use in a honeypot - I would consider this a design defect. Depending on the device, this could cause death.

    The feds (in the USA) are probably going to turn the "voluntary" recall of the Samsung Galaxy 7 phone into a "mandatory" recall.

    I would recommend they seriously consider doing the same for any device that has security hole like this that can't be fixed by end users, especially for devices that are designed to be used by non-experts.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
    1. Re:Product recall? by Opportunist · · Score: 1

      Maybe when you can blow up the devices via telnet. Until then it's unlikely.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  13. Make some IoT makers get an engineering seal by davidwr · · Score: 2

    Some things can hurt people or destroy property if they don't work right.

    Maybe it's time to have the makers of HVAC systems and other things that could injure or kill if they become zombies get an engineer to sign off on all designs - including software design - before they are allowed to sell the equipment for its intended purpose, at least if the end user isn't an expert (e.g. thermostats designed for residential or small-office use where they aren't under constant monitoring by HVAC professionals). This would force the engineer to either prove to his own satisfaction that hardware and software, as a system, was safe or design the hardware so that no matter what happened, fatalities would not result (e.g. have a hardware limits on home thermostats, so someone remotely cranking things up to 100F or down to 40F wouldn't kill anyone in the room).

    Now, I'm not calling for "locked down firmware" although that would be one way of dealing with the issue. Instead, I'm calling for firmware that is vetted by an engineer and which can only be updated either by an "authorized update" (e.g. signed binary or better yet, signed binary and a temporary "updates allowed=YES" button being pressed on the device) or by a hobbyist making a visible and permanent change to the hardware, such as blowing a fuse or cutting a trace on the motherboard. Failures by devices that had been put into "hobbyist mode" would not be the fault of the engineer unless it could be proven that the firmware was not at fault (e.g. engineers would still be liable for design flaws that would affect non-tampered-with systems, such as a failure in the hardware-limits of the thermostat example above).

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  14. Appernet of Apps! by Anonymous Coward · · Score: 1

    This story isn't about LUDDITE Linux. It's about the Appernet of Apps, the appiest way to app apps while apping other apps!

    Apps!

    1. Re:Appernet of Apps! by Anonymous Coward · · Score: 0

      Typical apper class twat.

  15. Found the LUDDITE! by Anonymous Coward · · Score: 0

    Aaaaaand, fail! You can run a telnet server on the default port an be completely secure.

    Only LUDDITES would think that LUDDITE Telnet is secure! Modern app appers use secure apps by ONLY apping apps, NOT LUDDITE Telnet!

    Apps!

    1. Re:Found the LUDDITE! by Anonymous Coward · · Score: 0

      Where did you go? Glad to see you're back. I was trying to cover for you while you were gone, but I never got the knack of it.

  16. IDIOT == Insecurely Designed Internet Of Things by knorthern+knight · · Score: 1

    Spread the meme

    --

    I'm not repeating myself
    I'm an X window user; I'm an ex-Windows user
    1. Re:IDIOT == Insecurely Designed Internet Of Things by Anonymous Coward · · Score: 0

      I like it! IDIOT devices for idiots.

  17. Re:Wait, the story is in error by mlts · · Score: 1

    Linux is nice because one can secure at as they see fit. Someone on the operator level can enable patching at certain times in RedHat and downstreams, Debian, and Ubuntu, with ease. This isn't something you would do in production for obvious reasons, but with modern mainstream Linux distros with their default installs, it actually is more work to not enable patching than to enable it.

    An admin that is more versed would be using some sort of patch management system, if only to ensure that SSH, OpenSSL, the kernel, and other critical components are not just patched, but there is validation that things are at that patch level.

    Next tier up, the admin would have a CM tool which either gets pushed or runs locally with a stanza like this:

    ---
    - name: Update openssl
        package: name=openssl state=latest

    The above stanza would get pushed to all boxes every so often.

    Of course, Linux can be horrific if unpatched, because there is so much a blackhat can do on a Linux box, even if root access is unavailable. However, in general, because Linux is open, there are fewer moving parts which are hidden away from the user. For example, when Shellshock came out, and a quick patch had to be done, it wasn't hard to build a static busybox binary as a workaround until a few hours later, bash was patched.

  18. It's always best to start at the beginning by bobstreo · · Score: 1

    Speaking as a slightly paranoid home user.

    Every time I add a new device to my network, I do a nmap port scan on it. Something like:
    sudo nmap -A -T4 ipaddress

    If access to those ports are needed, I'll do some poking on them, depending on what they are and probably some research to determine if they have had any security issues, and do a risk analysis.

    Work follows a completely different model. Everything is blocked, there are various levels of approvals needed to open any ports. External access directly to internal systems without proxies/frontends/webheads is almost never granted. Periodic reviews, pen testing and renewals for exceptions are mandatory.

  19. Re:Wait, the story is in error by Opportunist · · Score: 1

    Security is the minimum of the system's capabilities, the integrator's capabilities and the user's capabilities. Granted, the integrator can take away sufficient options from the user to eliminate him from the equation, but if he is already a complete idiot, the system can't compensate for it.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  20. Re: IDIOT == Insecurely Designed Internet Of Thing by Anonymous Coward · · Score: 0

    It's idiots all the way down.