3

I have seen a lot of articles and research papers about breaking the Keeloq algorithm. My understanding is that the hardest part is getting the 64 bit manufacturer key. Some methods use crypto-analysis and some use power analysis to get the key. Once the manufacturer - and other parameters - have been obtained it is trivial to create an arbitrary number of remotes to your garage, car, or whatever.

I have two questions about that :

  1. Do manufacturers in general (cars or garages) still use Keeloq as their algorithm after these attacks and vulnerabilities have been exposed? Or are other algorithms used, for instance manufacturer specific ones?

  2. If the manufacturer key is not public and is stored in the receiver, how do some Chinese manufacturers sell some car remotes (specifically some older models)? Do the original manufacturers publish their keys after the car is out of production? Do the keys get leaked?

Because honestly I don't think Chinese mass production companies would go through all the trouble of breaking the cipher to get the key.

Maarten Bodewes
  • 96,351
  • 14
  • 169
  • 323

1 Answers1

1

There have been several attacks against Keeloq. I cannot speak to the specific algorithm changes through the years to make it stronger against brute force; however, I am knowledgable in the hardware changes as of discussions I was privy to in 2009. The Keeloq ICs were changed shortly after the power attacks came out to make them immune from power attacks through the use of dual rail encoding. At the time, the core of the Keeloq ICs are based on the PIC12, which are very simple and could allow power attacks if you could instruction step them. Through dual rail encoding, you use the same amount of power in all data cases, but not necessarily instruction cases. Even though the PIC12s are only one-time-programmable, you can still hook them onto a debugger to single-step them. If you are interested on how this could be done, see if you can get the course notes from Tom Collins for his lab.

b degnan
  • 5,110
  • 1
  • 27
  • 49