News for hackers. Stuff that matters.
Re:Researchers crack open malware that hid for 5 years by WalterBright on Tuesday August 09, 2016 @05:53PM (#12257981)
Just put the software in the device in ROM, a forgotten technology. No malware will survive a power cycle.

It's like I read that malware could infect your "internet of things" thermostat and then hackers could remotely turn off your heat until you pay ransom. Just put the dang thermostat code in ROM. Power cycle, goodbye malware.

For more critical stuff, just have it regularly power cycle itself.

Re:Researchers crack open malware that hid for 5 years by viraptor on Tuesday August 09, 2016 @07:38PM (#12258431)
If you haven't seen it yet, you may like the stateless laptop idea: http://blog.invisiblethings.org/2015/12/23/state_harmful.htm...
Re:Researchers crack open malware that hid for 5 years by infinite8s on Tuesday August 09, 2016 @07:29PM (#12258400)
Then you can't do over the wire updates, which means no fixes after it's been manufactured and installed, which would probably increase the costs quite a bit.
Re:Researchers crack open malware that hid for 5 years by WalterBright on Tuesday August 09, 2016 @07:48PM (#12258489)
> Then you can't do over the wire updates,

Which, of course, is the whole point. If ROMs do cost more, I bet people who want secure systems would be quite willing to pay a bit extra.

It would be too expensive to put an OS in ROM, but the ROMs could contain the hashes of the OS on disk, and can verify the disk image before booting.

And besides, why would I want over-the-air updates to my freakin' thermostat?

Re:Researchers crack open malware that hid for 5 years by WalterBright on Tuesday August 09, 2016 @07:53PM (#12258512)
Another way is to have a jumper that is required to enable the write cycle to the flash ROMs. That enables the manufacturer to update the ROMs before shipping, then remove the jumper.

Anyone trying to compromise the device would then require physical access.

Re:Researchers crack open malware that hid for 5 years by mikeash on Tuesday August 09, 2016 @09:56PM (#12259019)
Make it a button, so the customer can apply updates, but they need to press a button to make it happen. Add another button which, using only software stored in ROM, reloads the firmware from ROM. Then you have updates, but only when the customer knows and wants it, and if they ever screw it up then they can get back to a known good state.
Re:Researchers crack open malware that hid for 5 years by Const-me on Wednesday August 10, 2016 @08:51AM (#12261249)
The customer has no way of knowing whether they are installing genuine update, or MITM-modified malicious update. Public key cryptography solves that but then you have a problem how to protect the keys and crypto algorithms from tampering.

Update buttons ain't a good replacement for TPM hardware.

Re:Researchers crack open malware that hid for 5 years by WalterBright on Wednesday August 10, 2016 @03:12PM (#12264125)
It's an enormously harder problem to convince the customer to push the "update firmware" button on the front panel than it is to insert malware remotely without any action or knowledge on the customer's part.
Re:Researchers crack open malware that hid for 5 years by Const-me on Thursday August 11, 2016 @02:37PM (#12270636)
It’s enormously easier problem to exploit a well-known remote code execution vulnerability, that’s unpatched because updates are too easy to ignore.

For the end user, it’s extremely easy to NOT push that button.

Re:Researchers crack open malware that hid for 5 years by mikeash on Wednesday August 10, 2016 @10:55AM (#12262205)
It's not a panacea, but nothing is, and it would help a lot. It's not supposed to be a replacement for anything, just an addition.
Re:Researchers crack open malware that hid for 5 years by WalterBright on Tuesday August 09, 2016 @11:18PM (#12259302)
Yup, that's the way to do it.
Re:Researchers crack open malware that hid for 5 years by jonathankoren on Tuesday August 09, 2016 @07:41PM (#12258447)
This is literally how everything was made until the very recent past. Next you'll be telling me that you can ship software on physical media.
Re:Researchers crack open malware that hid for 5 years by krylon on Wednesday August 10, 2016 @06:53AM (#12260709)
One may consider that an incentive for manufacturers to make sure their code is working correctly before shipping it.

In many cases that would probably be prohibitively expensive, but for a thermostat or a light switch, it should not be that difficult to do.

Re:Researchers crack open malware that hid for 5 years by WalterBright on Wednesday August 10, 2016 @03:07PM (#12264098)
Prohibitively expensive? That's how things have been done for decades. Only recently have manufacturers decided that everything should be redoable over the internet.
Re:Researchers crack open malware that hid for 5 years by infinite8s on Wednesday August 10, 2016 @12:33PM (#12262976)
Are you including the capability to control it over a network? Burning potentially unfixable 0-day exploits into ROM would probably be a non-starter.
Re:Researchers crack open malware that hid for 5 years by WalterBright on Wednesday August 10, 2016 @03:10PM (#12264115)
If you can update the firmware over a network, you have an uncloseable exploit vector.

ROMs are not unfixable. They do require physical access, though, which eliminates nearly all of the risk.

Re:Researchers crack open malware that hid for 5 years by infinite8s on Wednesday August 10, 2016 @05:07PM (#12264751)
Even if those updates require signature verification with a public key stored in ROM? I guess the signing key cold get out or you could patch the firmware to skip the signature check (the way the initial iPhone was jailbroken)
Re:Researchers crack open malware that hid for 5 years by heavenlyhash on Wednesday August 17, 2016 @03:23PM (#12307562)
We also literally just had the Windows key leaks within the last week. Un-updatable signing keys are still an uncloseable exploit vector. (And updatable signing keys are an uncloseable exploit vector. You can't win.)

Physical-access-only updates: yes please. We know what the security boundary is on those, and how to reset it.

Re:Researchers crack open malware that hid for 5 years by Dolores12 on Tuesday August 09, 2016 @11:42PM (#12259381)
Malware infection module can be stored nearby on different device infecting your target device every time you power it on, until you patch your device.
Re:Researchers crack open malware that hid for 5 years by WalterBright on Wednesday August 10, 2016 @01:16AM (#12259636)
Right. But each device that uses ROMs is one less attack vulnerability.

After all, if attacks can target A, B, or C, that is no excuse to not fix B.

Re:Researchers crack open malware that hid for 5 years by megablast on Tuesday August 09, 2016 @08:38PM (#12258716)
> No malware will survive a power cycle.

Not true at all.

Re:Researchers crack open malware that hid for 5 years by WalterBright on Tuesday August 09, 2016 @09:27PM (#12258894)
Please explain.
Re:Researchers crack open malware that hid for 5 years by deftnerd on Tuesday August 09, 2016 @09:59PM (#12259028)
I'm not the original poster, but unless you're talking about a very simple embedded system, most computing devices have lots of areas for malware to live that will survive power cycles. HDD firmware, graphics card firmware, various controllers have their own firmware, NIC cards have their own firmware, etc.

Even if the boot device is read-only, it would be a huge challenge to build any kind of system without these vulnerable components.

Re:Researchers crack open malware that hid for 5 years by WalterBright on Tuesday August 09, 2016 @11:16PM (#12259297)
Every one of those devices that is done with ROMs closes another door to malware. It's certainly far more doable and reliable than ensuring the software doesn't have holes in it.

There's a huge market for secure items - routers, cars, thermostats, medical devices, avionics, ATMs, etc. I simply don't understand why ROMs aren't used.