1. Welcome to Tacoma World!

    You are currently viewing as a guest! To get full-access, you need to register for a FREE account.

    As a registered member, you’ll be able to:
    • Participate in all Tacoma discussion topics
    • Communicate privately with other Tacoma owners from around the world
    • Post your own photos in our Members Gallery
    • Access all special features of the site

3rd Gen Wireless Key Fob Hacking

Discussion in '3rd Gen. Tacomas (2016-2023)' started by tacitos, Oct 14, 2016.

  1. Oct 14, 2016 at 6:50 PM
    #41
    the_dau

    the_dau Well-Known Member

    Joined:
    Jul 24, 2016
    Member:
    #192803
    Messages:
    1,165
    Gender:
    Male
    Vancouver BC
    Vehicle:
    2017 Inferno TRD OR DCSB
    wire in a fuel cut switch
     
  2. Oct 14, 2016 at 7:04 PM
    #42
    InSight Retrofits

    InSight Retrofits Closed

    Joined:
    Sep 17, 2013
    Member:
    #112687
    Messages:
    1,260
    Gender:
    Male
    I have full coverage, they can buy me a new one every model year if they want
     
    Kilokato likes this.
  3. Oct 14, 2016 at 7:31 PM
    #43
    Riding Dirty

    Riding Dirty Sinner; saved by grace

    Joined:
    May 27, 2016
    Member:
    #188065
    Messages:
    2,391
    Vehicle:
    Before: '16 TRD OR 4x4 AC QS//After: 17 T4R Pro 040
    PlastiDip
    But won't the truck cut off eventually? Mine starts beeping and acts like it will kill the engine if I start it and then get out of the truck and ,ove away where the signal gets weak. But I don't know if it would cut off or not? Curious as to what you guys think.
     
  4. Oct 14, 2016 at 7:36 PM
    #44
    over60

    over60 Over70 & still a "Grumpy Old Guy"

    Joined:
    Oct 20, 2010
    Member:
    #44995
    Messages:
    4,791
    Gender:
    Male
    First Name:
    John
    Muskoka, Ontario
    Vehicle:
    2016 Inferno (Punkin) TRD 4X4 Sport DCLB w/upgrade & tech pkg..!!
    Toyota running boards/Solid Fold 2.0/custom stickers/Anti-Dark LED light under hood/Derped grill/Scoop, etc.
    It's good till it's shut off .... then it's not gonna start..!
     
  5. Oct 15, 2016 at 2:51 PM
    #45
    Sagebrush

    Sagebrush Well-Known Member

    Joined:
    Apr 2, 2016
    Member:
    #183141
    Messages:
    1,421
    Gender:
    Male
    Vehicle:
    Gens 1, 2, 3, and 4
    Move. You'll sleep better.

    SB
     
  6. Oct 15, 2016 at 3:06 PM
    #46
    AAChaoshand

    AAChaoshand Well-Known Member

    Joined:
    Dec 9, 2015
    Member:
    #171854
    Messages:
    506
    Gender:
    Male
    First Name:
    Brandon
    Central Texas
    Vehicle:
    2017 Nissan Titan SL 4x4
    The truck does not turn off if you leave the FOB area, the beeping is just an indication the FOB is not within range.
     
  7. Oct 15, 2016 at 5:38 PM
    #47
    3dBdown

    3dBdown Well-Known Member

    Joined:
    Sep 18, 2015
    Member:
    #164574
    Messages:
    699
    Gender:
    Male
    Vehicle:
    2016 DCLB BBP 4x4 Sport
    This is the reason? Makes you wonder how they stole cars when there were just regular ole dumb keys, lol.

    In all seriousness though, I prefer the dumb key on principle.
     
  8. Oct 15, 2016 at 6:44 PM
    #48
    Riding Dirty

    Riding Dirty Sinner; saved by grace

    Joined:
    May 27, 2016
    Member:
    #188065
    Messages:
    2,391
    Vehicle:
    Before: '16 TRD OR 4x4 AC QS//After: 17 T4R Pro 040
    PlastiDip
    I too prefer the dumb key on principle. I just like a physical key in ignition to turn over rather than a push button.
    It's the icing on the cake for not wanting a smart key.
     
  9. Oct 15, 2016 at 7:28 PM
    #49
    tacoflavoredkisses1

    tacoflavoredkisses1 Well-Known Member

    Joined:
    Apr 10, 2016
    Member:
    #183838
    Messages:
    2,564
    Vehicle:
    16 TRDOR DCSB (SOLD)
    I'd let someone steal my truck if they promised to fix the howling and vibrating.


    Also, you are absolutely retarded if you think this is a serious problem.
     
    gpb, TacoJova and Kilokato like this.
  10. Oct 15, 2016 at 7:29 PM
    #50
    tacoflavoredkisses1

    tacoflavoredkisses1 Well-Known Member

    Joined:
    Apr 10, 2016
    Member:
    #183838
    Messages:
    2,564
    Vehicle:
    16 TRDOR DCSB (SOLD)
    I've said it before, and I'll say it again. I want a crank start engine again. It's the only way to get the control I need over my vehicle. It's ridiculous to think that you would even want to use anything other than that!
     
    Riding Dirty[QUOTED] and gpb like this.
  11. Oct 15, 2016 at 7:57 PM
    #51
    RBfastback

    RBfastback It's Got Electrolytes

    Joined:
    Jul 26, 2016
    Member:
    #193004
    Messages:
    401
    Gender:
    Male
    First Name:
    mike
    FL
    Vehicle:
    16 mgm TRD off road
    if someone stole my truck i'd just get the trd pro the next month lol
     
    James_Bond and Riding Dirty like this.
  12. Oct 15, 2016 at 7:58 PM
    #52
    tacoflavoredkisses1

    tacoflavoredkisses1 Well-Known Member

    Joined:
    Apr 10, 2016
    Member:
    #183838
    Messages:
    2,564
    Vehicle:
    16 TRDOR DCSB (SOLD)
    Against my better judgement I will respond with actual information in this thread. To alleviate the absolutely absurdly anxious people that should probably be wearing tinfoil everyday....

    (Check this out: http://www.ti.com/lit/ds/slws011d/slws011d.pdf)

    Basically, car transmitters use 40bit (or more) rolling code generators. 40 bits works out to be about 1 trillion different code possibilities. The transmitter is sync'd with your car's reciever. The transmitter/fob has a memory that stores the latest code. It sends it over to your car (with the function it should perform like unlock/lock/alarm <--im sure you tinfoilers use that last one a lot) which also has the latest code stored in memory--it matches it and execute the function. They will stay in sync and live happily ever after and open your car for ever.

    WHAT HAPPENS WHEN I PUSH THE BUTTON OUT OF RANGE?!?! Well, they thought of that and allow the next 256 codes to also open the door. BTW, before you spazzmos start asking "THAT MEANS SOMEONE CAN OPEN MY CAR BY ACCIDENT". There is literally a 1 in a trillion chance that this is possible. Its only a one in a trillion chance if all car makers are using 40bit as well (which isn't the case..some are using more bits and slightly different variations of this technique. This means its even more astronomical for someone to accidentally open your vehicle by chance).

    On to why this article is horse shit and why you would be dumb to believe it...

    Because these rolling code generators generate random numbers EACH time they transmit, it would be pointless for anyone to intercept a transmission...because the next number could never be predicted--its going to be random. Only the transmitter and the receiver can produce the next numbers (and match them). BUT WHAT IF THEY JUST SCAN ALL OF THE POSSIBLE CODES!?!?! Well, in hundreds of years they might open your car. AND YOU'LL BE SCREWED!!!

    Life Lesson #45: Dont believe every bullshit, click-bait article someone posts on your facebook wall.
     
  13. Oct 16, 2016 at 12:21 AM
    #53
    blackohio

    blackohio Well-Known Member

    Joined:
    Jan 22, 2016
    Member:
    #175780
    Messages:
    2,542
    Gender:
    Male
    First Name:
    Cliche Guevara
    Vehicle:
    white mudflap
     
  14. Oct 16, 2016 at 12:23 AM
    #54
    blackohio

    blackohio Well-Known Member

    Joined:
    Jan 22, 2016
    Member:
    #175780
    Messages:
    2,542
    Gender:
    Male
    First Name:
    Cliche Guevara
    Vehicle:
    white mudflap
    garage door openers.
     
    TacoJova likes this.
  15. Oct 16, 2016 at 7:29 AM
    #55
    Mark318

    Mark318 Member

    Joined:
    Jul 6, 2016
    Member:
    #191370
    Messages:
    7
    Gender:
    Male
    First Name:
    Mark
    Vehicle:
    2016 Tacoma Access Cab 2x4
    New
    What roundysquare said. Both fobs.
     
  16. Oct 16, 2016 at 7:51 AM
    #56
    DaveInDenver

    DaveInDenver Not Actually in Denver

    Joined:
    May 18, 2013
    Member:
    #104390
    Messages:
    3,618
    Gender:
    Male
    First Name:
    David
    Grand Junction
    Vehicle:
    2008 Super White TRDOR AC 6MT
    Unexceptional
    KeeLoq (32-bit block) was broken a long time ago. This is the Microchip device used in just about every car keyless entry.

    https://en.wikipedia.org/wiki/KeeLoq

    It didn't take a brute force approach at all, in fact a slide technique in about 500 CPU days, actually 64 cores in just under 8 days, was able to crack it back in 2007 or 2008. It's a very lightweight cipher.

    https://people.eecs.berkeley.edu/~daw/papers/keeloq-fse08.pdf
    http://www.gregorybard.com/papers/keeloq_tatra.pdf
    https://pdfs.semanticscholar.org/1431/189b0580b8893c90fc40808c1037c8a11c21.pdf
    https://eprint.iacr.org/2011/242.pdf
    https://eprint.iacr.org/2007/055.pdf

    And, FWIW, I do use my physical key to unlock and the door switch to lock my doors most of the time. But it doesn't really matter since the protocol is broken anyway.

    Newer cars have probably moved to a 128-bit key AES (which may be broken already, depending on who you ask) using a newer KeeLoq chipset. That's why the range increasing attacks are used. To defeat this hiding your key in a Faraday cage will work at the individual level. But as far as the original KeeLoq, the master key and manufacturer keys are assumed to be known so it's not really secure anymore.

    http://emsec.rub.de/media/crypto/veroeffentlichungen/2010/09/07/africacrypt2009_keeloq.pdf
    https://www.iacr.org/archive/crypto2008/51570204/51570204.pdf
    https://eprint.iacr.org/2008/058.pdf
    https://securewww.esat.kuleuven.be/cosic/publications/article-1045.pdf
     
    Last edited: Oct 16, 2016
  17. Oct 16, 2016 at 8:38 AM
    #57
    tacoflavoredkisses1

    tacoflavoredkisses1 Well-Known Member

    Joined:
    Apr 10, 2016
    Member:
    #183838
    Messages:
    2,564
    Vehicle:
    16 TRDOR DCSB (SOLD)
    Thanks! Those look like some awesome reads. When I have more time I'll dig into them deeper.

    I was posting from memory (and honestly haven't researched this recently). What I know, I learned about years ago when I curiously googled how this stuff worked.

    I figured its probably moved to 128 or 256 (or even 1024/2048) for more modern cars, but the fact of the matter is, as long as your use a big enough key/block size, its just math. As computational power increases the smaller sizes can be broken, but I'm assuming (since I haven't read most of these yet) that these are mostly theoretical or focused on smaller key sized <64-bit. It's probably reasonable to assume that they've increased the size or updated how the key derivation process works on modern cars to reduce the likelyhood of people "hacking" them. (IE I bet they aren't using a masterkey or a week "seed" for the keys anymore).

    My point was to highlight that most people read these sensationalist articles without understanding how this stuff works. Then they get spooled up and start spreading rumors and putting their keys in faraday bags all of the time--which is really ridiculous. Truck owners are hilariously techno-pessimists.

    IF you guys want to do something the help yourselves out, maybe where a helmet when you drive? You're more likely to get in a car accident than have someone hack your key fob.
     
  18. Oct 16, 2016 at 8:51 AM
    #58
    Homesteader64

    Homesteader64 Well-Known Member

    Joined:
    Aug 26, 2016
    Member:
    #195647
    Messages:
    170
    Gender:
    Male
    Alberta
    Vehicle:
    Alpine White 17 DCSB TRD OR
    If this in fact works, problem solved. Obviously not ideal, but better then carrying your key in a faraday bag, or taking a microwave with you :)
     
  19. Oct 16, 2016 at 9:08 AM
    #59
    Spacecadetzoom

    Spacecadetzoom Member

    Joined:
    Mar 23, 2009
    Member:
    #15057
    Messages:
    13
    Gender:
    Male
    Comox, BC
    Vehicle:
    2016 Tacoma Ext Cab V6 TRD OF
    Mostly Stock. Tri-fold Hard Box Cover.
    How about turning your FOB off by pressing and holding the lock button and pushing the unlock twice. It won't answer when you're not using the vehicle.
     
    payrow likes this.
  20. Oct 16, 2016 at 9:09 AM
    #60
    DaveInDenver

    DaveInDenver Not Actually in Denver

    Joined:
    May 18, 2013
    Member:
    #104390
    Messages:
    3,618
    Gender:
    Male
    First Name:
    David
    Grand Junction
    Vehicle:
    2008 Super White TRDOR AC 6MT
    Unexceptional
    Those links are academic in nature, but they described how they actually broke the original KeeLoq (e.g. Microchip's Classic KeeLoq). It's not theory, they were actually able to break it and therefore the presumption is criminals have, too.

    The number of bits in the block could be 128, 256 or any number but if the key algorithm isn't complex then it doesn't matter. In the case of 32-bit block KeeLoq there's not enough variability to use the whole block, they fixed too much in the encryption to make it a question of brute force. That's why an algebraic technique worked, the algorithm has too many fixed bits and around 63% of the possible outcomes are automatically thrown away before even looking for keys. Then the basic protocol isn't very secure, an identify-friend-or-foe gives you so much data in the transaction that just a couple of hours of collecting transactions produces a huge data set to analyze for the rest of the outcomes. As it is now it take something like 4 seconds (it's not 2^64 clock cycles) for a tablet to generate all the known legitimate possible combinations to unlock a Classic KeeLoq, 2^16 pairs approximately.

    So without introducing enough randomness into the algorithm to use all the bits it's not robust. That's one way Microchip improved KeeLoq. For example they now use a synchronized clock when training the transponder to make each individual less susceptible to a key breach, at least for the Ultimate version. The Advanced uses AES128 instead of NLFSR64, but is otherwise similar.

    I think the analogy is better made that there are a fixed number of keys that can be cut for a mechanical lock so eventually you will either find the same key or be able to work around the tumbler. In this case, though, once the encryption key is figured out then it's like everyone just has a master key so it doesn't matter. To me the main vulnerability is that not needing a physical key anymore in the ignition makes them unacceptably vulnerable to software hacks. At least the cars with fobs just to unlock the doors and those big RFID engine immobilizer physical keys require two decryptions from two active (user initiated, push button, turn key) transactions vs. one passive from a car constantly looking for a fob. While the protocol is not necessarily secure the whole system isn't as vulnerable.
     
    Last edited: Oct 16, 2016

Products Discussed in

To Top