2
\$\begingroup\$

In game development pak files are secured by some encryption and one of these are AES key. I want to know that for security purpose is the AES key is stored in the game files itself? I know that computer cannot store the AES key in his mind so it need some clues or files to extract these Ppak files, so where does these AES keys gets stored in a game file itself?

\$\endgroup\$
2
\$\begingroup\$

Yes, the encryption key must be somewhere, otherwise the game would be unable to open those archives. But unfortunately there are just too many ways one could store such a key. It could be somewhere in the executable files or in some other file which comes with the game. It might even be possible that the game connects to the Internet when it starts up and downloads the decryption key from the publisher's website. The developers might also try to obfuscate the key in various ways so you won't find it that easily.

\$\endgroup\$
  • \$\begingroup\$ Thanks @Philipp... is there any possibility that the pak files are extracted in the storage other than pak file... while playing game? \$\endgroup\$ – Ritick Saha Mar 12 at 10:39
  • \$\begingroup\$ @RitickSaha Yes, everything is possible. There is no standard way to do anything in game development. Game programmers can get really creative when it comes to implementation details. \$\endgroup\$ – Philipp Mar 12 at 10:42
  • \$\begingroup\$ @RitickSaha Making the encryption key easy to extract would defeat the purpose of using encryption to begin with. \$\endgroup\$ – Pikalek Mar 12 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.