Hacker Finds He Can Remotely Kill Car Engines After Breaking into GPS Tracking

7 years ago (motherboard.vice.com)

Not surprised. I built automotive test benches for some time. The moment you have something that can remote-access the CAN-bus, you have a problem.

There are typically only a few busses in a car. In many cases, there is a LIN bus for entertainment / radio / lights etc that is physically separated from the main CAN bus. This one is mostly harmless.

But if you can somehow talk to the main bus... There are like 5 critical ECUs that have to communicate "I'm OK" (engine, breaks etc) - otherwise nothing works. Those communicate with some minor encryption, and that communication is somewhat validated (they send counters to each other etc). But it doesn't matter. First of all, the protocols and databases are similar for different models, and known to A LOT of people who had jobs similar to mine. In order to test or build any ECU, you have to simulate the correct communication, otherwise the ECU won't start up.. Second, just sending nonsense with the right identifier could probably shut down the car or at least make it think there is a major problem. Third, there are messages that simulate power-cycling the bus..

  • Scary stuff. We connected light bulbs to the internet so people could turn them on and off with their phones, and they were hacked and turned into a botnet[1]. Okay, fine, maybe your "smart" bulbs blink or burn out, and you replace them with "dumb" bulbs.

    Why, exactly, do people think it's a good idea to connect cars' engines to the internet? If something is exposed to hostile input, it will eventually be hacked, and if there are 100,000 identical things out there, they will all be hacked at once. Unfortunately, I think it will take something like all Teslas accelerating uncontrollably off the road, because some teenager was bored, for people to get it.

    [1] https://www.techdirt.com/articles/20161107/09211835982/not-e...

    • All governments are essentially mandating connected cars effective 2020 model year.

      As hybrid and electrics take root, mileage and location based metering/taxation will become a major revenue source.

      2 replies →

  • If the LIN bus can access lights, and is bundled up with IMHO unrelated systems like radio/entertainment then that seems wrong by design. I say this as if somebody can remotely control your lights on a car, that in itself at the wrong time could and would prove dangerous.

    • Lights for instrumentation (inside the car). At least on the systems I worked with. I'm not much of an expert on that bus.

      Well, messing with this bus (audio volume.. blinking displays etc) could be disruptive as well, but not as critical as killing the engine.

      5 replies →

  • Hey that's interesting, most of these devices IIRC work via the OBD port with an additional cutoff wiring. I haven't looked but I'm assuming the OBD port is somewhat restricted?

    • Really depends on the vehicle. Some will have broadcast traffic that is easier to spoof, and ride on CAN addresses that aren't reserved for OBD. OBD quite often rides on the main CAN network, and without a gateway any ECU can be queried. The secondary CAN network (if the vehicle has one) is also on the OBD plug but on different pins.

      2 replies →

    • It would be simple to have hardware that can only use the K-line (which is diagnostic only) or even only uses power from the OBD2 connector.

      But you could also design your hardware to be able to write messages on the CAN bus and/or be able to take the bus down.

      2 replies →

There is surprisingly little security when it comes to GPS tracking. Just a couple of examples:

- Majority of GPS tracking devices use un-encrypted TCP or UDP connection to send location and sensor data

- There is also no authentication for devices; you can spoof data if you know device identifier (usually IMEI)

Source: working on an open source GPS tracking solution for almost 10 years

> By reverse engineering ProTrack and iTrack’s Android apps, L&M said he realized that all customers are given a default password of 123456 when they sign up.

Pretty much sums it up.

people in this thread have a crazy assumption of in-car network security.

leave this thread with one single knowledge: cars have a single canbus network, with zero security. your radio, turn signal, engine intake computer, are all talking in the open over a single data wire.

