Discuss Not quiet sure what this is... in the Security and Cryptography forum on Dev Shed. Not quiet sure what this is... Security and Cryptography forum discussing issues related to coding, server applications, network protection, data protection, firewalls, ciphers and the like.
Posts: 3,838
Time spent in forums: 2 Months 3 Weeks 2 Days 18 h 4 m 59 sec
Reputation Power: 1774
All I can tell you is that it isn't encrypted with 3DES or AES, and it isn't compressed. If either of these things were true, then gzip would not have been able to take 1000 bytes down to 262 bytes.
A casual visual inspection of the hex dump shows many 00 bytes, and several repeated sub-strings.
If you're unsure of this, do some reading on information theory
Compressed streams are devoid of entropy, so you can't compress it any further.
Encrypted streams are indistinguishable from random noise, unless you know the algorithm and key. A truly random stream cannot be compressed either.
Regarding reverse engineering of a game file format, it is generally assumed that you want to 'cheat' in some way. Now if this were an off-line game, and I was motivated enough to be curious about the game in that way, and you seemed to have some skill then I might have been interested in helping. The only people who can be affected are those who specifically choose to use a hacked file.
As it is (an on-line game that I've got no interest in, and you lack some fundamentals) then I'm just going to check out of this conversation. I'm just not into helping people wander around a game in 'god' mode without other players being aware of it.
Decoding the file is unlikely to be your only obstacle.
Posts: 4
Time spent in forums: 2 h 7 m 51 sec
Reputation Power: 0
Quote:
Originally Posted by salem
All I can tell you is that it isn't encrypted with 3DES or AES, and it isn't compressed. If either of these things were true, then gzip would not have been able to take 1000 bytes down to 262 bytes.
A casual visual inspection of the hex dump shows many 00 bytes, and several repeated sub-strings.
If you're unsure of this, do some reading on
Compressed streams are devoid of entropy, so you can't compress it any further.
Encrypted streams are indistinguishable from random noise, unless you know the algorithm and key. A truly random stream cannot be compressed either.
Regarding reverse engineering of a game file format, it is generally assumed that you want to 'cheat' in some way. Now if this were an off-line game, and I was motivated enough to be curious about the game in that way, and you seemed to have some skill then I might have been interested in helping. The only people who can be affected are those who specifically choose to use a hacked file.
As it is (an on-line game that I've got no interest in, and you lack some fundamentals) then I'm just going to check out of this conversation. I'm just not into helping people wander around a game in 'god' mode without other players being aware of it.
Decoding the file is unlikely to be your only obstacle.
The game will not be used to get online mods at all since I do not have a working console that allows me to transfer files across (Jailbroken Playstation Console). This is just to help gain and progress my knowledge and not put anything in to action for many reasons. The game consists of a ban if any type of file is modified online which would leave my account and my console banned forever.
The file is known to be encrypted using 3DES (Treyach's) encryption and AES (Sony's) encryption. The 3DES has been decrypted and that was the first layer of encryption which has been removed from the file I uploaded. The AES encryption is the one i'm struggling to remove at first I thought it was obfuscated but indeed I was incorrect and the .svg are the only obfuscated files.
I believe this is the only type of file which is obfuscated however removing the obfuscation is another type of thing that neither me or someone I know now how to do.
cl .ly/2224341c0k3T < Remove the spaces.
EDIT: Re-read and I had gotten mistaken, If the file is not encrypted via 3DES or AES then is it not encrypted at all? or..