This article is more than 1 year old
Wikipedia-reading boffins jimmy keyless door to entire universe
Your car, your garage, and your office unlocked
A team of German scientists say they have cracked the encryption of a device widely used in keyless entry systems that electronically secure cars, garages and office buildings.
The finding by the scientists from Ruhr University in Bochum, Germany, means it is now relatively straightforward to clone the remote control devices that act as the electronic keys that unlock these restricted areas.
In a paper published earlier this week, they demonstrated a method they say completely breaks the encryption used in the Keeloq security system, which is used by manufacturers of cars, garage door openers and other devices. The hardware-based block cipher is made by US-based Microchip Technology and is used by Honda, Toyota, Volvo, Volkswagen and other manufacturers to securely transmit access codes that are transmitted using radio frequency identification technology.
The scientists from Ruhr's Electrical Engineering and Information Sciences Department were able to defeat the Keeloq's security because it relies on poor key management, in which every key is derived from a master key that's stored in the reading device, according to Timo Kasper, a PhD candidate who worked on the paper. Moreover, it uses a proprietary algorithm that had already been shown to generate cryptographically weak output.
The algorithm was kept secret for most of the two decades it's been in use. That changed about 18 months ago, when an an entry on Wikipedia published the cipher. The research team almost immediately spotted weaknesses.
"If they had made it public they would have found out 20 years ago that it's insecure," Kasper said in an interview. "Now it's a little bit too late, because it's already built into all the garages and cars."
Microchip officials wouldn't be interviewed for this story. They issued a statement that stated: "The most recently published German paper on theoretical attack requires detailed knowledge of the system implementation and a combination of data, specialized skills, equipment and access to various components of a system, which is seldom feasible. These theoretical attacks are not unique to the Keeloq system and could be applied to virtually any security system."
The paper describes a two-step approach to the crack. The first is what's known as a side-channel attack to deduce the master key that manufacturers build into each car lock, garage door opener or other access device that is equipped with Keeloq. One side-channel technique uses an oscilloscope to map how much power is used at precise time intervals while the Keeloq-based access device derives a new key. A similar method analyzes electromagnetic radiation.
Because most access devices are publicly available, it's not too hard for attackers to get their hands on one to perform the analysis. The hack requires about $3,000 worth of equipment and a fair amount of technical skill, but once the unique master key for a particular model is available, it works universally, Kasper said.
Read on for the second step in the attack.