Live data from Hacker News

New security camera compromised by worm within minutes of installation

twitter.com

61–70 of 94 posts

Re: New security camera compromised by worm within minutes of installation

#61
post #42

You can have the same problem with any OS that you install that is connected to the Internet before the updates are applied (ie: getting a compromised computer in a a few minutes, being Windows or Linux)

Except that these devices do not have updates and are impossible to fix.

that is true for most cellphones, I guess

Re: New security camera compromised by worm within minutes of installation

#62
post #18

Earlier quoted context omitted.

Probably sniffing the packets should work. But even if you do that properly there is always a high chance your router will be compromised and you won't be able to fix it. To be extra sure just treat it as such and put a firewall between it and your LAN. That requires time to configure, but may satisfy the paranoid.

What? Put a firewall in front of your firewall, because more firewalls is better? How about use a firewall that's not shit to begin with.

Well, reading the rest of his tweets, it helps when your "firewall" doesn't NAT all traffic _inbound_, unrestricted. giggle

Re: New security camera compromised by worm within minutes of installation

#63
post #27

I don't understand how the bot net found his camera so instantly when he turned it on or installed it. Within moments/seconds, it was attempting to infiltrate a brand new device.

You might be too young to remember Blaster Worm. There was a time in 2003-2004 you couldnt install Windows XP/2000 when directly connected to the internet (no nat/firewall), you got infected (= reboot after 60 seconds) as soon as install process fired up RPC service.

Those were bad times. Trying to get someone updated when you didn't have a firewall to put in front of a friend's box was really hard.

Re: New security camera compromised by worm within minutes of installation

#64
post #60
post #57

Earlier quoted context omitted.

I mean one of these dreaded combo modem/router thingies, hence the quotes. There is no bridge mode, and I cannot turn off NAT. It's also doubles as a completely fucked up DNS server which I have to override for resolv.conf.

Does your ISP allow you to get your own modem? I did this recently at home (saves money after owning it for a year, as it's "paid off" then in monthly modem rental fees), and although I have problems with the level of control my ISP has over the modem (there's no configurations or login, you activate it on their network and they control it fully), it's now just a "dumb modem" and does nothing else.

Is this a cable modem? If so, that's just how it works. It downloads its configuration file (via TFTP) when it boots up (per DOCSIS).

Re: New security camera compromised by worm within minutes of installation

#65

As a person just starting to explore ip cameras, can anyone suggest any resources to tell if my cameras are already infected? If so, what to do? If they are only accessible locally, within the home's local intranet, it that safer?

Watch the traffic coming out of it.

Re: New security camera compromised by worm within minutes of installation

#66

I don't understand how the bot net found his camera so instantly when he turned it on or installed it. Within moments/seconds, it was attempting to infiltrate a brand new device.

I work for an ISP. I fired up a capture one day out of curiosity and instantly saw thousands of packets per second destined for 23/TCP across our address space. There's a LOT of these compromised devices out there that are just constantly scanning the entire IPv4 address space.

Re: New security camera compromised by worm within minutes of installation

#67

Note that this was a deliberate setup. The safest thing to do for home routers is to kill UPNP, so that random devices on the inside can't open listening ports to the outside.

>The safest thing to do for home routers is to kill UPNP

No no no!!!! This is going about it completely the wrong way and is setting us up for failure come IPv6 (if it's not already a thing for you).

We need half-decent security practices not a temporary workaround that requires user intervention.

In this case a randomly generated password printed somewhere inside the device's box or on the device itself is enough to stop Mirai and similar dumb botnets.

Re: New security camera compromised by worm within minutes of installation

#68

This is absolutely fascinating - and stunning that it only took ~90 seconds to be infected. Turns out the source code is... open source: https://github.com/jgamblin/Mirai-Source-Code/blob/6a5941be6...

Well, crap, you had the same thing when RedHat 7 was new. new RedHat 6 installs that went online were getting pwned in just a few minutes. The exploit scripts were open source even then.

Re: New security camera compromised by worm within minutes of installation

#69
post #26

Earlier quoted context omitted.

What? Put a firewall in front of your firewall, because more firewalls is better? How about use a firewall that's not shit to begin with.

Consumer grade gear is universally shit. Low end business gear is universally shit. My comcast business router is absolutely awful. I need to get around to putting it in bridge mode and putting a real router behind it. The best thing it could possibly be for me is a coax to ethernet paperweight.

> The best thing it could possibly be for me is a coax to ethernet paperweight.

This is great! Maybe we can repackage old Wi-Fi routers and sell them as connected IoT paperweights! Makes about as much sense as every other IoT device on the market.

Re: New security camera compromised by worm within minutes of installation

#70

Note that this was a deliberate setup. The safest thing to do for home routers is to kill UPNP, so that random devices on the inside can't open listening ports to the outside.

>The safest thing to do for home routers is to kill UPNP No no no!!!! This is going about it completely the wrong way and is setting us up for failure come IPv6 (if it's not already a thing for you). We need half-decent security practices not a temporary workaround that requires user intervention. In this case a randomly generated password printed somewhere inside the device's box or on the device itself is enough to…

Yes. Yes. Yes.

An internet that requires devices to be publicly exposed to the entire internet, and directly addressable at all times, is not an internet I want to participate in.

You WILL negotiate a firewall, before learning anything about the devices I use.

ESPECIALLY if I am prevented from knowing their internals, whether by willful disclosure or unlawful reverse engineering.

I control The Spice.

I control the universe.

Post reply on HN