by nmrm2 · 11y ago · 0 comments
I'm skeptical of whether VW would have been caught any sooner, or would have changed their behavior, if they were forced to release source code; "and then analyze" is far easier said than done, especially with generated code (which is common in the automobile industry). I fear that if anything, forcing VW to release source code would have simply resulted in uselessly obfuscated "generated" code.
I'm skeptical of the proposition that taxpayers should take on the cost of analyzing reams of generated code without any context or documentation.
And finally, I'm skeptical that these calls for public access to source code are politically feasible, fair, or wise. The amout of intellectual capital that's spent on ECU design is absolutely massive. I don't see anyone in the tech industry calling on Congress to force Google or Microsoft to open source core components or reveal their software to regulators, even though vulnerabilities in their software could easily ruin or end lives.
It might make more sense to mandate that comapnies provide verifiable evidence that their safety-critical or regulation-relevant systems are properly designed, with a variety of avenues to compliance.
Releasing source code to the public and paying for at least one private analysis (to be selected by government regulators) would be one way of achieving this. This would probably be the easiest option for IoT companies (e.g. run-of-the-mill smart lightbulb manufacturers) whose source code doesn't contain any particularly valuable IP. And this would also force companies to pay up when they release hopelessly obfuscated code.
But this also opens the opportunity for other paths to compliance which, if designed properly, could address the safety concerns of the public as well as the fairness/property rights concerns of private entities. For example, one alternative path for companies whose IP concerns are legitimate could be use of formal methods. The regulation/safety specifications could be open to the public for criticism, and would be far more readable than a dump of generated code. And a few regualtors could double check that a trusted formal methods tool verifies that the specifications hold for the software running on the car, at minimal cost to both the car company or the general public.
then I think they would know they were being watched and would act less horribly, at the very least. It's the same reason why you almost never see backdoors in free software. Just knowing that you could be watched makes it a lot harder to be sneaky, even if nobody is actually watching. Same principle as having placebo cameras that are actually non-functioning.
But forcing Microsoft to reveal their crown jewels (they sell software) vs car companies reveal how an internal controller works (they sell cars), is not comparable in any way. Its disingenuous to imply that.
This makes two assumptions that I disagree with.
The first assumption is that software isn't a core component of cars. I think this is already not true. And to the extent that it is true, it won't be in 2-5 years. Software is at the core of emerging differentiations, such as self/assisted-driving features.
The second assumption is that that software doesn't or can't reveal sensitive information about (other) core components of cars. I think you'd be surprised at how much you can deduce about a physical system from its control software.
Finally, there's no clear bright line on which companies should or should not get to protect their IP. For Microsoft it's open-and-shut, but e.g. Google doesn't sell its search engine software. And what about IoT companies? "We're a software company that sells IoT appliances, not a lightbulb/car/robot/etc. company". So the only way to write such a regulation would be to write a regulation for the auto industry -- which is insufficient for the same reasons that Schneier talked about IoT and car companies in the same breath.
The controller we've been talking about control efficient engine operation, and conformance to existing federal standards. Not auto-driving cars (yet). There are powerful reasons to force them to be open, and only 2nd-order reasons to keep them secret.
In future I'd expect auto-driving cars would absolutely be completely open. There are even stronger reasons that emission-control issues, by far. Not running over kids for example. So we're likely to see a huge move in that direction.
As for a bright line, how about: if I can breath what you emit, or get run over by your software, then it belongs in the open domain? Pretty clear to me.
Just as car companies may just sell cars, Dell or Apple just sell computers. Why not provide the source code which comes with a new Dell/Apple laptop? In the end, how can a car maker, using Windows/Apple SW to build the SW for the cars, can trust them to not mess up? They are part of the tool chain for making cars.
For a car maker to provide source code, they would have to get permission from a lot of people. In this case, from Bosch. Bosch would require permission from their own OS supplier (probably Etas' RTA-OSEK/RTA-OS) and from other 3rd party suppliers. To be clear, these technologies are not directly available to the car maker. They never get complete source code from suppliers (unless some special agreement, but I doubt it). They can audit the SW/process though, which implies some level of access.
The engine ECU may not contain the new hype controls of self driving, but it contains a lot of know how, inventions, innovations. It's very nice to have a smooth running car, but it takes a lot of tech to make it run like this.
And no they don't have to reveal the source to the OS, that's a strawman.
If you tell companies they have to open source, you can be sure they'll be MISRA-C compliant. That doesn't mean their code is any less shit. Things like MISRA-C are useful in large part because where they are violated, you can be sure there was sloppy engineering. Giving people incentives to game standards whose claim to significance is largely correlative only guarantees that those standards become meaningless. In order for open sourcing to be useful, you need to analyze the code against some form of specification that concisely captures what that code is supposed to be doing, not just the absence of certain low-level errors or coding patterns highly indicative of certain low-level errors.
> And no they don't have to reveal the source to the OS, that's a strawman.
Why? A major bug in the OS would almost certainly make it impossible to provide any guarantees about the behavior of the ECU. And that OS is probably used in a lot of other safety-critical settings.
Sorry, but I still completely fail to see how your position isn't simply "primarily software companies deserve IP protections / primarily car companies don't".
> Disambiguating claims of company secrets, from the reality of coverups, is the whole point.
You're massively underestimating that amount of money car companies invest in both R&D and in engineering of software (Hell, car companies definitely spend more on CS R&D than the average software company, even if you restrict that to software companies working in safety-critical industries). This flippant attitude toward million/billlion dollar software investments based upon what companies happened to write that software is not going to fly outside of tech bubbles.