Please make sure you read Rules! and DO NOT upload/post any illegal softwares or Pirated Material , Thank you for understanding :)
  1. AutoHex II

  2. FemtoEVO



BMW CIC PATCHER v2 - GENERATE YOUR OWN RETROFIT FSC CERTS
04-04-2017, 22:21 PM,
Post: #11
RE: FREE BMW CIC FSC RETROFIT CERTIFICATES
(04-04-2017, 22:15 PM)intel123 Wrote:  No need to match it with vin in any way as its already matched by signing fsc with fscs private

Okay, thank you! I understand that update code will be different from code issued by BMW for that VIN, but it's not important for cars which weren't retrofitted with CIC. Also we can use lifetime code to forget forever about update codes.
Quote this message in a reply
05-04-2017, 11:36 AM,
Post: #12
RE: FREE BMW CIC FSC RETROFIT CERTIFICATES
If you RSA decrypt the extension data ID 12, you will see it contains a MD5 sum of the FSC header to make sure the FSC has not been modified.
Quote this message in a reply
[+] 1 user says Thank You to aknight720 for this post
05-04-2017, 11:39 AM,
Post: #13
RE: FREE BMW CIC FSC RETROFIT CERTIFICATES
(05-04-2017, 11:36 AM)aknight720 Wrote:  If you RSA decrypt the extension data ID 12, you will see it contains a MD5 sum of the FSC header to make sure the FSC has not been modified.

Is it updated automatically by FStool or E-SYS as CIC accepts signed cert without modifying it ? Ill check that out and thanks for the info.

[Image: 18.08.44-17.09.18.gif]
BlackBOX Sistemi, Automotive   
Visit this user's website
Quote this message in a reply
05-04-2017, 11:39 AM, (This post was last modified: 05-04-2017, 11:41 AM by inotherwords.)
Post: #14
RE: FREE BMW CIC FSC RETROFIT CERTIFICATES
(05-04-2017, 11:36 AM)aknight720 Wrote:  If you RSA decrypt the extension data ID 12, you will see it contains a MD5 sum of the FSC header to make sure the FSC has not been modified.

Hmm, it's very interesting. BTW I don't have decryption key for this RSA. Is there any way to decrypt it without a key?
Quote this message in a reply
05-04-2017, 11:41 AM, (This post was last modified: 05-04-2017, 12:03 PM by intel123.)
Post: #15
RE: FREE BMW CIC FSC RETROFIT CERTIFICATES
(05-04-2017, 11:39 AM)inotherwords Wrote:  
(05-04-2017, 11:36 AM)aknight720 Wrote:  If you RSA decrypt the extension data ID 12, you will see it contains a MD5 sum of the FSC header to make sure the FSC has not been modified.

Hmm, it's very interesting. BTW I don't have decryption key for this RSA.

Ill perform some testing today

[Image: 18.08.44-17.09.18.gif]
BlackBOX Sistemi, Automotive   
Visit this user's website
Quote this message in a reply
[+] 1 user says Thank You to intel123 for this post
05-04-2017, 12:14 PM,
Post: #16
RE: FREE BMW CIC FSC RETROFIT CERTIFICATES
(05-04-2017, 11:41 AM)intel123 Wrote:  Ill perform some testing today

Here is a set out nice example:-

   

   

   
Quote this message in a reply
[+] 3 users say Thank You to aknight720 for this post
05-04-2017, 12:29 PM,
Post: #17
RE: FREE BMW CIC FSC RETROFIT CERTIFICATES
(05-04-2017, 12:14 PM)aknight720 Wrote:  Here is a set out nice example:-
...

ok so another key in dump smile np, thanks.

[Image: 18.08.44-17.09.18.gif]
BlackBOX Sistemi, Automotive   
Visit this user's website
Quote this message in a reply
05-04-2017, 22:51 PM,
Post: #18
RE: FREE BMW CIC FSC RETROFIT CERTIFICATES
From my testing with self generated FSC sets for NBT, it doesn't care what is contained in the extension data. I fill it with 128 random bytes and NBT, at least, is happy to use the FSC.

I don't have any experience with CIC (yet).
Quote this message in a reply
[+] 1 user says Thank You to pshoey for this post
06-04-2017, 06:59 AM,
Post: #19
RE: FREE BMW CIC FSC RETROFIT CERTIFICATES
(05-04-2017, 22:51 PM)pshoey Wrote:  From my testing with self generated FSC sets for NBT, it doesn't care what is contained in the extension data. I fill it with 128 random bytes and NBT, at least, is happy to use the FSC.

I don't have any experience with CIC (yet).

CIC acts the same it accepts cert but i want to get to the bottom of this as hack wont be complete without this element. I got enough pointers and ill see today which combination is in question here. Worst thing is and it came up my mind only later that from beginning ive chosen wrong path. I should of just modify function which checks vin against the cas 0x380 and let it accept any certificate like with emulator on i just had alot problems with sh4 asm, but things will look much better on NBT since x86 running ELFs

[Image: 18.08.44-17.09.18.gif]
BlackBOX Sistemi, Automotive   
Visit this user's website
Quote this message in a reply
06-04-2017, 14:55 PM,
Post: #20
RE: FREE BMW CIC FSC RETROFIT CERTIFICATES
Making NBT accept a custom set of FSCs is trivial - just patch in the new root certificate and voila. But I agree, X86 makes it a little easier.

And yes, for a complete solution, understanding what the classic FSC extension data is used for and generating genuine data is an interesting intellectual challenge - if only I didn't need to sleep!!

As the extension data appears to be ignored by the HU, and @aknight720 says it is RSA encrypted, maybe the data is signed by the sig cert - which I have not found a use for previously. I'm not sure how @aknight720 has decrypted the data - presumably the private key is in the HU binary?? That would mean the sig cert is not used (unless the private key for that is in the binary, which I doubt). Of course the sig cert public key can be used to verify the extention data has not been tampered with but then the MD5 hash inside isn't a great deal of use!

I'm sure it will all become clear.
Quote this message in a reply
[+] 1 user says Thank You to pshoey for this post


Possibly Related Threads...
Thread Author Replies Views Last Post
XSMini Mini Cooper S R56N - Sport button retrofit KSpeed 0 23 8 hours ago
Last Post: KSpeed
  Car play retrofit via ISTA + Evo400 7 377 19-01-2019, 12:26 PM
Last Post: snypertje
  E60 night vision retrofit larshutten 13 3,385 17-01-2019, 14:00 PM
Last Post: wowa84
XZBMW Full retrofit Kafas2 F30 gvitkis 7 1,161 17-01-2019, 07:21 AM
Last Post: Arthurhuynh
XSMini NBT EVO2 Retrofit - GPS Issue 2002JCW 16 758 16-01-2019, 21:18 PM
Last Post: krug
  f10 6wa retrofit need help budddyyy 9 248 16-01-2019, 14:51 PM
Last Post: budddyyy
XZBMW F25 Led tail light retrofit? 1171541599 2 120 14-01-2019, 01:12 AM
Last Post: 1171541599
XZBMW F10 nve retrofit problem kmsport 2 136 13-01-2019, 20:28 PM
Last Post: kmsport
XZBMW ZGW-01 Mid to ZGW2 for Retrofit NBT F10 vipsha 0 147 12-01-2019, 13:19 PM
Last Post: vipsha
XZBMW Best retrofit DAB antenna for E46 JPToadstool 6 192 09-01-2019, 11:42 AM
Last Post: JPToadstool

Forum Jump:


Users browsing this thread:
peppe880, 1 Guest(s)

Return to TopReturn to Content