Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VGSNAG2 algorithm also works for EGS53 level 0x09 #45

Open
rnd-ash opened this issue Sep 21, 2024 · 1 comment
Open

VGSNAG2 algorithm also works for EGS53 level 0x09 #45

rnd-ash opened this issue Sep 21, 2024 · 1 comment

Comments

@rnd-ash
Copy link

rnd-ash commented Sep 21, 2024

Just something i figured out today whilst testing an EGS53 ECU.

The SW version is 0024486419 (week 49, 2008), and using the VGSNAG2 algorithm on it works on the 4 byte seed.

I can test some other EGS53 modules I have about to see if there is a cutoff where this algorithm won't work.

@jglim
Copy link
Owner

jglim commented Sep 22, 2024

Hey glad to hear from you and thanks for sharing!

There are 4 definitions using a provider with a name like VGSSecurityAlgo (of which 3 are from you :p ).
Just to confirm, the behavior of EGS53 level 9 is identical to VGSNAG2 level 17?

  {
    "EcuName": "VGSNAG2",
    "Aliases": [],
    "AccessLevel": 17,
    "SeedLength": 4,
    "KeyLength": 4,
    "Provider": "VGSSecurityAlgo",
    "Origin": "VGSNAG2_vgsnag2_sec_12_06_01",
    "Parameters": [
      {
        "Key": "K",
        "Value": "1E71744E",
        "DataType": "ByteArray"
      }
    ]
  },
  {
    "EcuName": "EGS52",
    "Aliases": [],
    "AccessLevel": 5,
    "SeedLength": 4,
    "KeyLength": 4,
    "Provider": "VGSSecurityAlgo",
    "Origin": "EGS52_27_05@VladLupashevskyi-@rnd-ash",
    "Parameters": [
      {
        "Key": "K",
        "Value": "5AA5A5A5",
        "DataType": "ByteArray"
      }
    ]
  },
  {
    "EcuName": "EGS52",
    "Aliases": [],
    "AccessLevel": 1,
    "SeedLength": 2,
    "KeyLength": 2,
    "Provider": "VGSSecurityAlgo2Bytes",
    "Origin": "EGS52_27_01_27_02@VladLupashevskyi-@rnd-ash",
    "Parameters": [
      {
        "Key": "K",
        "Value": "5AA5",
        "DataType": "ByteArray"
      }
    ]
  },
    {
    "EcuName": "EGS53",
    "Aliases": [],
    "AccessLevel": 1,
    "SeedLength": 4,
    "KeyLength": 4,
    "Provider": "VGSSecurityAlgoExt",
    "Origin": "EGS53_27_05@VladLupashevskyi-@rnd-ash",
    "Parameters": [
      {
        "Key": "X",
        "Value": "6BB6B6B6",
        "DataType": "ByteArray"
      },
	  {
        "Key": "M",
        "Value": "49949494",
        "DataType": "ByteArray"
      }
    ]
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants