NefMoto

Technical => Tuning => Topic started by: Khendal on April 01, 2017, 03:18:34 AM



Title: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: Khendal on April 01, 2017, 03:18:34 AM
Hello, i've started to do some little mod to my friends just to try a bit :D ...and i'd like to know what is possible to use o write inside the ecu for protection and signature...or encrypted signature... i don't know ... ;)

Are there programs outside that do this work or just write by hand ? :D

How do they work ?
Thanks  


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: _nameless on April 01, 2017, 04:11:43 AM
 :D


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: Khendal on April 01, 2017, 06:15:35 AM
:D

Hola Marty ;)

Really ... i don't need protection and other similar because i'm studying what i've found here and i'm not a professional tuning... but i'd like to apply something similar a signature... in vagcom and in hex ... i've seen in a ecu something to encrypt ... is it right? Exist something like this?


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: nubcake on April 01, 2017, 07:44:13 AM
Generally - if you have to ask questions like this, then highly likely your work is not worth protecting. If only to avoid embarrassment when someone reads it out. Don't take this as a personal insult. :)
If you want a signature to find out who built upon your file - slightly change some irrelevant (unused) map.
If you want to leave a message for whoever reads the tune out - use free area in the binary, you can leave a friggin poem there.
If you want to completely protect the binary from being read out - that's generally not possible with ME7.
There are complicated ways to make read (or interpretation of the readout) a bit harder, but I won't really go too deep here. Let's just say that it involves low-level assembly programming and/or hardware mods to the ECU. I'm not a big fan of the latter.

There is a simple mod that prevents OBD readout by some (not all) tools, and it might be good enough for your purposes: http://nefariousmotorsports.com/forum/index.php?topic=1090.0


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: nyet on April 01, 2017, 09:48:18 AM
Some friends you have if you don't trust them.

Anyway, it is generally pointless. Anybody can copy tunes if they are motivated enough.


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: Khendal on April 03, 2017, 03:53:06 AM
Thanks for your answer :D

Other think... is possible to merge the ecu map to the VIN number ? To only work only in that car?



Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: TijnCU on April 03, 2017, 06:04:35 AM
I write the eeprom with a small signature next to the VIN. Not for protection, just for credits when someone connects vcds.


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: nubcake on April 03, 2017, 06:14:08 AM
Thanks for your answer :D

Other think... is possible to merge the ecu map to the VIN number ? To only work only in that car?

Possible with custom assembly code.
But can be patched out by someone competent enough.


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: _nameless on April 03, 2017, 06:55:24 AM
Possible with custom assembly code.
But can be patched out by someone competent enough.
Stop one read f0>ff  bootrom or "no read" tag. Sig with hex editor


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: Khendal on April 03, 2017, 07:54:05 AM
Possible with custom assembly code.
But can be patched out by someone competent enough.

Oh very interesting... could you give me some advice... or show me the way to learn how to do it ? :)


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: Khendal on April 03, 2017, 07:55:04 AM
I write the eeprom with a small signature next to the VIN. Not for protection, just for credits when someone connects vcds.

Something inside here ?

In shop# section ?


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: nubcake on April 03, 2017, 09:18:43 AM
Oh very interesting... could you give me some advice... or show me the way to learn how to do it ? :)

No easy way to do it.
Learn to disassemble ME7 with IDA, learn assembly language, find EEPROM access functions, find where VIN is stored, implement some check. Some of this has been documented on this site, but still will take you a lot of time.
Or get someone to do that for you ($$).  ;D


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: nyet on April 03, 2017, 10:10:33 AM
There innumerable more interesting projects to work on than this.


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: Khendal on April 03, 2017, 01:56:14 PM
No easy way to do it.
Learn to disassemble ME7 with IDA, learn assembly language, find EEPROM access functions, find where VIN is stored, implement some check. Some of this has been documented on this site, but still will take you a lot of time.
Or get someone to do that for you ($$).  ;D

Time it's not a problem :) and i don't want someone that do this for me...i will not pay for this...in case i would pay someone to teach me how to do or guide me ... i need and want to learn ..not to have this done easily  8)

For example you have told me where to focus step by step in macro points :)

Thanks 


Title: Re: Talking about ecu (read-open)protection, write signature, tag no read etc..
Post by: nyet on April 03, 2017, 02:38:09 PM
Again, there are a ton of more interesting things to do with patching ASM.