Subscribe to EDN

Security in automotive electronics: press here to steal

March 1, 2007

Wayne Chavez, global manager for automotive controllers at Freescale Semiconductor, related this week a story about the growing issue of security in automotive microcontrollers. Seems there is—or at least was until recently—at least one car model from Daimler-Chrysler that could be purloined in the following fashion. First, knock off a remote-controlled side mirror, exposing the CAN bus that runs through the car’s chassis control system. Second, attach your own microcontroller board to the CAN bus and use it to gain control of the car’s theft-prevention system. Third, drive away, trying not to laugh too loudly.

Everyone associates automotive electronics with extreme demands for reliability. But as automotive microcontrollers and SoCs assume more and more of the mission-critical responsibilities for the automobile—keeping it running, keeping it intact, keeping it in the family—the need for security and authentication in those processors has grown rapidly and, for the most part, unremarked. Chavez says the demands are not yet as high as in, say, secure Smart Cards for banking, but they are headed that direction.

There are two separate issues involved, Chavez continues. First, there is the problem of intentional intrusion. In tomorrow’s highly computerized vehicles, a thief, vandal, or assassin could achieve his purposes with elegant ease if he could gain control of a just a single key piece of code in the right microcontroller core. This makes authentication of access to the processors and protection against unauthorized intrusion increasingly important.

The problem emerged earliest in engine control software, where it has been fashionable in some circles to recode engine controllers for more power and torque at the expense of fuel efficiency, emissions and, quite probably, engine life. To prevent this, some manufacturers are now protecting program store with access keys. Not far behind will be intrusion monitoring, memory encryption and all the other techniques familiar to developers of Smart Cards and digital rights management systems.

The second issue is unintentional intrusion. There are so many processors, often coded by different vendors, operating in the same networks now that designers have to protect their systems against inadvertent corruption by another processor somewhere else in the network. This concern, Chavez says, is causing embedded designers to embrace one of their oldest enemies, the memory management unit. By providing hardware memory protection, an MMU can intercept most accesses to protected memory by unauthorized tasks, keeping an error in one program from crashing other unrelated systems.

In the past, embedded designers have sometimes used MMUs during prototype debug, but generally stripped them out or disabled them once the system was verified. Now, the MMU is gaining favor as a run-time protection against the unintended. It’s getting to be a cruel world out there for defenseless little MCUs, and designers are taking steps to bring them home safe.

Posted by Ron Wilson on March 1, 2007 | Comments (4)

June 10, 2008
In response to: Security in automotive electronics: press here to steal
sheesh commented:

Darryn is right. The can bus should be disabled when the vehicle is off and no key is in the ignition so that only certain events, such as use of any button other than lock on the keyless entry, or use of a physical key, will allow the bus to be enabled. Second, the manufacturers have no business preventing someone who owns their vehicle from accessing the engine control software. If I want to tune it, it's MY choice. It always has been and always should be. You have to remember, before engine management software was carbs coils cams ignition systems, shaved heads, etc. Why prevent us from hopping up a vehicle some? The idea of preventing access to the engine mgmt system just makes me angry.


June 7, 2008
In response to: Security in automotive electronics: press here to steal
FG commented:

HJ


June 7, 2008
In response to: Security in automotive electronics: press here to steal
wot commented:

ok


March 6, 2007
In response to: Security in automotive electronics: press here to steal
Darryn commented:

Why overcomplicate cars this way? We're heading to the stage where car's will become un-reliable after we've spent all this time perfecting automobile electronics. Would it not be much simpler and easier to simply physically ISOLATE the external CAN BUSSES when the alarm system is armed? Then you'd at least need the driver's remote key to access the car. Why do we need external CAN busses to be active when the car is locked?? Therefore we ONLY need to concentrate on securing the remote, not bog the whole car down with excessive bloatware.

POST A COMMENT
Display Name
captcha

Before submitting this form, please type the characters displayed above. Note the letters are case sensitive:

Advertisement
Advertisement
Advertisement
About EDN   |   Site Map   |   Contact Us   |   Subscription   |   RSS
© 2012 UBM Electronics. All rights reserved.
Use of this Web site is subject to its Terms of Use | Privacy Policy

Please visit these other UBM Canon sites

UBM Canon | Design News | Test & Measurement World | Packaging Digest | EDN | Qmed | Pharmalive | Appliance Magazine | Plastics Today | Powder Bulk Solids | Canon Trade Shows