by kbrosnan · 2y ago · 0 comments
> We (@redford, @mrtick and I) have reverse engineered the PLC code of NEWAG Impuls EMUs. These trains were locking up for arbitrary reasons after being serviced at third-party workshops. The manufacturer argued that this was because of malpractice by these workshops, and that they should be serviced by them instead of third parties.
> We found that the PLC code actually contained logic that would lock up the train with bogus error codes after some date, or if the train wasn't running for a given time. One version of the controller actually contained GPS coordinates to contain the behaviour to third party workshops.
> It was also possible to unlock the trains by pressing a key combination in the cabin controls. None of this was documented.
> The key unlock was deleted in newer PLC software versions, but the lock logic remained.
> After a certain update by NEWAG, the cabin controls would also display scary messages about copyright violations if the HMI detected a subset of conditions that should've engaged the lock but the train was still operational.
> The trains also had a GSM telemetry unit that was broadcasting lock conditions, and in some cases appeared to be able to lock the train remotely.
I would like to challenge this. The ethical problem comes from this two facts: they had code which disabled the vehicle in certain conditions AND this was not communicated in the manuals/contracts.
The two together is what is extremely dubious. If you implement a time based expiry system, and tell about it to the customers that I think is fair. The customer might of course opt to not buy the equipment under those terms, or only pay a significantly reduced fee, but that is just business. And it might be good business for both participants if everything is well documented and transparent, and these restrictions are reflected in the price, and everyone enters into the agreement with full knowledge and consent.
Why does this matter: Look at it from the developer’s perspective. Imagine that they are told by their bosses that they need to implement technological measures to disable the product when the licence expires. Would developing that be unethical? I don’t think so. It becomes unethical at the later point when the train operator is not told about this. How much of that is in or out of the view of the developers is an other question.
I’m not saying this is what happened. Clearly the gps based lockdown is not consistent with this story even under the most charitable interpretation. Something is fishy here and needs investigating. (The kind of investigation where the police with a warrant takes the repo and the communications of the company, and interviews everyone separately to figure out who did what and when, and who known what and when.)
But while the overall conduct of the company appears to be unethical, it is not necessarily true that the software engineers in question were also unethical. It depends on what they did know, and what they were asked to deliver.
It would be completely unacceptable to me if an auto manufacturer baked in a time lock in a car I purchased. Heck, Apple got slapped for appearing to throttle performance based on age. Why is it reasonable for a train manufacturer to pull this stunt?
To be clear, plausible deniability is also a big gray area when it comes to moral or ethical questions. It a timelock in the software seems unusual, engineers aren't off the hook simply because they didn't ask. If they did push back or ask for an explanation and were given false answers, sure they likely didn't do anything most would consider immoral. But if they just wrote the time lock because it was in a spec and didn't ask why a train should include a time bomb? Totally unethical in my book.
I don’t know. I didn’t read the contract. Neither did you I suspect nor did the developers.
Jet engines are leased by the hour. Yes they are very real pieces of hardware bolted to your airplane. That has nothing to do with the business model. Why can’t the same be true for trains?
Even if I would know how trains are usually sold/purchased, which I don’t, I could be convinced by a boss that we are trying a different model.
Why is this important? Two reasons: if your mental model is that these kind of things are done by “unethical developers” then you are not looking for the real culprits, and your interventions trying to prevent such things will be inefective.
You know your trains will need service after 12 months in service or some number of miles. Absent that service, the train could fail, the failure could be catastrophic, and a catastrophic failure on a train kills people. You also know that municipal train operators in a great many parts of the world will absolutely run their trains until they kill someone rather than pay for downtime and maintenance. Therefore, you put in a lock on the train that if it hasn’t been serviced after 12 months, the train disables itself to force the owner to get the train serviced.
I remember a discussion of ethics on HN a few weeks or months back.
I said there are actions that promote the common good, actions that do not affect the common good, and actions that harm the common good.
I believe you view of "business" is in the category of harming the public good.
Also, I don't understand why so many software engineers are willing to write code that is clearly adverse to users so their managers can get their performance bonuses. What's the upside? Narrowly escape the next round of layoffs so you can do it all over again?
The tech companies are not our friends any more than they are the users friends, they collude against us and treat us as disposable. This will continue as long as engineers do not take a stand.
In my experience, the young engineer is hired and bets his/her career on this one position, then they are told to do the dirty work or leave. That's why I resigned from my first software engineering job.
You know the type, that without question mechanically implements exactly what is written in the specification, no matter how wrong it is, technically or morally. If you are lucky that is, and not only get back a steaming pile of bugs.
The bugs in the date checking hints this wasn’t written by the sharpest guy in the room, unless it was deliberately made confusing, to not be easily pattern detected.
Not saying they were -- but not a bad alternative to declining the work outright
We may see more info next week as they are scheduled to present at the 37th CCC. https://events.ccc.de/congress/2023/infos/index.html
Q3k is active here, https://news.ycombinator.com/threads?id=q3k
Nowhere in it any of the "lockouts" are documented.
The manual was supposed to allow comprehensive maintenance and repair, without requiring manufacturer's input.
So libel on top of computer sabotage.