PDA

View Full Version : Crypkey - ckinfo like


yescardmen
August 5th, 2014, 14:08
Hi,

I'm actually working on a ckinfo like software.
I've read the tutorial on woodman website and code the functions in the article to make the crypkey basics decyptions/encryptions.
I've looked the constants in ckinfo too, but i don't understand how to use them.
They are many constants which are like 0800xxxxxxxxxxxxxxxx0800xxxxxxxxxxxxxxxx
The 0800 is the size of the next bytes but i don't know how to use it, and what are the first and the second part (encrypton and decryption cipher maybe?)

If someone have already reverse crypkey and could give me answer don't hesitate

FoxB
August 6th, 2014, 12:29
magic word is 'RSA'
0x800 = 2048 - size the rsa key in bit's

yescardmen
August 6th, 2014, 13:42
Thank for your answer.
So the fist part is the public and the second its the private key or something like that ?
I was thinking about that but i'm not able to find the keys of the website explications in the ckinfo constants

disavowed
August 6th, 2014, 17:07
Quote:
[Originally Posted by yescardmen;96579]So the fist part is the public and the second its the private key or something like that ?

Based on your first post, the first part is x's and the second part is x's.

yescardmen
August 7th, 2014, 03:12
I've search and try to search the two RSA Keys pair of the analyse but without result.
Concretly in the exefoliator analyse the are two key pair:
RSA_Key1 = (KeyMod, PubExp, PrvExp) = (123107, 229, 1069)
RSA_Key2 = (KeyMod, PubExp, PrvExp) = (130771, 809, 2089)

Values in hex :
RSA_Key1 = (0x1E0E3, 0xE5, 0x42D)
RSA_Key2 = (0x1FED3, 0x329, 0x829)

According to the docs i've found the rsa hex key are the modulus followed by the exponent so for example for the first RSA for the public part it'll be 01E0E3E5.
I suppose i'm wrong cause a can't fid this hex sequence in the original ckinfo ...

An example of key in ckinfo 0800EBD3D01555193A35080040ADE5ED93AF13A7

aladdin
August 8th, 2014, 05:02
Quote:
[Originally Posted by FoxB;96578]magic word is 'RSA'
0x800 = 2048 - size the rsa key in bit's
Which version of CK does this cipher strength belong to? And what's the cipher strength of CK 6.x RSA?

FoxB
June 5th, 2017, 06:02
Ckinfo source will released at https://github.com/thewd-hub/source/