News for hackers. Stuff that matters.
Re:Linksys CherryBlossom Advisory by avaer on Thursday June 22, 2017 @07:19PM (#14616033)
> If users believe their router firmware may have been compromised, Linksys recommends that users download the latest available firmware from http://www.linksys.com/support/ and update your router.

Is there a hardware feature that makes the firmware boot secure in a way that prevents the firmware from interfering with the update? Such as croning itself to reinstall the compromise when you're not looking? Or lying that it updated?

Re:Linksys CherryBlossom Advisory by bsamuels on Thursday June 22, 2017 @08:31PM (#14616345)
Linksys security guy here - we got that firmware update tidbit from the cherryblossom documentation.

The firmware implant (aka flytrap) reproduces all of the router's normal functionality. On page 122 of the cherryblossom docs, it says that the firmware upgrade feature is implemented normally by the flytrap, and that if a user attempts to upgrade their router's firmware, it will overwrite the flytrap firmware.

Re:Linksys CherryBlossom Advisory by Jaruzel on Friday June 23, 2017 @01:37AM (#14617228)
On the basis that most linksys owners never touch or upgrade their firmware, why aren't linksys (and other manufacturers) products shipped with a physical hardware 'read-only' switch for the firmware to prevent unauthorised remote upgrades?
Re:Linksys CherryBlossom Advisory by cptskippy on Friday June 23, 2017 @09:24AM (#14618964)
That makes entirely too much sense. They already have the hardware in the form of the WPS button which no one uses.
Re:Linksys CherryBlossom Advisory by droopybuns on Thursday June 22, 2017 @09:18PM (#14616538)
Hey man- professional courtesy here: "if linksys users believe their routers are compromised" is possibly the worst way to frame this. You should flatly advise users to update.
Re:Linksys CherryBlossom Advisory by shawnz on Thursday June 22, 2017 @11:44PM (#14616961)
There's no patch. The fix is just to reflash Linksys firmware to make sure you're not running compromised firmware.
Re:Linksys CherryBlossom Advisory by qb45 on Friday June 23, 2017 @02:54AM (#14617436)
Given that there is a chance for things to go wrong, I wonder what's the real-world success rate of firmware upgrades performed by nontechnical users? Is it worth it when most devices very likely aren't infected?
Re:Linksys CherryBlossom Advisory by kentt on Thursday June 22, 2017 @09:15PM (#14616528)
Perhaps I'm missing something, but are you saying you trusted that the malware documentation is correct?
Re:Linksys CherryBlossom Advisory by bsamuels on Thursday June 22, 2017 @09:21PM (#14616559)
Didn't really have any other choice. We had tons of users calling in last week panicking over what to do about cherryblossom.

Without a sample of the implant or confirmation from the CIA that the documents are legitimate & unaltered, this advisory is pretty much all we can do for those users.

Re:Linksys CherryBlossom Advisory by pbhjpbhj on Friday June 23, 2017 @03:27AM (#14617520)
Didn't you have an infected target to test against?
Re:Linksys CherryBlossom Advisory by kentt on Thursday June 22, 2017 @09:26PM (#14616571)
Understood. Thank you. It makes sense that you would move on this urgently and confirm it's success only after.
Re:Linksys CherryBlossom Advisory by joefkelley on Thursday June 22, 2017 @09:20PM (#14616555)
Yeah this is a bit worrying. But since it was leaked, this actually doesn't seem so bad. What incentive would the CIA have to lie internally?
Re:Linksys CherryBlossom Advisory by TheSpiceIsLife on Friday June 23, 2017 @05:16AM (#14617905)
One good reason I can think of is to have something for leakers to leak that isn't based in reality.

Or: the CIA leaked it intentionally as smoke-screen.

I don't know. Are there organisational silos within intelligence agencies? Layers of access? It's hard to know for sure, but I'm yet to see a human organisation that doesn't have political in-fighting.

Re:Linksys CherryBlossom Advisory by mentat on Thursday June 22, 2017 @07:30PM (#14616077)
Download from non-TLS site, yeah, what could go wrong.
Re:Linksys CherryBlossom Advisory by concatime on Thursday June 22, 2017 @10:58PM (#14616858)
Sadly true.
Re:Linksys CherryBlossom Advisory by abfan1127 on Friday June 23, 2017 @02:13AM (#14617317)
because the CIA couldn't create fake certs?
Re:Linksys CherryBlossom Advisory by Already__Taken on Friday June 23, 2017 @06:40AM (#14618184)
Not without more risk of being caught.
Re:Linksys CherryBlossom Advisory by yjftsjthsd-h on Friday June 23, 2017 @07:39AM (#14618433)
The key question would be whether certificate transparency was involved.
Re:Linksys CherryBlossom Advisory by mikecb on Thursday June 22, 2017 @07:33PM (#14616090)
Need something with a TPM, like an Onhub/Google Wifi.
Re:Linksys CherryBlossom Advisory by avaer on Thursday June 22, 2017 @07:40PM (#14616119)
Yes, I was speaking to these routers in particular.

Because if they don't have this, then this is bad security advice against what is considered a targeted attack.

Re:Linksys CherryBlossom Advisory by smoyer on Thursday June 22, 2017 @10:16PM (#14616730)
You can disable management via the WAN port and/or wi-fi if you put OpenWRT on them.
Re:Linksys CherryBlossom Advisory by Jaruzel on Friday June 23, 2017 @01:51AM (#14617260)
There should have never been management access enabled by default via WAN or WLAN on ANY router to be honest. In a misguided effort to make their consumer devices more 'friendly'[1] they've just made them more insecure.

--

[1] Even though most users have no idea the management interface even exists.

Re:Linksys CherryBlossom Advisory by pbhjpbhj on Friday June 23, 2017 @09:57AM (#14619169)
It's a tough call. The comms companies who provide my router provide millions of them. They want ACS/TR-069 by default and use it for automated updates.

I always disable it, but I'll bet I'm something like 1:10k in that respect.

Re:Linksys CherryBlossom Advisory by yjftsjthsd-h on Friday June 23, 2017 @07:40AM (#14618439)
I don't mind it being on WiFi. But yeah, public facing management port is insane.
Re:Linksys CherryBlossom Advisory by rdtsc on Thursday June 22, 2017 @06:59PM (#14615957)
> If users believe their router firmware may have been compromised,

What would make them believe that? Wish they had a detection tool as well. Anyone know of one?

Re:Linksys CherryBlossom Advisory by agumonkey on Friday June 23, 2017 @12:42AM (#14617093)
I wonder if there are easy way to dump the firmware and do a sign / hash check on another machine
Re:Linksys CherryBlossom Advisory by microwavecamera on Saturday June 24, 2017 @03:03AM (#14624692)
Not really. Devices like consumer routers just weren't designed with these things in mind unfortunately.
Re:Linksys CherryBlossom Advisory by agumonkey on Saturday June 24, 2017 @11:44AM (#14625949)
Not even with some jtag line ?
Re:Linksys CherryBlossom Advisory by microwavecamera on Saturday June 24, 2017 @12:45PM (#14626237)
Sorry I thought you meant an easy way. You could with a jtag interface, but even then the filesystem would have been modified from normal operation so the image of the firmware you dumped would have a different hash than the stock image. You could extract the filesystem and check the binaries and poke around for thing that shouldn't be there, but all this isn't exactly something the average person could do to see if they were infected. If you have the equipment and expertise definitely. Honestly these companies need to step up their game and just make better products in my opinion. It's not like the technology isn't available.
Re:Linksys CherryBlossom Advisory by voltagex_ on Thursday June 22, 2017 @06:51PM (#14615917)
I wonder if a factory reset is enough in all cases - the source for the factory reset has to be on the device itself.

I haven't played with it much, but there are ways to persist after a reset on Android, I'd assume the same is possible here. Very happy to be corrected.

Anyone know what the cheapest Linksys I could buy is, and whether these vulnerabilities have been released publicly?

Re:Linksys CherryBlossom Advisory by willstrafach on Thursday June 22, 2017 @07:15PM (#14616014)
> Anyone know what the cheapest Linksys I could buy is, and whether these vulnerabilities have been released publicly?

To be clear, the main "vulnerability" is just ability to get physical access and re-flash the devices with a custom firmware which allows the access to the target network. The best defense would be locking down the router physically and setting a strong password for the admin portal.

Re:Linksys CherryBlossom Advisory by bsamuels on Thursday June 22, 2017 @08:39PM (#14616375)
A factory reset _is not_ enough. A factory reset will just clear a part of the NVRAM that holds configuration - any firmware implant will still be on the device.

There were no vulnerabilities included in the cherryblossom leak. The firmware implant deployment instructions included in the leak don't mention using any vulnerabilities either.

Almost all of the devices listed in the cherryblossom leak are not being sold anymore.

Re:Linksys CherryBlossom Advisory by lamlam on Thursday June 22, 2017 @06:56PM (#14615941)
If the security of your router is of concern to you I would recommend setting up your own FreeBSD+pfSense router.

Another option is to setup a vpn server that all your devices connect to to access the internet. In that scenario it won't matter if your router is compromised because all traffic flowing through would be encrypted.

Re:Linksys CherryBlossom Advisory by posguy on Thursday June 22, 2017 @08:17PM (#14616276)
PFSense runs PHP as root. Let that just sink in for a second, does that sound like a recipe for security?

Nevermind the community, when it comes to vaguely complex things like IPTV and similar, support is either legacy or gone.

At this point OpenWRT is the only sane choice, at least it doesn't run everything as root and isn't going to shove off Multicast UDP packet forwarding support in the next year or two.

Re:Linksys CherryBlossom Advisory by voltagex_ on Friday June 23, 2017 @01:10AM (#14617158)
OpenWRT definitely has quirks, and my vendor thinks spawning hundreds of socat processes is acceptable in production firmware: https://forum.turris.cz/t/ever-increasing-leaking-nuci-proce...
Re:Linksys CherryBlossom Advisory by throwanem on Thursday June 22, 2017 @06:59PM (#14615955)
Yeah, I'd think it would take a reflash to get rid of the compromise, since the compromise is implemented by means of firmware replacement to begin with.

Probably your cheapest bet on the supported device list (ca. p27 of the PDF on Wikileaks) would be a WRT54G v5. The GL models have some support as well, but last I checked they had a relatively high used value, presumably for their hackability - the G models are much more limited.

Re:Linksys CherryBlossom Advisory by rickycook on Thursday June 22, 2017 @06:57PM (#14615947)
i'm not saying it's happened here, but i'd imagine with router firmware (because it's not too large) it'd be pretty cheap to have a copy of the factory firmware and settings in a physically read only storage of some kind
Re:Linksys CherryBlossom Advisory by voltagex_ on Thursday June 22, 2017 @07:15PM (#14616016)
You're correct in some cases. My last "consumer" router was a TP Link Archer D9 and doing a factory reset only restored the last flashed version of the firmware - so that partition was writeable during updates at least.
Re:Linksys CherryBlossom Advisory by a3n on Thursday June 22, 2017 @07:30PM (#14616080)
So ... the latest available firmware for mine is from jan 2016. Clearly there would be no fix in that firmware. So the idea is that I'm installing a known/assumed/hoped "good" firmware, to replace the potentially bad firmware. Yes?

(And the latest available is newer than what's on my router now, so might as well.)

Re:Linksys CherryBlossom Advisory by problems on Thursday June 22, 2017 @07:45PM (#14616138)
Yes, not an exploit - just a modified firmware that they might have installed if they broke in via other means (physical or wifi cracking for example).
Re:Linksys CherryBlossom Advisory by chx on Thursday June 22, 2017 @08:05PM (#14616227)
Isn't this a lie though? They do not mention remote compromise and I would bet dollars to doughnuts most old routers have RCE holes.
Re:Linksys CherryBlossom Advisory by bsamuels on Thursday June 22, 2017 @08:45PM (#14616408)
There were no vulnerabilities included in the cherryblossom leak.

If you have any information about RCEs, Cherryblossom details we may have missed, or any other vulnerabilities in Linksys devices, please email me directly at benjamin.samuels at belkin.com

Re:Linksys CherryBlossom Advisory by chx on Friday June 23, 2017 @10:55AM (#14619609)
"This customized firmware can be loaded onto a router using one of the following methods:"

If I understood things correctly, the Cherryblossom thing is a firmware and while this particular leak didn't mention any new RCEs I am surprised a bit that the possibility of using any other RCE was categorically ruled out by the wording of the advisory.

Re:Linksys CherryBlossom Advisory by dang on Thursday June 22, 2017 @06:55PM (#14615935)
Url changed from http://bitsonline.com/linksys-remove-cia-tools/, which points to this.