Slashdot Mirror


Car Hacking is 'Distressingly Easy'

Bruce66423 points out a piece from the Economist trying to rally support for pressuring legislators and auto manufacturers to step up security efforts on modern, computer-controlled cars. They say, Taking control remotely of modern cars, for instance, has become distressingly easy for hackers, given the proliferation of wireless-connected processors now used to run everything from keyless entry and engine ignition to brakes, steering, tyre pressure, throttle setting, transmission and anti-collision systems. Today's vehicles have anything from 20 to 100 electronic control units (ECUs) managing their various electro-mechanical systems. ... The problem confronting carmakers everywhere is that, as they add ever more ECUs to their vehicles, to provide more features and convenience for motorists, they unwittingly expand the "attack surface" of their on-board systems. In security terms, this attack surface—the exposure a system presents in terms of its reachable and exploitable vulnerabilities—determines the ease, or otherwise, with which hackers can take control of a system. ... There is no such thing as absolute security. [E]ven firms like Microsoft and Google have been unable to make a web browser that cannot go a few months without needing some critical security patch. Cars are no different.

6 of 165 comments (clear)

  1. Memory Safe Languages As Countermeasure by Anonymous Coward · · Score: 3, Insightful

    Rust, Swift, Sappeur, Vala - they must also be used in the car industry. Instead of C. Look at the CVE database - 50% of exploits are solely due to the cowboy style of C (lack of memory safety).

    Or just roll over and concede that electronics are too dangerous.

    1. Re:Memory Safe Languages As Countermeasure by BitZtream · · Score: 4, Insightful

      ...

      Your solution to the problem is to try to kill the problem of bad developers by hiding it with the language.

      Could you name one example of where that has actually worked, EVER?

      When you write your 3 lines of Swift (lets limit it to languages real people outside of one company actually use), there are possibly a million lines of C could doing the actual work.

      You do real work in C. You ride on someone else C code in pretty much every other modern language. Switching them from C to any other language won't solve the problem, the problem is using people who don't think things through. Thats not a language problem is a person problem.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    2. Re:Memory Safe Languages As Countermeasure by ThosLives · · Score: 4, Insightful

      Five letters generally prevent most of the software *coding* issues found in critical automotive software: MISRA.

      Failures that happen in automotive software are almost never coding issues, but rather design issues. For instance, even the "infamous" Toyota brake control issues were due to design, not faulty coding.

      Switching languages is actually more likely to introduce more errors than reduce them, since you've now likely added coding errors on top of the design issues.

      (And I second the other poster mentioning things like compile-time allocation of all objects. I have never seen a dynamically-allocated anything in any of the embedded programs on which I've worked in the main code stream; closest we came was in a data logger which wrote to a dedicated area of flash, on a separate chip even from the main micro.)

      --
      "There are a dozen opinions on a matter until you know the truth. Then there is only one." - CS Lewis (paraprhase)
    3. Re:Memory Safe Languages As Countermeasure by Anonymous Coward · · Score: 2, Insightful

      Could you name one example of where that has actually worked, EVER?

      Isn't this basically what Ada was developed to do? And while it is sort of a niche language that no hipster would touch with a ten foot pole, it is often used for some critical systems, no?

  2. Re:FP by AchilleTalon · · Score: 2, Insightful

    In fact, we don't need cars at all.

    --
    Achille Talon
    Hop!
  3. Allow me to be the one saying "well, DUH!" by Opportunist · · Score: 1, Insightful

    You have an industry that deals with system and buses that were never designed to be secure. Simply because not only was it never intended to be "user enhance-able", it was never intended to be accessible without being, you know, INSIDE the car. Where you would first of all need a key to get in.

    But then marketing came along... need I say more?

    Security and convenience are diametrically opposed. There are very, very few things you could possibly think of that improve both, but a load of thing where raising either damages the other one.

    And in the battle between convenience and security, convenience wins. Always. Especially in the consumer market. Because the nifty little gadget is something you can show off. But that your car can't be hacked ain't something that will impress the neighbor. Well, if that neighbor ain't me, that is... cue dialogue I had recently

    "Look, new car!"
    "Erh.. yeah (meh)"
    "And look, I needn't open it, I just walk to it and it opens"
    "Car key in your pocket?"
    "Yeah!"
    "And you're transmitting your key to your car"
    "Yeah!"
    "Aaaaand... constantly while you're walking around."
    "Uh.... well, ... yeah..."
    "Whew. Glad mine doesn't inform anyone and everyone what key I use wherever I go. Someone bad might listen..."

    Oddly that was the last time he wanted to brag with his new car... anyway.

    People don't understand security. So it's no selling point. And not having it also ain't no reason that would keep people from buying. At least 'til the first cars get stolen and the insurance refuses payment 'cause there are no signs of unlawful entering or manipulation. Only then someone might come up with a demonstration and then the injured can get into a lengthy legal battle with the insurance company and the car company... and only THEN, when people get sensitized to it because they can actually FEEL that they'll be troubled by it, only then they'll consider security an issue. And only then car makers will take it into consideration.

    In other words, nothing to see here, kid just needs to touch the hot stove, only then we'll see them cry and learn. If anything, take it as proof that the average idiot out there ain't smarter than a 3 year old.

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.