kevinleaf
Posts: 178
Joined: Mon Jun 03, 2013 4:19 pm
Delivery Date: 03 Jun 2013

Unlocking doors with CAN?

Fri Apr 04, 2014 10:19 am

Does anyone know if it might be possible to unlock the doors by putting a message on the CAN bus? I have an idea to unlock the car over the OBD-II connector with a smartphone with a bluetooth ELM327.

Thanks!

KillaWhat
Posts: 866
Joined: Thu Feb 23, 2012 5:15 pm
Delivery Date: 15 Mar 2012
Location: Southeast Pennsylvania

Re: Unlocking doors with CAN?

Fri Apr 04, 2014 2:18 pm

Have a feeling this may be "CAN-not" :shock:

HA! I crack myself up!
Black SL Delivered 3/14/2012
7.2Kw Charging w/Brusa
Leather Interior
Rosewood Dash
JUKE 17" Wheel Upgrade w/225-45-17 Michelin MXM4 Tires
Horn Upgrade
Infinity 63.9i Speaker Upgrade
WattsLeft Meter System
LED High Beams
Carkit NAV Override

User avatar
UkrainianKozak
Posts: 355
Joined: Thu May 12, 2011 2:53 pm
Delivery Date: 12 May 2011
Leaf Number: 001065
Location: Redmond, WA

Re: Unlocking doors with CAN?

Fri Apr 04, 2014 2:37 pm

Oh!
I have a cooler idea!
If you can control shifter, steering and brakes via CAN you can Build remote-controlled Leaf! Big boy RC car!
Leaf SL-e
Redmond, WA

41 000 electric miles and counting...

Turbo3
Gold Member
Posts: 2011
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Unlocking doors with CAN?

Fri Apr 04, 2014 4:00 pm

Yes, I have codes for Unlock All Doors and Lock All Doors.

I have not tested them to see if they work with the Leaf off. I think not.

I can fire up my iTouch test app and see what happens.

But if it does work with the Leaf off (again not very likely) I would not release them.

Don't want you unlocking my Leaf ;-)

kevinleaf
Posts: 178
Joined: Mon Jun 03, 2013 4:19 pm
Delivery Date: 03 Jun 2013

Re: Unlocking doors with CAN?

Fri Apr 04, 2014 4:11 pm

It does bring up an interesting security concern but for the idea I have in mind it isn't a big issue. Let me know what you find.

Thanks!

palmermd
Posts: 2625
Joined: Fri Apr 23, 2010 3:19 pm
Delivery Date: 31 Mar 2011
Leaf Number: 1100011011
Location: Hermosa Beach, CA

Re: Unlocking doors with CAN?

Fri Apr 04, 2014 4:36 pm

I found the "skeleton key" that fits any car.

Image

I'm pretty sure this is the preferred one for most thieves. Why go to all the trouble to learn can codes for all these cars and then try to get inside the car to gain access to the CAN. Heck, it would probably be far easier to just capture the signal from the RFID in the key itself and build a copy of the key. Just walk close to the person with the key in their pocket and have your laptop have a little conversation with the key in their pocket such that the key thinks its talking to the car.
Michael

Leaf from 31 March 2011 - Traded 18 April 2019 for Tesla Model 3 Unicorn
Driving electric since 1996


Leaf Bar Loss

Turbo3
Gold Member
Posts: 2011
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Unlocking doors with CAN?

Fri Apr 04, 2014 4:38 pm

The ECU that controls the doors does not respond to the CAN when the Leaf is off.

Turbo3
Gold Member
Posts: 2011
Joined: Mon Jul 19, 2010 8:34 pm
Delivery Date: 12 May 2011
Leaf Number: 002191
Location: San Jose, CA

Re: Unlocking doors with CAN?

Fri Apr 04, 2014 4:50 pm

palmermd wrote:I found the "skeleton key" that fits any car.

Image

I'm pretty sure this is the preferred one for most thieves. Why go to all the trouble to learn can codes for all these cars and then try to get inside the car to gain access to the CAN. Heck, it would probably be far easier to just capture the signal from the RFID in the key itself and build a copy of the key. Just walk close to the person with the key in their pocket and have your laptop have a little conversation with the key in their pocket such that the key thinks its talking to the car.
I am pretty sure that today that link is encrypted with a code that changes on each access. So if you capture the code it will not work a second time. You need to use one that is valid and for that you need the encryption key.

palmermd
Posts: 2625
Joined: Fri Apr 23, 2010 3:19 pm
Delivery Date: 31 Mar 2011
Leaf Number: 1100011011
Location: Hermosa Beach, CA

Re: Unlocking doors with CAN?

Fri Apr 04, 2014 5:34 pm

Turbo3 wrote:
palmermd wrote: I am pretty sure that today that link is encrypted with a code that changes on each access. So if you capture the code it will not work a second time. You need to use one that is valid and for that you need the encryption key.

ok, well the brick will still work much faster and cheaper, and it is universal. My point was that people keep getting all worked up about securing the door locks on these cars from hackers and the concern is unwarranted since hacking these is more for fun for programming folks; not a security risk. If a thief wants your car or something in it, it can be done without technology.
Michael

Leaf from 31 March 2011 - Traded 18 April 2019 for Tesla Model 3 Unicorn
Driving electric since 1996


Leaf Bar Loss

kevinleaf
Posts: 178
Joined: Mon Jun 03, 2013 4:19 pm
Delivery Date: 03 Jun 2013

Re: Unlocking doors with CAN?

Mon Apr 07, 2014 11:43 am

The ECU that controls the doors does not respond to the CAN when the Leaf is off.
Well that is disappointing. Something in the car is "listening" for the unlock from the key so there must be a way but perhaps not over CAN.

I'll post my idea for this functionality in another thread.

Return to “LEAF CANBus”