[chirp_devel] [KG-UV8D Plus] Hello and KG-UV8D Plus support
Hello Chirp devs - I'm new to this list and working through the docs about getting the dev environment setup and adding a new model. I have a Wouxun KG-UV8D Plus. which is apparently different enough from the KG-UV8D that it does not work with Chirp. I thought this would be a great opportunity for my first foray into python & chirp development, as it seems likely that it is close enough to the UV8D that I could easily adapt the existing code.
Before I go invest my time, I wanted to make sure that this is not something that is already being worked on. I searched both the issue tracker and the mailing list archive going back a year and I can't find any indication that it's being worked on, though it has been requested. Does that mean it is fair game?
Thanks,
Derek
AF7UX
Hi,
The biggest problem you are likely to experience is that the newer Wouxun radios (KG-UV950, KG-UV8D Plus, KG-UV9) seem to use an encrypted protocol, the details of which the manufacturer is not prepared to release. Unless we can work out the encryption, this effectively locks out these radios from Chirp.
Thanks Ron. That certainly explains the indecipherable serial traces I'm getting. Reverse engineering encryption is outside of my wheelhouse, but I'll ask around. It's really a shame, as I can't imagine programming 1000 memories with the horrid factory software.
-------- Original message -------- From: Ron Wellsted via chirp_devel chirp_devel@intrepid.danplanet.com Date: 5/8/17 2:43 AM (GMT-08:00) To: Derek Chauran via chirp_devel chirp_devel@intrepid.danplanet.com Subject: Re: [chirp_devel] [KG-UV8D Plus] Hello and KG-UV8D Plus support
Hi,
The biggest problem you are likely to experience is that the newer Wouxun radios (KG-UV950, KG-UV8D Plus, KG-UV9) seem to use an encrypted protocol, the details of which the manufacturer is not prepared to release. Unless we can work out the encryption, this effectively locks out these radios from Chirp.
-- Ron Wellsted ron@wellsted.org.uk http://www.wellsted.org.uk ron@m0rnw.uk http://m0rnw.uk Call Sign: M0RNW / Linux Counter No. 202120 _______________________________________________ chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
Does anyone happen to have a pcap of the serial comms with a non-plus KG-UV8D? This will be helpful in my decryption attempts. So far, I have discovered that they appear to be using the "Cryptography API: Next Generation (CNG)", but it supports a number of different encryption algorithms.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa376210(v=vs.85).a...
I have also extracted the strings from the exe using aluigi's exestringz, and discovered 2 differences between the 8D and the pluis. One of the strings is simply 123456, which sure looks to me like a lazy developer making up a key, so I'm optimistic that this may be as easy as I had hoped.
The other interesting difference is an additional string with a value of "ENSJBXP8E-V1.00-150525". I have no idea what that is, and Google is not helping either.
Cryptography API: Next Generation (Windows)https://msdn.microsoft.com/en-us/library/windows/desktop/aa376210(v=vs.85).aspx msdn.microsoft.com Purpose. Cryptography API: Next Generation (CNG) is the long-term replacement for the CryptoAPI. CNG is designed to be extensible at many levels and cryptography ...
________________________________ From: chirp_devel-bounces@intrepid.danplanet.com chirp_devel-bounces@intrepid.danplanet.com on behalf of Derek Chauran via chirp_devel chirp_devel@intrepid.danplanet.com Sent: Monday, May 8, 2017 7:47:43 AM To: Ron Wellsted; chirp_devel@intrepid.danplanet.com Subject: Re: [chirp_devel] [KG-UV8D Plus] Hello and KG-UV8D Plus support
Thanks Ron. That certainly explains the indecipherable serial traces I'm getting. Reverse engineering encryption is outside of my wheelhouse, but I'll ask around. It's really a shame, as I can't imagine programming 1000 memories with the horrid factory software.
-------- Original message -------- From: Ron Wellsted via chirp_devel chirp_devel@intrepid.danplanet.com Date: 5/8/17 2:43 AM (GMT-08:00) To: Derek Chauran via chirp_devel chirp_devel@intrepid.danplanet.com Subject: Re: [chirp_devel] [KG-UV8D Plus] Hello and KG-UV8D Plus support
Hi,
The biggest problem you are likely to experience is that the newer Wouxun radios (KG-UV950, KG-UV8D Plus, KG-UV9) seem to use an encrypted protocol, the details of which the manufacturer is not prepared to release. Unless we can work out the encryption, this effectively locks out these radios from Chirp.
-- Ron Wellsted ron@wellsted.org.uk http://www.wellsted.org.uk ron@m0rnw.uk http://m0rnw.uk Call Sign: M0RNW / Linux Counter No. 202120 _______________________________________________ chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
There are .txt files of a read and write using the factory software on http://chirp.danplanet.com/issues/1667
HTH
On 09/05/17 18:23, Derek Chauran via chirp_devel wrote:
Does anyone happen to have a pcap of the serial comms with a non-plus KG-UV8D? This will be helpful in my decryption attempts. So far, I have discovered that they appear to be using the "Cryptography API: Next Generation (CNG)", but it supports a number of different encryption algorithms.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa376210(v=vs.85).a...
I have also extracted the strings from the exe using aluigi's exestringz, and discovered 2 differences between the 8D and the pluis. One of the strings is simply 123456, which sure looks to me like a lazy developer making up a key, so I'm optimistic that this may be as easy as I had hoped.
The other interesting difference is an additional string with a value of "ENSJBXP8E-V1.00-150525". I have no idea what that is, and Google is not helping either.
Cryptography API: Next Generation (Windows) https://msdn.microsoft.com/en-us/library/windows/desktop/aa376210(v=vs.85).aspx msdn.microsoft.com Purpose. Cryptography API: Next Generation (CNG) is the long-term replacement for the CryptoAPI. CNG is designed to be extensible at many levels and cryptography ...
*From:* chirp_devel-bounces@intrepid.danplanet.com chirp_devel-bounces@intrepid.danplanet.com on behalf of Derek Chauran via chirp_devel chirp_devel@intrepid.danplanet.com *Sent:* Monday, May 8, 2017 7:47:43 AM *To:* Ron Wellsted; chirp_devel@intrepid.danplanet.com *Subject:* Re: [chirp_devel] [KG-UV8D Plus] Hello and KG-UV8D Plus support
Thanks Ron. That certainly explains the indecipherable serial traces I'm getting. Reverse engineering encryption is outside of my wheelhouse, but I'll ask around. It's really a shame, as I can't imagine programming 1000 memories with the horrid factory software.
-------- Original message -------- From: Ron Wellsted via chirp_devel chirp_devel@intrepid.danplanet.com Date: 5/8/17 2:43 AM (GMT-08:00) To: Derek Chauran via chirp_devel chirp_devel@intrepid.danplanet.com Subject: Re: [chirp_devel] [KG-UV8D Plus] Hello and KG-UV8D Plus support
Hi,
The biggest problem you are likely to experience is that the newer Wouxun radios (KG-UV950, KG-UV8D Plus, KG-UV9) seem to use an encrypted protocol, the details of which the manufacturer is not prepared to release. Unless we can work out the encryption, this effectively locks out these radios from Chirp.
-- Ron Wellsted ron@wellsted.org.uk http://www.wellsted.org.uk ron@m0rnw.uk http://m0rnw.uk Call Sign: M0RNW / Linux Counter No. 202120 _______________________________________________ chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers
participants (2)
-
Derek Chauran
-
Ron Wellsted