153 points · by signa11 · 6y ago · 132 comments
They clearly knew they were capable of reprogramming the control logic remotely (otherwise this idea for a test would've gone nowhere) and any engineer could've predicted this obvious outcome without the need for a real-world test.
Telling a business person they have a software problem is meaningless. Showing them losing a LOT of money because they ignored it gets attention. Ask any hospital about ransomware. Our local hospital is still running Windows 7 and older versions.
Everybody loves network connected new cars. Nobody thinks about the fact that they are "fly by wire", using software to control everything. Who thinks about changing the battery controller to cause a battery fire? Or controlling the acceleration to maximum? Or setting off the airbags? Or...
Use your imagination. What could go wrong in a 2 ton computer on wheels? Especially one that has a camera and software that can recognize "soft targets" (i.e. people).
It really should be illegal to have network connected cars. Any software security engineer knows that. But you can't convince a business person.
I fully agree that automotive and medical equipment/IT could greatly benefit from not having security as an afterthought.
However, I don't know any vehicle with connectivity (other than that Jeep Cherokee controversy), which does not have safety critical CAN/FlexRay buses segregated from user facing 'infotainment' systems.
What that means is that the network bus in which your 'compromised' infotainment system is able to operate is completely separate from Engine, ABS, AEB, ESP, Airbags etc.
The solutions vary but there is usually a physical gateway that prevents a passthrough MITM attacks, so for example you cannot simple send a message frame from your infotainment pretending to be an Emergency braking request to your ABS system.
Absolutely zero benefit of the doubt should be given to systems where a single error could cause grievous harm to tens of thousands of lives. Such systems should require an absolutely ironclad public legally-binding positive assertion of security with strict criminal liability for failure (blame can not be shifted) that is independently validated before we should even think of accepting their use. We already accept nothing less for systems that are less dangerous such as nuclear reactor meltdowns and systems that are equally dangerous such as nuclear weapons systems. If systems with failure modes many times worse than the atomic bombings of Japan can not be made safe, then they must not be made. Anything less would be so criminally irresponsible that we lack a word for the magnitude of irresponsibility.
[1] https://www.wired.com/2015/07/hackers-remotely-kill-jeep-hig...
The car can even be turned on and summoned remotely. Which means if nothing else it could be remotely driven onto a freeway to cause accidents even if it’s ‘autopilot’ had some kind of independent backup safely system to avoid collisions.
The important systems should not be permitted to be connected to the Internet. If an Internet-enabled entertainment system is fully isolated from the systems that really matter, there's no problem.
I could see that causing some secondary serious problems.
Could potentially amplify its impact by combining it with the GPS to ensure it occurs at a high speed and in busy traffic too.
Automotive engineers think about those things. When we drive our cars we're trusting them to have thought about those things, just as we're trusting that the engineer who designed the wheel nuts did his work well enough to stop the wheels coming off, or the engineer who designed the steering linkage considered how we might need to go round corners reliably.
Not always. Hacking a vehicle's brakes is no longer the stuff of sci-fi, it's already happened in a poorly-designed Internet-enabled jeep, see [0]. (As an aside, I have no idea why they thought it was acceptable to do their proof-of-concept demonstration while driving at speed on public roads.)
[0] https://www.wired.com/2015/07/hackers-remotely-kill-jeep-hig...
Ask literally any ICS security professional their main concern, it's "[organisation(s)] think a system is airgapped when it isn't".
Whether a system is software-defined/hardware-defined, networked/standalone - these are not technically hard questions to answer, correctly. (No more so than, say, whether polymer O-rings will completely fail to do their job when cold.)
That they're not answered correctly indicates a big communication issue, and whilst I'm sure management has much to answer for, I'm not sure engineers escape the blame for that either.
If that were a reliable safeguard, we wouldn't already have several examples about the behaviour of connected vehicles being compromised remotely in one way or another. Since unfortunately we do have such examples, evidently whatever is going on within the engineering groups at the auto manufacturers is not sufficient to ensure our safety and security in relation to these new generations of connected vehicles.
Looking at CANBUS, I guarantee that they do not. Any device trusts any other device, access to the bus is the only security control. Connect your entertainment system - probably an unpatched Android tablet - so it can display any info from the rest of the car, instant compromise of everything.
I don't see it this way. Right now, there are so many people in cars that should not drive. Alcohol, drugs, lacking skills - to me, computers add to safety. There will always be a risk. I trust computers more in this case.
If you want to push the safety related tasks into the computer, you have the obligation to make them hard to hack. And on the case of cars, that includes not plugging them into the internet.
Imagine for instance there is a bush fire and your centrally controlled car decides that the fire is fake news and prevents you from leaving since it’ll cause congestion on the roads. No different from Twitter banning the NY post story. Maybe they decide NY Post headquarters is not a real place and refuse to navigate the car there.
Yeah we should implement some kind of social credit system so that people who do drugs can’t drive or take public transport. They’ve got that in the modern utopia of China right now.
Having a real world failure under controlled conditions - would show where failure points are and possible fixes.
Because uneducated people (like Congressmen and executives) tend to believe stuff more when they can see it with their own eyes.
It's like, in terms of information security, putting up sensitive information on walls that can be seen from the outside. Almost no one sees a problem with that because they believe it takes expensive equipment... until you go, take a 600mm+ tele lens and prove to them that their sensitive information can be stolen for under 200$ worth of camera rental fees.
Or, remember the immigration debate in 2015? The picture of three year old Alan Kurdi on the beach and its consequences in politics? Never underestimate the power of images and videos.
The article mentions the people responsible not grasping the full scale of the problem. Giving them the visceral image of the potential destruction might help them take on board the risk emotionally as well as intellectually.
2) It's very difficult to justify increasing security budget every time some infosec people says so - especially if their salary depends on such budget.
He still hasn't fully grasped it yet or else he'd have said:
"You could imagine it happening to all machines in all plants at the same time, and it would be terrible"
that said, you could take out a significant number by performing the attack in a serial fashion
[1] https://www.wired.com/story/russia-ukraine-cyberattack-power...
With that it doesn't matter if it's the same hardware model and also not which generator sits behind it. From the article it sounds like that force would have killed any generator.
As for synch check, rule of thumb is two independant systems, one hard wired, three overall if you can swing it because often one of the multifunction protection relays will have that function available and you wire it and/or code it in line.
But I have seen big reciprocating diesels go into synch at 30-60 degrees out of phase and if they hold without tripping the generator protection then you might get a brief flicker of the lights, some stress on the crankshaft that who knows what it does long term, but some of them were old and had it done to them many times.
Yeah, so they did it, waste of a good machine for known outcome if ask me, very wasteful with no need.
And it is a very particular kind of attack, if you knew it was a problem it could be protected against for hundreds or thousands of generators literally in 24 hours or less - hardwired synch check which can be achieved with a voltage relay at it's simplest.
So I am not seeing anything in that excerpt other than highighting bad design practices.
And yet there are plenty of people who don't understand that software problems can cause permanent damage to hardware or people. Or they think of it in the abstract. I don't think it's wasteful to demonstrate.
It was definitely costly in this case. I think the author could have done with a smaller demonstration. But there is something to be said for grandeur.
> So I am not seeing anything in that excerpt other than highighting bad design practices.
Indeed. I think that was exactly the point of the demonstration.
1) Security researchers have an intense need to show their exploits actually work in case they're accused of not providing proof.
If you go to Defcon, most of the presenters spend half their talk on showing use of the exploit, no matter how tedious it is to the audience.
(When I supervise IT security audits, I have to tell pentesters just to document what they find instead of making changes, which introduces more problems and wastes time and effort. I've had auditors find a configuration file with passwords on a production server that uses them, then try to present a report on how they logged into each one. Duh, of course they work.)
2) This is related to #1, but business people, especially across silos in an organization, may not fully comprehend an exploit unless there is obvious proof. I've seen laughable levels of denial by otherwise intelligent people once they get into management. As in, "Yeah you showed it to me on the screen, but I'll need to confirm it with other sources" who then look at the same screen.
Pro tip 1: by default AWS AMI's are not encrypted. (The reason is that the main list of AMIs doesn't use your KMS keys.) So if you have a compliance program that requires encryption at rest, get cracking!
Pro tip 2: All theoretical exploits have shown to be practical ones later. Stop deceiving yourself.
Has this demonstration had any effect on policy anywhere?
If those changed anything, it was on some place I can't see.
https://www.telegraph.co.uk/news/worldnews/northamerica/usa/...
Leaked extracts in yesterday's Washington Post describe how the operation caused "the most monumental non-nuclear explosion and fire ever seen from space" in the summer of 1982.
"In order to disrupt the Soviet gas supply, its hard currency earnings from the West, and the internal Russian economy, the pipeline software that was to run the pumps, turbines and valves was programmed to go haywire after a decent interval, to reset pump speeds and valve settings to produce pressures far beyond those acceptable to pipeline joints and welds," Mr Reed writes
Sounds like rather expensive 30 lines of code.
We should trust our engineers, and not require them to demonstrate something at great cost to get the attention of people who make decisions...
You can't trust engineers anymore than you can trust lawyers (which lawyers?) or Doctors (Second opinions ever much?) Or indeed scientists, managers and politicians. The question to ask is "Do you have good reason to find this convincing."
When what is at stake has sufficient value proving the obvious is indeed, also correct, beyond doubt has very real benefits.
We also had some pretty fair warning from industries that use long-term thinking. Banking software was already breaking in 1969 (30 year mortgage logic). For many industries this was a long emergency.
Even by a cynical view that these were pork projects that didn't 'need to get done', so what? We do these all the time. The cash infusions prop up industries or divisions, and often serve as cover for attacking deferred maintenance. Over beers you can complain about how stupid it is to have to get things done this way, but at work you take the money and run as far as you possibly can.
What bothers me most, I think, is that if you've worked in software for very long at all, you should know all of this. Politics and proxies come up if you work at a mature company, or one that matures while you're there.
(On December 31st 1999, I watched the New Year's celebrations for Tokyo and Australia. When they didn't blow up, I agreed to make plans involving alcohol for the evening. By the time Europe didn't blow up, I figured we were gonna be okay, so Happy New Year to me.)
The factory had a machine break down. They hired a few cheap engineers who were unable to diagnose and fix the problem. Eventually they found an experienced engineer who fixed the machine by tapping it with a hammer and charged them $1,000. When they asked for an itemised invoice they got:
Tapping with a hammer: $5 Knowing where to tap: $9,995
The end result is know about an issue someone else could exploit if they have the time and will to do so. The US is going against state sponsored actors who will spend the time and energy to figure out ways they could cripple our country. And we do the exact same thing to them.
Security is done in layers. If you're a nation state, you need to be prepared to defend against other nation state actors. And that costs a lot of money.
The only code needed would be to completely ignore line and gen set phasing or flip them 180 to really let the bolts fly.
Any generator will succumb to this no matter the prime mover. They must be in sync with the grid or other operating generators before connected across the line/bus. This is power house practice 101 level stuff.
Indirectly through serial concentrators and RTUs and Scada access, almost 100%.
The FERC / NERC security standards that fell out of this event are largely a bad joke, but had the benefit of at least requiring North American utilities to do something at all.
Any transmission operator of size and most generation operations effectively require real time Scada for anything of meaningful capacity and they're sure not paying someone to sit next to it reading numbers off over a phone. They may not be IP addressed individually but to put it in perspective, I had a communication engineer tell me with a straight face that the fiber mux I telneted into over their local wifi wasn't internet connected, and thus the protection relays on the 500 kv substation the next building over were serial only -- over said fiber cables.
Also, irrespective of software safety, for a system like this grid power generator why can't they design physical safety relays/cutoffs? If the generator sped up beyond it's tolerances, it could cut-off. Why should it generate shocky torque that can damage the rubber grommets? That could be prevented by design?
Those are called "data diodes". They involve optical isolation. True one-way is very limiting, though.
A bad idea: the "bidirectional data diode".[1]
[1] https://www.fibersystem.com/wp-content/uploads/FS19189-Datas...
The trouble always starts when someone wants remote inputs for some reason. Then you really need to start to think about a) how to protect the gateway systems and b) how to make sure that even if the gateway is cracked the damage is limited.
This was not the generator speeding up beyond its tolerances. From what I understood from this article, it sped up slightly (still safely within its tolerances), but the difference in frequency made it out-of-phase with the power grid. Once it was connected, the misaligned electromagnetic field instantly tried to align the shaft (and match its rotation speed); that's where the sudden torque came from.
(This Wikipedia article has a description of the procedure using an older instrument: https://en.wikipedia.org/wiki/Synchroscope#Process_of_Synchr...)
As for better architectures, we're working on that, but industry is lethargic, lazy, and often organizationally dumb.
But there are limits to isolation. AC grid frequency and voltage and load flows are changing constantly, if normally by small degrees, and propagate at effectively the speed of light. It's impossible to have purely static immutable protection schemes for all but the most trivial of equipment.
Not to say it can't be a lot better.
They can and they do. Or at least "they" used to. Nowadays such safety devices are very often software enabled. Because it's cheap and also because it checks a box on the marketing brochure that every customer wants: "Software upgradability for lower maintenance cost and reduced down time." Oh the irony.
Being able to remotely monitor and manage such systems may lead to big cost-savings, if it enables the same number of employees to monitor multiple locations.
Seeing as how many tech companies routinely cut corners on security, one could easily imagine a non-tech company doing the same in an attempt to maximize profits.
This is why large transmission networks require some capability for fast transmission of data between circuit breakers. Not much data. But it's so much cheaper to send it over the Internet than to have separate microwave repeaters or separate cables or gear to send data over high-tension power lines.
[1] https://en.wikipedia.org/wiki/Northeast_blackout_of_1965
https://news.ycombinator.com/item?id=24903625
Same exact link 6 hours before.
So now Firefox is set to present me with Lucida Grande for all fonts, viz. serif, sans-serif, and monospace. I don't allow pages to choose their own fonts.
I don't think I'm missing much in general, but I do switch to Safari in special situations.
Readable pages and bonus: two RCE vulnerabilities avoided so far.
doesn't this cause random pages that use fontawesome (and other glyphicons) to fail?
(presumably pages that became unusable would have ADA problems...)
the real problem arises when you have multiple engineers replacing a lightbulb. the time needed to decide on a replacement bulb and agree that the ladder setup is safe is quadratic in n, where n is the number of engineers. it still only takes five minutes to replace it though :)
Code: While true { Get_current_demand() If current_demand > current_supply then increase_supply() }
Post Mortem Eng mgr: where is the code to check the capacity of the supply? Eng: we considered it but the PM said it was a p1. Increasing supply to meet demand was the MVP solution PM: our extensive market research indicated that customers would come nowhere close to capacity constraints. In fact our contracts limit the amount of energy they get. But client X went way beyond that, then the generator blew up
The classic protective mechanism for this is big fuses.
Classic manual synchronization of a generator involved three lamps, showing the voltage difference between the phases of the generator and the grid. The operator has to adjust the speed of the generator until all lights stop flickering and go out. Here's that being done with a desktop training setup.[2]
Because this is a touchy operation to do manually, it's usually automated. However, there's no reason you couldn't have a hard wired interlock so that the breaker won't close until all three difference voltages are low enough.
But it's so tempting to cut costs and put all that functionality into one convenient package. Like this one.[3]:
The SEL-700G is the right solution for utility and industrial generator protection, with an autosynchronizer, flexible I/O, and advanced communications. It provides a complete protection and synchronization solution for synchronous generators, so you can eliminate the complexity and cost of standalone synchronizer packages. Integrating the synchronization capability into the generator protection relay provides the most cost-effective and reliable solution.
The 5-inch, 800 x 480 color touchscreen display option allows you to directly set, monitor, and control your system, including up to five two- or three-position disconnect switches. A small form factor and multiple mounting adapters make it easy to upgrade protection without cutting or drilling existing cutouts. You can quickly integrate the SEL-700G into serial or Ethernet-based communications with IEC 61850 Edition 2, EtherNet/IP, the IEEE 1588 Precision Time Protocol (PTP), IEC 60870-5-103, the IEC 62439 Parallel Redundancy Protocol (PRP), Mirrored Bits communications, Modbus, DNP3, and other protocols.
What could possibly go wrong?
[1] https://youtu.be/FI_07YVS3tY