Moto.Net icon indicating copy to clipboard operation
Moto.Net copied to clipboard

The connect step

Open dnesteryuk opened this issue 1 year ago • 5 comments

I am trying to understand the XNL/XCMP protocol. Currently, I am stuck in the connect operation which requires some key which you derive from TRBOnet.Server.exe when it isn't set. Is there any other way to get this key to pass the connection?

dnesteryuk avatar Aug 09 '24 15:08 dnesteryuk

The other option is to reverse engineer the constants here: https://github.com/pboyd04/Moto.Net/blob/master/Moto.Net/Mototrbo/XNL/Encrypter.cs#L64C13-L70C1 And put them in your app.config file. I haven't included them in my attempt to not get sued by Motorola.

pboyd04 avatar Sep 12 '24 23:09 pboyd04

I am working with XNL/XCMP protocols and need help obtaining the encryption keys referenced in the Encrypter.cs file (XNLConst1, XNLConst2, etc.). Is there a way to derive or access these keys without using TRBOnet.Server.exe?

Any guidance or documentation would be appreciated.

Best regards,

mojtabamazhari avatar Sep 30 '24 08:09 mojtabamazhari

The best way to get them is via some sort of side band attack. It is a version of Tiny Encryption Algorithm (TEA) if you want to Google the best attacks. Worst case given input and output (wireshark) of licensed Mototrbo software like RDAC or the referenced TRBONet you can brute force the constants. That would need about a year or so to perform on my current GPU that is a couple of generations out of date. I'm not going to provide those constants unless I get a letter from Motorola legal saying that they aren't proprietary and I won't be sued for releasing them.

pboyd04 avatar Sep 30 '24 13:09 pboyd04

Thank you for your response. I understand the constraints regarding the encryption keys. However, I am willing to cover any costs associated with obtaining the necessary keys through official channels. Could you please provide further details on how I can proceed or direct me to the appropriate contact to facilitate this process?

Your assistance is greatly appreciated.

Best regards,

mojtabamazhari avatar Oct 01 '24 07:10 mojtabamazhari

I'm honestly not 100% certain on how you would get started on paying for this. I would probably start here: https://www.motorolasolutions.com/en_us/about/environmental-social-corporate-governance-esg/our-business/technology-leadership/technology-licensing/licensing-process.html And hopefully they can help you or direct you where to go.

pboyd04 avatar Oct 01 '24 15:10 pboyd04