News for hackers. Stuff that matters.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by ChuckMcM on Thursday August 13, 2015 @07:41PM (#10057851)
The sad thing for me, and I see this way too often, is that someone, somewhere, no doubt said "Of course its secure, you can only READ the CANbus, the software doesn't even HAVE a write capability!" and everyone in the room nodded and went on with the rest of the review.

Manufacturers and engineers have to get it through their head that IF you can change the firmware ANYONE can change the firmware. If the firmware is SECURITY CRITICAL then the only way to change it can be through physical presence, loading encrypted and and signed firmware, with external validation. (something like the car asking for a third party to authenticate the operation ala nuclear launch codes). You can still get screwed but it will be hard enough to do that otherwise low value targets will remain relatively safe.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by csours on Thursday August 13, 2015 @08:01PM (#10057907)
And when manufacturers start doing that, people will complain that they don't "own" their cars anymore. [1]

1: http://boingboing.net/2015/05/21/gm-says-you-dont-own-your-c...

Disclaimer: I work for GM.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by krasin on Thursday August 13, 2015 @08:13PM (#10057950)
There's still the right and secure way to go:

1) By default the cat is "locked", and uses a manufacturer-issued public key to verify the signature of updates

2) A car owner can "unlock" the car, by creating a key pair, and asking the manufacturer to add / replace (debatable) the new public key to the car. Right after that, the owner has an ability to modify the firmware, but everything is still secure. And it's up to the adult owners to manage their private keys and be careful with updates.

3) There should be a simple way to factory-reset the car (with either the owner, or the manufacturer signature).

Re:Black Hat USA 2015: The full story of how that Jeep was h... by pwnna on Thursday August 13, 2015 @10:54PM (#10058389)
What about just a jumper instead of having complicated crypto setups?
Re:Black Hat USA 2015: The full story of how that Jeep was h... by nickpsecurity on Friday August 14, 2015 @12:12AM (#10058584)
Exactly! Jumpers with EEPROMS. I miss those. I recommended them often on Schneier's blog for a budget solution to boards with firmware update. There were also old mainframes that let users update the firmware by physically swapping it out much like we swap out a drive or SD card today. Cheap as chips can be today, there should be even more simple solutions available.

As usual, technology isn't the reason. It's marketing, profit per unit, and profit in maintenance phase.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by teraflop on Thursday August 13, 2015 @08:24PM (#10057980)
Under this model, if you buy a used car, how can you be sure it doesn't have keys that are controlled by someone else? You can follow the "factory-reset" procedure, but how do you know the reset mechanism hasn't been tampered with?
Re:Black Hat USA 2015: The full story of how that Jeep was h... by tzs on Thursday August 13, 2015 @08:43PM (#10058040)
They can design it so that the firmware is in two parts.

The first part does minimal initialization and then gives control to the second part, which is where most of the functionality is.

The first part is also the part responsible for implementing the firmware update protocol and the reset procedure. The first part would either not allow any update to replace the first part, or it would only allow the first part to replace with factory signed firmware.

Alternatively (or in addition) they could have a diagnostic connector that lets external hardware read the firmware memory. You could then do the factory reset on your used car, and then hook something up to that diagnostic connector and have it compute a hash of the firmware that you can check to make sure it is the right firmware. An Arduino should be sufficient as the thing to read and hash the firmware.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by mikeash on Friday August 14, 2015 @12:27AM (#10058624)
I think the best solution would be your first one, but have the second part be stored on removable media, like an SD card. Make it physically impossible to write changes to anything but the SD card (e.g. use actual ROMs for the first part, and use volatile RAM for temporary storage of the code loaded from the SD card).

Then, if you want to be sure that the firmware isn't hacked, simply remove the SD card, put it in a computer, and verify the contents. If paranoid, overwrite the SD card with the official firmware. If extremely paranoid, throw away the SD card, buy a new one, and write the official firmware to it.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by btown on Thursday August 13, 2015 @09:28PM (#10058161)
The second approach is likely preferable - with the first approach, FOSS Stalwarts will still complain that there's non-free software in the system.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by dlubarov on Friday August 14, 2015 @01:28AM (#10058777)
They could still open source the first system's firmware code. FOSS doesn't imply easily modifiable, does it?

E.g., rms says he used a Lemote Yeeloong because of its free BIOS, but AFAIK he couldn't have reprogrammed it unless he removed the BIOS chip from the motherboard.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by Brian-Puccio on Thursday August 13, 2015 @08:43PM (#10058043)
Similarly, when you buy a used car, how can you be sure the previous owner didn't copy the key (you know, the thing that lets you open the door and drive away) and still has it? That's not a new question.

Similarly, you move into a new apartment and the super gives you the key (to the door, not a cryptographic one). You installed a new lock, right?

Re:Black Hat USA 2015: The full story of how that Jeep was h... by basseq on Friday August 14, 2015 @09:20AM (#10059958)
In newer cars, keys are unique and registered to the car individually. My Audi has a list of all keys registered, and I can have the dealer unregister any I've lost.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by ethbro on Friday August 14, 2015 @11:27AM (#10060634)
Any details on how this process works?

Cursory searching reveals the procedure for manually adding blank keyfobs to Audis, but what you describe above seems... a fairly technically complex system to take on faith. (Given the article we're talking about)

Re:Black Hat USA 2015: The full story of how that Jeep was h... by basseq on Friday August 14, 2015 @03:33PM (#10062337)
Technically: not a clue.

Modern keys are complex things. Gone are the days where you can have a piece of metal re-cut for $5 at Home Depot. A replacement key for modern cars is an expensive proposition: they have to be custom-ordered from the factory (with proof of identity and insurance) then programmed by your dealer. Replacement keys for modern Audis/BMWs/Mercedes run $300-400 all-in. (Remember that scene from Gone in 60 Seconds? And that was 15 years ago. And also a movie.)

You can buy blanks, sure, but without programming, it's nothing more than a hunk of metal.

Is it somehow possible to "clone" a key? Never underestimate hackers, but it ain't easy. Per Brian-Puccio's use-case, unless the previous owner is presenting auto exploits at DefCon, you don't have to worry about someone having a copy of a key you don't know about. (And if they've lost it, you can go to the dealer and have it un-registered.)

Aside: Google around for articles on new car theft: you'll find that no thieves are copying keys or hot wiring or anything like that. In fact, the "new thing" is to get a signal amplifier that allows a car's keyless entry/start system to "find" a key that's sitting 100 feet away inside someone's house or office, then just drive away.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by basseq on Friday August 14, 2015 @04:20PM (#10062672)
One correction: MMI doesn't list all the registered keys, but it does track them (e.g., you just see the total number registered). I know that dealers can un-register, and I know they're unique.

http://pixady.com/image/6ds

Re:Black Hat USA 2015: The full story of how that Jeep was h... by ethbro on Monday August 17, 2015 @12:03AM (#10071337)
Neat! Thanks for the additional details. The part I was curious about was the dealership being involved in the process. In other words, who is authoritative: if the car queries the manufacturer for authorization, or if the dealership is updating the car.

Both with pros and cons, ofc.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by krasin on Thursday August 13, 2015 @08:51PM (#10058066)
This is a good question.

I see at least two ways to implement that, but I certainly don't see how practical they are, if implemented at scale:

1) Every component has unmodifiable update logic that supports just that: factory reset for itself, and propagating it to the subcomponents.

This is still where we can say "the owner does not own the car", but in this case it could be treated as a part of hardware (that could not be modified either), rather than "user-space" firmware.

2) Allow easy reinstallation of the critical electronics components, which can be bought from the manufacturer. I don't quite like this "hard" way, but it's a possibility.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by riquito on Friday August 14, 2015 @06:38AM (#10059434)
The firmware must be able to create and sign a document with written the signature of the keys inside so that the car's owner can check the result (the car's maker would publish his public keys).

If the hardware of the firmware is tamper resistant you can pretty much be sure that it's unmodified. If the attacker can modify tamper resistant hardware I don't think that the car is your first concern.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by mynameisvlad on Thursday August 13, 2015 @08:40PM (#10058030)
I would assume in this perfect scenario that the factory reset lives in some ROM somewhere that nobody, not even the manufacturer can touch post-release.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by eli on Thursday August 13, 2015 @11:02PM (#10058409)
This is a straw man. How do you know someone didn't copy the physical key to the used car? I think most people don't care.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by kriro on Friday August 14, 2015 @03:25AM (#10059006)
There's a subtle difference. With the physical key you can't do anything remotely, with a copy of the proposed crypto key you can.

Remote control over your breaks/steering is a pretty scary scenario. Someone having your physical keys mostly means they can steal your car.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by eli on Friday August 14, 2015 @07:45AM (#10059609)
This is a strange thing to worry about: the former owner of your used car planning to murder you? I'm perfectly fine with the answer that, as with most technology, it's nearly impossible to prove your car computer hasn't been backdoored.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by maerF0x0 on Friday August 14, 2015 @01:08PM (#10061302)
How about the former owner of your used car taking control of it to drive it to the next potential buyer, eliminating you in the process.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by maerF0x0 on Friday August 14, 2015 @01:05PM (#10061283)
buy and install a new ecu. same as buying a used laptop...
Re:Black Hat USA 2015: The full story of how that Jeep was h... by Asbostos on Thursday August 13, 2015 @11:33PM (#10058504)
This assumes the manufacturer's software has no vulnerabilities. Safer to have a hardware airgap that doesn't allow writes no matter what the software says.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by matteotom on Thursday August 13, 2015 @08:11PM (#10057937)
There is probably a middle ground here. For example, lock it down like the parent comment suggested, but have a process to unlock it, requiring (for example) physical access and some vehicle specific file from the manufacturer requiring proof of ownership and a scary warning. (I believe some phone manufacturers had a similar process for unlocking bootloaders a while back.)

This would still allow enthusiasts and security researchers to "own" their vehicle and would keep malicious actors out (for the most part).

Re:Black Hat USA 2015: The full story of how that Jeep was h... by pki on Friday August 14, 2015 @02:21AM (#10058888)
Wouldn't this basically make cars no longer street legal?
Re:Black Hat USA 2015: The full story of how that Jeep was h... by snowwrestler on Thursday August 13, 2015 @10:41PM (#10058356)
Put a key on a piece of hardware and provide it with the car. The firmware will not update without that key. Now the owner can update their firmware, or hand the key to their mechanic to do it for them. If they lose the key, they get to pay their mechanic to source and install a new controller that comes with a new key.

Or heck, just put a switch on the controller that must be manually closed for a firmware update to proceed. What matters most is preventing quiet firmware updates over the air.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by Too on Friday August 14, 2015 @01:57AM (#10058834)
Even if the update is not quiet, how do you know that it's authentic? If the hackers can trigger a "update available, please flip the update switch and restart your car"- notification, you will not be able to tell if this came from the manufacturer or the hacker.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by snowwrestler on Friday August 14, 2015 @09:39PM (#10063980)
In my first idea, the hardware "key" holds two cryptographic keys. One is a private key, whose public counterpart is held by the manufacturer. This authenticates the vehicle to the manufacturer. The other key is a public key, whose private counterpart is also at the manufacturer. This authenticates the manufacturer to the vehicle.

My second idea does not accomplish any new authentication (beyond what over the air updates already do). However it does prevent silent updates, which is an improvement over today.

Today, not only can a vehicle owner not tell if an update came from the manufacturer or hacker, they can't even tell that an update happened at all.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by peterwwillis on Thursday August 13, 2015 @09:00PM (#10058093)
We (consumers) had to deal with that over 10 years ago. My old Lexus still has some kind of proprietary diagnostic system that only dealerships can access, and we get stuck with dinky ODB2. Did manufacturers suddenly start getting more transparent and compatible with their vehicle diagnostic and control systems?

Also: virtually every consumer in the world would choose safety from some 'evil hacker force' rather than the ability to maintain their factory entertainment system themselves. There's really zero reason the nav/entertainment system should be on the same communications network as the engine and brakes, anyway.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by saulrh on Thursday August 13, 2015 @08:06PM (#10057918)
Keep a suitable private key for signing firmware in the car, locked in a secure box that can only be unlocked with two copies of the car's ignition keys? I'd call that sufficient security, but it'd also clearly allow me to get to the keys if I want.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by Qantourisc on Friday August 14, 2015 @01:09AM (#10058727)
You could for example hook up the radio to a CANbus that has a minifirewall/proxy in it, allowing only read from the radio and write/read to the radio.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by dsuth on Thursday August 13, 2015 @09:10PM (#10058113)
Regardless of the firmware question with the V850 module, I'm surprised that other modules on the CAN bus would accept commands from an entity that 'should' only have read access, without validation.

I'm not up to speed on CAN bus, but if it's not possible to secure it in this manner, then it cannot be considered an appropriate communications bus for safety-critical applications. Even the industrial guys are getting their heads around this with encrypted & validated signalling over ethernet.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by kevin_thibedeau on Thursday August 13, 2015 @09:49PM (#10058228)
CAN isn't really designed for security. The nodes don't even have addresses. They communicate using message IDs without regard to who the sender or responder is. The error detection requires a party line so that any node can flag a corrupt message and the data rate is too slow to make tunneling a secure stream practical.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by willyt on Friday August 14, 2015 @02:44AM (#10058926)
Just to add. It can be implemented on an 8bit micro controller. It's pretty similar to I2C or SPI but with a bit of error checking thrown in.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by dsuth on Thursday August 13, 2015 @11:06PM (#10058429)
Thanks for this description (and others below). In that case it's not reasonable to use this for safety critical applications, IMO. Any element on the bus becomes a potential point of entry, and there's no defence in depth once on the bus. Kinda scary from an architectural point of view.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by billforsternz on Thursday August 13, 2015 @11:52PM (#10058538)
Unfortunately you are casually proposing to trash untold billions, probably trillions of dollars worth of existing automotive engineering infrastructure with that comment. As any system is decomposed into components you can and must reach a level where inter-component communication is dumb, unquestioning, immediate. Obviously by the time you reach transistors (or pistons) that's how it works. CAN is not as fundamental to cars as pistons (or wheels if you prefer electric cars I suppose) but it's not that far removed. It was developed decades ago, at a time when this kind of hacking was strictly science fiction.

I don't think it's necessary to throw away everything (as near as makes no difference) to address this problem. Real air gaps, real read-only circuitry etc. (as described in other comments) could do the job.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by dsuth on Friday August 14, 2015 @12:24AM (#10058614)
I disagree; it's not necessary to throw everything away, but an improvement should, and must be made. Existing protocols can be extended to include security (and have, see Safety CIP for an example).

Any form of engineered design is unlikely to go backwards in terms of the functionality and flexibility that things like bus communications bring, but awareness of these new attack vectors needs to be included in the base design.

This is the path that industrial control systems are taking in light of attacks such as Stuxnet, I expect that the automotive guys (who are usually ahead of the game in terms of systems engineering) will follow suit.

Edit: The problem I have with people proposing air gaps and read-only circuitry, is that they just don't work in real applications. If there is a business case against it, such as the service these jeeps were offering, then air gaps and hardwired circuitry solutions will be overridden by that business case. Further than that, as can be seen with things like the Lenovo hardware fiasco, manufacturers cannot be trusted to abide by the rules (such as: air gaps are now mandatory), when there is a benefit for them to act otherwise. As Chrysler now has the ability to remote into their cars, they are very unlikely to remove this ability 'merely' due to safety concerns.

It's far safer on the whole to offer secure methods of achieving the existing or proposed functionality, than to try and walk backwards and make things harder and more costly to implement, for lesser functionality.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by Too on Friday August 14, 2015 @02:41AM (#10058920)
The nature of a bus-network makes it very hard to do verification that the sender is in fact who he claims to be. Only solution i can see that really works is if the true sender "breaks the bus" when it detects a malicious sender is using it's source address, as is done when you get ID-collisions, CAN itself does not have a concept of source but many protocols implemented on top of CAN does. In practice this could be very complicated though because often devices deliberately pretend to be other devices due to compatibility with legacy devices.

The bandwidth of CAN is quite limited so including cryptographic signatures with proper strength in every message is not an option. Establishing encrypted connections also comes with a safety risk if they fail, current architectures are designed to allow glitches in the physical connections and recover instantly once the connection is back. Really, many ECUs are designed to fail in every possible way, you can even pull the power of an ECU and plug it back in while driving and your car will keep going without you even noticing it(dont try this at home). You don't want to waste a second with encryption handshaking on a 100hz signal just because you lost a sequence number somewhere. And knowing the complexity and lack of quality in encryption libraries(openssl anyone?), adding more complexity would just introduce even more risk.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by paulmd on Friday August 14, 2015 @10:38AM (#10060305)
> And knowing the complexity and lack of quality in encryption libraries(openssl anyone?), adding more complexity would just introduce even more risk.

What you're saying here is fundamentally that because OpenSSL has bugs that everyone should be using HTTP instead. That opinion puts you in the minority of the technical world, to say the least.

> Only solution i can see that really works is if the true sender "breaks the bus" when it detects a malicious sender is using it's source address, as is done when you get ID-collisions

This is a solution that requires perfect implementation from every component. As long as this is actually a specified behavior, written down somewhere that you have to implement to mark your part as "CAN2-compliant", that would be OK, but I doubt that's going to happen.

In general, though, I oppose requiring every node on a network operate perfectly to maintain security.

> The bandwidth of CAN is quite limited so including cryptographic signatures with proper strength in every message is not an option.

So don't include a signature in every message. Nobody does that in the computer world, you authenticate a session. There's still no reason for the head unit to be opening up a session with the brakes, and the brakes should reject such a connection attempt.

I realize that this isn't possible with the architecture of the CAN bus, but the CAN bus is just not suitable for nodes which are connected to the internet and broadcast wifi hotspots. The failure case of a CAN bus attack is just not appropriate - once you're on, that's it, you can do anything. There's going to have to be some changes, and the sooner we accept that fact the sooner we can start working on a solution. If we need a network with a cleaner electrical source and more bandwidth, that can no longer be driven with 8-bit micros on an unfiltered alternator, well, that's the price of having nice things. We'll have to buy the $1 part instead of the $.30 part to get the power windows onto the network. When you're connected to the internet, blind trust is not an option.

Within a year or two we'd see micros with onboard crypto accelerators anyway, and we'd be back to the $0.30 parts.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by dsuth on Friday August 14, 2015 @02:47AM (#10058931)
Thanks for that comment. I have some more reading to do on CAN bus, and admittedly I come from an industry where the default is generally to turn things off in unsafe or uncertain conditions, which simplifies the protocol significantly. That doesn't help when your car is doing 100km/hr on a freeway though...
Re:Black Hat USA 2015: The full story of how that Jeep was h... by paulmd on Friday August 14, 2015 @10:32AM (#10060267)
We call this "dumb, unquestioning" layer the "link layer" (layer 2) in the 7-layer model.

The thing is, nobody lets their computer act based on arbitrary packets coming in from the internet. We at LEAST make them take place in the context of a TCP session (layer 5). More likely you'd require node authentication (a function of the application layer, layer 7).

I have real doubts that manufacturers can/will implement airgaps and read-only circuitry properly. Jeep tried, and now they're doing a recall. Auto companies are only starting to realize that they are actually in the business of computer security now, and it will be years before there's been enough of these recalls for them to come to terms with the magnitude of this task. The fact that they are still operating on the walled-garden concept - inside of which all messages are taken on face value - is ample evidence of this.

Real airgaps imply a severe degradation of functionality from what both consumers and auto companies have come to expect. The days of your entertainment unit being able to control anything in your car will be gone, as will things like over-the-air firmware updates, remote door unlocks, etc. This is just not going to happen in a feature-driven world. And all it takes is for someone to leave one firmware-flash bit unset and the entire thing is worthless. Expecting that airgaps and read-only circuitry will be implemented, and implemented perfectly, every time, is wildly unrealistic, and with that security model the failure case is brutal. Once they're into the garden, they're in.

Burying your head in the sand or bawling about the cost of the fix is pointless. Cars are now connected to the internet and broadcast wifi networks, they can no longer blindly trust messages on their internal networks. That's the thing auto companies have to fundamentally come to grips with, regarding them now being in the business of computer security. If you want cars to be on the internet, validating signing for messages, firmware updates, etc is not optional, regardless of what you would prefer. We need UEFI for car hardware, and we need messages authenticated on a session level. The brakes need to be able to realize that there's no valid reason for the head unit to be sending them commands.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by billforsternz on Friday August 14, 2015 @07:20PM (#10063581)
I think CAN maps better to layer 1. You can and do blindly trust messaging at layer 1. In any piece of engineering there exists an abstraction level below which there is no security. Software people are prone to forget this because everything they do is virtual. But it's not turtles all the way down, there is no such thing as a secure transistor.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by mzs on Friday August 14, 2015 @09:46AM (#10060062)
Whoa there, no it's totally fine. It has great error and collision detection, is very tolerant of noise, has priority for realtime baked in, all the controllers do rudimentary and effective protections against failed controller, and the entire notion of some controller sending something a few are interested in and a controller interested in the same message that a number of different controllers may send is central tenant to the operation.

The mistake is making it accessible over a cellular network. This was not careful air gapping. The OEMs will learn a lot from this. They had protections but they were not strong enough. There will be protections that are harder in the future thanks to this.

CAN is really quite good and in fact is used at times in industrial automation as well as automotive where it shines.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by jfim on Thursday August 13, 2015 @10:46PM (#10058368)
CAN bus isn't designed for security, it's designed to transmit bits in electrically noisy environments (such as a car) between embedded devices. It sends frames of up to 8 bytes, which is not even large enough to fit a TCP packet header.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by mzs on Thursday August 13, 2015 @09:49PM (#10058226)
CAN is a bus over a wire with no concept of source (or destination).
Re:Black Hat USA 2015: The full story of how that Jeep was h... by forgottenpass on Friday August 14, 2015 @12:25AM (#10058615)
If the firmware is SECURITY CRITICAL then the only way to change it can be through physical presence, loading encrypted and and signed firmware

Physical access? So, hypothetically another car gets hacked, but this time there is no middleman in position to implement a mitigation like Sprint was in this case. How do you suggest a firmware rollout happens? Recalls? Mailing thumbdrives to end users?

Over the last week I've seen the infosec community warmer to the idea of OTA updates and all that baggage that entails compared to the alternative ways to update car firmware. You're posting pretty authoritatively though, if you've got some analysis that the rest of us don't, I'd love to hear it.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by hueving on Friday August 14, 2015 @01:09AM (#10058729)
The basic idea is that this wouldn't have happened in the first place if it required physical access.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by dlgeek on Friday August 14, 2015 @02:12AM (#10058867)
And if it was a buffer overflow that lead to an arbitrary RCE instead of a firmware-overwrite, and the fix was to upgrade the code to fix the buffer overflow?
Re:Black Hat USA 2015: The full story of how that Jeep was h... by klibertp on Friday August 14, 2015 @08:15AM (#10059713)
What buffer overflow? Obviously the firmware is formally proven correct and proven not to include any of those?

(I'm half joking here - I suspect that's not the case and won't be the case for a foreseeable future, but I'd be happy to learn I'm wrong here)

Re:Black Hat USA 2015: The full story of how that Jeep was h... by vessenes on Friday August 14, 2015 @12:54AM (#10058685)
I have for some time felt that robot cars absolutely need a physical disconnect lever. Nice and big, break glass, and you're driving off the wire.

But, this hack reminds me that there's no such thing in a modern car; the whole thing is networked.

So, yeah, physical updates of firmware. Although, in the article, it's a subsystem's firmware, which physically protecting that is just not in the minds of engineers right now: think of all the ports you'd need.

Even if the physical kill switch left me with just (unpowered) steering and brakes, I would have a vastly different perspective on the safety inherent.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by Qantourisc on Friday August 14, 2015 @01:13AM (#10058738)
In a lot of cars, this break-the-glass is still your ignition/car key. Big problems start when you have a "break-by-wire" model.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by Too on Friday August 14, 2015 @02:01AM (#10058842)
In lots of cars the key doesn't do anything when the vehicle is moving. In some cars you can't even turn it mechanically if you don't have gear in P or R, in other cars you can't even turn it at all because its just a button. There are very good reasons for this, the recent GM issue where the key fell out by vibrations which killed the power steering comes to mind, some people actually died because of this.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by __david__ on Friday August 14, 2015 @04:12AM (#10059101)
> "Of course its secure, you can only READ the CANbus, the software doesn't even HAVE a write capability!"

That can mean two things—either the software didn't implement writing but the hardware is capable of it, or the hardware isn't capable at all. Sounds like the former in this case. It should have been the latter.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by sitkack on Thursday August 13, 2015 @11:24PM (#10058481)
encryption is not the answer, physical read only circuits are the answer.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by ChuckMcM on Thursday August 13, 2015 @11:48PM (#10058533)
That is an answer, except consider the situation where a flaw is detected in the manufacturer's code. The cost to fix is to replace the entire chip. Which is fine, from a process standpoint, but these cars are going to be competing with other cars in the market and will have a higher "service cost" and that higher cost will dissuade people from buying (because historically less than 5% of the market is willing to pay a higher price for something that is "more secure").

So while I agree with you, unless it were federally mandated for all cars, the ones that didn't do it would have lower cost of ownership and get more buyers.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by Animats on Friday August 14, 2015 @02:54AM (#10058950)
The buyer pays about $600 extra for the "Internet-enabled" version of the car. It's an option; you don't have to buy it, and, after this, probably shouldn't. If you didn't buy it, software updates require a dealer visit. I have a 2007 Jeep Wrangler with no external interfaces, and it's been in three times for software updates for basic automotive functions, such as stability protection and engine restart.

Cars go back for recalls all the time. Having to physically replace a part isn't a big deal. Dealers have a supply chain in place for obtaining parts from the manufacturer.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by PhantomGremlin on Saturday August 15, 2015 @12:15PM (#10065773)
It's an option; you don't have to buy it, and, after this, probably shouldn't.

Unfortunately, at least for some cars, all these options are bundled together in packages. Unless you buy the base model, you'll get the Internet as part of a package of other features that you want.

I think that nowadays the better answer would be to go in and physically rip out the cellular antenna. Easier said than done.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by Pyrodogg on Friday August 14, 2015 @04:19AM (#10059122)
I don't think they implied that the chip should be read only, you should still be able to have a flashable firmware of some sort.

But instead of giving this chip which should be read-only regulated by software direct access to the bus, route it through a bit of extra on board circuitry which physically prevents it from writing data to the bus. This would enforce the readonly client in hardware, not firmware.

Re:Black Hat USA 2015: The full story of how that Jeep was h... by ChuckMcM on Friday August 14, 2015 @01:34PM (#10061480)
Sadly CAN bus doesn't have that option, although I suppose you could put a MITM sort of device which rejected any write packets. Could be an interesting gizmo to market to car makers.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by RealityVoid on Friday August 14, 2015 @08:50AM (#10059833)
I don't think that is easly done with CAN communication. You have a clock line and a data line. You don't have to drive the data line if you want to talk on it, you only have to pull down. So you can't simply not connect a wire (as in a Rx/Tx configuration) but you have to make the sillicon chip unable to Tx. This requires new sillicon chips, and even then I don't know how well they can pull it off. So this solution is far from trivial.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by mzs on Friday August 14, 2015 @10:01AM (#10060125)
There is no clock, that is one of the genius aspects of CAN. There were earlier ideas about multiplexing before CAN and they needed a clock, and that is why they never worked right.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by RealityVoid on Friday August 14, 2015 @06:39PM (#10063416)
Yes, that is true, sorry about talking stupid.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by PhasmaFelis on Thursday August 13, 2015 @08:19PM (#10057969)
I had thought the firmware already required physical presence to alter? As per the recall notice, Jeep is mailing everybody thumbdrives with updated firmware. That suggests that the hack doesn't require changing the firmware, but merely exploits what's already there.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by pacquiao882 on Thursday August 13, 2015 @11:28PM (#10058493)
They were able to remotely flash the firmware while the vehicle is being driven down the highway and there's not really anything the passengers can do while it's happening. They are able to control other components like the audio system without needing to flash anything.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by mmozeiko on Thursday August 13, 2015 @10:21PM (#10058309)
Charlie and Chris modified V850 firmware that is connected to CAN bus to control devices on CAN bus. They flashed V850 firmware from main info/entertainment system that runs Linux on ARM board. Chrysler most likely is patching this main firmware. Linux on this ARM board was entry point for this attack - it is connected to WiFi, 3G and other stuff and it has/had dbus listening on 6667 port for all interfaces.
Re:Black Hat USA 2015: The full story of how that Jeep was h... by maxerickson on Thursday August 13, 2015 @10:37PM (#10058342)
They go into detail about how they flashed the controller in the paper, page 64.