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



Post Reply 
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.
Find all posts by this user
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.
Find all posts by this user
Quote this message in a reply
 Thanks given by: intel123
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.

Shoot to thrill, play to kill
Visit this user's website Find all posts by this user
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?
Find all posts by this user
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

Shoot to thrill, play to kill
Visit this user's website Find all posts by this user
Quote this message in a reply
 Thanks given by: inotherwords
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:-

   

   

   
Find all posts by this user
Quote this message in a reply
 Thanks given by: intel123 , inotherwords , Czozen
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 smile1 np, thanks.

Shoot to thrill, play to kill
Visit this user's website Find all posts by this user
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).
Find all posts by this user
Quote this message in a reply
 Thanks given by: MOCKING_BIRD
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

Shoot to thrill, play to kill
Visit this user's website Find all posts by this user
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.
Find all posts by this user
Quote this message in a reply
 Thanks given by: intel123
Post Reply 


Bookmarks

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
XZBMW Retrofit cic 2009 in the bmw e90 05 how to activate navigation without emulator? in nack76 11 488 Yesterday 18:54 PM
Last Post: nack76
XZBMW F30 NBT EVO retrofit, GPS antenna problem in phydor 11 423 Yesterday 18:40 PM
Last Post: sacaman
  F10 NBT retrofit Poor FM Reception solution? in 840i 16 3,849 Yesterday 11:03 AM
Last Post: Jartsa
  Want to flash retrofited 6WB Kombi in Car without official available retrofit. in Munich Simon 0 105 15-07-2018 09:50 AM
Last Post: Munich Simon
XZBMW Problem OABR Retrofit NBT EVO in scorpium59 17 1,386 12-07-2018 11:10 AM
Last Post: scorpium59
XZBMW Retrofit RDC on F20 but function no work in hhc4431441 8 302 10-07-2018 20:20 PM
Last Post: simonchs
XZBMW F20 Retrofit used Kombi2 in hkgans 18 1,000 10-07-2018 11:46 AM
Last Post: smilo
  E60 CIC Retrofit CD changer not working? in bmwcoder75 4 195 10-07-2018 09:48 AM
Last Post: my335
XZBMW NBT Evo ATM retrofit. RTTI possible?? in coach.recio 67 13,099 07-07-2018 08:23 AM
Last Post: ape80
  NBT EVO gesture control retrofit in Stivikivi 0 139 06-07-2018 11:48 AM
Last Post: Stivikivi

Forum Jump:


User(s) browsing this thread:
MatthewLC, 2 Guest(s)

Return to TopReturn to Content