jglim / CaesarSuite

Library and applications to work with Dаіmlеr diagnostics CBF files.
MIT License
125 stars 33 forks source link

Obtaining key generation parameters on MED1775 #30

Closed MasterCodeIT closed 3 years ago

MasterCodeIT commented 3 years ago

Would you mind displaying "Obtaining key generation parameters" on this DLL?

I found the security access levels (5, 9, 0B) but I can not find the cryptographic constants.

image

I can not seem to find it.

jglim commented 3 years ago

In brief, looking at MED1775_MED1775_12_42_00.dll as an example:

As an example for level 9:

image

From that parameter, the definition can be created:

  {
    "EcuName": "MED1775",
    "Aliases": [],
    "AccessLevel": 9,
    "SeedLength": 8,
    "KeyLength": 4,
    "Provider": "DaimlerStandardSecurityAlgo",
    "Origin": "MED1775_MED1775_12_42_00",
    "Parameters": [
      {
        "Key": "K",
        "Value": "35A9C476",
        "DataType": "ByteArray"
      }
    ]
  }

As mentioned in jglim/CaesarSuite#29, I would appreciate if non-issues are created in its correct place as discussions here instead; I may not be able to reply to further non-issues.