Hi Derek

I have cleaned the data in the serial logs uploaded by the users and It's pretty similar to the communications flow and meaning described in the KG-UV8D plus, I will try to figure out if the encryption is the same and will poke it to see if I can get it decrypted.

It makes some logic that they reused the same algorithm, and even the same key for the xor encryption. I will see.

[few hours later... I think I hit "send" but apparently not...]

So far so good, I have built a simple validation script for individual packets and decryption seems to work, they match in the payload size and checksum, I will try the hole data file and try to figure some logic from it.

If they changed the single char encryption I think that a loop for the 256 available chars and some intuition looking at the data must figure it out.

I have to go offline now, will be back with results tomorrow.

73 Pavel CO7WT.


El 03/01/18 a las 12:30, Derek Chauran escribió:
If it's anything like the uv8d, the serial traffic is encrypted. I did a bit of digging and it looks like it uses the windows bcrypt.dll library which is a crypto wrapper. There's also a small discrepancy in the .exe strings of the factory software, an extra string with a value of 123456 which I suspect to be the encryption key.  Just not sure of the algorithm. Good luck! 


-------- Original message --------
From: Pavel Milanes via chirp_devel <chirp_devel@intrepid.danplanet.com>
Date: 1/3/18 8:37 AM (GMT-08:00)
To: "D.J.J. Ring, Jr. via chirp_devel" <chirp_devel@intrepid.danplanet.com>
Subject: Re: [chirp_devel] (no subject) KG-UV8E

Hi HNY to all...

Has any developer make some work on this?

I'm taking a peek on the logs to evaluate if I can make it.

I ask the above question to not step on other developer started work...

73 Pavel CO7WT.


El 29/12/17 a las 11:10, D.J.J. Ring, Jr. via chirp_devel escribió:
> Hello,
>
> I wonder if  anyone is interested in working on the Wouxun KG-UV8E?
> It's a wonderful little radio  and it supports 3 bands,  144, 222, 440 MHz.
>
> There is a small cash award for having it added  to CHIRP and  an
> offer by myself of equipment loan.
>
> Several of the guys around here use  it for EMCOM and would like it
> supported - CHIRP makes everything easier.
>
> New Model #3943: WOUXUN KG-UV8E
>
> Chris Reed did some work on this.
>
> 73
>
> David N1EA
> _______________________________________________
> chirp_devel mailing list
> chirp_devel@intrepid.danplanet.com
> https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fintrepid.danplanet.com%2Fmailman%2Flistinfo%2Fchirp_devel&data=02%7C01%7C%7C65749074cbe24152559308d552c83a93%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636505942280274149&sdata=wdJV7UF1y6Dd3z922cefYJ9KZdsdePfMfBzM0ykn%2BRk%3D&reserved=0
> Developer docs: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fchirp.danplanet.com%2Fprojects%2Fchirp%2Fwiki%2FDevelopers&data=02%7C01%7C%7C65749074cbe24152559308d552c83a93%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636505942280274149&sdata=grPndcjCGl6kPozWoEbVsUvGs0oM9iOfpTCfSwwyfOA%3D&reserved=0

--
73 CO7WT, Pavel.

_______________________________________________
chirp_devel mailing list
chirp_devel@intrepid.danplanet.com
https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fintrepid.danplanet.com%2Fmailman%2Flistinfo%2Fchirp_devel&data=02%7C01%7C%7C65749074cbe24152559308d552c83a93%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636505942280274149&sdata=wdJV7UF1y6Dd3z922cefYJ9KZdsdePfMfBzM0ykn%2BRk%3D&reserved=0
Developer docs: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fchirp.danplanet.com%2Fprojects%2Fchirp%2Fwiki%2FDevelopers&data=02%7C01%7C%7C65749074cbe24152559308d552c83a93%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636505942280274149&sdata=grPndcjCGl6kPozWoEbVsUvGs0oM9iOfpTCfSwwyfOA%3D&reserved=0

-- 
73 CO7WT, Pavel.