7 ms·
People say this in every IoT discussion (or rather, every IoT vulnerability invites litigation about the premise of IoT), but here's the thing: these systems ar
by tptacek 7y ago
People say this in every IoT discussion (or rather, every IoT vulnerability invites litigation about the premise of IoT), but here's the thing: these systems are not air-gapped, nor will they be. The argument is pointless. The median HN reader would not f'ing believe what kinds of things you'd think would be air-gapped that are not; in fact, they'd probably be gobsmacked by what wasn't air-gapped in the 1990s, when you'd use X.25 NUAs to reach them instead of URLs.
- departure 7y agoAnd? It's kind of like how I've seen you comment multiple times about how software shouldn't be written in C. You even said it during the DNS fuzzing thread earlier today. You saying that is just as pointless. You would be very surprised at how much new stuff is written in C!
- tptacek 7y agoNo, software written in C is and will continue to be replaced by software written in modern memory safe languages; the trend is strong and growing, to the point where we tend to look askance at (1) new software written in C and (2) popular software written in C that doesn't need to be written in C. The opposite is the case for network connectivity: the trend is demonstrably and decisively towards increased connectivity, and "air-gapping" is not taken seriously in the industry. There is no indication of that changing. The comparison you're making is invalid. I'm not trying to score points; I'm observing that the litany of "this should be air-gapped" complaints isn't productive, because things are not going to be air-gapped. (My full-time job is assessing software security and my background is in C software vulnerability research, so it's less likely that I'd be "surprised" by a new C package than that I'd warn my clients to avoid it, and flunk it in vendorsec assessments.)
- ziddoap 7y ago>I'm observing that the litany of "this should be air-gapped" complaints isn't productive, because things are not going to be air-gapped. So, how would one be productive about it? Your post seems to say, and please correct me if I am wrong, that because things aren't currently happening and there are some barriers to making it happen, we should all give up on pushing for it? To me, that seems like a rather fatalist attitude to have. Do we apply this line of thinking to everything? Or just air-gapping?
- tptacek 7y agoWell, I guess I'm going to say something challenging here: give up on air-gapping, since it's not going to happen. Revise your premises to assume technology that can be connected will be connected, and proceed accordingly. I am not, by the way, happy about this, but I've also spent essentially a lifetime (minus maybe 13-14 years at the beginning) having all the surprise on this particular issue knocked out of me.
- ziddoap 7y agoIt's really a shame that a (relatively easy to implement) solution exists to a problem, that could potentially save lives in this case, should be left to the wayside and a new solution needs to be invented. Which, that solution may also not be implemented. I guess I have a little bit of surprise left in me on this issue.
- closeparen 7y agoIt's not a solution, it's a layer. Vulnerabilities still matter behind an airgap. A hospital is a large, semi-public facility. Patients are left alone in their rooms with network drops. There are legitimate business needs to transfer records in from and out to other institutions; who's to say they can't contain exploit payloads? There are contractors, vendors, and high-turnover low-skilled staff circulating every day. And even if there weren't, if you've been thinking of the airgap as a "solution" and not keeping up with patches, the first person to cross will have a ridiculously easy time with whatever's inside. It's good to raise the bar from drive-by internet strangers to people and organizations willing to take mild physical risks, but it's not a panacea.
- ziddoap 7y agoI suppose I could have been more precise in my wording, and clarified that I see it as a solution to a piece of the puzzle. Indeed, you do word it better in saying it is a layer. I agree. It is a solution to facet of a problem which exists at a certain layer. I don't quite know how my comment led you to believe that I think airgapping is a pancea which solves all the existing computer woes in the world. I certainly don't think, and didn't intend to imply, that airgapping removes the risk from contractors or a reason to not keep up on patches. Again, I'm confused how you reached that conclusion based on my comment.
- merlincorey 7y ago> No, software written in C is and will continue to be replaced by software written in modern memory safe languages; the trend is strong and growing, to the point where we tend to look askance at (1) new software written in C and (2) popular software written in C that doesn't need to be written in C. When will we get an ANSI standard for one of these new fangled languages? Go is captive to Google, and Rust is more akin to C++ than C -- neither have an actual standard with competing compilers. Until that changes, I think plenty of new software will be written in C, especially freestanding and embedded software.
- AnimalMuppet 7y ago> Rust is more akin to C++ than C -- neither have an actual standard with competing compilers. C++ doesn't have an actual standard? Are you sure about that?
- merlincorey 7y agoRust and Go is what I was referring to in that case -- sorry for the confusion. Yes both C and C++ have standards, and I consider that to be a good thing, though apparently tptacek says I shouldn't care.
- AnimalMuppet 7y agoAh, I see. My error.
- tptacek 7y agoRust will displace C in embedded applications, and Mozilla will gradually POC out its displacement in browser software as well. Swift is and will continue to displace C/ObjC in client application software on Apple platforms. Java is displacing C on other mobile platforms. Go is already displacing C in serverside software. And, of course, languages like Python have overwhelmingly replaced most of what C used to be used for in conventional CRUD applications. C is on the way out. It's not gone, but it's going. There will not be a revitalization of the language. It'll be good to know, because some things (OS kernels and device drivers) will continue to be written in C for the foreseeable future. But that's a very small niche relative to the industry as a whole. Nobody cares, and nobody should care, about ANSI standards.
- ska 7y agoThis is true, and important (air-gapping isn't, for the most part, going to happen) Specifically speaking to medical devices, there is a bit of systemic bias. Early hospital networks were isolated, and this led to some naive thinking about security (e.g. DICOM protocol has no auth provisions). Many early machines weren't connected to anything at all, then they were but only "safe" networks so not much care taken. Development lifecycles on complicated devices is incremental over sometimes even decades. But now hospitals etc. have lots of pressure to connect all the things, for all kinds of good and productive reasons, and air-gapping just isn't a realistic solution. It's not an easy problem to solve, especially quickly. You are starting to see some partial hardening of devices, which will probably be the practical solution.
- jacquesm 7y agoMore to the point: almost every safety device installed in medical systems can be over-ridden during emergencies. So even if you can't normally access certain records or data, if you claim it is an emergency you suddenly can!
- ska 7y agoThis isn't true of most hardware devices at least - there are emergency shutdown procedures etc. But, to the original question, there isn't an "emergency override" that would let me change the dose or override the interlocks on received dose. There are sometimes calibration modes or research keys that let you do odd things to, say, imaging machines. But there are also processes in place to disallow clinical use.
- deogeo 7y agoSo because convincing manufacturers to air-gap devices is difficult, we should instead try for the easier goal of making bug-free software and hardware???
- tptacek 7y agoBecause convincing manufacturers to air-gap devices is intractable, we must instead work towards bug-free software and hardware.
- deogeo 7y agoAir-gapped systems far outnumber bug-free ones, so isn't that goal, by your own logic, even more pointless?
- tptacek 7y agoNo?
- deogeo 7y agoLet me put it this way - how would you achieve non-exploitable systems? Not just 'move towards them', but actually reach that goal? Because from what I can tell, it would require formal proof that the connected parts are safe (logic bugs can also be exploited, so just using a safe language is insufficient). If you can't get manufacturers to do the cheap, easy air-gapping, how will you get them to do the very expensive and time-consuming formal verification, that only a tiny, tiny fraction of developers is proficient in? Intractable doesn't even begin to describe it!
- tptacek 7y agoThere is nothing we're going to do that will immediately result in non-exploitable systems, and, as with all sorts of other kinds of risks, we're going to have to mitigate rather than eliminate this risk. Nobody is going to air-gap anything and I think there is ample evidence over the last 20 years that the trend goes in the opposite direction. Given the reality of the world we actually live in, productive conversations about securing embedded and IoT systems can't involve air gaps. Slightly later Here's another, simpler way to say the same thing: you might just as productively argue that these products shouldn't be built at all.
- tedunangst 7y agoActually, this seems like an area where some very literal litigation may make a difference? If your anesthesia machine is discovered to be plugged into the wrong network, your surgery license is revoked. I am generally opposed to liabilities for software defects, but system integration seems a more reasonable place to apply rules.