Live data from Hacker News

Backdoor found in Linksys, Netgear Routers

github.com

101–110 of 144 posts

Re: Backdoor found in Linksys, Netgear Routers

#101
If you want more fun with the saved nvram config files, check out http://www.nirsoft.net/utils/router_password_recovery.html

He's figured out many of their "encryption" methods. I've independently "cracked" most of the major ones as well, (including checksums/headers required to write back to the router).

They're all pretty broken. PRNG key streams, simple bit swaps, XOR, encryption against a static key, etc.

Fun stuff.

Re: Backdoor found in Linksys, Netgear Routers

#103
post #79
post #44

Earlier quoted context omitted.

Tell me, either way a Soekris box or an OpenWRT compatible router, how this brings a solution to the masses.

There is no purely technological solution for the masses. Actually solving the problem requires either a political revolution to make shipping backdoors like this criminal rather than a favor to the government, or educating users enough that they can protect themselves with the existing technological methods that are easy to deploy given basic computer literacy. It's not really clear which one is less impossible.

this kind of stuff is far beyond basic computer literacy

Re: Backdoor found in Linksys, Netgear Routers

#104
This is not surprising. It's a calculated risk to make a product just good enough. Development resources invested in retail wireless gear is minimal. I've worked on firmware for high-confidence industrial wireless gear used in mines. Most of them fall over under load, run obsolete+unpatched code and/or reboot randomly. Retail customers will tend to just put up with it and not return the product before the merchant's return grace period.

It's a totally different attitude when the intended market is enterprise: it's assumed that if a product causes a failure, the vendor is going to receive escalating, unpleasant phone calls until it's resolved.

Re: Backdoor found in Linksys, Netgear Routers

#105

Earlier quoted context omitted.

Of course they can. The way DOCSIS is designed, your cable company has full access to your modem; your modem receives configuration data via TFTP from them and in most cases the firmware can only be updated over the coax interface. In fact, it's very rare that there's any configuration you can change on the DOCSIS modem side of things at all, even on the most expensive modems. Lately cable companies have been pushing…

That wasn't my experience with Time Warner and my Motorola cable modem, at least as far as dealing with modem issues (firmware). They referred me to Motorola.

Were you able to get your firmware upgraded? My understanding is that firmware upgrades can only be done over coax (there's certainly nothing on the web interface), but Time Warner Cable will not upgrade your firmware; so if you need a firmware upgrade you're pretty much out of luck.

Re: Backdoor found in Linksys, Netgear Routers

#106
post #75

Has anyone ever tried submitting a GPL request to http://support.linksys.com/en-us/gplcodecenter I wonder if there is anyone still working in the GPL compliance department.

They don't have to provide the sources forever... Seemingly the model in question (WAG200G) is originally from 2007.

Excerpt from the GPL [1] (paragraph 6b):

"You may [...] Convey the object code in, or embodied in, a physical product [...], accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License [...]."

[1]: http://www.gnu.org/licenses/gpl.html

Re: Backdoor found in Linksys, Netgear Routers

#107

Earlier quoted context omitted.

Even when you "bring your own modem" ISPs tend to demand exclusive control while it's in service. It really is intended to be part of the ISP's network rather than yours, so while (unlike a rental unit) you could walk away with it and take it to another provider, sell it, run your own copper infrastructure, etc. you usually still can't modify the settings of existing connection. One of my cable installers told me tha…

Time Warner wants nothing to do with my (own purchased) cable modem beyond allowing me to use it. The vendor will only provide firmware patches to cable operators, and Time Warner won't touch my modem to help get the firmware upgraded.

I've always had naked DSL because of not wanting to pay for cable TV or another line. For DSL and similar services, BYOE tends to be hand-off.

With cable modems, does/can the provider push firmware?

Re: Backdoor found in Linksys, Netgear Routers

#108

This is not surprising. It's a calculated risk to make a product just good enough. Development resources invested in retail wireless gear is minimal. I've worked on firmware for high-confidence industrial wireless gear used in mines. Most of them fall over under load, run obsolete+unpatched code and/or reboot randomly. Retail customers will tend to just put up with it and not return the product before the merchant's…

Mining is a dangerous industry with its own specialist regulators and standards bodies.

Equipment failure that can kill people should be taken more seriously than equipment failure that leads to less serious consequences.

The thought of wireless gear in mines is pretty scary! I used to build / test equipment for a sub-contractor of Joy Mining and communication between the devices was carried by inch thick cables with nikel-plated machined steel connector shells. Pit props at the cutting face can be active devices that walk forward as the face is cut, and the coordinate that forward movement. Designing user interfaces is tricky, and designing a UI that should prevent death or huge financial costs if misused is probably hard.

Re: Backdoor found in Linksys, Netgear Routers

#109
post #6

I hacked my Fritz!Box (yeah, a bad name for a german router) and I'm entirely sure that it has a backdoor integrated too. That's why I wiped and flashed it with an alternative image. That and the Telecom's Speedport router are the most popular routers by far in Germany. And both have backdoors, I know that other router manufacturers also integrate backdoors from a source who works at such a company. A friend can also…

This is probably NOT a backdoor. Most likely your ISP is using a technique like TR-069. This enables them to push settings for voip/TV, and in your friends case wifi. A lot of DSL providers are starting to use this for less intrusive (?) goals like measuring noise and attenuation at the clients end once a day, so they can adjust the speed accordingly. AVM is a very nice company and you should not accuse them without…

> A lot of DSL providers are starting to use this for less intrusive (?) goals like measuring noise and attenuation at the clients end once a day, so they can adjust the speed accordingly.

Why can't this be done on the DSLAM?

Re: Backdoor found in Linksys, Netgear Routers

#110
post #12

[deleted]

IDA Pro

IDA Pro is awesomesauce, Wireshark for binaries. So much better than Turbo Debugger and ICEs in the olden days.

Just FYI it's no surprise that the IDA Pro wine torrent for OSX (magnet ...116a37) floating around out there has malware in it. Best to get it directly from a friend at a large shop. If you're a pentester or researcher, buy it obviously.

Post reply on HN