anything you plug to that network can listen /talk to anything, and instead of security you have a priority bit (or a few of bits, don't remember) that is completely self regulated by each device.

  • Single network? All manufactures i've worked with in recent times have tons of internal networks and buses. Some are more isolated than others, eg connected infotainment and OBD often being behind some kind of secure gateway to not have direct access to engine network. If anyone is aware of manufacturers that don't do this please shout out.

    But yeah, otherwise the data buses are kindof assumed to be internal and only contain trusted input, only recently some cars are now also starting to have cryptographically signed packets. It's really not such a big deal until you mix connected ecus with secure ecus or install cheap third party stuff yourself on same network, if someone could physically access the data bus there are other more dangerous things they could do anyway.

    • In other words, the 1990s called, with "everything is now network-exposed, surely it's all secured by something more than wishful thinking. Right?"

  • Tesla is an exception to this: it has a chip that converts high level commands, like stop to low level CAN commands (stopping slowly)

    • it's still going ultimately to the can: game over just the same.

      the problem is not known systems failing. it's malicious actors that are also on the can network.

      1 reply →

If an accident took place as a result of something like this would there be any way of finding out during an investigation?

  • Really depends on how throughout the investigation is/what hardware survives the crash.

    Depending on the surrounding circumstances of the incident, it would probably not even be considered a possibility because fatal car crashes are so common that "just another accident" is the most probable, and thus most usual answer.

    That's also the reason why Michael Hastings death is so controversial to this day [0].

    [0] https://en.wikipedia.org/wiki/Michael_Hastings_(journalist)

Just want confirm that vehicle security is a trash fire.

The CAN bus [1] has no security, you just put packets on it and read packets off it. Like "tell me the speedometer reading" or "activate the brakes" and CAN bus does it. You and I might think, gosh those are radically different things. Well the CAN bus disagrees.

Did I mention that there is no encryption? There isn't. To the CAN bus, the packets from the GPS tracker that say "tell me the speedometer reading" and the packets from the manufacturer created by pressing the brake are treated with the same authority.

Does vehicle electronics firmware use a weird 20 year old non ANSI version of C? Well of course it does. Does it require signed firmware? Hah!

Do most vehicle electronics suppliers not have the top quality security people they need? They do not. Do they have management support for making security conscious decisions? They don't.

Anything that can put packets on the CAN bus can completely control the car. So anything that connects the the CAN bus, through bluetooth, wifi, cell service, or a plug needs to be completely secure.

I'm a little distrustful of On Star and the like, because I don't think GM is security conscious enough to manage it perfectly. I'd be very distrustful of a company that let you keep a default password for your GPS tracker. Instead purchase the GPS tracker that does NOT read info about the vehicle, the only plug should be for power.

Here's a story about hacking Chrysler's Uconnect, with good details.

https://www.wired.com/2015/07/hackers-remotely-kill-jeep-hig...

If you are writing software/firmware that will control a vehicle, you should hard code the packets it can write and never include dangerous ones. Even though it might seem cool to be able to "stop the vehicle" in an "emergency". If you want to use dangerous commands, you need to level up your security org to google/facebook levels. If you are talking to management that means spending $50 million a year just on security.

These are not attacks that require state level NSA/Chinese/Russian attackers. This is well within the reach of an advanced individual. It is very lucky indeed that there is no monetary or other advantage to this, if actuating brakes in cars produced social security numbers we'd have hundreds of excess deaths a year.

[1] https://en.wikipedia.org/wiki/CAN_bus

  • Yeah, firmware is another issue. You read and flash firmware or parameters often directly over that CAN bus. There is nothing to validate that, for one manufacturer, I needed passwords (casually handed out to every supplier, the same for every unit), for one, the "encryption" was a XOR with the same number that had been used for every model for years. I didn't know why they even bothered. One of the manufacturers at least stopped you from flashing new software to an ECU more than 3 times.

    Did I mention that we had incredibly high fluctuation (at least production line test benches - brutal deadlines and 2am deployments, working in loud production halls, lots of travel, no technical innovation,..). We basically hired anyone who was alive and somewhat skilled. I don't think anybody ever talked to me about security - ever.

    What these articles are showing, is amateurs' work. I'm terrified by the idea of what a disgruntled / crazy / .. person with experience in the field could do.

Sounds like another ’Boeing software bug’ is likely to hit the smart cars business.

From working with military computer security I know that nothing directly connected to the Internet should be considered safe. Sounds like a bad design decision

If the device is correctly installed it should not kill the engine but prevent it from starting, just like smart keys.

  • Correct; usually the installer instructions will say to wire the hardware so it disables the starter motor. This means that the engine won’t stop, but rather be prevented from starting.

    Some of the cheaper (AliExpress) hardware installation instructions say that the relay should be wired to the fuel pump.

    I wonder if the starter vs. fuel pump is a regional difference? Perhaps in countries where vehicle theft is more prevalent/violent installers would lean towards cutting the fuel pump?

    • On a car with a manual transmission, killing the starter doesn't do much as you can bump start the car (get the engine spinning by driving the engine via the transmission rather than the starter).

  • As far as I know, most of the devices kill the engine, but only when vehicle speed is near zero.

Unless my car can drive itself, I will always disconnect any of this "IoT writ large" bullshit. I have my phone for navigation. My car does not need a cellular transceiver or a GPS antenna and I will happily rip both of them out by the wires.

  • You can only go so far with it. Fundamentally it scares me that I no longer have a mechanical connection between myself and the brakes, or other drivetrain components.

    • You should be able to pump the breaks with a pedal in the case of a power breaking failure. That doesn't mean the car can engage the break via other means.

      What gets me is electronic parking breaks, as that feels like it goes against the while purpose of the parking break.

      1 reply →

Well, what a complete and total surprise that adding this kind of functionality to an automobile would result in it being so insecure that it can be hacked into.

  • Because a GPS signal gives coordinates to your navigation screen.

    Your radio has 0 control over an Engine. Or at least, shouldn't.

    Source: Connected Car is my day job.

    • You’re completely wrong.

      First of all, many manufacturers market remote engine kill as a subscription service.

      Second, many cars use CAN busses and connect the radio to it. That makes it very easy for the radio to interfere with crucial functions, like braking.

      The CAN bus uses realtime time multiplexing for congestion control, so it is very easy to target traffic from a particular device subsystem, even accidentally.

      Sources: search for “can bus vulnerabilities”. Also, a ~2012 GMC I used to own had a bug in the radio firmware that caused the ABS system to stay on when the engine was off, which ran down the battery overnight.

      On my current Dodge, there is a recall where the head unit firmware leads to confusing semantics around “park” on the transmission, and a separate firmware update where it refuses to disengage cruise control.

      On recent Ford mustangs, the radio can display all sorts of engine statistics, and tune the engine in real time.

      European luxury cars are even more integrated on this front, and have sport modes where the radio changes the response curves for the engine, steering, transmission and suspension.

      The first generation Prius had the engine control computer physically inside the radio.

      That covers the major car manufacturers across three continents.

      2 replies →

    • This isn't about GPS navigation systems in your in-dash screen. This is about hacking into a service linked to a device specifically designed to do what he did with it.

      From the article:

      >The hacker, who goes by the name L&M, told Motherboard he hacked into more than 7,000 iTrack accounts and more than 20,000 ProTrack accounts, two apps that companies use to monitor and manage fleets of vehicles through GPS tracking devices. The hacker was able to track vehicles in a handful of countries around the world, including South Africa, Morocco, India, and the Philippines. On some cars, the software has the capability of remotely turning off the engines of vehicles that are stopped or are traveling 12 miles per hour or slower, according to the manufacturer of certain GPS tracking devices.

    • Must we use that many ecus? They are horrifically expensive - why not auosar separated squeeze them all together and we hope that row hammer never existed.

      2 replies →

Wasn't this article debunked as fake?

  • I tried searching for keywords on Google and Twitter and couldn't find anything to suggest this was the case. Do you have a source that you can suggest for this?

Just more FUD. Don't go outside, it'll kill you. Like Global Warming, Global Cooling, etc. We're all gonna die!

澳洲留学挂科买毕业证书买文凭买学历办墨尔本大学毕业证UM毕业证Q微:202 661 4433成绩单学历认证The University of Melbourne