It's amazing how much Crytek has been working on making this game secure, i have spent quite some time on this but not only on the CRYe files but also on the .pak encryption and the online security.
If nobody else is releasing a tool to decrypt / encrypt CRYe packages i will, but as of now i still need to fix some bugs and make sure my routine is correct for creating the real key from the raw key (yes, the raw key is encrypted aswell using a nifty scheme).
I need to get the key for PS3 version, does anyone have the game excutables?
Update:
My tool is starting take shape, this is what has been done so far:
* Key generation routine has been 100% reversed, now i can generate decryption keys from the key found in the executables, still missing the key from the PS3 version (and if updates)
* Decryption routine is 90% complete, it can decrypt but sometimes spits out strange characters, easy to fix.
* Encryption routine is 0% complete, i need to decrypt before encrypt ;)
* Added the following keys to the application:
- CRYePC1
- CRYeXB1
Output from one of my tests, aaah, nice strange characters...
Code:
38, 2nd: (ecx): 2f, (204h): 2f (S), (ecx): 45, (20Ch): 3c (S), (bl): 45 (G), (cl): 3b (G), (key[3c]: 45 (S), (key[2f]: 3b (S), (return: 5f)
22, 2nd: (ecx): 30, (204h): 30 (S), (ecx): 26, (20Ch): 62 (S), (bl): 26 (G), (cl): 4d (G), (key[62]: 26 (S), (key[30]: 4d (S), (return: 85)
2f, 2nd: (ecx): 31, (204h): 31 (S), (ecx): ae, (20Ch): 10 (S), (bl): ae (G), (cl): c0 (G), (key[10]: ae (S), (key[31]: c0 (S), (return: 57)
3e, 2nd: (ecx): 32, (204h): 32 (S), (ecx): 95, (20Ch): a5 (S), (bl): 95 (G), (cl): c1 (G), (key[a5]: 95 (S), (key[32]: c1 (S), (return: a3)
a,
Decrypted: <Profile Name="default" LastPlayed="1298999688"/>
┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÉ☺
PoC for XB1 profiles:
Code:
Initializing crypto key... Done.
Decrypted length: 21163, 52ab
Decrypted: <Profile Name="Duellkiller">
<Attributes Version="23">
<Attr name="Brightness" value="0.65"/>
<Attr name="DialogueVolume" value="1"/>
<Attr name="Gamma" value="1"/>
<Attr name="MP/DogTagProgression/DogTagSkinId" value="20"/>
<Attr name="MP/DogTagProgression/DogTagSkinStyle" value="1"/>
<Attr name="MP/LastSubmitPermissions" value="47"/>