Login Register

Vida CEM swapping

A mid-size luxury crossover SUV, the Volvo XC90 made its debut in 2002 at the Detroit Motor Show. Recognized for its safety, practicality, and comfort, the XC90 is a popular vehicle around the world. The XC90 proved to be very popular, and very good for Volvo's sales numbers, since its introduction in model year 2003 (North America). P2 platform.
Post Reply
scaro
Posts: 47
Joined: 22 April 2021
Year and Model: Volvo&Audi
Location: Sweden
Has thanked: 14 times
Been thanked: 1 time

Re: Vida CEM swapping

Post by scaro »

Cemcracker get 6byte Cem 04b ->
Cemtool old p2 Cem-"B" 99->04a
UDSread with 3byte Cem 2006->
UDSread with 6byte Cem 2006->
UDScrack get 3byte Cem 2006->

This is what i think the programs is for but could be wrong :)

As said, want to get the data out of mcu try to decrypt eeprom
Treur wrote: 02 Dec 2024, 04:38 UDS pin is not real pin. You can’t read with this version of UDSread. Use version for real pin.
Tried UDSread with 6byte, is there another? I got the 6byte with Teensy (cemcracker says correct one). Know i have early 2005 CEM-L and it could be without UDS or its needed more connections for it to work.
Treur wrote: 02 Dec 2024, 04:53 I'm really interested in whether it's possible to implement a timing attack via dice
Think Dice will not do timing attack because its to slow??
244 Turbo (86K miles) 1983
242 B230FK, Rollcage, LSD 1984
244 B21A with R-Sport Turbo-kit 1980
A5 2.0TFSI Quattro Conv. 2012
A4 1.9TDI 1997 BV43, 11mm vp37, 0.26 nozzels, 6speed, A8 brakes front, S4 discs/calibers rear
A4 1.9TDI 1998 Daily

vtl
Posts: 4727
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 606 times

Post by vtl »

Treur wrote: 02 Dec 2024, 04:53 I'm really interested in whether it's possible to implement a timing attack via dice
No, it's too slow. The cracker hw senses voltage level transitions on CAN wire directly.

Treur
Posts: 126
Joined: 16 November 2024
Year and Model: 2007 V70
Location: Estonia
Has thanked: 3 times
Been thanked: 6 times

Post by Treur »

vtl wrote: 02 Dec 2024, 07:25
Treur wrote: 02 Dec 2024, 04:53 I'm really interested in whether it's possible to implement a timing attack via dice
No, it's too slow. The cracker hw senses voltage level transitions on CAN wire directly.
It's interesting that Smok can. True, it works with its own cable, and somehow I doubt that they implemented this at the cable firmware level.

vtl
Posts: 4727
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 606 times

Post by vtl »

Treur wrote: 02 Dec 2024, 08:02 It's interesting that Smok can. True, it works with its own cable, and somehow I doubt that they implemented this at the cable firmware level.
When T5Luke and I started the project in 2020 there was no one cracking the pin via timing attack. Shortly after we opensourced the code and schematics, they suddenly all got it working. Draw the lines between points yourself ;)

Treur
Posts: 126
Joined: 16 November 2024
Year and Model: 2007 V70
Location: Estonia
Has thanked: 3 times
Been thanked: 6 times

Post by Treur »

vtl wrote: 02 Dec 2024, 08:07
Treur wrote: 02 Dec 2024, 08:02 It's interesting that Smok can. True, it works with its own cable, and somehow I doubt that they implemented this at the cable firmware level.
When T5Luke and I started the project in 2020 there was no one cracking the pin via timing attack. Shortly after we opensourced the code and schematics, they suddenly all got it working. Draw the lines between points yourself ;)
Well, this is not news, I know this very well. That is why I do not disclose my developments to strangers. I can help a smart person, but nothing more.

I also partially used your developments for searching for pins on the p3 platform by rewriting the function in C#, but you showed me the function itself personally on Drive2

vtl
Posts: 4727
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 606 times

Post by vtl »

Treur wrote: 02 Dec 2024, 08:18 Well, this is not news, I know this very well. That is why I do not disclose my developments to strangers. I can help a smart person, but nothing more.

I also partially used your developments for searching for pins on the p3 platform by rewriting the function in C#, but you showed me the function itself personally on Drive2
I have no problem with open source been doing it all my life. Knowledge and work sharing is the way to go for humanity.

Treur
Posts: 126
Joined: 16 November 2024
Year and Model: 2007 V70
Location: Estonia
Has thanked: 3 times
Been thanked: 6 times

Post by Treur »

Maybe yes, maybe not. That's philosophy.

Not all information can be shared. For example, if you share information about immobilizers, be prepared for guys in uniform to come to you and change your place of residence.

Treur
Posts: 126
Joined: 16 November 2024
Year and Model: 2007 V70
Location: Estonia
Has thanked: 3 times
Been thanked: 6 times

Post by Treur »

vtl wrote: 02 Dec 2024, 07:25
Treur wrote: 02 Dec 2024, 04:53 I'm really interested in whether it's possible to implement a timing attack via dice
No, it's too slow. The cracker hw senses voltage level transitions on CAN wire directly.
is the problem only in speed?

vtl
Posts: 4727
Joined: 16 August 2012
Year and Model: 2005 XC70
Location: Boston
Has thanked: 114 times
Been thanked: 606 times

Post by vtl »

Treur wrote: 03 Dec 2024, 01:58 is the problem only in speed?
Anything doing timing attack needs to measure time between last bit sent and the first bit received, without internal buffering, etc. I don't know if DiCE is capable of precise timestamping that may constitute for missing CAN-L sensing that cracker has.

Treur
Posts: 126
Joined: 16 November 2024
Year and Model: 2007 V70
Location: Estonia
Has thanked: 3 times
Been thanked: 6 times

Post by Treur »

vtl wrote: 03 Dec 2024, 04:54
Treur wrote: 03 Dec 2024, 01:58 is the problem only in speed?
Anything doing timing attack needs to measure time between last bit sent and the first bit received, without internal buffering, etc. I don't know if DiCE is capable of precise timestamping that may constitute for missing CAN-L sensing that cracker has.
This is where things get more complicated. It is possible to measure only between the moment a message is sent to USB and the response from the receive buffer. I tried, and the numbers are in parrots. The response to the same request is ~950-1400ns. And this is in the range from μ to -2σ

So far I have only one idiotic idea in my head - to add the j2534 protocol to your cracker. :wink:

Post Reply
  • Similar Topics
    Replies
    Views
    Last post