News for hackers. Stuff that matters.
Re:Webcams used to attack Reddit and Twitter recalled by bitmage on Monday October 24, 2016 @12:13PM (#12780129)
Has anyone seen an explanation of how the telnet port on these devices is getting exposed to the internet to be exploited? I would think that most home users are behind a NAT device. Even with UPnP, why would the manufacturer have that port set to be forwarded?
Re:Webcams used to attack Reddit and Twitter recalled by stevetrewick on Monday October 24, 2016 @03:32PM (#12782015)
It's UPnP [0]. It was always going to be UPnP. UPnP is the wrong set of trade offs and always was. And even making it 'off by default' won't solve the problem because the standard instructions for getting any multiplayer game or IoT gizmo to work are 'turn on UPnP'.

Not that this in any way absolves the OEM for the utter idiocy of including the telnet port in their forwards at all and the absolute negligence of having it active by default and 'secured' by a single or small combination of well known auth tuples.

But yeah, that's really what they did. Here's the section of Mirai's scanner.c that sets up the destination port. [1]

    // Set up TCP header
    tcph->dest = htons(23);
    tcph->source = source_port;
    tcph->doff = 5;
    tcph->window = rand_next() & 0xffff;
    tcph->syn = TRUE;

They really did just forward port 23. Tempting to call malfeasance but at best massive incompetence.

[0] https://www.us-cert.gov/ncas/alerts/TA16-288A

[1] https://github.com/jgamblin/Mirai-Source-Code/blob/master/mi...

Re:Webcams used to attack Reddit and Twitter recalled by voltagex_ on Monday October 24, 2016 @08:35PM (#12784216)
I've never seen any embedded UPnP implementation (I think the spec is "Internet Gateway Device") require any kind of authentication before forwarding ports. I wonder if that's even possible?
Re:Webcams used to attack Reddit and Twitter recalled by redwards510 on Monday October 24, 2016 @12:20PM (#12780203)
> why would the manufacturer have that port set to be forwarded?

Because remote management, and the default state is to have everything opened up to facilitate pain-free setup and config.

Re:Webcams used to attack Reddit and Twitter recalled by drzaiusapelord on Monday October 24, 2016 @12:19PM (#12780193)
To lower support costs. Its a lot easier to use upnp than explain to consumers why their app or web browser won't connect to their home device because of how NAT and firewalling works. Or to implement hosted servers, which also cost money, to be the go-between.
Re:Webcams used to attack Reddit and Twitter recalled by empath75 on Monday October 24, 2016 @12:21PM (#12780213)
There are lots of ways to get inside a network besides going through open nat ports. If there's a web interface, you could pop that, or go through an infected pc, etc. Once you're in the network, you can hit all the ports you want inside it.
Re:Webcams used to attack Reddit and Twitter recalled by dimino on Monday October 24, 2016 @01:49PM (#12781065)
But that's not how it's happening. These IoT devices are being granted IP addresses, somehow. Mirai is scanning the web and blindly trying telnet, and if it works, it tries these password combos. It doesn't do anything even remotely sophisticated to navigate a network.
Re:Webcams used to attack Reddit and Twitter recalled by glennos on Monday October 24, 2016 @03:04PM (#12781796)
Agree, seems bizarre but sounds like sloppy device config.

https://news.ycombinator.com/item?id=12765265

Re:Webcams used to attack Reddit and Twitter recalled by dubya on Monday October 24, 2016 @12:32PM (#12780346)
Is there a relatively easy way to see what devices in your house are visible to the Internet?
Re:Webcams used to attack Reddit and Twitter recalled by dubya on Monday October 24, 2016 @01:37PM (#12780962)
To answer my own question, and to fish for better answers, http://iotscanner.bullguard.com/#/ gives an answer. Not sure how definitive though.